Eugene Sandulenko
960d14d79d
SAGA: Explicitely mark versions which require color shifting in interface. Fixes bug #7092
2016-03-28 00:54:05 +02:00
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
Torbjörn Andersson
0a5a722b02
SAGA: Fix interface colors in French and German versions of IHNM
...
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-03-16 06:16:44 +01:00
Johannes Schickel
01020089da
SAGA: Add comments about possibly race conditions to timer callbacks.
...
(cherry picked from commit 93f627441ac68e7a4c3e7f748a7b6f999bd9c96a)
2016-02-09 02:52:29 +01:00
Filippos Karapetis
e88d6265d8
SAGA: Add support for MIDI music in SAGA2 games
2014-07-20 21:19:20 +03:00
Johannes Schickel
c1be2aedbb
SAGA: Make GPL headers consistent in themselves.
2014-02-18 02:39:37 +01:00
Eugene Sandulenko
aa8638db6a
SAGA: Null terminate string. CID 1003870
2013-04-28 23:59:20 +03:00
Eugene Sandulenko
e2cd02bb5e
SAGA: Null terminate string. CID 1003868
2013-04-28 23:59:20 +03:00
Max Horn
4f8665fc83
COMMON: Move isFoo functions to namespace Common, add doxygen comments
2012-02-20 16:18:27 +01:00
Max Horn
658080deed
ALL: Avoid using is* macros from ctype.h
...
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.
2012-02-15 16:51:37 +01:00
Filippos Karapetis
b71123ef4f
SAGA: properly remove the save reminder callback on engine exit
...
This fixes an error when exiting to the launcher and restarting a game
2011-08-30 12:59:35 +03:00
Eugene Sandulenko
78f1ea7690
OSYSTEM: extended installTimerProc() with timer ID parameter
2011-08-06 11:28:35 +01:00
strangerke
69b1485a22
GIT: Clean up: Suppress SVN tags, now useless
2011-05-12 01:16:22 +02:00
md5
c06dd90142
SAGA: Removed unused variables
...
Thanks to LordHoto and the trusty -Wunused-but-set-variable option :)
2011-04-27 13:13:36 +03:00
Eugene Sandulenko
64c3332138
SAGA: Fixed bug #3276033 : IHNM: Savegame reminder not reset
2011-04-17 14:10:46 +03:00
Max Horn
2d1c8a3533
ALL: Fix whitespaces / indention
...
svn-id: r55818
2011-02-07 23:01:06 +00:00
Andrew Kurushin
67cc1b8a84
SAGA: replace Resource:loadResource malloc with ByteArray class
...
svn-id: r53779
2010-10-24 22:17:44 +00:00
Andrew Kurushin
e3ea3b5b7e
SAGA: replace Scene::_resourceList, Interface::_inventory malloc arrays with Common::Array
...
svn-id: r53773
2010-10-24 20:22:21 +00:00
Andrew Kurushin
b10cd22d51
SAGA: replace Events malloc base linked list with Common::List
...
svn-id: r53751
2010-10-23 23:07:10 +00:00
Andrew Kurushin
405c523bbb
SAGA: replace decodeBGImage malloc with ByteArray
...
svn-id: r53748
2010-10-23 21:56:16 +00:00
Andrew Kurushin
f24394b85f
SAGA: replace Actor::_pathCell, Anim::*, Converse::text, IsoMap::*, 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-22 23:13:17 +00:00
Torbjörn Andersson
28a98c7416
SAGA: Silence warning
...
svn-id: r53632
2010-10-20 03:54:33 +00:00
Andrew Kurushin
e4029f6f0e
SAGA: SAGA: replace SpriteList "::realloc" with Common::Array
...
svn-id: r53628
2010-10-19 22:29:53 +00:00
Andrew Kurushin
bfb0986cd4
SAGA: replace Actors "::realloc" with Common::Array
...
svn-id: r53627
2010-10-19 21:40:24 +00:00
Torbjörn Andersson
54b2a8c98d
JANITORIAL: Cleanup (mostly whitespace)
...
svn-id: r53161
2010-10-12 04:19:58 +00:00
Eugene Sandulenko
7746321ed6
SAGA: Fix bug #1970191 .
...
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-15 10:16:53 +00:00
Eugene Sandulenko
723cb6c0f0
SAGA: Moved more code under ENABLE_IHNM
...
svn-id: r49696
2010-06-15 10:16:13 +00:00
Filippos Karapetis
80acb21a56
Added automatic detection of the IHNM demo
...
svn-id: r49047
2010-05-16 10:36:21 +00:00
Filippos Karapetis
b57bab8e3b
Added automatic detection for the non-interactive ITE demos
...
svn-id: r49046
2010-05-16 10:23:44 +00:00
Yotam Barnoy
ef330ed9b4
Patch for bug 2943361 by littleboy, adding full kb modifier support to all engines + GUI and proper keypad handling
...
svn-id: r48101
2010-02-21 04:04:13 +00:00
Max Horn
51933629d1
Changed foo(void) to foo() in almost all non-backend source files
...
svn-id: r45616
2009-11-02 21:54:57 +00:00
Max Horn
d0876b06ed
Remove some unused variables
...
svn-id: r44853
2009-10-09 22:21:45 +00:00
Torbjörn Andersson
a784e6ab98
When dragging the save/load dialog's scrollbar handle past the top of the
...
scrollbar, stay at the top. Don't jump to the bottom.
svn-id: r39939
2009-04-11 20:16:37 +00:00
Filippos Karapetis
9d7111006d
- Reworked the different file types a bit
...
- Some initial work on Dinotopia's intro sequence
svn-id: r39234
2009-03-08 15:39:19 +00:00
Max Horn
f9ecd95d69
Whitespace cleanup: Convert space followed by tab to just tab
...
svn-id: r39203
2009-03-07 19:24:31 +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
Eugene Sandulenko
696897b058
Whoa! Removing trailing spaces.
...
svn-id: r35648
2009-01-01 15:06:43 +00:00
Filippos Karapetis
220af87112
Proper fix for non-interactive ITE demos (the previous one was affecting sprites for other games)
...
svn-id: r35645
2008-12-31 22:11:20 +00:00
Filippos Karapetis
9a5f45a40c
- IHNM Mac loads correctly again
...
- 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-29 17:30:29 +00:00
Johannes Schickel
a621158cee
Added const keyword to static data.
...
svn-id: r35563
2008-12-26 14:38:45 +00:00
Filippos Karapetis
dec4f1d084
The verb<->textId assignment is needed only for ITE
...
svn-id: r35562
2008-12-26 13:50:12 +00:00
Max Horn
6837416556
Made Engine::_timer protected
...
svn-id: r35543
2008-12-25 20:53:59 +00:00
Filippos Karapetis
52f464534c
Cleanup
...
svn-id: r35538
2008-12-25 15:16:53 +00:00
Filippos Karapetis
c2c439b53d
Slight cleanup
...
svn-id: r35523
2008-12-24 09:59:18 +00:00
Filippos Karapetis
9a57f42399
logicalWidth -> width
...
logicalHeight -> height
svn-id: r35488
2008-12-22 14:36:58 +00:00
Filippos Karapetis
38f7fa6f4a
Added game ID checks for the ITE puzzle in some places that I've missed
...
svn-id: r35486
2008-12-22 14:30:00 +00:00
Filippos Karapetis
437384a838
- Split the SAGA resource manager in 3 different ones, depending on the resource type (RSC for ITE, RES for IHNM and HRS for DINO/FTA2). The SAGA 2 HRS resource manager is still a stub
...
- Added detection for the voice file of FTA2
svn-id: r35484
2008-12-22 14:13:15 +00:00
Filippos Karapetis
f3db2bf1c3
Added some more stubs for FTA2
...
svn-id: r35475
2008-12-21 23:43:12 +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
Filippos Karapetis
d0f4f97ea9
Cleaned up the mess with game IDs and game types: removed game types, reduced the game IDs and added game features where necessary
...
svn-id: r35467
2008-12-21 15:59:05 +00:00