]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/typdefst.h
16_vrs now operates on files in far memory
[16.git] / src / lib / typdefst.h
index 7dbe38a1aa26426f561699dfbc43d5b46ca67ee0..6dbfa213861e78809e075a8344042b58e863d7d1 100755 (executable)
@@ -1,5 +1,5 @@
 /* Project 16 Source Code~\r
- * Copyright (C) 2012-2016 sparky4 & pngwen & andrius4669 &  joncampbell123\r
+ * Copyright (C) 2012-2016 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover\r
  *\r
  * This file is part of Project 16.\r
  *\r
@@ -42,7 +42,7 @@
  * typedefs of the game variables!\r
  */\r
 typedef struct {\r
-       byte huge *data;\r
+       byte *data;\r
        word width;\r
        word height;\r
        byte *palette;\r
@@ -87,6 +87,18 @@ typedef struct {
        word pi;                                /* incremention page by this much to preserve location */\r
 } page_t;\r
 \r
+typedef struct\r
+{\r
+       //sprite ....\r
+       boolean wwww;\r
+} spri_t;\r
+\r
+typedef struct\r
+{\r
+       //vrs with sprite ....\r
+       spri_t *spri;\r
+} vrs_t;\r
+\r
 typedef struct\r
 {\r
 //     int showmemhandle;\r
@@ -118,7 +130,7 @@ typedef struct
        boolean __near p;                       //render page number\r
        boolean __near r;                       //page flip if true\r
        word pr[MAXPAGE][4];    //render sections of pages\r
-       word startclk; float clk, tickclk;      //timer\r
+       //0000word startclk; float clk, tickclk;        //timer\r
 } video_t;\r
 \r
 typedef struct\r
@@ -127,6 +139,8 @@ typedef struct
        byte *pee;              // message for fps\r
        handle_t handle;        //handles for file logging\r
        kurokku_t kurokku;      //clock struct\r
+       mminfo_t mm;\r
+       mminfotype mmi;\r
 } global_game_variables_t;\r
 \r
 #endif /* _TYPEDEFSTRUCT_H_ */\r