]> icculus.org git repositories - taylor/freespace2.git/blob - include/cc_fsdemo.h
fix issue with looping audio streams
[taylor/freespace2.git] / include / cc_fsdemo.h
1 #ifndef CC_FSDEMO_H
2 #define CC_FSDEMO_H
3
4 // --------------------------------------------------
5 // Keyboard #defines for the actions
6 // This is the value of the id field in config_item
7 // --------------------------------------------------
8
9 // targeting a ship
10
11 #define TARGET_NEXT                                                                     0
12 #define TARGET_PREV                                                                     1
13 #define TARGET_NEXT_CLOSEST_HOSTILE                                     2
14 #define TARGET_PREV_CLOSEST_HOSTILE                                     3
15 #define TOGGLE_AUTO_TARGETING                                           4
16 #define TARGET_NEXT_CLOSEST_FRIENDLY                            5
17 #define TARGET_PREV_CLOSEST_FRIENDLY                            6
18 #define TARGET_SHIP_IN_RETICLE                                          7
19 #define TARGET_CLOSEST_SHIP_ATTACKING_TARGET            8
20 #define STOP_TARGETING_SHIP                                                     9
21
22 // targeting a ship's subsystem
23 #define TARGET_SUBOBJECT_IN_RETICLE                                     10
24 #define TARGET_NEXT_SUBOBJECT                                           11
25 #define TARGET_PREV_SUBOBJECT                                           12
26 #define STOP_TARGETING_SUBSYSTEM                                        13
27
28 // speed matching
29 #define MATCH_TARGET_SPEED                                                      14
30 #define TOGGLE_AUTO_MATCH_TARGET_SPEED                          15
31
32 // weapons
33 #define FIRE_PRIMARY                                                            16
34 #define FIRE_SECONDARY                                                          17
35 #define CYCLE_NEXT_PRIMARY                                                      18
36 #define CYCLE_PREV_PRIMARY                                                      19
37 #define CYCLE_SECONDARY                                                         20
38 #define CYCLE_NUM_MISSLES                                                       21
39 #define LAUNCH_COUNTERMEASURE                                           22
40
41 // controls
42 #define FORWARD_THRUST                                                          23
43 #define REVERSE_THRUST                                                          24
44 #define BANK_LEFT                                                                       25
45 #define BANK_RIGHT                                                                      26
46 #define PITCH_FORWARD                                                           27
47 #define PITCH_BACK                                                                      28
48 #define YAW_LEFT                                                                        29
49 #define YAW_RIGHT                                                                       30
50
51 // throttle control
52 #define ZERO_THROTTLE                                                           31
53 #define MAX_THROTTLE                                                            32
54 #define ONE_THIRD_THROTTLE                                                      33
55 #define TWO_THIRDS_THROTTLE                                                     34
56 #define PLUS_5_PERCENT_THROTTLE                                         35
57 #define MINUS_5_PERCENT_THROTTLE                                        36
58
59 // squadmate messaging keys
60 #define ATTACK_MESSAGE                                                          37
61 #define DISARM_MESSAGE                                                          38
62 #define DISABLE_MESSAGE                                                         39
63 #define ATTACK_SUBSYSTEM_MESSAGE                                        40
64 #define CAPTURE_MESSAGE                                                         41
65 #define ENGAGE_MESSAGE                                                          42
66 #define FORM_MESSAGE                                                            43
67 #define IGNORE_MESSAGE                                                          44
68 #define PROTECT_MESSAGE                                                         45
69 #define COVER_MESSAGE                                                           46
70 #define WARP_MESSAGE                                                            47
71 #define REARM_MESSAGE                                                           48
72
73 #define TARGET_CLOSEST_SHIP_ATTACKING_SELF                      49
74
75 // Views
76 #define VIEW_CHASE                                                                      50
77 #define VIEW_EXTERNAL                                                           51
78 #define VIEW_EXTERNAL_TOGGLE_CAMERA_LOCK                        52
79 #define VIEW_SLEW                                                                       53
80 #define VIEW_OTHER_SHIP                                                         54
81 #define VIEW_DIST_INCREASE                                                      55
82 #define VIEW_DIST_DECREASE                                                      56
83 #define VIEW_CENTER                                                                     57
84
85 #define RADAR_RANGE_CYCLE                                                       58
86 #define SQUADMSG_MENU                                                           59
87 #define SHOW_GOALS                                                                      60
88 #define END_MISSION                                                                     61
89 #define TARGET_TARGETS_TARGET                                           62
90 #define AFTERBURNER                                                                     63
91
92 #define INCREASE_WEAPON                                                         64
93 #define DECREASE_WEAPON                                                         65
94 #define INCREASE_SHIELD                                                         66
95 #define DECREASE_SHIELD                                                         67
96 #define INCREASE_ENGINE                                                         68
97 #define DECREASE_ENGINE                                                         69
98 #define SHIELD_EQUALIZE                                                         70
99 #define SHIELD_XFER_TOP                                                         71
100 #define SHIELD_XFER_BOTTOM                                                      72
101 #define SHIELD_XFER_LEFT                                                        73
102 #define SHIELD_XFER_RIGHT                                                       74
103
104 #define XFER_SHIELD                                                                     75
105 #define XFER_LASER                                                                      76
106 #define SHOW_DAMAGE_POPUP                                                       77
107
108 #define BANK_WHEN_PRESSED                                                       78
109 #define SHOW_NAVMAP                                                                     79
110 #define ADD_REMOVE_ESCORT                                                       80
111 #define ESCORT_CLEAR                                                            81
112 #define TARGET_NEXT_ESCORT_SHIP                                         82
113
114 #define TARGET_CLOSEST_REPAIR_SHIP                                      83
115 #define TARGET_NEXT_UNINSPECTED_CARGO                           84
116 #define TARGET_PREV_UNINSPECTED_CARGO                           85
117 #define TARGET_NEWEST_SHIP                                                      86
118 #define TARGET_NEXT_LIVE_TURRET                                         87
119 #define TARGET_PREV_LIVE_TURRET                                         88
120
121 #define TARGET_NEXT_BOMB                                                        89
122 #define TARGET_PREV_BOMB                                                        90
123
124 // multiplayer messaging keys
125 #define MULTI_MESSAGE_ALL                                                       91
126 #define MULTI_MESSAGE_FRIENDLY                                          92
127 #define MULTI_MESSAGE_HOSTILE                                           93
128 #define MULTI_MESSAGE_TARGET                                            94
129
130 // multiplayer misc keys
131 #define MULTI_OBSERVER_ZOOM_TO                                          95
132
133 #define TIME_SPEED_UP                                                           96
134 #define TIME_SLOW_DOWN                                                          97
135
136 #define PADLOCK_UP                                                                      98
137 #define PADLOCK_DOWN                                                            99
138 #define PADLOCK_LEFT                                                            100
139 #define PADLOCK_RIGHT                                                           101
140
141 // this should be the total number of control action defines above (or last define + 1)
142 #define CCFG_MAX 102
143
144 #endif // CC_FSDEMO_H