summaryrefslogtreecommitdiffstats
path: root/src/vehicles/CarGen.h
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-04-14 12:08:03 +0200
committerSergeanur <s.anureev@yandex.ua>2020-04-14 12:08:03 +0200
commita19fa8764f63b4521873bbee8d2549c23d4be70a (patch)
treea326b5138920a48a0a3153c30443841fb528d495 /src/vehicles/CarGen.h
parentDebug font and CProfiles (diff)
downloadre3-a19fa8764f63b4521873bbee8d2549c23d4be70a.tar
re3-a19fa8764f63b4521873bbee8d2549c23d4be70a.tar.gz
re3-a19fa8764f63b4521873bbee8d2549c23d4be70a.tar.bz2
re3-a19fa8764f63b4521873bbee8d2549c23d4be70a.tar.lz
re3-a19fa8764f63b4521873bbee8d2549c23d4be70a.tar.xz
re3-a19fa8764f63b4521873bbee8d2549c23d4be70a.tar.zst
re3-a19fa8764f63b4521873bbee8d2549c23d4be70a.zip
Diffstat (limited to '')
-rw-r--r--src/vehicles/CarGen.h (renamed from src/control/CarGen.h)12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/control/CarGen.h b/src/vehicles/CarGen.h
index 75acdd56..9d645318 100644
--- a/src/control/CarGen.h
+++ b/src/vehicles/CarGen.h
@@ -34,19 +34,17 @@ public:
void Setup(float x, float y, float z, float angle, int32 mi, int16 color1, int16 color2, uint8 force, uint8 alarm, uint8 lock, uint16 min_delay, uint16 max_delay);
bool CheckForBlockage();
bool CheckIfWithinRangeOfAnyPlayer();
- void Save(uint8*&);
- void Load(uint8*&);
void SetUsesRemaining(uint16 uses) { m_nUsesRemaining = uses; }
};
class CTheCarGenerators
{
public:
- static uint8 &ProcessCounter;
- static uint32 &NumOfCarGenerators;
- static CCarGenerator (&CarGeneratorArray)[NUM_CARGENS];
- static uint8 &GenerateEvenIfPlayerIsCloseCounter;
- static uint32 &CurrentActiveCount;
+ static uint8 ProcessCounter;
+ static uint32 NumOfCarGenerators;
+ static CCarGenerator CarGeneratorArray[NUM_CARGENS];
+ static uint8 GenerateEvenIfPlayerIsCloseCounter;
+ static uint32 CurrentActiveCount;
static void Process();
static int32 CreateCarGenerator(float x, float y, float z, float angle, int32 mi, int16 color1, int16 color2, uint8 force, uint8 alarm, uint8 lock, uint16 min_delay, uint16 max_delay);