Commit Graph

2772 Commits

Author SHA1 Message Date
athrxx
4021a04269 KYRA: (LOL) - fix warning (Unused pointer value) in sprites_lol.cpp 2013-04-18 16:10:36 +02:00
athrxx
9fdc70de36 KYRA: (LOL) - add comment in sprites_lol.cpp 2013-04-18 16:10:35 +02:00
athrxx
3e9f4943d2 KYRA: (EOB) - add comment in timer_eob.cpp 2013-04-18 16:10:33 +02:00
athrxx
35ac7d8683 KYRA: fix bug #3610247
(KYRA2: Intro doesn't skip righ/Game won't start on first run)
2013-04-14 13:12:09 +02:00
athrxx
66a3b2b2ac KYRA: (EOB) - add debug function to export save files in original format 2013-04-14 13:12:08 +02:00
athrxx
a33045f4fa KYRA: (EOB) - fix bug #3600348
(EOB1: Crash when moving in German version)
2013-04-14 13:12:06 +02:00
Torbjörn Andersson
e08ddf70b2 KYRA: Don't restore music volume right after it has faded down
Since the music volume is set in playTrack(), it shouldn't be
necessary to set it back to the default level when a fade out has
been completed.

This change prevents the volume from spiking right before quitting
the game. I hope it doesn't cause regressions.
2013-04-07 22:10:48 +02:00
D G Turner
668d991efb KYRA: Add detection entry for LOL french v1.20 (extracted) datafiles.
This is from bug #3608967 - "Lands of Lore - french version 1.20 MD5".
2013-03-29 01:03:12 +00:00
Willem Jan Palenstijn
2d1fd3b554 ALL: Fix typo (existant->existent) 2013-02-23 22:07:32 +01:00
Johannes Schickel
59dde54519 Merge pull request #301 from lordhoto/c++11-playground
RFC: Allow use of override and nullptr. Also allow C++11 compilation.
2013-01-26 05:25:14 -08:00
athrxx
14be8d8282 KYRA: (LOL) - fix warning 2013-01-10 15:37:31 +01:00
athrxx
f72d36f0ca KYRA: (LOL) - remove unneeded static data 2013-01-09 21:18:56 +01:00
athrxx
36cc94ab73 KYRA: (LOL/FM-TOWNS) - add keyboard controls 2013-01-09 20:31:25 +01:00
athrxx
0c95f6524e KYRA: (LOL/FM-TOWNS) - fix sjis text position for button labels 2013-01-09 20:31:23 +01:00
athrxx
ee479f289f KYRA: (LOL/FM-TOWNS) - adapt text displayer 2013-01-09 20:29:20 +01:00
athrxx
0b38615a43 KYRA: (LOL/FM-TOWNS) - adjust sjis font settings, spacing, etc. 2013-01-09 20:29:19 +01:00
athrxx
da3c385ee3 KYRA: (LOL/FM-TOWNS) some startup code
(let the FM-Towns version load up and run without errors/crashes)
2013-01-09 20:27:37 +01:00
athrxx
cc465076ee KYRA: (LOL/FM-TOWNS) - adapt static resources 2013-01-09 20:27:35 +01:00
athrxx
4eba2a7e54 KYRA: (LOL/FM-TOWNS) - add detection entry 2013-01-09 20:22:25 +01:00
Johannes Schickel
4d3ecbfcd2 KYRA: Use override in subclasses of Sound, which override voicePlay. 2013-01-09 07:53:41 +01:00
Johannes Schickel
bee175ae50 KYRA: Get rid of some unnecessary overwrites. 2013-01-09 06:10:22 +01:00
Johannes Schickel
8520475153 KYRA: Mark overloaded methods of Sound subclasses as virtual. 2013-01-09 06:09:22 +01:00
Johannes Schickel
8d5b4b75d4 KYRA: Make all hex constants use uppercase letters.
Done with:
git ls-files "*.cpp" *".h" | xargs sed -i -e 's/0x\([0-9a-f]*\)/0x\U\1/g'
2013-01-09 06:01:28 +01:00
Johannes Schickel
ff296175bc KYRA: Fix voicePlay overwrite in PC98 and Amiga sound outputs.
This was forgotten to adapt in e016e7dfc2.
2013-01-09 05:54:16 +01:00
athrxx
79eb6c898a KYRA: (EOB) - fix bug #3596548 ("Crash when using Mage Spells such as Magic Missile") 2012-12-17 20:01:24 +01:00
Johannes Schickel
6fd5f650bc KYRA: Allow user to cancel saving in EoB via ESC. 2012-11-30 18:10:51 +01:00
D G Turner
e2948313f3 KYRA: Change loop variable to uint, rather than size_t. 2012-11-30 13:08:52 +00:00
athrxx
8769022032 KYRA: fix bug #3589442 (LOL Floppy - No speech during intro) 2012-11-24 20:28:36 +01:00
Johannes Schickel
ae1403713c KYRA: Some slight cleanup. 2012-11-23 17:56:28 +01:00
Johannes Schickel
415334fbe5 KYRA: Fix bug #3589441 "KYRA: LOL DOS is broken".
In fact it affected all DOS versions of the game.
This is a regression from 93e69aa4da.
2012-11-23 17:56:22 +01:00
Johannes Schickel
c11ab39e78 KYRA: Remove unnecessary forward declaration. 2012-11-23 03:03:19 +01:00
Johannes Schickel
10c4baad5f KYRA: Move SoundDigital declaration to its own header. 2012-11-23 03:01:48 +01:00
Johannes Schickel
5a352da437 KYRA: Rename kReadSaveHeaderError to ReadSaveHeaderError. 2012-11-23 02:56:26 +01:00
Johannes Schickel
138db7f39d KYRA: Get rid of pointless SoundDigital::init method. 2012-11-23 02:54:28 +01:00
Johannes Schickel
f361a7d624 KYRA: Make Sound::hasSoundFile const again. 2012-11-23 02:50:20 +01:00
Johannes Schickel
f5a3260ee8 KYRA: Properly mark digital sfx as sfx in HoF and LoL again.
This is a regression from e016e7dfc2.
2012-11-23 02:43:38 +01:00
Johannes Schickel
bbb83f132b KYRA: Make "const type *const" use consistent.
I used this command for changing "const type * const" to "const type *const":
git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/const \([a-zA-Z0-9_]*\) \* const/const \1 \*const/g'
2012-11-19 13:06:09 +01:00
Johannes Schickel
dd551c4775 KYRA: Make more static data tables const. 2012-11-19 13:00:33 +01:00
Johannes Schickel
6437aa2c92 KYRA: Strip trailing whitespaces. 2012-11-19 12:54:42 +01:00
Johannes Schickel
b7e04fa518 KYRA: Some formatting fixes.
Powered by astyle.
2012-11-19 12:54:42 +01:00
athrxx
93eb6ec64a KYRA: (EOB) - implement simplified EGA dithering for EOB II 2012-11-18 00:03:23 +01:00
athrxx
c8a73d30cf KYRA: (EOB) - cleaning up CGA/EGA graphics code
- fix some glitches in CGA rendering mode
- revert most of 66da4777d4 (instead of having lots of EGA dithering routines throughout the whole EOB code we're going to implement some post-processing code in updateScreen())
2012-11-18 00:03:22 +01:00
athrxx
086dd66a65 KYRA: fix several GCC compile issues in previous commits 2012-11-11 19:14:33 +01:00
athrxx
93e69aa4da KYRA: clean up audio resource handling
(this was really ugly, now it's somewhat less ugly)
2012-11-11 19:14:31 +01:00
athrxx
1bb8f22567 KYRA: finish implementation of new HOF sequence player code 2012-11-11 19:14:30 +01:00
athrxx
9840744acc KYRA: move HOF sequence player into its own class
(also cleaning up and fixing things while doing that)
2012-11-11 19:14:29 +01:00
athrxx
e016e7dfc2 KYRA: implement LOL sfx priority handling 2012-11-11 19:14:28 +01:00
athrxx
8789087be9 KYRA: fix LOL sfx volume 2012-11-11 19:14:27 +01:00
athrxx
4e65b67c30 KYRA: (LoL) - fix warning in Screen_LoL::drawGridBox() 2012-11-11 19:14:26 +01:00
Johannes Schickel
745ef462fc KYRA: Add source of detection entires for LoL French floppy. 2012-08-05 17:10:49 +02:00
athrxx
11cf6145cb KYRA: update kyra.dat to match the last commit (added support for French LOL floppy) 2012-08-01 01:07:41 +02:00
athrxx
411e3dec82 KYRA: fix "bug" #3552534 (LOL Floppy FR version unknown) 2012-07-31 21:52:00 +02:00
Johannes Schickel
c7d99c155d KYRA: Fix delete[] formatting. 2012-07-25 21:09:15 +02:00
Johannes Schickel
7e2cf139a9 KYRA: Improve wording about possibly incorrect MT32->GM mapping. 2012-07-04 02:02:58 +02:00
Johannes Schickel
b2ba37a039 KYRA: Get rid of unused private class members.
Thanks to salty-horse for pointing at these.
2012-07-03 17:44:37 +02:00
Ori Avtalion
f9d2871eb4 JANITORIAL: Remove extra semicolons 2012-07-03 18:28:14 +03:00
Johannes Schickel
34c5751948 KYRA: Reduce amount of updateScreen calls.
This fixes some slowdowns in Kyra2 with the OpenGL backend for me. Most of the
updateScreen calls saved were introduced by us implementing the original
behavior of hiding the mouse before drawing onto the screen and showing it
again afterwards, since the mouse cursor is not drawn on the game screen in our
implementation (and unlike in the original) this is not necessary.
2012-06-13 04:13:16 +02:00
Johannes Schickel
52b14de72a KYRA: Mark Kyra 1 russian floppy version as fan translation. 2012-06-11 18:34:36 +02:00
athrxx
1387693168 KYRA: fix bug No. X. from http://forums.scummvm.org/viewtopic.php?t=11487
(monsters not getting hit by fireball trap)
2012-05-06 12:42:10 +02:00
athrxx
e7ba09be63 KYRA: fix bug No. VI. from http://forums.scummvm.org/viewtopic.php?t=11487
(Vaelan's Cube should be able to remove illusionary walls)
2012-05-06 12:42:08 +02:00
athrxx
89ea3e016f KYRA: fix bug No. IX. from http://forums.scummvm.org/viewtopic.php?t=11487
(experience points awarded after Knowles/Xeobs quest missing 1 point)
2012-05-06 12:42:07 +02:00
Johannes Schickel
cc1ae7b190 KYRA: Fix crahes in Kyra 1-3 and LoL when EGA/CGA graphics mode is selected.
This is a regression from 86a817beb5.

Formerly Kyra always queried the render_mode and initializes its Screen
functionality accordingly, even when the game actually only supported VGA.
While in the "Edit game..." options only VGA was selectable, the global options
still allowed for example EGA to be selected and thus messing up the internal
state. I only check the render_mode setting for EoB 1 and 2 now, which are
the only games which support the setting inside Screen.
2012-04-24 01:11:53 +02:00
Johannes Schickel
8c57c71e3a KYRA: Silence const away cast warning by using non-const versions of strpbrk and strchr. 2012-04-05 00:40:30 +02:00
Filippos Karapetis
2325b8ce24 KYRA: Fix game option comments 2012-03-25 17:05:23 +03:00
Eugene Sandulenko
3b57dc9164 KYRA: Move I18N-related commits where they belong. 2012-03-25 11:47:20 +03:00
Johannes Schickel
4b2ca672f0 KYRA: Add per-game GUI option support. 2012-03-19 21:04:29 +01:00
Christoph Mallon
e40ba4c135 JANITORIAL: Simply use *x instead of *x.get() on smart pointers. 2012-03-13 15:43:59 +01:00
Christoph Mallon
75efdd2d84 JANITORIAL: Replace (x ? false : true) by !(x). 2012-03-13 15:43:36 +01:00
Johannes Schickel
398987ad7f KYRA: Replace debug leftover for unimplemented displayText functions with a warning. 2012-03-05 20:23:01 +01:00
Johannes Schickel
9671b44df8 KYRA: Some formatting fixes. 2012-03-05 20:08:59 +01:00
Max Horn
215b41b244 COMMON: Move RenderMode and GUIOptions functionality into separate files 2012-02-26 15:19:31 +01:00
Johannes Schickel
273df3c075 KYRA: Remove obsolete registering of 16_color config file entry. 2012-02-25 19:03:38 +01:00
athrxx
30fa5e1663 KYRA: (EOB) - fix save file thumbnail generation in CGA/EGA mode 2012-02-24 18:09:39 +01:00
athrxx
3b574466fa COMMON: distinguish between 256 colors and 16 colors PC-98 rendering modes
KYRA 1 PC-98 supports both modes in the same target. The desired mode can now be selected in the rendering options. We did have good support for the 16 colors mode of KYRA 1 already. This mode could not really be selected though (except by manually modifying the config file or the code).
2012-02-24 18:09:38 +01:00
athrxx
ecd1a9f943 KYRA: (EOB) - cleanup CGA/EGA code a bit 2012-02-24 18:09:37 +01:00
athrxx
7986f1709d KYRA: (EOB) - make detection entries for EOB I more unique (bug #3488973)
This makes sure that non English versions don't get detected as English.
2012-02-21 21:48:48 +01:00
athrxx
66da4777d4 KYRA: (EOB) - implement EGA mode (hi res dithering) for EOB II
(also fix various thing connected to CGA/EGA modes)
2012-02-21 21:48:46 +01:00
athrxx
3c1e2686b8 KYRA: (EOB) - fix minor sprite drawing glitch in EOB1
(some sprites were drawn one pixel too far to the right)
2012-02-21 21:48:45 +01:00
athrxx
930bcbf2dc KYRA: (EOB) - fix minor text displayer glitch 2012-02-21 21:48:44 +01:00
athrxx
df9b1bd2e4 KYRA: (EOB) - implement EGA graphics mode for EOB1 2012-02-21 21:48:43 +01:00
athrxx
a4223e9c2b KYRA: (EOB) - fix EOB1 door clipping
(this was done in the same way as in EOB2 and LOL, but it has to be slightly different)
2012-02-21 21:48:42 +01:00
athrxx
151d314912 KYRA: (EOB) - complete CGA graphics mode implementation 2012-02-21 21:48:41 +01:00
athrxx
86a817beb5 KYRA: (EOB) - start work on CGA and EGA graphics modes 2012-02-21 21:48:39 +01:00
athrxx
66ba934398 KYRA: (EOB) - fix minor glitch in hp and food bar graphs 2012-02-21 21:48:38 +01:00
athrxx
d192fed3b5 KYRA: (EOB) - fix character hand icons
(upper thumbs should point to the right, lower thumb to the left)
2012-02-21 21:48:37 +01:00
athrxx
47005de313 KYRA: (EOB) - fix minor bug (wrongly initialized value) and some renaming 2012-02-21 21:48:37 +01:00
athrxx
70cfbcd046 KYRA: add new rendering mode gui options
(EOB should support EGA and CGA mode, but this isn't implemented yet)
2012-02-21 21:48:36 +01:00
athrxx
ab5c3e2dad KYRA: (EOB) - move EOB 1 intro code into separate class 2012-02-21 21:48:33 +01:00
Willem Jan Palenstijn
9ffe3e11d9 Merge pull request #182 from fingolfin/forbid-ctype
ALL: Avoid using is* macros from ctype.h
2012-02-21 11:33:32 -08:00
Max Horn
4f8665fc83 COMMON: Move isFoo functions to namespace Common, add doxygen comments 2012-02-20 16:18:27 +01:00
Tarek Soliman
a4798602d7 JANITORIAL: Fix missing whitespace in pointer cast
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g'

This seems to have caught some params as well which is not undesirable IMO.
It also caught some strings containing this which is undesirable so I
excluded them manually. (engines/sci/engine/kernel_tables.h)
2012-02-15 10:07:10 -06:00
Tarek Soliman
921f602ab8 JANITORIAL: Fix whitespace in pointer template arg 2012-02-15 10:07:08 -06: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
Tarek Soliman
5cf932198e KEYMAPPER: Fix Action ctor args in most keymaps 2012-02-13 23:24:59 -06:00
Johannes Schickel
ad9fdfd390 KYRA: Silence some icpc warnings by making a member array of KyraRpgGUISettings non-const.
All instances are const anyway, thus this should be a safe way to silence
the warning.
2012-02-13 23:42:25 +01:00
Tarek Soliman
edc5249772 JANITORIAL: Fix template definition whitespace 2012-02-10 21:17:27 -06:00
athrxx
cf8a6dcd83 KYRA: (EOB) - fix typo 2012-01-30 22:23:06 +01:00
Torbjörn Andersson
5e50948e9d KYRA: Remove unnecessary semicolon 2012-01-29 21:41:23 +01:00
Johannes Schickel
f11b52a097 KYRA: Prevent unnecessary removal of const in some casts. 2012-01-29 16:26:20 +01:00
Johannes Schickel
1758845af5 KYRA: Fix out of bounds access caused by a typo.
Thanks to dhewg for pointing this one out.
2012-01-21 19:31:12 +01:00