#define Q_screenWidth 2
#define Q_screenHeight 3
#define Q_palette 4
#define Q_popupColors 5
#define Q_imageSize 6
#define Q_altImage 7
#define Q_editTitle 8
#define Q_gameTitle 9
#define Q_gamma 10
#define Q_screenFlags 11
#define Q_sfxVolume 12
#define Q_audioBuffer 13
#define Q_audioRate 14
#define Q_audioFormat 15
#define Q_musicVolume 16
#define Q_musicFile 17
#define Q_keyRepeat 18
#define Q_editKey 19
#define Q_gameKey 20
#define Q_backspace 21
#define Q_tab 22
#define Q_clear 23
#define Q_return 24
#define Q_pause 25
#define Q_escape 26
#define Q_space 27
#define Q_exclaim 28
#define Q_quotedbl 29
#define Q_hash 30
#define Q_dollar 31
#define Q_ampersand 32
#define Q_quote 33
#define Q_leftparen 34
#define Q_rightparen 35
#define Q_asterisk 36
#define Q_plus 37
#define Q_comma 38
#define Q_minus 39
#define Q_period 40
#define Q_slash 41
#define Q_0 42
#define Q_1 43
#define Q_2 44
#define Q_3 45
#define Q_4 46
#define Q_5 47
#define Q_6 48
#define Q_7 49
#define Q_8 50
#define Q_9 51
#define Q_colon 52
#define Q_semicolon 53
#define Q_less 54
#define Q_equals 55
#define Q_greater 56
#define Q_question 57
#define Q_at 58
#define Q_leftbracket 59
#define Q_rightbracket 60
#define Q_caret 61
#define Q_underscore 62
#define Q_backquote 63
#define Q_A 64
#define Q_B 65
#define Q_C 66
#define Q_D 67
#define Q_E 68
#define Q_F 69
#define Q_G 70
#define Q_H 71
#define Q_I 72
#define Q_J 73
#define Q_K 74
#define Q_L 75
#define Q_M 76
#define Q_N 77
#define Q_O 78
#define Q_P 79
#define Q_Q 80
#define Q_R 81
#define Q_S 82
#define Q_T 83
#define Q_U 84
#define Q_V 85
#define Q_W 86
#define Q_X 87
#define Q_Y 88
#define Q_Z 89
#define Q_delete 90
#define Q_kp0 91
#define Q_kp1 92
#define Q_kp2 93
#define Q_kp3 94
#define Q_kp4 95
#define Q_kp5 96
#define Q_kp6 97
#define Q_kp7 98
#define Q_kp8 99
#define Q_kp9 100
#define Q_kp_period 101
#define Q_kp_divide 102
#define Q_kp_multiply 103
#define Q_kp_minus 104
#define Q_kp_plus 105
#define Q_kp_enter 106
#define Q_kp_equals 107
#define Q_up 108
#define Q_down 109
#define Q_right 110
#define Q_left 111
#define Q_insert 112
#define Q_home 113
#define Q_end 114
#define Q_pageup 115
#define Q_pagedown 116
#define Q_f1 117
#define Q_f2 118
#define Q_f3 119
#define Q_f4 120
#define Q_f5 121
#define Q_f6 122
#define Q_f7 123
#define Q_f8 124
#define Q_f9 125
#define Q_f10 126
#define Q_f11 127
#define Q_f12 128
#define Q_f13 129
#define Q_f14 130
#define Q_f15 131
#define Q_numlock 132
#define Q_capslock 133
#define Q_scrollock 134
#define Q_rshift 135
#define Q_lshift 136
#define Q_rctrl 137
#define Q_lctrl 138
#define Q_ralt 139
#define Q_lalt 140
#define Q_rmeta 141
#define Q_lmeta 142
#define Q_lsuper 143
#define Q_rsuper 144
#define Q_mode 145
#define Q_help 146
#define Q_print 147
#define Q_sysreq 148
#define Q_break 149
#define Q_menu 150
#define Q_power 151
#define Q_euro 152
#define Q_compose 153
#define Q_undo 154
#define Q_shift 155
#define Q_ctrl 156
#define Q_alt 157
#define Q_meta 158
#define Q_numLock 159
#define Q_editClick 160
#define Q_gameClick 161
#define Q_allowMouseWarp 162
#define Q_middle 163
#define Q_class 164
#define Q_quiz 165
#define Q_saveSolutions 166
#define Q_solutionComment 167
#define Q_solutionTimestamp 168
#define Q_sqlInit 169
#define Q_sqlExtensions 170
#define Q_sqlMemStatus 171
#define Q_sqlSmallAllocations 172
#define Q_sqlCoveringIndexScan 173
#define Q_sqlPowerSafe 174
static const char*const global_quarks[]={
"screenWidth",
"screenHeight",
"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",
"sqlInit",
"sqlExtensions",
"sqlMemStatus",
"sqlSmallAllocations",
"sqlCoveringIndexScan",
"sqlPowerSafe",
0};
#ifdef HEROMESH_MAIN
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_DOL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