re-align CTRTSGame class
This commit is contained in:
parent
ca1705ad4a
commit
755fe01bf5
1 changed files with 33 additions and 33 deletions
|
@ -59,7 +59,7 @@ public:
|
|||
const COrder& GetOrderByIDConst( unit_id_t id ) const;
|
||||
|
||||
// Get dimensions
|
||||
inline const uvector2 &GetDimensions() const { return dimensions; }
|
||||
inline const uvector2& GetDimensions() const { return dimensions; }
|
||||
|
||||
// Set the game name
|
||||
// NOTE: Names with spaces not allowed
|
||||
|
@ -75,6 +75,9 @@ public:
|
|||
|
||||
private:
|
||||
|
||||
// Check for a pass through
|
||||
static bool CheckForPassThrough( const CUnit& one, const CUnit& two );
|
||||
|
||||
// Verify any order or position - non-zero is error
|
||||
int VerifyOrder( Team team, const COrder& order ) const;
|
||||
int VerifyPos( uvector2 vec ) const;
|
||||
|
@ -82,9 +85,6 @@ private:
|
|||
// Get a units new position after an order
|
||||
uvector2 GetNewPosition( const SOrderUnitPair & pair ) const;
|
||||
|
||||
// Check for a pass through
|
||||
static bool CheckForPassThrough( const CUnit& one, const CUnit& two );
|
||||
|
||||
// Kill all units in list
|
||||
void KillAll( std::vector< unit_id_t >& vec );
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue