File tree Expand file tree Collapse file tree 2 files changed +358
-85
lines changed
GeneralsMD/Code/GameEngine Expand file tree Collapse file tree 2 files changed +358
-85
lines changed Original file line number Diff line number Diff line change 37
37
// #include "GameLogic/Locomotor.h" // no, do not include this, unless you like long recompiles
38
38
#include " GameLogic/LocomotorSet.h"
39
39
#include " GameLogic/GameLogic.h"
40
+ #include " Common/GameDefines.h"
40
41
41
42
class Bridge ;
42
43
class Object ;
@@ -50,6 +51,10 @@ class PathfindZoneManager;
50
51
51
52
#define INFANTRY_MOVES_THROUGH_INFANTRY
52
53
54
+ // TheSuperHackers @info This is here to easily toggle the retail compatible hacks for the pathfinding
55
+ #if RETAIL_COMPATIBLE_CRC
56
+ #define RETAIL_COMPATIBLE_PATHFINDING (1 )
57
+ #endif
53
58
54
59
typedef UnsignedShort zoneStorageType;
55
60
@@ -208,6 +213,9 @@ class PathfindCellInfo
208
213
{
209
214
friend class PathfindCell ;
210
215
public:
216
+ #if RETAIL_COMPATIBLE_PATHFINDING
217
+ static void forceCleanPathFindInfoCells (void );
218
+ #endif
211
219
static void allocateCellInfos (void );
212
220
static void releaseCellInfos (void );
213
221
You can’t perform that action at this time.
0 commit comments