Commit graph

169 commits

Author SHA1 Message Date
NabeelShabbir
7d14ef7cc0 SAGA: Add keymapper support 2024-07-03 09:58:37 +03:00
Vladimir Serbinenko
73f04a31ab SAGA: Support masked blit for sprites
ECS version does it in original for verb buttons, let's do the same
2022-12-21 14:58:09 +01:00
Vladimir Serbinenko
1750e0880c SAGA: Switch palette at line 137 when running ECS version
Similar to what original does
2022-12-21 14:58:09 +01:00
Vladimir Serbinenko
8b3aaa3351 SAGA: Use colors from ECS-palettes when needed 2022-12-21 14:58:09 +01:00
Eugene Sandulenko
660b694b35
SAGA: More fixes to text positioning in options for ite-tw 2022-12-12 23:44:50 +01:00
Eugene Sandulenko
df9e0abc1d
SAGA: Partial fix for the options dialog text positions for ite-tw 2022-12-12 01:57:45 +01:00
Vladimir Serbinenko
396f14105c SAGA: Replace Chinese floppy language id from Simplified to Traditional 2022-11-14 00:39:47 +01:00
Vladimir Serbinenko
a143f509b1 SAGA: Change interface layout for Chinese
This changes the interface to be more in line with the original
2022-11-14 00:39:47 +01:00
Le Philousophe
c236ce82e6 SAGA: Fix strncpy usage 2022-11-06 17:27:21 +01:00
Le Philousophe
44870b1ad6 SAGA: Don't use unsafe strcat and strcpy 2022-10-23 22:46:19 +02:00
BLooperZ
2618a00043 SAGA: align hebrew converse text to the right 2022-03-11 00:21:16 +02:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Orgad Shaneh
2930d37788 SAGA: Use nullptr
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +02:00
athrxx
dcf5a40f03 SAGA: fix encodings of save descriptions 2021-07-16 01:08:14 +02:00
Coen Rampen
de003b403d SAGA: Remove _musicVolume
Music volume is now handled by the Music class. Some calls to play included a
call to setVolume, but play already does this, so these calls were unnecessary.
2021-07-09 15:20:51 +02:00
Filippos Karapetis
9fc1a19d9f SAGA: Remove dead code
Some of this code is for SAGA2 games and some is just unused
2021-07-01 16:29:49 +03:00
Filippos Karapetis
e9c60720c0 SAGA: Remove SAGA2 references, code and stubs
All SAGA2 game development will continue in the new SAGA2 engine
2021-07-01 16:23:48 +03:00
sluicebox
93eeffc84d JANITORIAL: Update old bug tracker numbers 2021-03-03 02:15:05 +02:00
athrxx
c16f00f0f6 SAGA: (ITE/PC98) - make version specific interface changes
The font style is diiferent for various strings (e.g. verbs are drawn outlined instead of shaded, converse line are drawn normally instead of shaded).
Also implement sjis version of "bullet" for the converse strings.
2020-11-22 19:02:44 +01:00
D G Turner
f26bb57ef8 SAGA: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
2019-12-01 15:11:36 +00:00
Adrian Frühwirth
9bee9e1ba6 JANITORIAL: Fix whitespace 2018-04-19 12:08:31 +02:00
Filippos Karapetis
d139d65c80 SAGA: Fix the conversation panel background color in IHNM 2017-08-20 18:02:37 +03:00
Eugene Sandulenko
c2e633d349 SAGA: Add missing break statement and add fall through comment 2017-08-11 21:25:36 +02:00
Eugene Sandulenko
29154f1f20 SAGA: FUrther fix to potential buffer overflow 2016-06-07 22:23:23 +02:00
Eugene Sandulenko
459be5e7b2 SAGA: Fix potential buffer overrun 2016-05-31 17:12:18 +02:00
Eugene Sandulenko
1d5a127011 SAGA: Add safeguard warning for text access. 2016-05-16 16:56:57 +02:00
Eugene Sandulenko
c341738ab8 SAGA: Fix potential buffer overrun.
If we have _statusTextInputPos as 256, we're doing incrementing to 257
and storing 0 there. This will lead to memory overwrite.
2016-05-16 16:56:57 +02:00
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 93f627441a)
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