Commit Graph

2660 Commits

Author SHA1 Message Date
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
Johannes Schickel
8b391399cc KYRA: Fix for bug #3474339 "KYRA1CD: Ingame animation missing".
This was a regression from 6a3d0e7129.

This still assures that the workaround for bug #1498221 works.
2012-01-16 17:06:28 +01:00
athrxx
26a692ff5c KYRA: (EOB) - change behavior of safe game file importing code
- The initial import of original save files will now use the next free available slots instead of moving the original files to the top of the save file list
- add error check to loading routine for original saves
- also limit debug console command to main menu, since it causes issues when used during the game or during character generation
2012-01-16 16:52:13 +01:00
athrxx
d355c536c4 KYRA: (EOB) - add support for original save game files
The engine will try to import original save game files once per target (especially the "Quick Start Party").
Afterwards the user can manually import save files with the debug console.
2012-01-15 13:36:50 +01:00
Johannes Schickel
6a3d0e7129 KYRA: Make workaround for bug #1498221 work again.
The bug in question is "KYRA1: Glitches when meeting Zanthia".

This is a regression from 0af418e7ea as far as
I can tell.
2012-01-14 17:04:35 +01:00
Johannes Schickel
c805e5f5dc KYRA: Fix missing debug commands.
This is a regression from cfac223cee.
2012-01-14 17:04:35 +01:00
athrxx
cc3fc3f3da KYRA: fix regression in non-playable HOF demo
(missing animated items)
2012-01-08 23:59:10 +01:00
Johannes Schickel
d66bfb131c KYRA: Cleanup v2 item animation a little bit. 2012-01-08 23:00:41 +01:00
Tarek Soliman
12d1a9d37f KYRA: Fix LoL/EoB savegame typing issue with keymapper
If you bind letters (e.g. WSAD) using the keymapper and then try to
save using the in-engine dialog, the letters would get captured and
make it impossible to name a save using those letters.

Thanks LordHoto
2012-01-07 22:20:48 -06:00
athrxx
eaa5d50c3f KYRA: (EOB) - add basic distinction between music and sound effects
(The original code of the DOS version does not distinguish here, but
we do it anyway so as to make more sense of the GMM volume settings)
2012-01-06 14:45:38 +01:00
athrxx
6e45741b17 KYRA: (EOB) - cleanup eob/lol version of delayUntil() 2012-01-06 14:44:34 +01:00
athrxx
76dec42469 KYRA: (EOB) - improved eob target detection in transfer party dialog
(parse domains instead of save files)
2012-01-03 17:37:47 +01:00
athrxx
4fd0e9e94b KYRA: (EOB) - improve keyboard control for spell book cursor with non QWERTZ keyboards 2012-01-03 17:37:46 +01:00