X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2F16_ca.h;h=d0984fd6bb43f31c464132d089b4dc072633ec7a;hb=3d36f50834f46234bb598624e526e97d5bf9678f;hp=77809387576c8437e4e1978adf7b33614dbc011c;hpb=2671c2fbb3ae37b5b9e20182a51b5aa6fb7220ec;p=16.git diff --git a/src/lib/16_ca.h b/src/lib/16_ca.h old mode 100644 new mode 100755 index 77809387..d0984fd6 --- a/src/lib/16_ca.h +++ b/src/lib/16_ca.h @@ -36,7 +36,7 @@ //#define AUDIOHEADERLINKED //#define NUMMAPS 39 -//#define MAPPLANES 3 +//#define MAPPLANES 3 #define PROFILE //=========================================================================== @@ -64,7 +64,7 @@ extern byte ca_levelbit,ca_levelnum; extern char *titleptr[8];*/ -extern int profilehandle,debughandle; +//extern // // hooks for custom cache dialogs @@ -80,21 +80,21 @@ extern void (*finishcachebox) (void); //void CAL_ShiftSprite (unsigned segment,unsigned source,unsigned dest,unsigned width, unsigned height, unsigned pixshift, boolean domask); //=========================================================================== - -void CA_OpenDebug (void); -void CA_CloseDebug (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_FarWrite (int handle, byte huge *source, dword length, mminfo_t *mm); boolean CA_ReadFile (char *filename, memptr *ptr, mminfo_t *mm); -boolean CA_LoadFile (char *filename, memptr *ptr, mminfo_t *mm, mminfotype *mmi); +boolean CA_LoadFile (char *filename, memptr *ptr, mminfo_t *mm, mminfotype *mmi); //long CA_RLEWCompress (unsigned huge *source, long length, unsigned huge *dest,unsigned rlewtag); //void CA_RLEWexpand (unsigned huge *source, unsigned huge *dest,long length,unsigned rlewtag); -void CA_Startup (void); -void CA_Shutdown (void); +void CA_Startup (global_game_variables_t *gvar); +void CA_Shutdown (global_game_variables_t *gvar); //void CA_CacheAudioChunk (int chunk); //void CA_LoadAllSounds (void);