Populous: The Beginning Script 3
1.0.0
Documentation for Populous Script 3 engine
Pop3Keys.h
Go to the documentation of this file.
1
#pragma once
2
#include "Pop3Build.h"
3
#include <windows.h>
4
#define MOUSE_ENUM_OFFSET 256
5
typedef
enum
Pop3InputKey
6
{
7
LB_KEY_NONE
= 0,
8
9
// Keyboard codes
10
LB_KEY_ESC
= VK_ESCAPE,
11
LB_KEY_MINUS
= VK_OEM_MINUS,
12
LB_KEY_NUM_MINUS
=
LB_KEY_MINUS
,
13
LB_KEY_EQUAL
= VK_OEM_PLUS,
14
LB_KEY_NUM_PLUS
=
LB_KEY_EQUAL
,
15
LB_KEY_BACKSPACE
= VK_BACK,
16
LB_KEY_TAB
= VK_TAB,
17
18
LB_KEY_0
= 0x30,
19
LB_KEY_1
,
20
LB_KEY_2
,
21
LB_KEY_3
,
22
LB_KEY_4
,
23
LB_KEY_5
,
24
LB_KEY_6
,
25
LB_KEY_7
,
26
LB_KEY_8
,
27
LB_KEY_9
,
28
29
LB_KEY_A
= 0x41,
30
LB_KEY_B
,
31
LB_KEY_C
,
32
LB_KEY_D
,
33
LB_KEY_E
,
34
LB_KEY_F
,
35
LB_KEY_G
,
36
LB_KEY_H
,
37
LB_KEY_I
,
38
LB_KEY_J
,
39
LB_KEY_K
,
40
LB_KEY_L
,
41
LB_KEY_M
,
42
LB_KEY_N
,
43
LB_KEY_O
,
44
LB_KEY_P
,
45
LB_KEY_Q
,
46
LB_KEY_R
,
47
LB_KEY_S
,
48
LB_KEY_T
,
49
LB_KEY_U
,
50
LB_KEY_V
,
51
LB_KEY_W
,
52
LB_KEY_X
,
53
LB_KEY_Y
,
54
LB_KEY_Z
,
55
56
LB_KEY_LSBRACKET
= VK_OEM_4,
57
LB_KEY_RSBRACKET
= VK_OEM_6,
58
LB_KEY_RETURN
= VK_RETURN,
59
LB_KEY_NUM_ENTER
=
LB_KEY_RETURN
,
60
LB_KEY_LCONTROL
= VK_LCONTROL,
61
LB_KEY_COLON
= VK_OEM_1,
62
LB_KEY_QUOTE
= VK_OEM_8,
63
LB_KEY_QUOTE2
= VK_OEM_3,
64
LB_KEY_LSHIFT
= VK_LSHIFT,
65
LB_KEY_HASH
= VK_OEM_6,
66
LB_KEY_COMMA
= VK_OEM_COMMA,
67
LB_KEY_DOT
= VK_OEM_PERIOD,
68
LB_KEY_NUM_DOT
=
LB_KEY_DOT
,
69
LB_KEY_SLASH
= VK_OEM_2,
70
LB_KEY_RSHIFT
= VK_RSHIFT,
71
LB_KEY_LALT
= VK_LMENU,
72
LB_KEY_SPACE
= VK_SPACE,
73
LB_KEY_CAPS
= VK_CAPITAL,
74
75
LB_KEY_F1
= 0x70,
76
LB_KEY_F2
,
77
LB_KEY_F3
,
78
LB_KEY_F4
,
79
LB_KEY_F5
,
80
LB_KEY_F6
,
81
LB_KEY_F7
,
82
LB_KEY_F8
,
83
LB_KEY_F9
,
84
LB_KEY_F10
,
85
LB_KEY_F11
,
86
LB_KEY_F12
,
87
88
LB_KEY_NUM_0
= VK_NUMPAD0,
89
LB_KEY_NUM_INSERT
=
LB_KEY_NUM_0
,
90
LB_KEY_NUM_1
,
91
LB_KEY_NUM_2
,
92
LB_KEY_NUM_3
,
93
LB_KEY_NUM_4
,
94
LB_KEY_NUM_5
,
95
LB_KEY_NUM_6
,
96
LB_KEY_NUM_7
,
97
LB_KEY_NUM_8
,
98
LB_KEY_NUM_9
,
99
LB_KEY_NUM_SLASH
= VK_DIVIDE,
100
101
LB_KEY_NUM_ASTERISK
= VK_MULTIPLY,
102
LB_KEY_NUM_LOCK
= VK_NUMLOCK,
103
LB_KEY_SCROLL_LOCK
= VK_SCROLL,
104
LB_KEY_BACKSLASH
= VK_OEM_5,
105
106
LB_KEY_RCONTROL
= VK_RCONTROL,
107
LB_KEY_PRINT_SCR
= VK_SNAPSHOT,
108
LB_KEY_RALT
= VK_RMENU,
109
LB_KEY_BREAK
= VK_PAUSE,
110
LB_KEY_PAUSE
=
LB_KEY_BREAK
,
111
LB_KEY_HOME
= VK_HOME,
112
LB_KEY_UP
= VK_UP,
113
LB_KEY_PGUP
= VK_PRIOR,
114
LB_KEY_LEFT
= VK_LEFT,
115
LB_KEY_RIGHT
= VK_RIGHT,
116
LB_KEY_END
= VK_END,
117
LB_KEY_DOWN
= VK_DOWN,
118
LB_KEY_PGDN
= VK_NEXT,
119
LB_KEY_INSERT
= VK_INSERT,
120
LB_KEY_DELETE
= VK_DELETE,
121
LB_KEY_NUM_DELETE
=
LB_KEY_DELETE
,
122
123
// Mouse input
124
LB_KEY_MOUSE0
=
MOUSE_ENUM_OFFSET
,
125
LB_KEY_MOUSE1
,
126
LB_KEY_MOUSE2
,
127
LB_KEY_MOUSE3
,
128
LB_KEY_MOUSE4
,
129
130
LB_KEY_MAX
131
}
TbInputKey
;
132
133
#define MAX_KEYS LB_KEY_MAX
134
#define LB_KEY_MOUSE_LEFT LB_KEY_MOUSE0
135
#define LB_KEY_MOUSE_RIGHT LB_KEY_MOUSE1
136
#define LB_KEY_MOUSE_MIDDLE LB_KEY_MOUSE2
LB_KEY_NUM_SLASH
Definition:
Pop3Keys.h:99
LB_KEY_PGDN
Definition:
Pop3Keys.h:118
LB_KEY_MOUSE0
Definition:
Pop3Keys.h:124
LB_KEY_NUM_6
Definition:
Pop3Keys.h:95
LB_KEY_PRINT_SCR
Definition:
Pop3Keys.h:107
LB_KEY_DOWN
Definition:
Pop3Keys.h:117
LB_KEY_LEFT
Definition:
Pop3Keys.h:114
LB_KEY_NONE
Definition:
Pop3Keys.h:7
LB_KEY_W
Definition:
Pop3Keys.h:51
LB_KEY_NUM_7
Definition:
Pop3Keys.h:96
LB_KEY_Y
Definition:
Pop3Keys.h:53
LB_KEY_PGUP
Definition:
Pop3Keys.h:113
LB_KEY_F9
Definition:
Pop3Keys.h:83
LB_KEY_B
Definition:
Pop3Keys.h:30
LB_KEY_C
Definition:
Pop3Keys.h:31
LB_KEY_O
Definition:
Pop3Keys.h:43
LB_KEY_F11
Definition:
Pop3Keys.h:85
LB_KEY_A
Definition:
Pop3Keys.h:29
LB_KEY_ESC
Definition:
Pop3Keys.h:10
LB_KEY_E
Definition:
Pop3Keys.h:33
LB_KEY_X
Definition:
Pop3Keys.h:52
LB_KEY_SPACE
Definition:
Pop3Keys.h:72
LB_KEY_RETURN
Definition:
Pop3Keys.h:58
LB_KEY_HASH
Definition:
Pop3Keys.h:65
LB_KEY_NUM_MINUS
Definition:
Pop3Keys.h:12
LB_KEY_6
Definition:
Pop3Keys.h:24
LB_KEY_LSBRACKET
Definition:
Pop3Keys.h:56
LB_KEY_U
Definition:
Pop3Keys.h:49
LB_KEY_J
Definition:
Pop3Keys.h:38
LB_KEY_RSHIFT
Definition:
Pop3Keys.h:70
LB_KEY_F1
Definition:
Pop3Keys.h:75
LB_KEY_F5
Definition:
Pop3Keys.h:79
LB_KEY_END
Definition:
Pop3Keys.h:116
LB_KEY_F3
Definition:
Pop3Keys.h:77
Pop3InputKey
Pop3InputKey
Definition:
Pop3Keys.h:5
LB_KEY_RALT
Definition:
Pop3Keys.h:108
LB_KEY_NUM_LOCK
Definition:
Pop3Keys.h:102
LB_KEY_NUM_3
Definition:
Pop3Keys.h:92
LB_KEY_BACKSLASH
Definition:
Pop3Keys.h:104
LB_KEY_LALT
Definition:
Pop3Keys.h:71
LB_KEY_NUM_PLUS
Definition:
Pop3Keys.h:14
LB_KEY_SCROLL_LOCK
Definition:
Pop3Keys.h:103
LB_KEY_NUM_8
Definition:
Pop3Keys.h:97
LB_KEY_NUM_4
Definition:
Pop3Keys.h:93
LB_KEY_F4
Definition:
Pop3Keys.h:78
LB_KEY_F6
Definition:
Pop3Keys.h:80
LB_KEY_NUM_INSERT
Definition:
Pop3Keys.h:89
LB_KEY_COMMA
Definition:
Pop3Keys.h:66
LB_KEY_H
Definition:
Pop3Keys.h:36
LB_KEY_COLON
Definition:
Pop3Keys.h:61
LB_KEY_RCONTROL
Definition:
Pop3Keys.h:106
LB_KEY_D
Definition:
Pop3Keys.h:32
LB_KEY_T
Definition:
Pop3Keys.h:48
LB_KEY_8
Definition:
Pop3Keys.h:26
LB_KEY_DELETE
Definition:
Pop3Keys.h:120
LB_KEY_SLASH
Definition:
Pop3Keys.h:69
LB_KEY_K
Definition:
Pop3Keys.h:39
LB_KEY_RIGHT
Definition:
Pop3Keys.h:115
LB_KEY_I
Definition:
Pop3Keys.h:37
LB_KEY_MAX
Definition:
Pop3Keys.h:130
LB_KEY_R
Definition:
Pop3Keys.h:46
LB_KEY_QUOTE2
Definition:
Pop3Keys.h:63
LB_KEY_NUM_2
Definition:
Pop3Keys.h:91
LB_KEY_BACKSPACE
Definition:
Pop3Keys.h:15
TbInputKey
enum Pop3InputKey TbInputKey
LB_KEY_F7
Definition:
Pop3Keys.h:81
LB_KEY_NUM_ASTERISK
Definition:
Pop3Keys.h:101
LB_KEY_LSHIFT
Definition:
Pop3Keys.h:64
LB_KEY_F12
Definition:
Pop3Keys.h:86
LB_KEY_Z
Definition:
Pop3Keys.h:54
LB_KEY_NUM_0
Definition:
Pop3Keys.h:88
LB_KEY_INSERT
Definition:
Pop3Keys.h:119
LB_KEY_NUM_DELETE
Definition:
Pop3Keys.h:121
LB_KEY_UP
Definition:
Pop3Keys.h:112
LB_KEY_L
Definition:
Pop3Keys.h:40
LB_KEY_MINUS
Definition:
Pop3Keys.h:11
LB_KEY_2
Definition:
Pop3Keys.h:20
LB_KEY_P
Definition:
Pop3Keys.h:44
LB_KEY_M
Definition:
Pop3Keys.h:41
LB_KEY_NUM_ENTER
Definition:
Pop3Keys.h:59
LB_KEY_Q
Definition:
Pop3Keys.h:45
LB_KEY_0
Definition:
Pop3Keys.h:18
LB_KEY_RSBRACKET
Definition:
Pop3Keys.h:57
LB_KEY_MOUSE1
Definition:
Pop3Keys.h:125
LB_KEY_NUM_DOT
Definition:
Pop3Keys.h:68
LB_KEY_5
Definition:
Pop3Keys.h:23
LB_KEY_F
Definition:
Pop3Keys.h:34
LB_KEY_1
Definition:
Pop3Keys.h:19
LB_KEY_MOUSE2
Definition:
Pop3Keys.h:126
LB_KEY_F10
Definition:
Pop3Keys.h:84
LB_KEY_HOME
Definition:
Pop3Keys.h:111
LB_KEY_F2
Definition:
Pop3Keys.h:76
LB_KEY_N
Definition:
Pop3Keys.h:42
MOUSE_ENUM_OFFSET
#define MOUSE_ENUM_OFFSET
Definition:
Pop3Keys.h:4
LB_KEY_NUM_5
Definition:
Pop3Keys.h:94
LB_KEY_MOUSE3
Definition:
Pop3Keys.h:127
LB_KEY_9
Definition:
Pop3Keys.h:27
LB_KEY_TAB
Definition:
Pop3Keys.h:16
LB_KEY_EQUAL
Definition:
Pop3Keys.h:13
LB_KEY_CAPS
Definition:
Pop3Keys.h:73
LB_KEY_NUM_1
Definition:
Pop3Keys.h:90
LB_KEY_DOT
Definition:
Pop3Keys.h:67
LB_KEY_LCONTROL
Definition:
Pop3Keys.h:60
LB_KEY_3
Definition:
Pop3Keys.h:21
LB_KEY_S
Definition:
Pop3Keys.h:47
LB_KEY_V
Definition:
Pop3Keys.h:50
LB_KEY_7
Definition:
Pop3Keys.h:25
LB_KEY_G
Definition:
Pop3Keys.h:35
LB_KEY_NUM_9
Definition:
Pop3Keys.h:98
LB_KEY_MOUSE4
Definition:
Pop3Keys.h:128
LB_KEY_4
Definition:
Pop3Keys.h:22
LB_KEY_F8
Definition:
Pop3Keys.h:82
LB_KEY_QUOTE
Definition:
Pop3Keys.h:62
LB_KEY_BREAK
Definition:
Pop3Keys.h:109
LB_KEY_PAUSE
Definition:
Pop3Keys.h:110
Pop3Keys.h
Generated by
1.8.15