diff options
| author | Rebellion Developments <rebellion@nomail> | 2000-03-16 11:25:00 +0100 |
|---|---|---|
| committer | Patryk Obara <dreamer.tan@gmail.com> | 2019-08-19 05:45:17 +0200 |
| commit | 218ca90543758a20ac326e444ca0643174ca7384 (patch) | |
| tree | 16bfe3e5307f9f515489000f28728224291a0e3b /3dc/win95/TXIOCTRL.H | |
Import Aliens vs Predator - Gold (Build 116)
Source code release, imported from:
https://www.gamefront.com/games/aliens-vs-predator-3/file/avp-gold-complete-source-code
All text files were converted to Unix format.
Diffstat (limited to '3dc/win95/TXIOCTRL.H')
| -rw-r--r-- | 3dc/win95/TXIOCTRL.H | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/3dc/win95/TXIOCTRL.H b/3dc/win95/TXIOCTRL.H new file mode 100644 index 0000000..556d986 --- /dev/null +++ b/3dc/win95/TXIOCTRL.H @@ -0,0 +1,48 @@ +#ifndef _included_txioctrl_h_ +#define _included_txioctrl_h_ + +#include "system.h" + +#ifdef MaxImageGroups +#if MaxImageGroups < 2 /* optimize if this multiple groups are not required */ +#undef MaxImageGroups +#endif /* MaxImageGroups < 2 */ +#endif /* MaxImageGroups */ + +#ifdef MaxImageGroups + +#ifdef __cplusplus +extern "C" { +#endif + +void ImageGroupFreed(int img_group); + +void MarkImageInUseByGroup(int img_group, int img_num_offset, int group_using); + +int IsImageInUse(int img_group, int img_num_offset); + +int CanDeleteImage(int img_group, int img_num_offset); + +void NowDeleteImage(int img_group, int img_num_offset); + +#if debug + +void ImageGroupsDebugPrint(void); + +void ImageGroupsDebugPrintInit(void); + +#endif /* debug */ + +typedef void (*ImageNumberCallbackFunction) (int imgnum, void * user); + +void EnumSharedImages(int group_num, int numimages, ImageNumberCallbackFunction callback_fn, void * user); + +void EnumLeftoverImages(int group_num, int numimages, ImageNumberCallbackFunction callback_fn, void * user); + +#ifdef __cplusplus +} +#endif + +#endif /* MaxImageGroups */ + +#endif /* ! _included_txioctrl_h_ */ |
