Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 24, 2008, 10:08:42 PM (16 years ago)
Author:
rgrieder
Message:
  • moved OrxonoxPlatform.h to util (didn't even notice util recently)
  • therefore was able to define uint32_t, etc. for all our libs in OrxonoxPlatform.h
  • made use of OgreRenderWindow::getAverageFPS() in HUD
Location:
code/branches/network/src/core
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • code/branches/network/src/core/CorePrereqs.h

    r1413 r1414  
    3535#define _CorePrereqs_H__
    3636
    37 #include "OrxonoxPlatform.h"
     37#include "util/OrxonoxPlatform.h"
    3838
    3939#include <string>
  • code/branches/network/src/core/InputManager.cc

    r1413 r1414  
    421421
    422422        case IS_GUI:
    423           // TODO: do stuff
    424423          break;
    425424
  • code/branches/network/src/core/KeyBinder.cc

    r1413 r1414  
    188188        // check for param command
    189189        int paramIndex = eval.getEvaluatedExecutor()->getAxisParamIndex();
    190         // TODO: check in Executor for correct paramIndex
    191190        if (paramIndex >= 0)
    192191        {
     
    231230          cmd->evaluation_ = eval;
    232231
    233           //TODO: check CommandEvaluation for correct KeybindMode
    234232          if (mode == KeybindMode::None)
    235233            mode = eval.getEvaluatedExecutor()->getKeybindMode();
     
    757755  void KeyBinder::joyStickAxisMoved(int joyStickID, int axis, int value)
    758756  {
    759     // TODO: check whether 16 bit integer as general axis value is a good idea (works under windows)
     757    // TODO: Use proper calibration values instead of generally 16-bit integer
    760758    int i = 8 + axis * 2;
    761759    if (value >= 0)
  • code/branches/network/src/core/KeyBinder.h

    r1413 r1414  
    4848namespace orxonox
    4949{
    50   class _CoreExport BaseCommand
    51   {
    52   public:
    53     virtual ~BaseCommand() { }
    54     virtual bool execute(float abs = 1.0f, float rel = 1.0f) = 0;
    55   };
    56 
    5750  class _CoreExport BufferedParamCommand
    5851  {
     
    6558    int paramIndex_;
    6659    CommandEvaluation evaluation_;
     60  };
     61
     62  class _CoreExport BaseCommand
     63  {
     64  public:
     65    virtual ~BaseCommand() { }
     66    virtual bool execute(float abs = 1.0f, float rel = 1.0f) = 0;
    6767  };
    6868
Note: See TracChangeset for help on using the changeset viewer.