aboutsummaryrefslogtreecommitdiff
path: root/engines/saga/displayinfo.h
AgeCommit message (Collapse)Author
2016-03-27SAGA: Fix dialog text positions in non-English version (#7064)Torbjörn Andersson
This fix applies to drawPanelText(), where we used to hard-code the text positions. Now we define the dimensions of the area where the text is drawn (like we do for button texts) and calculate the position based on the dimensions of the text string. The drawPanelText() function is used for the Save, Quit, Protect and Option dialogs, but for everything except the Option dialog it already centered the text to the dialog. I decided to use this centering mechanism for the title of the ITE Option dialog, even though that changes the X coordinate by one pixel. Other than that, it only affects the following texts: ITE: Show Dialog / Reading Speed, Music and Sound IHNM: Reading Speed, Music, Sound, Voices I have verified that this looks at least ok for the English and German versions of ITE, and the English, German, French and Spanish versions of IHNM, so I'm reasonably confident that this change is ok.
2014-02-18SAGA: Make GPL headers consistent in themselves.Johannes Schickel
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2009-08-12Put some more IHNM / SAGA2 specific code into compile guards.Johannes Schickel
svn-id: r43326
2009-01-02Wrapped more engine-specific code around appropriate ifdefsFilippos Karapetis
svn-id: r35679
2009-01-02- Split the IHNM script functions into a different fileFilippos Karapetis
- Added two new defines, ENABLE_IHNM and ENABLE_SAGA2 (enabled by default), which can be used to remove the parts of the SAGA engine which are specific to IHNM and SAGA 2 games. Hopefully, this will reduce the size of the engine even more for platforms with little memory (e.g. the Nintendo DS) svn-id: r35672
2008-12-22logicalWidth -> widthFilippos Karapetis
logicalHeight -> height svn-id: r35488
2008-12-21- Added some stubs for the SAGA2 games dino and fta2Filippos Karapetis
- Stopped loading the isomap and puzzle game modules for IHNM, as they are not used for that game (this saves some memory for IHNM) - Removed getDisplayWidth() and getDisplayHeight() svn-id: r35473
2008-09-24Fix bugs #1981081: "ITE: No blinking disk icon" and #1971729: "IHNM: No ↵Eugene Sandulenko
Animation of Disk Icon" svn-id: r34645
2008-08-01Added load confirmation dialog for IHNM, like in the original.Filippos Karapetis
Fixes bug #1971699 - "IHNM: No Load Game Confirmation" svn-id: r33490
2008-01-05Fix to remove a tab character from the GPL headerPaul Gilbert
svn-id: r30238
2007-12-11Make sure that text in message boxes in IHNM is always centered, regardless ↵Filippos Karapetis
of language svn-id: r29827
2007-09-30Fixed the placement of the save game reminder icon in IHNMFilippos Karapetis
svn-id: r29147
2007-08-21Fixed the position of some widgets in the option dialogs of IHNMFilippos Karapetis
svn-id: r28689
2007-08-20Cleanup: Removed obsolete TODOsFilippos Karapetis
svn-id: r28682
2007-07-31Cleanup: removed dead code, fixed some comments and did some layout changesFilippos Karapetis
svn-id: r28362
2007-06-17Some updates on the save/load system in IHNM. It still needs work, thoughFilippos Karapetis
svn-id: r27505
2007-06-13IHNM: Button textures are loaded correctly now for buttons in the option and ↵Filippos Karapetis
quit panel. Also, implemented the voices/subtitles toggle functionality and fixed widget placement a bit svn-id: r27388
2007-06-13Fix the quit panel in IHNMFilippos Karapetis
svn-id: r27387
2007-06-06Properly implemented the converse panel in IHNM (though the colors are still ↵Filippos Karapetis
wrong) svn-id: r27123
2007-06-05Inventory and conversation arrows are working correctly now in IHNMFilippos Karapetis
svn-id: r27107
2007-06-04Fixed incorrect placing of converse information for IHNM. Dialog options ↵Filippos Karapetis
should work in IHNM now, although they're still not placed properly svn-id: r27084
2007-06-04Properly define max text width in IHNMFilippos Karapetis
svn-id: r27082
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
2007-05-27Verb actions are working correctly now in IHNM. Some verbs are still ↵Filippos Karapetis
non-functional svn-id: r26970
2007-05-06Added (non-functional) save and load buttons in the options panel of IHNMFilippos Karapetis
svn-id: r26767
2007-05-02More IHNM options panel improvements: added text and working widgets for ↵Filippos Karapetis
read speed, music and sound, matched the font and the coordinates of the options panel and the widgets with the ones of the original interpreter svn-id: r26738
2007-05-02IHNM: Added the options dialog and quit dialog with very basic functionality ↵Filippos Karapetis
(continue and exit game). The buttons are still wrong and not all the options are implemented yet, but at least the game doesn't freeze when the user tries to open the options dialog and it's now possible to exit normally svn-id: r26735
2007-05-01Fix for verbs in IHNMFilippos Karapetis
svn-id: r26732
2007-04-27SAGA: Moved displayinfo stuff into its own header fileMax Horn
svn-id: r26635