mirror of
https://github.com/1dot13/source.git
synced 2026-09-09 14:46:05 +02:00
- improved cooldown/decay functions. every time a sector inventory gets loaded, its inventory gets cooled down, thus all accessible world items always have the correct values.
- OVERHEATING_SET_ZERO_UPON_NEW_SECTOR is not used anymore git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5443 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -96,15 +96,4 @@ void SectorFillCanteens( void );
|
||||
|
||||
OBJECTTYPE* GetUsableWaterDrumInSector( void );
|
||||
|
||||
void HourlyFoodDecay( void );
|
||||
|
||||
// Decay the food in a sector, performed every hour
|
||||
void SectorFoodDecay( WORLDITEM* pWorldItem, UINT32 size );
|
||||
|
||||
// checks wether there is any drinkable water source in this sector. Atm every water found is taken as 'drinkable'
|
||||
//BOOLEAN DrinkableWaterInSector(INT16 asMapX, INT16 asMapY, INT8 asMapZ);
|
||||
|
||||
// determine wether there is a kitechen furniture here (we assume its a sink, so it'll have water)
|
||||
//BOOLEAN IsKitchenFurnitureWaterSource( INT32 sGridNo );
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user