Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9090


Ignore:
Timestamp:
Apr 16, 2012, 10:29:49 PM (13 years ago)
Author:
jo
Message:

Fighting with the controller. 'Undefined reference to orxonox::OverlayText' won. I don't see the error at the moment.

Location:
code/branches/pCuts
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • code/branches/pCuts/data/levels/tetris.oxw

    r9089 r9090  
    99  include("HUDTemplates3.oxo")
    1010  include("stats.oxo")
     11  include("pongHUD.oxo")
    1112  include("templates/lodInformation.oxt")
    1213?>
  • code/branches/pCuts/src/modules/pong/Pong.cc

    r9081 r9090  
    7676        // Set the type of Bots for this particular Gametype.
    7777        this->botclass_ = Class(PongBot);
    78         this->scoreLimit_ = 10;
    79         this->setConfigValues();
     78        this->scoreLimit_ = 10;
     79        this->setConfigValues();
    8080    }
    8181
  • code/branches/pCuts/src/modules/pong/Pong.h

    r9016 r9090  
    8383            void setConfigValues(); //!< Makes scoreLimit configurable.
    8484           
    85             PlayerInfo* getLeftPlayer() const; //!< Get the left player.
     85            PlayerInfo* getLeftPlayer() const; //!< Get the left player.
    8686            PlayerInfo* getRightPlayer() const; //!< Get the right player.
    8787
     
    9595            WeakPtr<PongBall> ball_; //!< The Pong ball.
    9696            WeakPtr<PongBat> bat_[2]; //!< The two bats.
    97             Timer starttimer_; //!< A timer to delay the start of the game.
     97            Timer starttimer_; //!< A timer to delay the start of the game.
    9898            int scoreLimit_; //!< If a player scored that much points, the game is ended.
    9999    };
  • code/branches/pCuts/src/modules/pong/PongScore.cc

    r9016 r9090  
    6161        this->bShowRightPlayer_ = false;
    6262        this->player1_ = NULL;
    63         this->player2_ = NULL;
     63        this->player2_ = NULL;
    6464    }
    6565
  • code/branches/pCuts/src/modules/tetris/CMakeLists.txt

    r9082 r9090  
    44  TetrisStone.cc
    55  TetrisBrick.cc
     6  TetrisScore.cc
    67)
    78
  • code/branches/pCuts/src/modules/tetris/Tetris.cc

    r9089 r9090  
    3131 *BUG e) multiple rows are not cleared in one round
    3232 *
    33  *TASK a) give points for winning
     33 *
    3434 *TASK b) write a hud (show points gained; new brick)
    3535 *TASK c) end the game in a nicer way
    3636 *TASK d) save the highscore
    3737 *TASK e) eye candy
    38  *TASK f) increasing speed
    3938 */
    4039
     
    409408                    {
    410409                        clearRow(row);
    411                         this->playerScored(this->player_);
     410                        this->playerScored(this->player_);// add points
     411                        //increase the stone's speed
     412                        this->center_->setStoneSpeed(this->center_->getStoneSpeed()+1.0f);
    412413                    }
    413414                }
  • code/branches/pCuts/src/modules/tetris/TetrisPrereqs.h

    r9082 r9090  
    6969    class TetrisStone;
    7070    class TetrisBrick;
     71    class TetrisScore;
    7172}
    7273
Note: See TracChangeset for help on using the changeset viewer.