Changeset 8999 for code/branches/presentation2011/src
- Timestamp:
- Dec 18, 2011, 3:22:43 PM (13 years ago)
- Location:
- code/branches/presentation2011/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2011/src/modules/gametypes/CMakeLists.txt
r8998 r8999 3 3 RaceCheckPoint.cc 4 4 SpaceRaceManager.cc 5 OldSpaceRace.cc 6 OldRaceCheckPoint.cc 5 7 ) 6 8 -
code/branches/presentation2011/src/modules/gametypes/GametypesPrereqs.h
r8706 r8999 66 66 { 67 67 class SpaceRace; 68 class OldSpaceRace; 68 69 } 69 70 -
code/branches/presentation2011/src/orxonox/controllers/FormationController.h
r8992 r8999 77 77 78 78 inline void setTeam(int team) 79 { this->team_ = team; 80 orxout(debug_output) << "Set team to: "<<team<<" in "<<this<< endl;} 79 { this->team_ = team; } 81 80 inline int getTeam() const 82 81 { return this->team_; } … … 87 86 Defend-just defend the master 88 87 Attack-leave formation, attack every target 89 */ 88 */ 90 89 enum FormationMode {NORMAL,DEFEND,ATTACK}; 91 90 92 91 /** 93 92 @brief Sets the new mode. If master, set it for all slaves. … … 104 103 int freedomCount_; 105 104 enum State {SLAVE, MASTER, FREE}; 106 105 107 106 State state_; 108 107 std::vector<FormationController*> slaves_; … … 135 134 136 135 void takeLeadOfFormation(); 137 void masterAttacked(Pawn* originator); 136 void masterAttacked(Pawn* originator); 138 137 139 138 void specificMasterActionHold(); … … 155 154 156 155 static bool sameTeam(ControllableEntity* entity1, ControllableEntity* entity2, Gametype* gametype); // hack 157 156 158 157 159 158 void setTarget(Pawn* target); … … 162 161 163 162 void targetDied(); 164 163 165 164 bool bHasTargetPosition_; 166 165 Vector3 targetPosition_;
Note: See TracChangeset
for help on using the changeset viewer.