Andrea Corna
a6ec4f70da
COMMON: Make more members of Archive constant.
2011-12-13 17:55:57 +01:00
Johannes Schickel
77959acd51
KYRA: Cast char to uint8 before passing it to getCharWidth.
...
This assures getCharWidth really gets the character number and now sign
extended version of it in case char is signed.
2011-12-13 16:18:12 +01:00
Johannes Schickel
efa52cb79c
KYRA: Fix for bug #3459000 "KYRA1CD: Accented characters overdrawn in introduction".
2011-12-13 16:18:12 +01:00
Tarek Soliman
1305c5ab31
KYRA: Fix whitespace
2011-12-12 22:37:36 -06:00
Tarek Soliman
38ff68e449
KYRA: Use Common::KeyActionEntry table for LoL game keymap
...
This is for the keymapper keymap
2011-12-12 20:19:42 -06:00
athrxx
f19401b14c
KYRA: (HOF CD Demo) - check shouldQuit() during ending text loop
2011-11-24 00:50:00 +01:00
athrxx
0565d7dc20
KYRA: (HOF) - fix ending text in the playable demo
2011-11-23 22:39:43 +01:00
Christoph Mallon
e578cb8976
ALL: Remove unnecessary forward declarations.
2011-11-21 15:59:19 +01:00
Johannes Schickel
cfac223cee
KYRA: "Fix" bug #3166235 "KYRA: Crash on startup on OS X due to invalid PAK file".
...
Now we can show such errors in the debugger, since we initialize and the
screen resolution and the debugger before initializing the resource manager.
This allows our error function to open up the debugger and show the error at
least.
A better feedback to the user might be desirable, but it is not really
feasible with our current possibilites for error reporting.
2011-11-18 03:47:51 +01:00
Johannes Schickel
11a7993085
KYRA: Add some assert for debugging purposes.
2011-11-18 03:26:21 +01:00
Eugene Sandulenko
5420ad7619
Merge pull request #114 from tsoliman/keymapper2
...
KEYMAPPER: Keymapper improvements 2
2011-11-17 14:22:48 -08:00
Strangerke
bab4b6f729
LAUNCHER: Introduce GUIO0() in order to replace GUIO1(GUIO_NONE)
2011-11-16 22:38:58 +01:00
Johannes Schickel
7c2145f67c
KYRA: Make message about missing save file a warning and no error.
2011-11-16 18:32:34 +01:00
Johannes Schickel
61795739f8
COMMON: Rename Common::set_to to Common::fill.
...
This makes the name match with the name of the STL function with the same
behavior.
2011-11-16 18:06:30 +01:00
Tarek Soliman
843f19788b
KYRA: Fix some copy paste error in LoL keymap keycodes
2011-10-30 22:37:32 -05:00
Tarek Soliman
1ec5b491b7
KYRA: Remove usage of using namespace Common in the keymap code
...
thanks LordHoto
2011-10-28 19:30:59 -05:00
Tarek Soliman
f4fa37fdf8
KYRA: Move kKeymapName to be inside LoLEngine
...
Thanks LordHoto
2011-10-28 09:58:09 -05:00
Tarek Soliman
8d970f3568
KYRA: Cleanup game keymaps on RTL
...
This fixes an RTL problem where the keymaps linger between same-engine games.
Meaning the lol keymap shows up in kyra1
2011-10-27 10:46:22 -05:00
Tarek Soliman
719020a3e7
KYRA: Added basic game keymap for LoL
2011-10-27 10:46:21 -05:00
Strangerke
fa1e55181a
KYRA: On demand of lordHoto, remove GUIO_NOASPECT as Jap. games are in 640x400 and not 640x480
2011-10-24 12:59:02 +02:00
Strangerke
b7284f3a37
LAUNCHER: Add GUIO_NOASPECT to Kyra
2011-10-23 22:53:39 +02:00
Eugene Sandulenko
32972a5ffb
AD: Switched rest of the engines to new GUIO
2011-10-23 17:53:13 +01:00
Johannes Schickel
d8e50b8a03
KYRA: Fix memory leak when a sound is started but no free handles are left.
2011-10-22 19:37:49 +02:00
Johannes Schickel
6da0549133
KYRA: Fix minor bug in AdLibDriver::primaryEffect1.
2011-10-02 02:17:59 +02:00
Johannes Schickel
a3a40c4a6f
KYRA: Fix bumping into a wall AdLib SFX in Lands of Lore.
2011-10-02 01:49:27 +02:00
Johannes Schickel
88fa659ace
KYRA: Name another variable in the AdLib output code.
2011-10-02 00:13:41 +02:00
Johannes Schickel
2dd85c0cad
KYRA: Some minor cleanup.
2011-10-02 00:13:41 +02:00
athrxx
9b2848ba90
KYRA: fix typo
2011-10-01 18:35:05 +02:00
Johannes Schickel
74f3a29c19
KYRA: Never allow slots 0 and 990-999 to be overwritten.
2011-10-01 17:03:29 +02:00
Tarek Soliman
4cd9c16867
KYRA: workaround to get maemo to even compile
...
kyra has a file that won't compile in -Os
2011-09-22 22:07:44 -05:00
Johannes Schickel
4f7768ec6e
KYRA: Cleanup _saveSlots array sorting.
2011-11-14 15:54:50 +01:00
Willem Jan Palenstijn
59ed0ee9ed
KYRA: Add comment hopefully explaining _saveSlots
2011-11-14 15:51:01 +01:00
Johannes Schickel
bac23bde27
KYRA: Whitespace fixes.
2011-11-14 15:44:58 +01:00
Johannes Schickel
f410480cfd
KYRA: Fix bug #3437647 "LOL: Unexpected missing save file".
...
Formerly the code was confused about what _saveSlots is doing, i.e. creating a
continous list of existing save slot ids.
2011-11-14 15:42:20 +01:00
athrxx
001f7d6403
KYRA: fix bug #3429455
...
(signed/unsigned bug in LoLEngine::olol_getWallType)
2011-11-08 22:29:55 +01:00
Johannes Schickel
9fa9f68789
AUDIO: Implement a basic VocStream class.
...
Now all VOCs are streamed rather than preloaded. This deprecates the
STREAM_AUDIO_FROM_DISK define, which was previously used to stream VOCs from
disk.
This might very well break some engines which relied on the stream not being
changed after makeVOCStream! I adapted all engines which had a check for
STREAM_AUDIO_FROM_DISK in their code.
It would be wise to check all other engines using VOC to see if this might
cause any problems for them.
2011-11-06 13:30:34 +01:00
athrxx
dbbfca37a2
KYRA: add missing (maybe unused) case to LoLEngine::olol_getGlobalVar()
2011-11-04 21:46:35 +01:00
athrxx
4f948b3309
KYRA: replace invalid memset call and add a warning
2011-11-04 21:46:34 +01:00
athrxx
1527e7b1b4
KYRA: (LOL) minor fix, cleanup and renaming
2011-11-04 21:46:32 +01:00
athrxx
99aaf24201
KYRA: fix monster hp in LoL
2011-11-04 21:46:31 +01:00
athrxx
19458cf03f
KYRA: rename script proc and fix some debug messages
2011-11-04 21:46:29 +01:00
Johannes Schickel
6a3a14ab6b
KYRA: Reduce size of KyraEngine_LoK::_entranceMouseCursorTracks.
...
Also clear the whole array in enterNewScene. This is not needed since the last
value is only used when the first four values are set up valid, but it removes
an annoying warning in PVS-Studio and makes the code a bit clearer.
2011-11-04 20:15:05 +01:00
Johannes Schickel
3c4bb82799
KYRA: Use "0xFF" instead of "0xFFFF" as memset's second parameter.
2011-11-04 20:15:05 +01:00
Johannes Schickel
7157e75ed9
KYRA: Remove FIXME, which should've been removed with 4410e61...
2011-11-04 20:03:59 +01:00
Johannes Schickel
4410e61238
KYRA: Simplify getMoveTableSize.
...
This also removes two FIXME comments. The original did the same checks as we
had before, but as PVS-Studio noticed the expression was excessive. I changed
it to a simpler expression now and removed the FIXMEs.
2011-11-04 20:01:57 +01:00
athrxx
286c319719
KYRA: fix minor bug in LoLEngine::playCharacterScriptChat()
2011-11-03 23:05:04 +01:00
Filippos Karapetis
d3999850e7
KYRA: Added FIXMEs for two odd checks
2011-11-03 23:09:38 +02:00
Johannes Schickel
57ca48d547
KYRA: Fix Common::List::erase usage.
...
Thanks to Tron for pointing that out.
2011-11-01 16:35:11 +01:00
Johannes Schickel
fcf63d0261
KYRA: Update engine description comment.
2011-10-29 03:26:18 +02:00
Johannes Schickel
a588d6e3e2
KYRA: Add another delay for new tracks in the AdLib driver.
...
This is to play really safe and to avoid messing up of sound data.
2011-10-29 02:50:52 +02:00