more gameserver support functions
This commit is contained in:
1 parent
c1426502b4
commit
53ac8b1171
2 files changed
+53
No files matched your search
@@ -231,6 +231,10 @@ void freeUnit(int p, int uix);
|
||||
void removeUnit(int p, int uix, int enemy = -1);
|
||||
void removeUnitUpdateMap(int p, int uix);
|
||||
void removeDomainUnits(int d, int p, int loc);
|
||||
// Removes every unit of player p at loc (not just one) and clears
|
||||
// occupant/ZoC bookkeeping for that tile. Enemy >= 0 counts the units as
|
||||
// lost to that player.
|
||||
void removeAllUnits(int p, int loc, int enemy = -1);
|
||||
void foundCity(int p, int foundLoc);
|
||||
|
||||
// Removes dead (Loc < 0) entries from a player's Un/City/EnemyCity lists,
|
||||
@@ -271,6 +275,10 @@ void recalcPeaceMap(int p);
|
||||
// recalculate fInEnemyZoC flags for the whole map
|
||||
void recalcMapZoC(int p);
|
||||
|
||||
// recalculate fInEnemyZoC flags around a single tile (cheaper than a full
|
||||
// recalcMapZoC() when only one location may have changed).
|
||||
void recalcV8ZoC(int p, int loc);
|
||||
|
||||
// --- Diplomacy ---
|
||||
|
||||
void introduceEnemy(int p1, int p2);
|
||||
|
||||
Reference in new issue
Block a user