X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2Ftypdefst.h;h=7571ffd9c34c9b4838514a6b1199a4dfe528a7a9;hb=d337fd88c992c80c68263f66a2d22f3ce2ffefa1;hp=b34d133d86cf884c991be036cb1a8ea6204e4327;hpb=e271343a59cfb8fd3afd1f011a3f9ff860057aba;p=16.git diff --git a/src/lib/typdefst.h b/src/lib/typdefst.h index b34d133d..7571ffd9 100755 --- a/src/lib/typdefst.h +++ b/src/lib/typdefst.h @@ -120,7 +120,7 @@ typedef struct } pan_t; //video -#define NUMCHUNKS 3016 //keen +#define NUMCHUNKS 416 //keen typedef struct { @@ -236,7 +236,7 @@ typedef struct // Main Mem specific variables typedef struct { -// boolean MainPresent; + boolean MainPresent; memptr MainMemPages[PMMaxMainMem]; PMBlockAttr MainMemUsed[PMMaxMainMem]; int MainPagesAvail; @@ -245,7 +245,7 @@ typedef struct // EMS specific variables typedef struct { -// boolean EMSPresent; + boolean EMSPresent; unsigned int EMSVer; word EMSAvail,EMSPagesAvail,EMSHandle, EMSPageFrame,EMSPhysicalPage; @@ -256,9 +256,9 @@ typedef struct // XMS specific variables typedef struct { -// boolean XMSPresent; - word XMSAvail,XMSPagesAvail,XMSHandle; - dword XMSDriver; //TODO: changed to word + boolean XMSPresent; + word XMSAvail,XMSPagesAvail,XMSHandle;//,XMSVer; + dword XMSDriver; int XMSProtectPage;// = -1; } pm_xmmi_t; @@ -321,9 +321,9 @@ typedef struct byte ca_levelbit,ca_levelnum; ca_handle_t file; //files to open ca_mapinfo_t camap; - //_seg *grsegs[NUMCHUNKS]; - //byte far grneeded[NUMCHUNKS]; - //huffnode huffnode; + __SEGA *grsegs[NUMCHUNKS]; + byte far grneeded[NUMCHUNKS]; + huffnode huffnode; } ca_t; //========================================================================== @@ -334,10 +334,13 @@ typedef struct video_t video; // video settings variable ca_t ca; // ca stuff pm_t pm; // pm stuff - byte *pee; // message for fps loghandle_t handle; //handles for file logging kurokku_t kurokku; //clock struct mminfo_t mm; mminfotype mmi; } global_game_variables_t; +extern char global_temp_status_text[512]; + +#define EINVFMT EMFILE + #endif /* _TYPEDEFSTRUCT_H_ */