Free Hero Mesh

Artifact [2ba01dbe27]
Login
This is a mirror of the main repository for Free Hero Mesh. New tickets and changes will not be accepted at this mirror.

Artifact 2ba01dbe27900c1a7b710912d9224eb19d38b0a8:


#define Q_screenWidth 2
#define Q_screenHeight 3
#define Q_margin 4
#define Q_palette 5
#define Q_popupColors 6
#define Q_imageSize 7
#define Q_altImage 8
#define Q_editTitle 9
#define Q_gameTitle 10
#define Q_gamma 11
#define Q_screenFlags 12
#define Q_sfxVolume 13
#define Q_audioBuffer 14
#define Q_audioRate 15
#define Q_audioFormat 16
#define Q_musicVolume 17
#define Q_musicFile 18
#define Q_keyRepeat 19
#define Q_editKey 20
#define Q_gameKey 21
#define Q_backspace 22
#define Q_tab 23
#define Q_clear 24
#define Q_return 25
#define Q_pause 26
#define Q_escape 27
#define Q_space 28
#define Q_exclaim 29
#define Q_quotedbl 30
#define Q_hash 31
#define Q_dollar 32
#define Q_ampersand 33
#define Q_quote 34
#define Q_leftparen 35
#define Q_rightparen 36
#define Q_asterisk 37
#define Q_plus 38
#define Q_comma 39
#define Q_minus 40
#define Q_period 41
#define Q_slash 42
#define Q_0 43
#define Q_1 44
#define Q_2 45
#define Q_3 46
#define Q_4 47
#define Q_5 48
#define Q_6 49
#define Q_7 50
#define Q_8 51
#define Q_9 52
#define Q_colon 53
#define Q_semicolon 54
#define Q_less 55
#define Q_equals 56
#define Q_greater 57
#define Q_question 58
#define Q_at 59
#define Q_leftbracket 60
#define Q_rightbracket 61
#define Q_caret 62
#define Q_underscore 63
#define Q_backquote 64
#define Q_A 65
#define Q_B 66
#define Q_C 67
#define Q_D 68
#define Q_E 69
#define Q_F 70
#define Q_G 71
#define Q_H 72
#define Q_I 73
#define Q_J 74
#define Q_K 75
#define Q_L 76
#define Q_M 77
#define Q_N 78
#define Q_O 79
#define Q_P 80
#define Q_Q 81
#define Q_R 82
#define Q_S 83
#define Q_T 84
#define Q_U 85
#define Q_V 86
#define Q_W 87
#define Q_X 88
#define Q_Y 89
#define Q_Z 90
#define Q_delete 91
#define Q_kp0 92
#define Q_kp1 93
#define Q_kp2 94
#define Q_kp3 95
#define Q_kp4 96
#define Q_kp5 97
#define Q_kp6 98
#define Q_kp7 99
#define Q_kp8 100
#define Q_kp9 101
#define Q_kp_period 102
#define Q_kp_divide 103
#define Q_kp_multiply 104
#define Q_kp_minus 105
#define Q_kp_plus 106
#define Q_kp_enter 107
#define Q_kp_equals 108
#define Q_up 109
#define Q_down 110
#define Q_right 111
#define Q_left 112
#define Q_insert 113
#define Q_home 114
#define Q_end 115
#define Q_pageup 116
#define Q_pagedown 117
#define Q_f1 118
#define Q_f2 119
#define Q_f3 120
#define Q_f4 121
#define Q_f5 122
#define Q_f6 123
#define Q_f7 124
#define Q_f8 125
#define Q_f9 126
#define Q_f10 127
#define Q_f11 128
#define Q_f12 129
#define Q_f13 130
#define Q_f14 131
#define Q_f15 132
#define Q_numlock 133
#define Q_capslock 134
#define Q_scrollock 135
#define Q_rshift 136
#define Q_lshift 137
#define Q_rctrl 138
#define Q_lctrl 139
#define Q_ralt 140
#define Q_lalt 141
#define Q_rmeta 142
#define Q_lmeta 143
#define Q_lsuper 144
#define Q_rsuper 145
#define Q_mode 146
#define Q_help 147
#define Q_print 148
#define Q_sysreq 149
#define Q_break 150
#define Q_menu 151
#define Q_power 152
#define Q_euro 153
#define Q_compose 154
#define Q_undo 155
#define Q_shift 156
#define Q_ctrl 157
#define Q_alt 158
#define Q_meta 159
#define Q_numLock 160
#define Q_editClick 161
#define Q_gameClick 162
#define Q_allowMouseWarp 163
#define Q_middle 164
#define Q_class 165
#define Q_quiz 166
#define Q_saveSolutions 167
#define Q_solutionComment 168
#define Q_solutionTimestamp 169
#define Q_sqlFile 170
#define Q_sqlInit 171
#define Q_sqlExtensions 172
#define Q_sqlMemStatus 173
#define Q_sqlSmallAllocations 174
#define Q_sqlCoveringIndexScan 175
#define Q_sqlPowerSafe 176
#define Q_level 177
#define Q_tracePrefix 178
#define Q_stackProtection 179
static const char*const global_quarks[]={
  "screenWidth",
  "screenHeight",
  "margin",
  "palette",
  "popupColors",
  "imageSize",
  "altImage",
  "editTitle",
  "gameTitle",
  "gamma",
  "screenFlags",
  "sfxVolume",
  "audioBuffer",
  "audioRate",
  "audioFormat",
  "musicVolume",
  "musicFile",
  "keyRepeat",
  "editKey",
  "gameKey",
  "backspace",
  "tab",
  "clear",
  "return",
  "pause",
  "escape",
  "space",
  "exclaim",
  "quotedbl",
  "hash",
  "dollar",
  "ampersand",
  "quote",
  "leftparen",
  "rightparen",
  "asterisk",
  "plus",
  "comma",
  "minus",
  "period",
  "slash",
  "0",
  "1",
  "2",
  "3",
  "4",
  "5",
  "6",
  "7",
  "8",
  "9",
  "colon",
  "semicolon",
  "less",
  "equals",
  "greater",
  "question",
  "at",
  "leftbracket",
  "rightbracket",
  "caret",
  "underscore",
  "backquote",
  "A",
  "B",
  "C",
  "D",
  "E",
  "F",
  "G",
  "H",
  "I",
  "J",
  "K",
  "L",
  "M",
  "N",
  "O",
  "P",
  "Q",
  "R",
  "S",
  "T",
  "U",
  "V",
  "W",
  "X",
  "Y",
  "Z",
  "delete",
  "kp0",
  "kp1",
  "kp2",
  "kp3",
  "kp4",
  "kp5",
  "kp6",
  "kp7",
  "kp8",
  "kp9",
  "kp_period",
  "kp_divide",
  "kp_multiply",
  "kp_minus",
  "kp_plus",
  "kp_enter",
  "kp_equals",
  "up",
  "down",
  "right",
  "left",
  "insert",
  "home",
  "end",
  "pageup",
  "pagedown",
  "f1",
  "f2",
  "f3",
  "f4",
  "f5",
  "f6",
  "f7",
  "f8",
  "f9",
  "f10",
  "f11",
  "f12",
  "f13",
  "f14",
  "f15",
  "numlock",
  "capslock",
  "scrollock",
  "rshift",
  "lshift",
  "rctrl",
  "lctrl",
  "ralt",
  "lalt",
  "rmeta",
  "lmeta",
  "lsuper",
  "rsuper",
  "mode",
  "help",
  "print",
  "sysreq",
  "break",
  "menu",
  "power",
  "euro",
  "compose",
  "undo",
  "shift",
  "ctrl",
  "alt",
  "meta",
  "numLock",
  "editClick",
  "gameClick",
  "allowMouseWarp",
  "middle",
  "class",
  "quiz",
  "saveSolutions",
  "solutionComment",
  "solutionTimestamp",
  "sqlFile",
  "sqlInit",
  "sqlExtensions",
  "sqlMemStatus",
  "sqlSmallAllocations",
  "sqlCoveringIndexScan",
  "sqlPowerSafe",
  "level",
  "tracePrefix",
  "stackProtection",
0};
#ifdef HEROMESH_BINDINGS
static const SDLKey quark_to_key[Q_undo+1-Q_backspace]={
SDLK_BACKSPACE,
SDLK_TAB,
SDLK_CLEAR,
SDLK_RETURN,
SDLK_PAUSE,
SDLK_ESCAPE,
SDLK_SPACE,
SDLK_EXCLAIM,
SDLK_QUOTEDBL,
SDLK_HASH,
SDLK_DOLLAR,
SDLK_AMPERSAND,
SDLK_QUOTE,
SDLK_LEFTPAREN,
SDLK_RIGHTPAREN,
SDLK_ASTERISK,
SDLK_PLUS,
SDLK_COMMA,
SDLK_MINUS,
SDLK_PERIOD,
SDLK_SLASH,
SDLK_0,
SDLK_1,
SDLK_2,
SDLK_3,
SDLK_4,
SDLK_5,
SDLK_6,
SDLK_7,
SDLK_8,
SDLK_9,
SDLK_COLON,
SDLK_SEMICOLON,
SDLK_LESS,
SDLK_EQUALS,
SDLK_GREATER,
SDLK_QUESTION,
SDLK_AT,
SDLK_LEFTBRACKET,
SDLK_RIGHTBRACKET,
SDLK_CARET,
SDLK_UNDERSCORE,
SDLK_BACKQUOTE,
SDLK_a,
SDLK_b,
SDLK_c,
SDLK_d,
SDLK_e,
SDLK_f,
SDLK_g,
SDLK_h,
SDLK_i,
SDLK_j,
SDLK_k,
SDLK_l,
SDLK_m,
SDLK_n,
SDLK_o,
SDLK_p,
SDLK_q,
SDLK_r,
SDLK_s,
SDLK_t,
SDLK_u,
SDLK_v,
SDLK_w,
SDLK_x,
SDLK_y,
SDLK_z,
SDLK_DELETE,
SDLK_KP0,
SDLK_KP1,
SDLK_KP2,
SDLK_KP3,
SDLK_KP4,
SDLK_KP5,
SDLK_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