X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Flib%2F16_ca.h;h=203cce952e68cb17cbebade6f560ebc24339c976;hb=989f287818c93cf9b1ff96c13e66720571210513;hp=5d8675ca887e2cb53ec5d08939516a686bde0d70;hpb=db43d7e01f6d3c2fbf5cfd7b4c163e3a6b16888a;p=16.git diff --git a/src/lib/16_ca.h b/src/lib/16_ca.h index 5d8675ca..203cce95 100755 --- a/src/lib/16_ca.h +++ b/src/lib/16_ca.h @@ -41,6 +41,13 @@ //=========================================================================== +/*typedef struct +{ + unsigned RLEWtag; + long headeroffsets[100]; + byte tileinfo[]; +} mapfiletype;*/ + /*typedef struct { long planestart[3]; @@ -83,12 +90,12 @@ extern void (*finishcachebox) (void); void CA_OpenDebug (global_game_variables_t *gvar); void CA_CloseDebug (global_game_variables_t *gvar); -boolean CA_FarRead (int handle, byte huge *dest, dword length, mminfo_t *mm); -boolean CA_FarWrite (int handle, byte huge *source, dword length, mminfo_t *mm); +boolean CA_FarRead (int handle, byte huge *dest, dword length, global_game_variables_t *gvar); +boolean CA_FarWrite (int handle, byte huge *source, dword length, global_game_variables_t *gvar); -boolean CA_ReadFile (char *filename, memptr *ptr, mminfo_t *mm); -boolean CA_WriteFile (char *filename, void far *ptr, long length, mminfo_t *mm); -boolean CA_LoadFile (char *filename, memptr *ptr, mminfo_t *mm, mminfotype *mmi); +boolean CA_ReadFile (char *filename, memptr *ptr, global_game_variables_t *gvar); +boolean CA_WriteFile (char *filename, void far *ptr, long length, global_game_variables_t *gvar); +boolean CA_LoadFile (char *filename, memptr *ptr, global_game_variables_t *gvar); long CA_RLEWCompress (unsigned huge *source, long length, unsigned huge *dest,unsigned rlewtag);