24 #ifndef SAGA_DISPLAYINFO_H 25 #define SAGA_DISPLAYINFO_H 58 int saveReminderXOffset;
59 int saveReminderYOffset;
60 int saveReminderWidth;
61 int saveReminderHeight;
62 int saveReminderFirstSpriteNumber;
63 int saveReminderNumSprites;
65 int leftPortraitXOffset;
66 int leftPortraitYOffset;
67 int rightPortraitXOffset;
68 int rightPortraitYOffset;
70 int inventoryUpButtonIndex;
71 int inventoryDownButtonIndex;
77 int mainPanelButtonsCount;
80 int converseMaxTextWidth;
81 int converseTextHeight;
82 int converseTextLines;
83 int converseUpButtonIndex;
84 int converseDownButtonIndex;
86 int conversePanelXOffset;
87 int conversePanelYOffset;
88 int conversePanelButtonsCount;
91 int optionSaveFilePanelIndex;
92 int optionSaveFileSliderIndex;
93 uint32 optionSaveFileVisible;
95 int optionPanelXOffset;
96 int optionPanelYOffset;
97 int optionPanelButtonsCount;
100 int quitPanelXOffset;
101 int quitPanelYOffset;
104 int quitPanelButtonsCount;
107 int loadPanelXOffset;
108 int loadPanelYOffset;
111 int loadPanelButtonsCount;
115 int savePanelXOffset;
116 int savePanelYOffset;
119 int savePanelButtonsCount;
122 int protectEditIndex;
123 int protectPanelXOffset;
124 int protectPanelYOffset;
125 int protectPanelWidth;
126 int protectPanelHeight;
127 int protectPanelButtonsCount;
131 #define ITE_CONVERSE_MAX_TEXT_WIDTH (256 - 60) 132 #define ITE_CONVERSE_TEXT_HEIGHT 10 133 #define ITE_CONVERSE_TEXT_LINES 4 137 {kPanelButtonVerb, 52, 4, 57,10, kVerbITEWalkTo, kActionWalkTo, 0, 0, 1, 0},
138 {kPanelButtonVerb, 52, 15, 57,10, kVerbITELookAt, kActionLookAt, 0, 2, 3, 0},
139 {kPanelButtonVerb, 52, 26, 57,10, kVerbITEPickUp, kActionPickUp, 0, 4, 5, 0},
140 {kPanelButtonVerb, 52, 37, 57,10, kVerbITETalkTo, kActionTalkTo, 0, 0, 1, 0},
141 {kPanelButtonVerb, 110, 4, 56,10, kVerbITEOpen, kActionOpen, 0, 6, 7, 0},
142 {kPanelButtonVerb, 110,15, 56,10, kVerbITEClose, kActionClose, 0, 8, 9, 0},
143 {kPanelButtonVerb, 110,26, 56,10, kVerbITEUse, kActionUse, 0, 10, 11, 0},
144 {kPanelButtonVerb, 110,37, 56,10, kVerbITEGive, kActionGive, 0, 12, 13, 0},
145 {kPanelButtonArrow, 306,6, 8,5, -1,
'U',0, 0,4,2},
146 {kPanelButtonArrow, 306,41, 8,5, 1,
'D',0, 1,5,3},
148 {kPanelButtonInventory, 181 + 32*0,6, 27,18, 0,
'-',0, 0,0,0},
149 {kPanelButtonInventory, 181 + 32*1,6, 27,18, 1,
'-',0, 0,0,0},
150 {kPanelButtonInventory, 181 + 32*2,6, 27,18, 2,
'-',0, 0,0,0},
151 {kPanelButtonInventory, 181 + 32*3,6, 27,18, 3,
'-',0, 0,0,0},
153 {kPanelButtonInventory, 181 + 32*0,27, 27,18, 4,
'-',0, 0,0,0},
154 {kPanelButtonInventory, 181 + 32*1,27, 27,18, 5,
'-',0, 0,0,0},
155 {kPanelButtonInventory, 181 + 32*2,27, 27,18, 6,
'-',0, 0,0,0},
156 {kPanelButtonInventory, 181 + 32*3,27, 27,18, 7,
'-',0, 0,0,0}
160 {kPanelButtonVerb, 53, 0, 34,16, kVerbITEWalkTo, kActionWalkTo, 0, 0,1,0},
161 {kPanelButtonVerb, 53,17, 34,16, kVerbITELookAt, kActionLookAt, 0, 2,3,0},
162 {kPanelButtonVerb, 53,34, 34,16, kVerbITEPickUp, kActionPickUp, 0, 4,5,0},
163 {kPanelButtonVerb, 92, 0, 34,16, kVerbITETalkTo, kActionTalkTo, 0, 0,1,0},
164 {kPanelButtonVerb, 92,17, 34,16, kVerbITEOpen, kActionOpen, 0, 6,7,0},
165 {kPanelButtonVerb, 92,34, 34,16, kVerbITEClose, kActionClose, 0, 8,9,0},
166 {kPanelButtonVerb, 132, 0, 34,16, kVerbITEUse, kActionUse, 0, 10,11,0},
167 {kPanelButtonVerb, 132,17, 34,16, kVerbITEGive, kActionGive, 0, 12,13,0},
168 {kPanelButtonArrow, 306,6, 8,5, -1,
'U',0, 0,4,2},
169 {kPanelButtonArrow, 306,41, 8,5, 1,
'D',0, 1,5,3},
171 {kPanelButtonInventory, 181 + 32*0,2, 27,18, 0,
'-',0, 0,0,0},
172 {kPanelButtonInventory, 181 + 32*1,2, 27,18, 1,
'-',0, 0,0,0},
173 {kPanelButtonInventory, 181 + 32*2,2, 27,18, 2,
'-',0, 0,0,0},
174 {kPanelButtonInventory, 181 + 32*3,2, 27,18, 3,
'-',0, 0,0,0},
176 {kPanelButtonInventory, 181 + 32*0,23, 27,18, 4,
'-',0, 0,0,0},
177 {kPanelButtonInventory, 181 + 32*1,23, 27,18, 5,
'-',0, 0,0,0},
178 {kPanelButtonInventory, 181 + 32*2,23, 27,18, 6,
'-',0, 0,0,0},
179 {kPanelButtonInventory, 181 + 32*3,23, 27,18, 7,
'-',0, 0,0,0}
183 {kPanelButtonConverseText, 52,6 + ITE_CONVERSE_TEXT_HEIGHT * 0, ITE_CONVERSE_MAX_TEXT_WIDTH,ITE_CONVERSE_TEXT_HEIGHT, 0,
'1',0, 0,0,0},
184 {kPanelButtonConverseText, 52,6 + ITE_CONVERSE_TEXT_HEIGHT * 1, ITE_CONVERSE_MAX_TEXT_WIDTH,ITE_CONVERSE_TEXT_HEIGHT, 1,
'2',0, 0,0,0},
185 {kPanelButtonConverseText, 52,6 + ITE_CONVERSE_TEXT_HEIGHT * 2, ITE_CONVERSE_MAX_TEXT_WIDTH,ITE_CONVERSE_TEXT_HEIGHT, 2,
'3',0, 0,0,0},
186 {kPanelButtonConverseText, 52,6 + ITE_CONVERSE_TEXT_HEIGHT * 3, ITE_CONVERSE_MAX_TEXT_WIDTH,ITE_CONVERSE_TEXT_HEIGHT, 3,
'4',0, 0,0,0},
187 {kPanelButtonArrow, 257,6, 9,6, -1,
'u',0, 0,4,2},
188 {kPanelButtonArrow, 257,41, 9,6, 1,
'd',0, 1,5,3},
192 {kPanelButtonOptionSlider, 284,19, 13,75, 0,
'-',0, 0,0,0},
193 {kPanelButtonOption, 113,18, 45,17, kTextReadingSpeed, kActionOptionReadingSpeed, 0, 0,0,0},
194 {kPanelButtonOption, 113,37, 45,17, kTextMusic, kActionOptionMusic, 0, 0,0,0},
195 {kPanelButtonOption, 113,56, 45,17, kTextSound, kActionOptionSound, 0, 0,0,0},
196 {kPanelButtonOption, 13,79, 135,17, kTextQuitGame, kActionOptionQuitGame, 0, 0,0,0},
197 {kPanelButtonOption, 13,98, 135,17, kTextContinuePlaying, kActionOptionContinue, 0, 0,0,0},
198 {kPanelButtonOption, 164,98, 57,17, kTextLoad, kActionOptionLoad, 0, 0,0,0},
199 {kPanelButtonOption, 241,98, 57,17, kTextSave, kActionOptionSaveGame, 0, 0,0,0},
200 {kPanelButtonOptionSaveFiles, 166,20, 112,74, 0,
'-',0, 0,0,0},
202 {kPanelButtonOptionText,-1,4, 0,0, kTextGameOptions,
'-',0, 0,0,0},
203 {kPanelButtonOptionText,5,18, 109,17, kTextReadingSpeed,
'-',0, 0,0,0},
204 {kPanelButtonOptionText,5,18, 109,17, kTextShowDialog,
'-',0, 0,0,0},
205 {kPanelButtonOptionText,5,37, 109,17, kTextMusic,
'-',0, 0,0,0},
206 {kPanelButtonOptionText,5,56, 109,17, kTextSound,
'-',0, 0,0,0},
210 {kPanelButtonOptionSlider, 284,19, 13,75, 0,
'-',0, 0,0,0},
211 {kPanelButtonOption, 113,18, 45,17, kTextReadingSpeed, kActionOptionReadingSpeed, 0, 0,0,0},
212 {kPanelButtonOption, 113,37, 45,17, kTextMusic, kActionOptionMusic, 0, 0,0,0},
213 {kPanelButtonOption, 113,56, 45,17, kTextSound, kActionOptionSound, 0, 0,0,0},
214 {kPanelButtonOption, 13,79, 135,17, kTextQuitGame, kActionOptionQuitGame, 0, 0,0,0},
215 {kPanelButtonOption, 13,98, 135,17, kTextContinuePlaying, kActionOptionContinue, 0, 0,0,0},
216 {kPanelButtonOption, 164,98, 57,17, kTextLoad, kActionOptionLoad, 0, 0,0,0},
217 {kPanelButtonOption, 241,98, 57,17, kTextSave, kActionOptionSaveGame, 0, 0,0,0},
218 {kPanelButtonOptionSaveFiles, 166,20, 112,74, 0,
'-',0, 0,0,0},
220 {kPanelButtonOptionText,9,0, 165,17, kTextGameOptions,
'-',0, 0,0,0},
221 {kPanelButtonOptionText,2,18, 96,17, kTextReadingSpeed,
'-',0, 0,0,0},
222 {kPanelButtonOptionText,2,18, 80,17, kTextShowDialog,
'-',0, 0,0,0},
223 {kPanelButtonOptionText,2,37, 80,17, kTextMusic,
'-',0, 0,0,0},
224 {kPanelButtonOptionText,2,56, 80,17, kTextSound,
'-',0, 0,0,0},
228 {kPanelButtonQuit, 11,17, 60,16, kTextQuit,kActionOptionQuit,0, 0,0,0},
229 {kPanelButtonQuit, 121,17, 60,16, kTextCancel,kActionOptionCancel,0, 0,0,0},
230 {kPanelButtonQuitText, -1,5, 0,0, kTextQuitTheGameQuestion,
'-',0, 0,0,0},
234 {kPanelButtonLoad, 101,19, 60,16, kTextOK,kActionOptionOkay,0, 0,0,0},
235 {kPanelButtonLoadText, -1,5, 0,0, kTextLoadSuccessful,
'-',0, 0,0,0},
239 {kPanelButtonSave, 11,37, 60,16, kTextSave,kActionOptionSave,0, 0,0,0},
240 {kPanelButtonSave, 101,37, 60,16, kTextCancel,kActionOptionCancel,0, 0,0,0},
241 {kPanelButtonSaveEdit, 26,17, 119,17, 0,
'-',0, 0,0,0},
242 {kPanelButtonSaveText, -1,5, 0,0, kTextEnterSaveGameName,
'-',0, 0,0,0},
246 {kPanelButtonProtectEdit, 26,17, 119,17, 0,
'-',0, 0,0,0},
247 {kPanelButtonProtectText, -1,5, 0,0, kTextEnterProtectAnswer,
'-',0, 0,0,0},
281 ITE_MainPanelButtons,
283 ITE_CONVERSE_MAX_TEXT_WIDTH,
284 ITE_CONVERSE_TEXT_HEIGHT,
285 ITE_CONVERSE_TEXT_LINES,
289 ITE_ConversePanelButtons,
295 ITE_OptionPanelButtons,
300 ITE_QuitPanelButtons,
305 ITE_LoadPanelButtons,
311 ITE_SavePanelButtons,
317 ITE_ProtectPanelButtons
346 ITE_MainPanelButtons_ZH,
348 ITE_CONVERSE_MAX_TEXT_WIDTH,
349 ITE_CONVERSE_TEXT_HEIGHT,
350 ITE_CONVERSE_TEXT_LINES,
354 ITE_ConversePanelButtons,
360 ITE_OptionPanelButtons_ZH,
365 ITE_QuitPanelButtons,
370 ITE_LoadPanelButtons,
376 ITE_SavePanelButtons,
382 ITE_ProtectPanelButtons
385 #if defined(ENABLE_IHNM) 388 #define IHNM_CONVERSE_MAX_TEXT_WIDTH (485 - 8) 389 #define IHNM_CONVERSE_TEXT_HEIGHT 10 390 #define IHNM_CONVERSE_TEXT_LINES 11 393 {kPanelButtonVerb, 106,12, 114,30, kVerbIHNMWalk, kActionWalkTo, 0, 0, 1,0},
394 {kPanelButtonVerb, 106,44, 114,30, kVerbIHNMLookAt, kActionLookAt, 0, 2, 3,0},
395 {kPanelButtonVerb, 106,76, 114,30, kVerbIHNMTake, kActionTake, 0, 4, 5,0},
396 {kPanelButtonVerb, 106,108, 114,30, kVerbIHNMUse, kActionUse, 0, 6, 7,0},
397 {kPanelButtonVerb, 223,12, 114,30, kVerbIHNMTalkTo, kActionTalkTo, 0, 8, 9,0},
398 {kPanelButtonVerb, 223,44, 114,30, kVerbIHNMSwallow, kActionSwallow, 0, 10,11,0},
399 {kPanelButtonVerb, 223,76, 114,30, kVerbIHNMGive, kActionGive, 0, 12,13,0},
400 {kPanelButtonVerb, 223,108, 114,30, kVerbIHNMPush, kActionPush, 0, 14,15,0},
401 {kPanelButtonArrow, 606,22, 20,25, -1,
'[',0, 2,3,4},
402 {kPanelButtonArrow, 606,108, 20,25, 1,
']',0, 6,7,8},
404 {kPanelButtonInventory, 357 + 64*0,18, 54,54, 0,
'-',0, 0,0,0},
405 {kPanelButtonInventory, 357 + 64*1,18, 54,54, 1,
'-',0, 0,0,0},
406 {kPanelButtonInventory, 357 + 64*2,18, 54,54, 2,
'-',0, 0,0,0},
407 {kPanelButtonInventory, 357 + 64*3,18, 54,54, 3,
'-',0, 0,0,0},
409 {kPanelButtonInventory, 357 + 64*0,80, 54,54, 4,
'-',0, 0,0,0},
410 {kPanelButtonInventory, 357 + 64*1,80, 54,54, 5,
'-',0, 0,0,0},
411 {kPanelButtonInventory, 357 + 64*2,80, 54,54, 6,
'-',0, 0,0,0},
412 {kPanelButtonInventory, 357 + 64*3,80, 54,54, 7,
'-',0, 0,0,0}
416 {kPanelButtonConverseText, 117,18 + IHNM_CONVERSE_TEXT_HEIGHT * 0, IHNM_CONVERSE_MAX_TEXT_WIDTH,IHNM_CONVERSE_TEXT_HEIGHT, 0,
'1',0, 0,0,0},
417 {kPanelButtonConverseText, 117,18 + IHNM_CONVERSE_TEXT_HEIGHT * 1, IHNM_CONVERSE_MAX_TEXT_WIDTH,IHNM_CONVERSE_TEXT_HEIGHT, 1,
'2',0, 0,0,0},
418 {kPanelButtonConverseText, 117,18 + IHNM_CONVERSE_TEXT_HEIGHT * 2, IHNM_CONVERSE_MAX_TEXT_WIDTH,IHNM_CONVERSE_TEXT_HEIGHT, 2,
'3',0, 0,0,0},
419 {kPanelButtonConverseText, 117,18 + IHNM_CONVERSE_TEXT_HEIGHT * 3, IHNM_CONVERSE_MAX_TEXT_WIDTH,IHNM_CONVERSE_TEXT_HEIGHT, 3,
'4',0, 0,0,0},
420 {kPanelButtonConverseText, 117,18 + IHNM_CONVERSE_TEXT_HEIGHT * 4, IHNM_CONVERSE_MAX_TEXT_WIDTH,IHNM_CONVERSE_TEXT_HEIGHT, 4,
'5',0, 0,0,0},
421 {kPanelButtonConverseText, 117,18 + IHNM_CONVERSE_TEXT_HEIGHT * 5, IHNM_CONVERSE_MAX_TEXT_WIDTH,IHNM_CONVERSE_TEXT_HEIGHT, 5,
'6',0, 0,0,0},
422 {kPanelButtonConverseText, 117,18 + IHNM_CONVERSE_TEXT_HEIGHT * 6, IHNM_CONVERSE_MAX_TEXT_WIDTH,IHNM_CONVERSE_TEXT_HEIGHT, 6,
'7',0, 0,0,0},
423 {kPanelButtonConverseText, 117,18 + IHNM_CONVERSE_TEXT_HEIGHT * 7, IHNM_CONVERSE_MAX_TEXT_WIDTH,IHNM_CONVERSE_TEXT_HEIGHT, 7,
'8',0, 0,0,0},
424 {kPanelButtonConverseText, 117,18 + IHNM_CONVERSE_TEXT_HEIGHT * 8, IHNM_CONVERSE_MAX_TEXT_WIDTH,IHNM_CONVERSE_TEXT_HEIGHT, 8,
'9',0, 0,0,0},
425 {kPanelButtonConverseText, 117,18 + IHNM_CONVERSE_TEXT_HEIGHT * 9, IHNM_CONVERSE_MAX_TEXT_WIDTH,IHNM_CONVERSE_TEXT_HEIGHT, 9,
'10',0, 0,0,0},
426 {kPanelButtonConverseText, 117,18 + IHNM_CONVERSE_TEXT_HEIGHT * 10, IHNM_CONVERSE_MAX_TEXT_WIDTH,IHNM_CONVERSE_TEXT_HEIGHT, 10,
'11',0, 0,0,0},
427 {kPanelButtonArrow, 606,22, 20,25, -1,
'[',0, 2,3,4},
428 {kPanelButtonArrow, 606,108, 20,25, 1,
']',0, 6,7,8},
432 {kPanelButtonOptionSlider, 421,16, 16,138, 0,
'-',0, 0,0,0},
433 {kPanelButtonOptionText,11,30, 139,21, kTextReadingSpeed,
'-',0, 0,0,0},
434 {kPanelButtonOptionText,11,55, 139,21, kTextMusic,
'-',0, 0,0,0},
435 {kPanelButtonOptionText,11,80, 139,21, kTextSound,
'-',0, 0,0,0},
436 {kPanelButtonOptionText,11,105, 139,21, kTextVoices,
'-',0, 0,0,0},
437 {kPanelButtonOption, 154,30, 79,23, kTextReadingSpeed,kActionOptionReadingSpeed,0, 0,0,0},
438 {kPanelButtonOption, 154,55, 79,23, kTextMusic,kActionOptionMusic,0, 0,0,0},
439 {kPanelButtonOption, 154,80, 79,23, kTextSound,kActionOptionSound,0, 0,0,0},
440 {kPanelButtonOption, 154,105,79,23, kTextVoices,kActionOptionVoices,0, 0,0,0},
441 {kPanelButtonOption, 20,150, 200,25, kTextQuitGame,kActionOptionQuitGame,0, 0,0,0},
442 {kPanelButtonOption, 20,178, 200,25, kTextContinuePlaying,kActionOptionContinue,0, 0,0,0},
443 {kPanelButtonOptionSaveFiles, 244,18, 170,138, 0,
'-',0, 0,0,0},
444 {kPanelButtonOption, 243,163, 79,23, kTextLoad,kActionOptionLoad,0, 0,0,0},
445 {kPanelButtonOption, 334,163, 79,23, kTextSave,kActionOptionSaveGame,0, 0,0,0},
449 {kPanelButtonQuit, 26,80, 80,25, kTextQuit,kActionOptionQuit,0, 0,0,0},
450 {kPanelButtonQuit, 156,80, 80,25, kTextCancel,kActionOptionCancel,0, 0,0,0},
451 {kPanelButtonQuitText, -1,30, 0,0, kTextQuitTheGameQuestion,
'-',0, 0,0,0},
455 {kPanelButtonLoad, 26,80, 80,25, kTextOK,kActionOptionOkay,0, 0,0,0},
456 {kPanelButtonLoad, 156,80, 80,25, kTextCancel,kActionOptionCancel,0, 0,0,0},
457 {kPanelButtonLoadText, -1,30, 0,0, kTextLoadSavedGame,
'-',0, 0,0,0},
461 {kPanelButtonSave, 25,79, 80,25, kTextSave,kActionOptionSave,0, 0,0,0},
462 {kPanelButtonSave, 155,79, 80,25, kTextCancel,kActionOptionCancel,0, 0,0,0},
463 {kPanelButtonSaveEdit, 22,56, 216,17, 0,
'-',0, 0,0,0},
464 {kPanelButtonSaveText, -1,30, 0,0, kTextEnterSaveGameName,
'-',0, 0,0,0},
497 IHNM_MainPanelButtons,
499 IHNM_CONVERSE_MAX_TEXT_WIDTH,
500 IHNM_CONVERSE_TEXT_HEIGHT,
501 IHNM_CONVERSE_TEXT_LINES,
505 IHNM_ConversePanelButtons,
511 IHNM_OptionPanelButtons,
516 IHNM_QuitPanelButtons,
521 IHNM_LoadPanelButtons,
527 IHNM_SavePanelButtons,
534 IHNM_SavePanelButtons
#define ARRAYSIZE(x)
Definition: util.h:91
Definition: displayinfo.h:43