Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

EventManager.cpp File Reference

#include "config.h"
#include "Teddy/SpaceGame/Root.h"
#include "Teddy/SpaceGame/Simulated.h"
#include "Teddy/Scenes/Camera.h"
#include "Teddy/Scenes/Scene.h"

Include dependency graph for EventManager.cpp:

Include dependency graph

Go to the source code of this file.

Namespaces

namespace  Teddy
namespace  Teddy::SpaceGame

Defines

#define MM_CONTROL_CAMERA   1
#define MM_TRANSLATE_INSTANCE   2
#define MM_ROTATE_SCALE_INSTANCE   3
#define TRANSLATE_SCALE   1.0f
#define ROTATE_SCALE   0.3f
#define distance_delta   0.01f
#define SCALE   1.00f


Define Documentation

#define distance_delta   0.01f
 

Definition at line 43 of file EventManager.cpp.

#define MM_CONTROL_CAMERA   1
 

Definition at line 37 of file EventManager.cpp.

Referenced by Teddy::SpaceGame::EventManager::chooseMouseMode(), Teddy::SpaceGame::EventManager::EventManager(), and Teddy::SpaceGame::EventManager::mouseMotion().

#define MM_ROTATE_SCALE_INSTANCE   3
 

Definition at line 39 of file EventManager.cpp.

Referenced by Teddy::SpaceGame::EventManager::chooseMouseMode(), and Teddy::SpaceGame::EventManager::mouseMotion().

#define MM_TRANSLATE_INSTANCE   2
 

Definition at line 38 of file EventManager.cpp.

Referenced by Teddy::SpaceGame::EventManager::chooseMouseMode(), and Teddy::SpaceGame::EventManager::mouseMotion().

#define ROTATE_SCALE   0.3f
 

Definition at line 42 of file EventManager.cpp.

#define SCALE   1.00f
 

Definition at line 44 of file EventManager.cpp.

#define TRANSLATE_SCALE   1.0f
 

Definition at line 41 of file EventManager.cpp.