aboutsummaryrefslogtreecommitdiff
path: root/engines/saga/interface.cpp
AgeCommit message (Collapse)Author
2019-12-01SAGA: Fix Missing Default Switch CasesD G Turner
These are flagged by GCC if -Wswitch-default is enabled.
2018-04-19JANITORIAL: Fix whitespaceAdrian Frühwirth
2017-08-20SAGA: Fix the conversation panel background color in IHNMFilippos Karapetis
2017-08-11SAGA: Add missing break statement and add fall through commentEugene Sandulenko
2016-06-07SAGA: FUrther fix to potential buffer overflowEugene Sandulenko
2016-05-31SAGA: Fix potential buffer overrunEugene Sandulenko
2016-05-16SAGA: Add safeguard warning for text access.Eugene Sandulenko
2016-05-16SAGA: Fix potential buffer overrun.Eugene Sandulenko
If we have _statusTextInputPos as 256, we're doing incrementing to 257 and storing 0 there. This will lead to memory overwrite.
2016-03-28SAGA: Explicitely mark versions which require color shifting in interface. ↵Eugene Sandulenko
Fixes bug #7092
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.
2016-03-16SAGA: Fix interface colors in French and German versions of IHNMTorbjörn Andersson
The same fix that had already been applied to the Spanish version also applies to the French and German versions. (Judging by the detection entries, there aren't any alternative versions so the ones I got from GOG should be representative.) The palettes aren't quite identical to the Spanish one, but I think the remaining difference is for the spiritual barometer, so the special case for that remains Spanish-only.
2016-02-09SAGA: Add comments about possibly race conditions to timer callbacks.Johannes Schickel
(cherry picked from commit 93f627441ac68e7a4c3e7f748a7b6f999bd9c96a)
2014-07-20SAGA: Add support for MIDI music in SAGA2 gamesFilippos Karapetis
2014-02-18SAGA: Make GPL headers consistent in themselves.Johannes Schickel
2013-04-28SAGA: Null terminate string. CID 1003870Eugene Sandulenko
2013-04-28SAGA: Null terminate string. CID 1003868Eugene Sandulenko
2012-02-20COMMON: Move isFoo functions to namespace Common, add doxygen commentsMax Horn
2012-02-15ALL: Avoid using is* macros from ctype.hMax Horn
On some systems, passing signed chars to macros like isspace() etc. lead to a runtime error. Hence, mark these macros as forbidden by default, and introduce otherwise equivalent alternatives for them.
2011-08-30SAGA: properly remove the save reminder callback on engine exitFilippos Karapetis
This fixes an error when exiting to the launcher and restarting a game
2011-08-06OSYSTEM: extended installTimerProc() with timer ID parameterEugene Sandulenko
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-27SAGA: Removed unused variablesmd5
Thanks to LordHoto and the trusty -Wunused-but-set-variable option :)
2011-04-17SAGA: Fixed bug #3276033: IHNM: Savegame reminder not resetEugene Sandulenko
2011-02-07ALL: Fix whitespaces / indentionMax Horn
svn-id: r55818
2010-10-24SAGA: replace Resource:loadResource malloc with ByteArray classAndrew Kurushin
svn-id: r53779
2010-10-24SAGA: replace Scene::_resourceList, Interface::_inventory malloc arrays with ↵Andrew Kurushin
Common::Array svn-id: r53773
2010-10-23SAGA: replace Events malloc base linked list with Common::ListAndrew Kurushin
svn-id: r53751
2010-10-23SAGA: replace decodeBGImage malloc with ByteArrayAndrew Kurushin
svn-id: r53748
2010-10-22SAGA: replace Actor::_pathCell, Anim::*, Converse::text, IsoMap::*, ↵Andrew Kurushin
Music::_songTable, ObjectMap::*, PalAnim::*, Scene::sceneLut, SndRes::_fxTable* malloc based arrays with Common::Array implementation add ByteArray type fix debug Tile Hittest frame drawing debug 0x%x => 0x%X svn-id: r53719
2010-10-20SAGA: Silence warningTorbjörn Andersson
svn-id: r53632
2010-10-19SAGA: SAGA: replace SpriteList "::realloc" with Common::ArrayAndrew Kurushin
svn-id: r53628
2010-10-19SAGA: replace Actors "::realloc" with Common::ArrayAndrew Kurushin
svn-id: r53627
2010-10-12JANITORIAL: Cleanup (mostly whitespace)Torbjörn Andersson
svn-id: r53161
2010-06-15SAGA: Fix bug #1970191.Eugene Sandulenko
Bug #1970191: "IHNM: Psychic Profile problem". Still there is a slight artefact. When the profile has 2 pages and is skipped, there are two fade-ins in a row. It could be checked by analysing event queue. svn-id: r49698
2010-06-15SAGA: Moved more code under ENABLE_IHNMEugene Sandulenko
svn-id: r49696
2010-05-16Added automatic detection of the IHNM demoFilippos Karapetis
svn-id: r49047
2010-05-16Added automatic detection for the non-interactive ITE demosFilippos Karapetis
svn-id: r49046
2010-02-21Patch for bug 2943361 by littleboy, adding full kb modifier support to all ↵Yotam Barnoy
engines + GUI and proper keypad handling svn-id: r48101
2009-11-02Changed foo(void) to foo() in almost all non-backend source filesMax Horn
svn-id: r45616
2009-10-09Remove some unused variablesMax Horn
svn-id: r44853
2009-04-11When dragging the save/load dialog's scrollbar handle past the top of theTorbjörn Andersson
scrollbar, stay at the top. Don't jump to the bottom. svn-id: r39939
2009-03-08- Reworked the different file types a bitFilippos Karapetis
- Some initial work on Dinotopia's intro sequence svn-id: r39234
2009-03-07Whitespace cleanup: Convert space followed by tab to just tabMax Horn
svn-id: r39203
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
2009-01-01Whoa! Removing trailing spaces.Eugene Sandulenko
svn-id: r35648
2008-12-31Proper fix for non-interactive ITE demos (the previous one was affecting ↵Filippos Karapetis
sprites for other games) svn-id: r35645
2008-12-29- IHNM Mac loads correctly againFilippos Karapetis
- Removed isBigEndian from GameSoundInfo - Removed GF_BIG_ENDIAN_DATA - Stopped loading the options panel for non-interactive ITE demos (it doesn't exist) - Fixed crash when exiting from non-interactive ITE demos svn-id: r35615
2008-12-26Added const keyword to static data.Johannes Schickel
svn-id: r35563
2008-12-26The verb<->textId assignment is needed only for ITEFilippos Karapetis
svn-id: r35562
2008-12-25Made Engine::_timer protectedMax Horn
svn-id: r35543