Changeset 1143 for code/branches/console/src/orxonox
- Timestamp:
- Apr 22, 2008, 10:33:58 PM (17 years ago)
- Location:
- code/branches/console/src/orxonox
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/console/src/orxonox/Main.cc
r1056 r1143 74 74 int main(int argc, char **argv) 75 75 { 76 try {76 //try { 77 77 SignalHandler::getInstance()->doCatch(argv[0], "orxonox.log"); 78 78 Orxonox* orx = Orxonox::getSingleton(); … … 86 86 orx->start(); 87 87 orx->destroySingleton(); 88 }88 /*} 89 89 catch (std::exception &ex) 90 90 { … … 92 92 std::cerr << ex.what() << "\n"; 93 93 return 1; 94 } 94 }*/ 95 95 96 96 return 0; -
code/branches/console/src/orxonox/Orxonox.cc
r1136 r1143 471 471 it++; 472 472 } 473 orxonoxConsole_->tick((float)evt.timeSinceLastFrame * this->timefactor_); 473 474 474 475 // don't forget to call _fireFrameStarted in ogre to make sure -
code/branches/console/src/orxonox/console/InGameConsole.cc
r1141 r1143 27 27 */ 28 28 29 #include "OrxonoxStableHeaders.h" 30 29 31 #include "InGameConsole.h" 32 33 #include <string> 34 #include <OgreOverlay.h> 35 #include <OgreOverlayElement.h> 36 #include <OgreOverlayManager.h> 37 #include <OgreOverlayContainer.h> 38 #include <OgreStringConverter.h> 39 40 #include "core/Debug.h" 41 #include "core/CoreIncludes.h" 42 #include "core/ConsoleCommand.h" 43 #include "GraphicsEngine.h" 44 30 45 #define LINES 20 31 46 … … 39 54 40 55 InGameConsole::InGameConsole(InputBuffer* ib){ 56 //RegisterObject(InGameConsole); 41 57 ib_ = ib; 58 active = false; 59 cursor = 0.0; 42 60 init(); 43 61 } -
code/branches/console/src/orxonox/console/InGameConsole.h
r1141 r1143 31 31 32 32 33 #include "OrxonoxStableHeaders.h"34 33 #include "OrxonoxPrereqs.h" 35 #include "core/Debug.h"36 #include "core/InputBuffer.h"37 #include "core/Tickable.h"38 #include "core/ConsoleCommand.h"39 #include <string>40 #include <GraphicsEngine.h>41 34 #include <OgrePrerequisites.h> 42 #include <OgreOverlay.h>43 #include <OgreOverlayManager.h>44 #include <OgreOverlayContainer.h>45 35 #include <OgreBorderPanelOverlayElement.h> 46 36 #include <OgreTextAreaOverlayElement.h> 47 #include <OgreOverlayElement.h> 48 #include <OgreStringConverter.h> 37 38 #include "core/Tickable.h" 39 #include "core/InputBuffer.h" 49 40 50 41 51 42 namespace orxonox 52 43 { 53 class _OrxonoxExport InGameConsole : public InputBufferListener, public Tickable{ 44 class _OrxonoxExport InGameConsole : public InputBufferListener 45 { 54 46 public: 55 47 InGameConsole(InputBuffer* ib);
Note: See TracChangeset
for help on using the changeset viewer.