aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/irrlicht-1.8/include/SKeyMap.h
diff options
context:
space:
mode:
authorDavid Walter Seikel2013-01-13 18:54:10 +1000
committerDavid Walter Seikel2013-01-13 18:54:10 +1000
commit959831f4ef5a3e797f576c3de08cd65032c997ad (patch)
treee7351908be5995f0b325b2ebeaa02d5a34b82583 /libraries/irrlicht-1.8/include/SKeyMap.h
parentAdd info about changes to Irrlicht. (diff)
downloadSledjHamr-959831f4ef5a3e797f576c3de08cd65032c997ad.zip
SledjHamr-959831f4ef5a3e797f576c3de08cd65032c997ad.tar.gz
SledjHamr-959831f4ef5a3e797f576c3de08cd65032c997ad.tar.bz2
SledjHamr-959831f4ef5a3e797f576c3de08cd65032c997ad.tar.xz
Remove damned ancient DOS line endings from Irrlicht. Hopefully I did not go overboard.
Diffstat (limited to '')
-rw-r--r--libraries/irrlicht-1.8/include/SKeyMap.h82
1 files changed, 41 insertions, 41 deletions
diff --git a/libraries/irrlicht-1.8/include/SKeyMap.h b/libraries/irrlicht-1.8/include/SKeyMap.h
index 793cd98..55aa5f9 100644
--- a/libraries/irrlicht-1.8/include/SKeyMap.h
+++ b/libraries/irrlicht-1.8/include/SKeyMap.h
@@ -1,41 +1,41 @@
1// Copyright (C) 2002-2012 Nikolaus Gebhardt 1// Copyright (C) 2002-2012 Nikolaus Gebhardt
2// This file is part of the "Irrlicht Engine". 2// This file is part of the "Irrlicht Engine".
3// For conditions of distribution and use, see copyright notice in irrlicht.h 3// For conditions of distribution and use, see copyright notice in irrlicht.h
4 4
5#ifndef __S_KEY_MAP_H_INCLUDED__ 5#ifndef __S_KEY_MAP_H_INCLUDED__
6#define __S_KEY_MAP_H_INCLUDED__ 6#define __S_KEY_MAP_H_INCLUDED__
7 7
8#include "Keycodes.h" 8#include "Keycodes.h"
9 9
10namespace irr 10namespace irr
11{ 11{
12 12
13 //! enumeration for key actions. Used for example in the FPS Camera. 13 //! enumeration for key actions. Used for example in the FPS Camera.
14 enum EKEY_ACTION 14 enum EKEY_ACTION
15 { 15 {
16 EKA_MOVE_FORWARD = 0, 16 EKA_MOVE_FORWARD = 0,
17 EKA_MOVE_BACKWARD, 17 EKA_MOVE_BACKWARD,
18 EKA_STRAFE_LEFT, 18 EKA_STRAFE_LEFT,
19 EKA_STRAFE_RIGHT, 19 EKA_STRAFE_RIGHT,
20 EKA_JUMP_UP, 20 EKA_JUMP_UP,
21 EKA_CROUCH, 21 EKA_CROUCH,
22 EKA_COUNT, 22 EKA_COUNT,
23 23
24 //! This value is not used. It only forces this enumeration to compile in 32 bit. 24 //! This value is not used. It only forces this enumeration to compile in 32 bit.
25 EKA_FORCE_32BIT = 0x7fffffff 25 EKA_FORCE_32BIT = 0x7fffffff
26 }; 26 };
27 27
28 //! Struct storing which key belongs to which action. 28 //! Struct storing which key belongs to which action.
29 struct SKeyMap 29 struct SKeyMap
30 { 30 {
31 SKeyMap() {} 31 SKeyMap() {}
32 SKeyMap(EKEY_ACTION action, EKEY_CODE keyCode) : Action(action), KeyCode(keyCode) {} 32 SKeyMap(EKEY_ACTION action, EKEY_CODE keyCode) : Action(action), KeyCode(keyCode) {}
33 33
34 EKEY_ACTION Action; 34 EKEY_ACTION Action;
35 EKEY_CODE KeyCode; 35 EKEY_CODE KeyCode;
36 }; 36 };
37 37
38} // end namespace irr 38} // end namespace irr
39 39
40#endif 40#endif
41 41