summaryrefslogtreecommitdiff
path: root/plugins/gxvideo/prim.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/gxvideo/prim.h')
-rw-r--r--plugins/gxvideo/prim.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/plugins/gxvideo/prim.h b/plugins/gxvideo/prim.h
new file mode 100644
index 00000000..8ee7e972
--- /dev/null
+++ b/plugins/gxvideo/prim.h
@@ -0,0 +1,43 @@
+/***************************************************************************
+ prim.h - description
+ -------------------
+ begin : Sun Oct 28 2001
+ copyright : (C) 2001 by Pete Bernert
+ email : BlackDove@addcom.de
+ ***************************************************************************/
+/***************************************************************************
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. See also the license.txt file for *
+ * additional informations. *
+ * *
+ ***************************************************************************/
+
+#ifndef _PRIMDRAW_H_
+#define _PRIMDRAW_H_
+
+typedef struct {
+ char bUsingTWin;
+ gxv_win_t TWin;
+ //unsigned long clutid; // global clut
+ unsigned short usMirror; // sprite mirror
+ int iDither;
+ int32_t drawX;
+ int32_t drawY;
+ int32_t drawW;
+ int32_t drawH;
+ uint32_t dwCfgFixes;
+ uint32_t dwActFixes;
+ uint32_t dwEmuFixes;
+ int iUseFixes;
+ int iUseDither;
+} gxv_prim_t;
+
+extern void (*primTableJ[256])(unsigned char *);
+
+void UploadScreen (long Position);
+void PrepareFullScreenUpload (long Position);
+
+#endif // _PRIMDRAW_H_