#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_backslash 61
#define Q_rightbracket 62
#define Q_caret 63
#define Q_underscore 64
#define Q_backquote 65
#define Q_A 66
#define Q_B 67
#define Q_C 68
#define Q_D 69
#define Q_E 70
#define Q_F 71
#define Q_G 72
#define Q_H 73
#define Q_I 74
#define Q_J 75
#define Q_K 76
#define Q_L 77
#define Q_M 78
#define Q_N 79
#define Q_O 80
#define Q_P 81
#define Q_Q 82
#define Q_R 83
#define Q_S 84
#define Q_T 85
#define Q_U 86
#define Q_V 87
#define Q_W 88
#define Q_X 89
#define Q_Y 90
#define Q_Z 91
#define Q_delete 92
#define Q_kp0 93
#define Q_kp1 94
#define Q_kp2 95
#define Q_kp3 96
#define Q_kp4 97
#define Q_kp5 98
#define Q_kp6 99
#define Q_kp7 100
#define Q_kp8 101
#define Q_kp9 102
#define Q_kp_period 103
#define Q_kp_divide 104
#define Q_kp_multiply 105
#define Q_kp_minus 106
#define Q_kp_plus 107
#define Q_kp_enter 108
#define Q_kp_equals 109
#define Q_up 110
#define Q_down 111
#define Q_right 112
#define Q_left 113
#define Q_insert 114
#define Q_home 115
#define Q_end 116
#define Q_pageup 117
#define Q_pagedown 118
#define Q_f1 119
#define Q_f2 120
#define Q_f3 121
#define Q_f4 122
#define Q_f5 123
#define Q_f6 124
#define Q_f7 125
#define Q_f8 126
#define Q_f9 127
#define Q_f10 128
#define Q_f11 129
#define Q_f12 130
#define Q_f13 131
#define Q_f14 132
#define Q_f15 133
#define Q_numlock 134
#define Q_capslock 135
#define Q_scrollock 136
#define Q_rshift 137
#define Q_lshift 138
#define Q_rctrl 139
#define Q_lctrl 140
#define Q_ralt 141
#define Q_lalt 142
#define Q_rmeta 143
#define Q_lmeta 144
#define Q_lsuper 145
#define Q_rsuper 146
#define Q_mode 147
#define Q_help 148
#define Q_print 149
#define Q_sysreq 150
#define Q_break 151
#define Q_menu 152
#define Q_power 153
#define Q_euro 154
#define Q_compose 155
#define Q_undo 156
#define Q_shift 157
#define Q_ctrl 158
#define Q_alt 159
#define Q_meta 160
#define Q_numLock 161
#define Q_editClick 162
#define Q_gameClick 163
#define Q_allowMouseWarp 164
#define Q_middle 165
#define Q_class 166
#define Q_quiz 167
#define Q_saveSolutions 168
#define Q_solutionComment 169
#define Q_solutionTimestamp 170
#define Q_sqlFile 171
#define Q_sqlInit 172
#define Q_sqlExtensions 173
#define Q_sqlMemStatus 174
#define Q_sqlSmallAllocations 175
#define Q_sqlCoveringIndexScan 176
#define Q_sqlPowerSafe 177
#define Q_level 178
#define Q_tracePrefix 179
#define Q_stackProtection 180
#define Q_maxObjects 181
#define Q_traceAll 182
#define Q_traceObject 183
#define Q_showInventory 184
#define Q_progress 185
#define Q_autoSave 186
#define Q_maxTrigger 187
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",
  "backslash",
  "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",
  "maxObjects",
  "traceAll",
  "traceObject",
  "showInventory",
  "progress",
  "autoSave",
  "maxTrigger",
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_BACKSLASH,
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_DEL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