OSDN Git Service

p16 is being worked on a bunch by me wwww [16_ca needs huge amounts of work and I...
[proj16/16.git] / src / lib / 16_tdef.h
index 6321841..fe5083a 100755 (executable)
 \r
 #define MAXPAGE 4\r
 \r
+#define BDOFSCONV (unsigned __near)\r
+#define BOFS page[1].data\r
+#define DOFS page[0].data\r
+\r
 /*\r
  * typedefs of the game variables!\r
  */\r
@@ -377,10 +381,12 @@ typedef struct
 \r
 typedef struct\r
 {\r
+       //ylookup[MAXSCANLINES],\r
        unsigned int offscreen_ofs;\r
        unsigned int pattern_ofs;\r
-       unsigned        bufferofs,      ylookup[MAXSCANLINES], linewidth,displayofs;\r
+//     unsigned        bufferofs,linewidth,displayofs;\r
        pan_t           pan;\r
+\r
 } ofs_t;       //unfinished\r
 \r
 typedef struct\r
@@ -398,6 +404,7 @@ typedef struct
 {\r
        boolean VL_Started,VL_Initiated;\r
        char old_mode;          //old video mode before game!\r
+       sword curr_mode;                //modex curent mode\r
        byte palette[PALSIZE], dpal[PALSIZE];   //palette array\r
        page_t page[MAXPAGE];   //can be used as a pointer to root page[0]\r
        word vmem_remain;       //remaining video memory\r
@@ -430,6 +437,7 @@ typedef struct
        int tx,ty; //appears to be the top left tile position on the viewable screen map\r
        word dxThresh,dyThresh; //Threshold for physical tile switch\r
        video_t *video; //pointer to game variables of the video\r
+       kurokku_t *kurokku;     //pointer to game variables of the kurokku\r
        nibble __near *p;       // pointer to video's render page num\r
        nibble __near *sp;      // pointer to video's show page num\r
        int dx, dy;     // draw row and col var\r
@@ -714,6 +722,7 @@ typedef struct glob_game_vars
        player_t        player[MaxPlayers];     // player vars\r
        map_view_t      mv[4];\r
 //     sw_t            sw;\r
+       boolean DLStarted;\r
 } global_game_variables_t;\r
 \r
 #ifdef __WATCOMC__\r