- Timestamp:
- Dec 3, 2017, 9:22:33 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FlappyOrx_HS17/src/modules/flappyorx/FlappyOrx.h
r11600 r11620 36 36 37 37 #include "flappyorx/FlappyOrxPrereqs.h" 38 38 39 39 40 #include "gametypes/Deathmatch.h" … … 95 96 FlappyOrxShip* getPlayer(); 96 97 98 float speedBase; 99 float speedIncrease; 100 101 int tubeDistanceBase; 102 int tubeDistanceIncrease; 103 int tubeDistance; 104 int tubeOffsetX; 105 106 int upwardThrust; 107 int gravity; 108 109 inline void setSpeedBase(int speedBase){ this-> speedBase = speedBase;} 110 inline float getSpeedBase(){ return speedBase;} 111 inline void setSpeedIncrease(int speedIncrease){ this-> speedIncrease = speedIncrease;} 112 inline float getSpeedIncrease(){ return speedIncrease;} 113 114 inline void setTubeDistanceBase(int tubeDistanceBase){ this-> tubeDistanceBase = tubeDistanceBase;} 115 inline int getTubeDistanceBase(){ return tubeDistanceBase;} 116 inline void setTubeDistanceIncrease(int tubeDistanceIncrease){ this-> tubeDistanceIncrease = tubeDistanceIncrease;} 117 inline int getTubeDistanceIncrease(){ return tubeDistanceIncrease;} 118 119 97 120 bool bEndGame; 98 121 bool bIsDead; 99 122 bool firstGame; 100 123 std::string sDeathMessage; 101 std::queue<int> tubes; 102 std::queue<MovableEntity*> asteroids; 103 int spawnDistance; 104 int tubeOffsetX; 124 std::queue<int> tubes; //Saves Position of Tubes 125 std::queue<MovableEntity*> asteroids; //Stores Asteroids which build up the tubes 105 126 float speed = 100; 106 127 … … 136 157 "Congratulations, you get a medal, a wooden one", 137 158 "That was flappin bad!", 138 "Well, that was a waste of time"}; 159 "Well, that was a waste of time", 160 "You suck!", 161 "Maybe try SuperOrxoBros? That game is not as hard.", 162 "Here's a tip: Try not to fly into these grey thingies."}; 139 163 std::vector<std::string> DeathMessage30 = { 140 164 "Getting better!", … … 144 168 "Flappin average", 145 169 "Getting closer to something", 146 "That wasn't crap, not bad"}; 170 "That wasn't crap, not bad", 171 "Surprisingly not bad."}; 147 172 std::vector<std::string> DeathMessage50 = { 148 173 "Flappin great",
Note: See TracChangeset
for help on using the changeset viewer.