Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 2, 2008, 9:44:33 PM (16 years ago)
Author:
rgrieder
Message:
  • added some empty class files
  • moved input stuff to core
File:
1 moved

Legend:

Unmodified
Added
Removed
  • code/branches/input/src/orxonox/core/InputHandler.h

    r969 r971  
    3737#include <OIS/OIS.h>
    3838
    39 #include "OrxonoxPrereqs.h"
     39#include "CorePrereqs.h"
    4040#include "core/Tickable.h"
    4141#include "InputEvent.h"
     
    4444{
    4545  /**
     46    @brief Designates the way input is handled currently.
     47    IM_GUI:      All the OIS input events are passed to CEGUI
     48    IM_KEYBOARD: Only keyboard input is captured and passed to the InputBuffer
     49    IM_INGAME:   Normal game mode. Key bindings and mouse are active.
     50  */
     51  enum InputMode
     52  {
     53    IM_GUI      = 0;
     54    IM_KEYBOARD = 1;
     55    IM_INGAME   = 2;
     56  };
     57
     58  /**
    4659    @brief Captures and distributes mouse and keyboard input.
    4760    It resolves the key bindings to InputEvents which can be heard by
    4861    implementing the InputEventListener interface.
    4962  */
    50   class _OrxonoxExport InputHandler
     63  class _CoreExport InputHandler
    5164        : public Tickable, public OIS::KeyListener, public OIS::MouseListener
    5265  {
    53     //friend class ClassIdentifier<InputHandler>;
    5466  public:
    5567    bool initialise(size_t windowHnd, int windowWidth, int windowHeight);
Note: See TracChangeset for help on using the changeset viewer.