 |
Blamite Game Engine - blam!
00398.09.22.23.2015.blamite
The core library for the Blamite Game Engine.
|
Go to the documentation of this file.
2 #ifndef _Demo_CameraController_H_
3 #define _Demo_CameraController_H_
5 #include "OGRE/OgrePrerequisites.h"
Keyboard button event structure (event.key.
Definition: SdlEmulationLayer.h:676
Ogre::Window * getRenderWindow(void) const
Definition: GraphicsSystem.h:145
SDL_MouseMotionEvent motion
Mouse motion event data.
Definition: SdlEmulationLayer.h:739
@ SDL_SCANCODE_PAGEUP
Definition: SdlEmulationLayer.h:151
int width
Definition: bgfx.cpp:19
SDL_Scancode scancode
SDL physical key code - see SDL_Scancode for details.
Definition: SdlEmulationLayer.h:667
@ SDL_SCANCODE_W
Definition: SdlEmulationLayer.h:55
Definition: BaseSystem.cpp:5
@ SDL_SCANCODE_LSHIFT
Definition: SdlEmulationLayer.h:308
float mCameraSpeedBoost
Definition: CameraController.h:20
CameraController(GraphicsSystem *graphicsSystem, bool useSceneNode=false)
Definition: CameraController.cpp:13
@ SDL_SCANCODE_S
Definition: SdlEmulationLayer.h:51
Ogre::Camera * getCamera(void) const
Definition: GraphicsSystem.h:147
bool keyPressed(const SDL_KeyboardEvent &arg)
Returns true if we've handled the event.
Definition: CameraController.cpp:73
Definition: CameraController.h:10
@ SDL_SCANCODE_PAGEDOWN
Definition: SdlEmulationLayer.h:154
float mCameraBaseSpeed
Definition: CameraController.h:19
BlamDirector * camera
Definition: director.cpp:3
double timeSinceLast
Definition: ogre.cpp:57
int height
Definition: bgfx.cpp:20
Definition: GraphicsSystem.h:26
void update(float timeSinceLast)
Definition: CameraController.cpp:26
Ogre::int32 yrel
The relative motion in the Y direction.
Definition: SdlEmulationLayer.h:701
Ogre::int32 xrel
The relative motion in the X direction.
Definition: SdlEmulationLayer.h:700
Definition: SdlEmulationLayer.h:735
@ SDL_SCANCODE_D
Definition: SdlEmulationLayer.h:36
void mouseMoved(const SDL_Event &arg)
Definition: CameraController.cpp:119
bool keyReleased(const SDL_KeyboardEvent &arg)
Returns true if we've handled the event.
Definition: CameraController.cpp:96
SDL_Keysym keysym
The key that was pressed or released.
Definition: SdlEmulationLayer.h:685
@ SDL_SCANCODE_A
Definition: SdlEmulationLayer.h:33