Changeset 1524 for code/branches/input/src/orxonox
- Timestamp:
- Jun 3, 2008, 12:20:36 AM (17 years ago)
- Location:
- code/branches/input/src/orxonox
- Files:
-
- 8 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
code/branches/input/src/orxonox/CMakeLists.txt
r1505 r1524 29 29 objects/SpaceShip.cc 30 30 objects/SpaceShipAI.cc 31 objects/Tickable.cc 31 32 objects/WorldEntity.cc 32 33 -
code/branches/input/src/orxonox/Orxonox.cc
r1519 r1524 57 57 #include "core/Debug.h" 58 58 #include "core/Loader.h" 59 #include "core/Tickable.h"60 59 #include "core/input/InputManager.h" 61 60 #include "core/TclBind.h" 61 #include "core/Core.h" 62 62 63 63 // audio … … 70 70 // objects and tools 71 71 #include "hud/HUD.h" 72 #include <Ogre.h>72 #include "objects/Tickable.h" 73 73 74 74 #include "GraphicsEngine.h" … … 76 76 // FIXME: is this really file scope? 77 77 // globals for the server or client 78 network::Client *client_g ;79 network::Server *server_g ;78 network::Client *client_g = 0; 79 network::Server *server_g = 0; 80 80 81 81 namespace orxonox … … 430 430 } 431 431 432 // tick the core 433 Core::tick((float)evt.timeSinceLastFrame); 432 434 // Call those objects that need the real time 433 435 for (Iterator<TickableReal> it = ObjectList<TickableReal>::start(); it; ++it) … … 436 438 for (Iterator<Tickable> it = ObjectList<Tickable>::start(); it; ++it) 437 439 it->tick((float)evt.timeSinceLastFrame * this->timefactor_); 440 //AudioManager::tick(); 441 if (client_g) 442 client_g->tick((float)evt.timeSinceLastFrame); 443 if (server_g) 444 server_g->tick((float)evt.timeSinceLastFrame); 438 445 439 446 // don't forget to call _fireFrameStarted in ogre to make sure -
code/branches/input/src/orxonox/OrxonoxStableHeaders.h
r1505 r1524 104 104 #include "core/Debug.h" 105 105 //#include "core/Executor.h" 106 #include "core/Tickable.h"107 106 //#include "core/XMLPort.h" 108 107 … … 111 110 #include "OrxonoxPrereqs.h" 112 111 #include "tools/Timer.h" 112 #include "objects/Tickable.h" 113 113 #include "objects/Model.h" 114 114 #include "objects/WorldEntity.h" -
code/branches/input/src/orxonox/console/InGameConsole.h
r1505 r1524 36 36 #include <OgreTextAreaOverlayElement.h> 37 37 38 #include "core/Tickable.h"39 38 #include "core/Shell.h" 39 #include "objects/Tickable.h" 40 40 41 41 -
code/branches/input/src/orxonox/hud/HUD.h
r1505 r1524 36 36 #include <OgreTextAreaOverlayElement.h> 37 37 #include <OgreSceneNode.h> 38 #include " core/Tickable.h"38 #include "objects/Tickable.h" 39 39 #include "util/Math.h" 40 40 41 41 namespace orxonox 42 42 { 43 class _OrxonoxExport HUD : public Tickable 43 class _OrxonoxExport HUD : public TickableReal 44 44 { 45 45 private: -
code/branches/input/src/orxonox/hud/RadarOverlayElement.cc
r1505 r1524 35 35 36 36 #include "GraphicsEngine.h" 37 #include "core/Tickable.h"38 37 #include "core/ConsoleCommand.h" 38 #include "objects/Tickable.h" 39 39 #include "objects/SpaceShip.h" 40 40 #include "RadarObject.h" -
code/branches/input/src/orxonox/objects/Tickable.cc
r1510 r1524 27 27 */ 28 28 29 #include "OrxonoxStableHeaders.h" 29 30 #include "Tickable.h" 30 #include " CoreIncludes.h"31 #include " ConsoleCommand.h"31 #include "core/CoreIncludes.h" 32 #include "core/ConsoleCommand.h" 32 33 33 34 namespace orxonox -
code/branches/input/src/orxonox/objects/Tickable.h
r1510 r1524 42 42 #define _Tickable_H__ 43 43 44 #include " CorePrereqs.h"44 #include "OrxonoxPrereqs.h" 45 45 46 #include " OrxonoxClass.h"46 #include "core/OrxonoxClass.h" 47 47 48 48 namespace orxonox 49 49 { 50 50 //! The Tickable interface provides a tick(dt) function, that gets called every frame. 51 class _ CoreExport Tickable : virtual public OrxonoxClass51 class _OrxonoxExport Tickable : virtual public OrxonoxClass 52 52 { 53 53 public: … … 63 63 64 64 //! The Tickable interface provides a tick(dt) function, that gets called every frame. 65 class _ CoreExport TickableReal : virtual public OrxonoxClass65 class _OrxonoxExport TickableReal : virtual public OrxonoxClass 66 66 { 67 67 public: -
code/branches/input/src/orxonox/objects/WorldEntity.h
r1505 r1524 39 39 #include "network/Synchronisable.h" 40 40 #include "core/BaseObject.h" 41 #include " core/Tickable.h"41 #include "Tickable.h" 42 42 #include "../tools/Mesh.h" 43 43 -
code/branches/input/src/orxonox/tools/Timer.h
r1505 r1524 62 62 63 63 #include "OrxonoxPrereqs.h" 64 #include "core/CorePrereqs.h" 65 #include "core/Tickable.h" 64 #include "objects/Tickable.h" 66 65 67 66 namespace orxonox
Note: See TracChangeset
for help on using the changeset viewer.