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
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
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
Johannes Schickel
9b51b138db
KYRA: Some formatting fixes.
2011-12-26 21:34:22 +01:00
athrxx
540d081a6f
KYRA: (EOB) - initial code base commit
2011-12-26 16:18:10 +01:00
Christoph Mallon
23a0f5318c
JANITORIAL: Remove trailing empty lines.
2011-08-07 13:53:33 +02:00
athrxx
f44874f0a6
KYRA: add support for Russian Kyra 1 floppy fan translation
2011-07-27 16:38:31 +02:00
strangerke
69b1485a22
GIT: Clean up: Suppress SVN tags, now useless
2011-05-12 01:16:22 +02:00
Johannes Schickel
7d03da14cb
KYRA: Clean up of header includes.
2011-04-28 15:39:57 +02:00
Johannes Schickel
3653613443
KYRA: Add a datatype for the item ids and convert Kyra1 to use it.
...
svn-id: r53696
2010-10-22 02:09:16 +00:00
Johannes Schickel
0fe2ba6a0d
Some more enforcement of our formatting conventions in KYRA too.
...
svn-id: r49069
2010-05-17 23:29:44 +00:00
Johannes Schickel
a510481202
Clean up comment a bit.
...
svn-id: r45583
2009-10-31 19:59:48 +00:00
Johannes Schickel
45208bc53d
Fix certain scenes incorrectly appearing as fireberry bushes in floppy/FM-Towns/PC98 versions of Kyrandia 1.
...
svn-id: r45580
2009-10-31 19:52:46 +00:00
Florian Kagerer
45fda46cf3
KYRA/LOL: - get rid of ascii/sjis detection which could cause problems when typing savegame names
...
- fixed some minor bugs
svn-id: r44709
2009-10-06 17:22:40 +00:00
Max Horn
f242266f6d
Change a couple places from 'end of namespace' to 'End of namespace', for consistency
...
svn-id: r44634
2009-10-04 21:26:33 +00:00
Johannes Schickel
34e30a29b5
Make KYRA only call OSystem::updateScreen from inside Screen::updateScreen, when the screen really changed OR the palette changed.
...
svn-id: r43537
2009-08-19 16:19:55 +00:00
Johannes Schickel
a37c9164ee
Cleanup.
...
svn-id: r43533
2009-08-19 08:46:59 +00:00
Johannes Schickel
0dcb2e1183
Don't allow menu / inventory usage in o1_waitForConfirmationMouseClick, just like the original does. This prevents creating bad saves like in bug #2835715 "KYRA: GFX glitch in Amiga version at the bridge".
...
svn-id: r43283
2009-08-11 18:16:21 +00:00
Johannes Schickel
bea06dedaf
Fix bug in Amiga specific bits of o1_fadeSpecialPalette, this should make the cauldron water change color correctly.
...
svn-id: r43275
2009-08-11 15:35:13 +00:00
Johannes Schickel
676b367978
Fix Kallak's note displaying in Kyrandia 1 Amiga and Kyrandia 1 DOS CD.
...
svn-id: r43272
2009-08-11 15:34:13 +00:00
Johannes Schickel
b8111d2c6c
Fix yet another inventory background color glitch in Kyrandia 1 Amiga.
...
svn-id: r43238
2009-08-10 23:35:16 +00:00
Johannes Schickel
9fe496c740
Implement different in Kyrandia 1 Amiga in o1_setFireberryGlowPalette.
...
svn-id: r43237
2009-08-10 23:34:35 +00:00
Johannes Schickel
0d4e110d79
Proper implementation of o1_fadeSpecialPalette for Kyrandia 1 Amiga.
...
svn-id: r43233
2009-08-10 22:54:25 +00:00
Johannes Schickel
1a4e1ef112
Fix o1_makeAmuletAppear for Kyrandia 1 Amiga.
...
svn-id: r43231
2009-08-10 22:18:33 +00:00
Johannes Schickel
a245dc4466
Implement differences for Kyrandia 1 Amiga in o1_setCustomPaletteRange.
...
svn-id: r43222
2009-08-10 19:10:11 +00:00
Johannes Schickel
31691eb6bf
Removed some obsolete TODOs.
...
svn-id: r41954
2009-06-29 17:05:49 +00:00
Johannes Schickel
73ea378dee
- Changed the following Screen functions to take a reference to a Palette object:
...
-> setScreenPalette
-> fadePalette
-> getFadeParams
-> fadePalStep
- Fixed initialization of 256 color palettes
svn-id: r41743
2009-06-22 02:36:54 +00:00
Johannes Schickel
4bb392b593
Add wrapper functionality for copying full palettes.
...
svn-id: r41742
2009-06-22 02:36:16 +00:00
Johannes Schickel
882662977f
Changed Screen::getPalette to return a reference to a Palette object.
...
svn-id: r41741
2009-06-22 02:35:45 +00:00
Johannes Schickel
ac46c98fb8
- Moved Screen_v2::copyWsaRect to Screen::copyWsaRect
...
- Made WSAMovie_v1::displayFrame code match the original
- Changed WSAMovieAmiga::displayFrame to use Screen::copyWsaRect too
- Got rid of '...' parameter usage in all WSA player classes
svn-id: r41398
2009-06-09 11:26:15 +00:00
Johannes Schickel
c7ee0a7ec8
More formatting.
...
svn-id: r40994
2009-05-29 13:09:26 +00:00
Johannes Schickel
344caa88fc
Make various Sound functionality SoundHandle instead of filename based.
...
- This fixes multiple sounds being played at once in Lands of Lore
svn-id: r40848
2009-05-24 01:29:09 +00:00
Johannes Schickel
c87f3199f8
Reserve opcode array entries beforehand, should save some reallocation and copying.
...
svn-id: r40798
2009-05-23 00:05:16 +00:00
Florian Kagerer
dd84aaf648
LOL: - added some spell casting (spark, heal, swarm)
...
- fixed several bugs (not the one in the fighting system though)
- added several opcodes. there shouldn't be any real show stoppers in the draracle cave now.
- simplified wsa code (which required 4 lines of code for displaying a frame)
- added support for wsa animations that don't have a last frame (apparently kyra 2 and 3 don't have this type of wsa file)
svn-id: r40420
2009-05-10 13:40:28 +00:00
Eugene Sandulenko
696897b058
Whoa! Removing trailing spaces.
...
svn-id: r35648
2009-01-01 15:06:43 +00:00
Florian Kagerer
5aec3bbc64
KYRA1: fixed Serpent Cave/Malcolm scene (where Brandon would instantly get killed without having a chance to grab the dagger)
...
svn-id: r35429
2008-12-18 21:21:09 +00:00
Johannes Schickel
696ed52959
Switched kyra1 to use the same input functionality as kyra2 and kyra3.
...
svn-id: r35393
2008-12-16 17:40:34 +00:00
Max Horn
9b160804ab
Renamed Engine::quit to Engine::shouldQuit (previously, it was easily confused with Engine::quitGame); also cleaned up engine.h a bit
...
svn-id: r34700
2008-09-30 12:27:38 +00:00
Johannes Schickel
a716fe8393
Implemented opcode 151: o1_resetMaskRegion
...
svn-id: r34524
2008-09-14 15:36:16 +00:00
Johannes Schickel
64910f8c5f
Little cleanup.
...
svn-id: r32262
2008-05-24 23:05:01 +00:00
Johannes Schickel
335eb1bf08
Committed my fix for bug #1497437 "KYRA1: Subtitles glitch during 'Speech of the Land'".
...
svn-id: r32260
2008-05-24 22:47:08 +00:00
Johannes Schickel
fad7e1f3c1
Reverted commit #32166 .
...
svn-id: r32170
2008-05-18 13:22:06 +00:00
Johannes Schickel
c72ac9916c
Formatting.
...
svn-id: r32168
2008-05-18 13:03:03 +00:00
Johannes Schickel
1ea774e95f
Fixed fillRect opcode for HoF.
...
svn-id: r32166
2008-05-18 08:04:12 +00:00
Johannes Schickel
4db0bd9046
Two more KyraEngine_LoK opcodes renamed.
...
svn-id: r32057
2008-05-12 13:19:11 +00:00
Johannes Schickel
56d2603d4f
- Some more opcodes moved to KyraEngine_v1
...
- Yet more naming consistency fixes
svn-id: r32056
2008-05-12 13:11:42 +00:00
Johannes Schickel
1a52c5283a
- Yet more opcodes moved to KyraEngine_v1
...
- Renamed some opcodes inside KyraEngine_LoK
svn-id: r32055
2008-05-12 12:57:42 +00:00
Johannes Schickel
574af78acb
- Moved some opcodes to KyraEngine_v1
...
- Little variable renaming
svn-id: r32053
2008-05-12 12:42:10 +00:00
Johannes Schickel
6e0c569966
Consisteny fixes:
...
- Renamed classes *_v1 -> *_LoK
- Renamed files *_v1.* -> *_lok.*
- Renamed WSAMovieV1 -> WSAMovie_v1
- Renamed WSAMovieV2 -> WSAMovie_v2
svn-id: r32042
2008-05-11 22:32:37 +00:00