mirror of
https://github.com/1dot13/source.git
synced 2026-08-19 14:20:30 +02:00
- updated bullet tracer effect again to resolve a savegame compatibility issue and to fix the lighting effects
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@193 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -15,9 +15,9 @@ typedef struct
|
||||
{
|
||||
INT16 sGridNo; // gridno at which the tear gas cloud is centered
|
||||
|
||||
int ubDuration; // the number of turns will remain effective
|
||||
UINT16 ubDuration; // the number of turns will remain effective
|
||||
UINT8 bRadius; // the current radius
|
||||
int bAge; // the number of turns light has been around
|
||||
UINT16 bAge; // the number of turns light has been around
|
||||
BOOLEAN fAllocated;
|
||||
INT32 iLight;
|
||||
UINT32 uiTimeOfLastUpdate;
|
||||
@@ -35,7 +35,7 @@ void AddLightEffectToTile( INT8 bType, INT16 sGridNo );
|
||||
|
||||
void RemoveLightEffectFromTile( INT16 sGridNo );
|
||||
|
||||
INT32 NewLightEffect( INT16 sGridNo, int ubDuration, UINT8 ubStartRadius );
|
||||
INT32 NewLightEffect( INT16 sGridNo, UINT16 ubDuration, UINT8 ubStartRadius );
|
||||
|
||||
|
||||
BOOLEAN SaveLightEffectsToSaveGameFile( HWFILE hFile );
|
||||
@@ -45,4 +45,6 @@ BOOLEAN SaveLightEffectsToMapTempFile( INT16 sMapX, INT16 sMapY, INT8 bMapZ );
|
||||
BOOLEAN LoadLightEffectsFromMapTempFile( INT16 sMapX, INT16 sMapY, INT8 bMapZ );
|
||||
void ResetLightEffects();
|
||||
|
||||
BOOLEAN IsLightEffectAtTile( INT16 sGridNo );
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user