Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 26, 2008, 4:26:04 PM (17 years ago)
Author:
rgrieder
Message:

Still working on the GameStates, but I have to save the work because of some major changes.

  • Exported InputManager- and TclThreadManager-tick to GSGraphics instead of Core
  • Fixed a few bugs in GameState by adding an internal state variable as bitfield (quite practical)
  • Fixed a bug in InputManager that occurred when destroying an active InputState
  • Added GSIO and GSIOConsole (3 lines of loop code with std::cin, but works ;))
  • Added more boost thread includes to OrxonoxStableHeaders.h
  • Many changes in all GameState derived classes
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/gui/src/orxonox/gamestates/GSRoot.h

    r1664 r1670  
    4242
    4343        void feedCommandLine(int argc, char** argv);
    44         bool tick(float dt);
    4544        void loadGame(const std::string& name);
     45
     46        void exitGame()
     47        { requestState("root"); }
     48        bool isGameFinished() { return (this->getActiveChild() == 0); }
    4649
    4750    private:
    4851        void enter();
    4952        void leave();
     53        void ticked(float dt);
    5054
    5155        Settings*             settings_;
    5256        GraphicsEngine*       graphicsEngine_;   //!< our dearest graphics engine <3
     57        bool                  bExit_;
    5358    };
    5459}
Note: See TracChangeset for help on using the changeset viewer.