Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 3, 2017, 9:22:33 PM (8 years ago)
Author:
pascscha
Message:

XML Port

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/FlappyOrx_HS17/src/modules/flappyorx/FlappyOrx.h

    r11600 r11620  
    3636
    3737#include "flappyorx/FlappyOrxPrereqs.h"
     38   
    3839
    3940#include "gametypes/Deathmatch.h"
     
    9596            FlappyOrxShip* getPlayer();
    9697           
     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           
    97120            bool bEndGame;
    98121            bool bIsDead;
    99122            bool firstGame;
    100123            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
    105126            float speed = 100;
    106127           
     
    136157                "Congratulations, you get a medal, a wooden one",
    137158                "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."};
    139163            std::vector<std::string> DeathMessage30 = {
    140164                "Getting better!",
     
    144168                "Flappin average",
    145169                "Getting closer to something",
    146                 "That wasn't crap, not bad"};
     170                "That wasn't crap, not bad",
     171                "Surprisingly not bad."};
    147172            std::vector<std::string> DeathMessage50 = {
    148173                "Flappin great",
Note: See TracChangeset for help on using the changeset viewer.