]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/typdefst.h
fix bizarre near/far sprintf problem when gv->pee not initialized by just replacing the
[16.git] / src / lib / typdefst.h
index b34d133d86cf884c991be036cb1a8ea6204e4327..d6cc2b9a635d4de6a3b6b03bef390828b577a2be 100755 (executable)
@@ -120,7 +120,7 @@ typedef struct
 } pan_t;\r
 \r
 //video\r
-#define NUMCHUNKS      3016    //keen\r
+#define NUMCHUNKS      416     //keen\r
 \r
 typedef struct\r
 {\r
@@ -236,7 +236,7 @@ typedef     struct
 //     Main Mem specific variables\r
 typedef struct\r
 {\r
-//     boolean                 MainPresent;\r
+       boolean                 MainPresent;\r
        memptr                  MainMemPages[PMMaxMainMem];\r
        PMBlockAttr             MainMemUsed[PMMaxMainMem];\r
        int                             MainPagesAvail;\r
@@ -245,7 +245,7 @@ typedef struct
 //     EMS specific variables\r
 typedef struct\r
 {\r
-//     boolean                 EMSPresent;\r
+       boolean                 EMSPresent;\r
        unsigned int                    EMSVer;\r
        word                    EMSAvail,EMSPagesAvail,EMSHandle,\r
                                        EMSPageFrame,EMSPhysicalPage;\r
@@ -256,9 +256,9 @@ typedef struct
 //     XMS specific variables\r
 typedef struct\r
 {\r
-//     boolean                 XMSPresent;\r
-       word                    XMSAvail,XMSPagesAvail,XMSHandle;\r
-       dword                   XMSDriver;      //TODO: changed to word\r
+       boolean                 XMSPresent;\r
+       word                    XMSAvail,XMSPagesAvail,XMSHandle;//,XMSVer;\r
+       dword                   XMSDriver;\r
        int                             XMSProtectPage;// = -1;\r
 } pm_xmmi_t;\r
 \r
@@ -321,9 +321,9 @@ typedef struct
        byte            ca_levelbit,ca_levelnum;\r
        ca_handle_t     file;           //files to open\r
        ca_mapinfo_t    camap;\r
-       //_seg  *grsegs[NUMCHUNKS];\r
-       //byte          far     grneeded[NUMCHUNKS];\r
-       //huffnode huffnode;\r
+       __SEGA  *grsegs[NUMCHUNKS];\r
+       byte            far     grneeded[NUMCHUNKS];\r
+       huffnode huffnode;\r
 } ca_t;\r
 \r
 //==========================================================================\r
@@ -334,10 +334,11 @@ typedef struct
        video_t video;  // video settings variable\r
        ca_t            ca;     // ca stuff\r
        pm_t            pm;     // pm stuff\r
-       byte *pee;              // message for fps\r
        loghandle_t handle;     //handles for file logging\r
        kurokku_t kurokku;      //clock struct\r
        mminfo_t mm; mminfotype mmi;\r
 } global_game_variables_t;\r
 \r
+extern char global_temp_status_text[512];\r
+\r
 #endif /* _TYPEDEFSTRUCT_H_ */\r