Commit Graph
30 Commits
Author SHA1 Message Date
Torbjörn Andersson c5b8adb370 SAGA: Fix dialog text positions in non-English version (#7064)
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.
2016-03-27 15:23:17 +02:00
Johannes Schickel c1be2aedbb SAGA: Make GPL headers consistent in themselves. 2014-02-18 02:39:37 +01:00
strangerke 69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Johannes Schickel 8ea2316c3b Put some more IHNM / SAGA2 specific code into compile guards.
svn-id: r43326
2009-08-12 18:08:01 +00:00
Filippos Karapetis 90d762c261 Wrapped more engine-specific code around appropriate ifdefs
svn-id: r35679
2009-01-02 19:10:51 +00:00
Filippos Karapetis d5b6996c45 - Split the IHNM script functions into a different file
- 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
2009-01-02 16:52:38 +00:00
Filippos Karapetis 9a57f42399 logicalWidth -> width
logicalHeight -> height

svn-id: r35488
2008-12-22 14:36:58 +00:00
Filippos Karapetis 2257db88d3 - Added some stubs for the SAGA2 games dino and fta2
- 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-12-21 22:52:44 +00:00
Eugene Sandulenko 84379f1124 Fix bugs #1981081: "ITE: No blinking disk icon" and #1971729: "IHNM: No Animation of Disk Icon"
svn-id: r34645
2008-09-24 22:44:01 +00:00
Filippos Karapetis 0145dd38d9 Added load confirmation dialog for IHNM, like in the original.
Fixes bug #1971699 - "IHNM: No Load Game Confirmation"

svn-id: r33490
2008-08-01 14:03:20 +00:00
Paul Gilbert 6eb64102a4 Fix to remove a tab character from the GPL header
svn-id: r30238
2008-01-05 12:45:14 +00:00
Filippos Karapetis fb7ec452d2 Make sure that text in message boxes in IHNM is always centered, regardless of language
svn-id: r29827
2007-12-11 22:36:05 +00:00
Filippos Karapetis 0175cf13b2 Fixed the placement of the save game reminder icon in IHNM
svn-id: r29147
2007-09-30 13:47:09 +00:00
Filippos Karapetis bf1f23d378 Fixed the position of some widgets in the option dialogs of IHNM
svn-id: r28689
2007-08-21 18:04:47 +00:00
Filippos Karapetis c50c20b2c2 Cleanup: Removed obsolete TODOs
svn-id: r28682
2007-08-20 20:00:40 +00:00
Filippos Karapetis cd20f09a9d Cleanup: removed dead code, fixed some comments and did some layout changes
svn-id: r28362
2007-07-31 18:08:40 +00:00
Filippos Karapetis 65a39ab0d0 Some updates on the save/load system in IHNM. It still needs work, though
svn-id: r27505
2007-06-17 02:59:56 +00:00
Filippos Karapetis 0d4a3c28d9 IHNM: Button textures are loaded correctly now for buttons in the option and quit panel. Also, implemented the voices/subtitles toggle functionality and fixed widget placement a bit
svn-id: r27388
2007-06-13 19:41:27 +00:00
Filippos Karapetis 7af7e3f192 Fix the quit panel in IHNM
svn-id: r27387
2007-06-13 15:31:45 +00:00
Filippos Karapetis b82e88638b Properly implemented the converse panel in IHNM (though the colors are still wrong)
svn-id: r27123
2007-06-06 00:52:46 +00:00
Filippos Karapetis 95821c97ee Inventory and conversation arrows are working correctly now in IHNM
svn-id: r27107
2007-06-05 13:19:47 +00:00
Filippos Karapetis abc879f2d8 Fixed incorrect placing of converse information for IHNM. Dialog options should work in IHNM now, although they're still not placed properly
svn-id: r27084
2007-06-04 19:29:28 +00:00
Filippos Karapetis 1fe7b427dd Properly define max text width in IHNM
svn-id: r27082
2007-06-04 18:08:44 +00:00
Max Horn 218e132e37 Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
svn-id: r27024
2007-05-30 21:56:52 +00:00
Filippos Karapetis 13541d3e96 Verb actions are working correctly now in IHNM. Some verbs are still non-functional
svn-id: r26970
2007-05-27 11:49:08 +00:00
Filippos Karapetis b9cdca27ee Added (non-functional) save and load buttons in the options panel of IHNM
svn-id: r26767
2007-05-06 17:18:11 +00:00
Filippos Karapetis 463c5fcec8 More IHNM options panel improvements: added text and working widgets for 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-02 23:27:25 +00:00
Filippos Karapetis 74f839d6c8 IHNM: Added the options dialog and quit dialog with very basic functionality (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-02 17:12:30 +00:00
Filippos Karapetis 6ca558f0ff Fix for verbs in IHNM
svn-id: r26732
2007-05-01 21:48:18 +00:00
Max Horn 60aec5b9f1 SAGA: Moved displayinfo stuff into its own header file
svn-id: r26635
2007-04-27 23:11:12 +00:00