Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 1143


Ignore:
Timestamp:
Apr 22, 2008, 10:33:58 PM (16 years ago)
Author:
rgrieder
Message:
  • all just little changes to make it work under windows
Location:
code/branches/console
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • code/branches/console/src/orxonox/Main.cc

    r1056 r1143  
    7474int main(int argc, char **argv)
    7575{
    76   try {
     76  //try {
    7777    SignalHandler::getInstance()->doCatch(argv[0], "orxonox.log");
    7878    Orxonox* orx = Orxonox::getSingleton();
     
    8686    orx->start();
    8787    orx->destroySingleton();
    88   }
     88  /*}
    8989  catch (std::exception &ex)
    9090  {
     
    9292    std::cerr << ex.what() << "\n";
    9393    return 1;
    94   }
     94  }*/
    9595
    9696  return 0;
  • code/branches/console/src/orxonox/Orxonox.cc

    r1136 r1143  
    471471        it++;
    472472      }
     473      orxonoxConsole_->tick((float)evt.timeSinceLastFrame * this->timefactor_);
    473474
    474475      // don't forget to call _fireFrameStarted in ogre to make sure
  • code/branches/console/src/orxonox/console/InGameConsole.cc

    r1141 r1143  
    2727 */
    2828
     29#include "OrxonoxStableHeaders.h"
     30
    2931#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
    3045#define LINES 20
    3146
     
    3954
    4055    InGameConsole::InGameConsole(InputBuffer* ib){
     56        //RegisterObject(InGameConsole);
    4157        ib_ = ib;
     58        active = false;
     59        cursor = 0.0;
    4260        init();
    4361    }
  • code/branches/console/src/orxonox/console/InGameConsole.h

    r1141 r1143  
    3131
    3232
    33 #include "OrxonoxStableHeaders.h"
    3433#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>
    4134#include <OgrePrerequisites.h>
    42 #include <OgreOverlay.h>
    43 #include <OgreOverlayManager.h>
    44 #include <OgreOverlayContainer.h>
    4535#include <OgreBorderPanelOverlayElement.h>
    4636#include <OgreTextAreaOverlayElement.h>
    47 #include <OgreOverlayElement.h>
    48 #include <OgreStringConverter.h>
     37
     38#include "core/Tickable.h"
     39#include "core/InputBuffer.h"
    4940
    5041
    5142namespace orxonox
    5243{
    53     class _OrxonoxExport InGameConsole : public InputBufferListener, public Tickable{
     44    class _OrxonoxExport InGameConsole : public InputBufferListener
     45    {
    5446        public:
    5547            InGameConsole(InputBuffer* ib);
  • code/branches/console/visual_studio/vc8/orxonox.vcproj

    r1035 r1143  
    384384                                </File>
    385385                        </Filter>
     386                        <Filter
     387                                Name="console"
     388                                >
     389                                <File
     390                                        RelativePath="..\..\src\orxonox\console\InGameConsole.cc"
     391                                        >
     392                                </File>
     393                        </Filter>
    386394                </Filter>
    387395                <Filter
     
    511519                                <File
    512520                                        RelativePath="..\..\src\orxonox\tools\Timer.h"
     521                                        >
     522                                </File>
     523                        </Filter>
     524                        <Filter
     525                                Name="console"
     526                                >
     527                                <File
     528                                        RelativePath="..\..\src\orxonox\console\InGameConsole.h"
    513529                                        >
    514530                                </File>
Note: See TracChangeset for help on using the changeset viewer.