Prototypes for UnitTypeCanMoveTo and UnitCanMoveTo added.
This commit is contained in:
parent
aa3b438b5b
commit
d88514229d
1 changed files with 4 additions and 0 deletions
|
@ -506,6 +506,10 @@ extern int RockOnMap(int x,int y);
|
|||
extern int CheckedCanMoveToMask(int x,int y,int mask);
|
||||
/// Returns true, if the unit-type(mask) can enter the field
|
||||
extern int CanMoveToMask(int x,int y,int mask);
|
||||
/// Returns true, if the unit-type can enter the field
|
||||
extern int UnitTypeCanMoveTo(int x,int y,const UnitType* type);
|
||||
/// Returns true, if the unit can enter the field
|
||||
extern int UnitCanMoveTo(int x,int y,const Unit* unit);
|
||||
|
||||
/// Preprocess map, for internal use.
|
||||
extern void PreprocessMap(void);
|
||||
|
|
Loading…
Add table
Reference in a new issue