- Timestamp:
- May 17, 2010, 5:01:54 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/dynamicmatch/src/orxonox/gametypes/Dynamicmatch.h
r6848 r6921 47 47 bool notEnoughKillers; 48 48 bool notEnoughChasers; 49 50 //three different parties 51 int chaser; 52 int piggy; 53 int killer; 54 49 55 virtual void evaluatePlayerParties(); 50 56 int getParty(PlayerInfo* player); 51 57 void setPlayerColour(PlayerInfo* player);//own function 52 58 void setConfigValues();//done 59 60 bool friendlyfire; //goal: player can switch it on/off 61 bool tutorial; //goal: new players recieve messages how the new gametype works - later it can be switched off. 62 53 63 virtual bool allowPawnDamage(Pawn* victim, Pawn* originator = 0); //ok - score function and management of parties 54 64 virtual bool allowPawnDeath(Pawn* victim, Pawn* originator = 0); //ok - simple … … 59 69 virtual bool playerLeft(PlayerInfo* player); 60 70 virtual bool playerChangedName(PlayerInfo* player);//unchanged 61 virtual void instructions(); 62 virtual void furtherInstructions(); 71 72 /*virtual void instructions(); 73 virtual void furtherInstructions();*/ 63 74 virtual void rewardPig(); 64 75 void resetSpeedFactor(WeakPtr<Engine>* ptr); 65 76 void tick (float dt);// used to end the game 66 77 SpawnPoint* getBestSpawnPoint(PlayerInfo* player) const; 67 //three different parties 68 int chaser; 69 int piggy; 70 int killer; 71 72 bool friendlyfire; //goal: player can switch it on/off 73 bool tutorial; //goal: new players recieve messages how the new gametype works - later it can be switched off. 78 74 79 protected: 75 76 80 77 81 std::map< PlayerInfo*, int > playerParty_; //player's parties are recorded here 78 82 std::vector<ColourValue> partyColours_; //aus TeamDeathmatch … … 82 86 bool gameEnded_; // true if game is over 83 87 int timesequence_; //used for countdown 84 Timer callInstructions_;88 //Timer callInstructions_; 85 89 }; 86 90 }
Note: See TracChangeset
for help on using the changeset viewer.