Johannes Schickel
b79c2156d0
KYRA: Make GPL headers consistent in themselves.
2014-02-18 02:39:35 +01:00
Johannes Schickel
5b1557adbf
KYRA: Properly check for empty rects in wsaFrameAnimationStep.
...
Discovered by covertiy (CID #1003839 ).
2013-11-10 12:49:58 +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
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
Christoph Mallon
75efdd2d84
JANITORIAL: Replace (x ? false : true) by !(x).
2012-03-13 15:43:36 +01:00
Johannes Schickel
c96e5de291
KYRA: Some formatting fixes.
2011-12-27 02:37:25 +01:00
Johannes Schickel
487e73bd21
KYRA: Merge Screen_Rpg with Screen (for now).
...
This should(!) fix ARM compilation issues due to virtual inheritance.
2011-12-26 19:32:05 +01:00
Christoph Mallon
23a0f5318c
JANITORIAL: Remove trailing empty lines.
2011-08-07 13:53:33 +02:00
strangerke
69b1485a22
GIT: Clean up: Suppress SVN tags, now useless
2011-05-12 01:16:22 +02:00
Florian Kagerer
ec680ef8aa
LOL: fixed bug #3099321
...
(Crash in Yvel tavern basement)
svn-id: r53973
2010-10-31 00:20:30 +00:00
Florian Kagerer
5ce63fb78f
KYRA: fix regression in Screen_v2::generateOverlay()
...
(very noticeable in LOL PC-98)
svn-id: r53102
2010-10-09 14:55:33 +00:00
Johannes Schickel
feff6fecdf
KYRA: Cleanup.
...
svn-id: r52340
2010-08-24 13:41:24 +00:00
Johannes Schickel
13824582d1
LOL: Minor adjustment to latest generateOverlay changes.
...
svn-id: r51705
2010-08-03 16:43:57 +00:00
Johannes Schickel
14c9522d77
KYRA: Fix Screen_v2::generateOverlay implementation.
...
svn-id: r51703
2010-08-03 16:21:45 +00:00
Johannes Schickel
b149ca89d5
KYRA3: Fix bug in Screen_v2::generateOverlay.
...
Uncovered by a valgrind warning.
svn-id: r51698
2010-08-03 15:09:39 +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
f9b075c50a
Change Screen_v2::findLeastDifferentColor to take a Palette object as source.
...
svn-id: r41886
2009-06-25 20:00:52 +00:00
Johannes Schickel
6e69a149cd
Change Screen_v2::generateOverlay to take a const Palette reference instead of a pointer.
...
svn-id: r41881
2009-06-25 19:57:06 +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
b448d506b8
Start refactoring palette handling into new class "Palette".
...
svn-id: r41739
2009-06-22 02:34:35 +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
b85b408838
- Fix Screen_v2::wsaFrameAnimationStep, now the MR album and LoL intro demo WSAs will be correctly played
...
- Made album page change in MR a bit slower, so it's visible at least
svn-id: r41362
2009-06-08 02:26:33 +00:00
Johannes Schickel
783fb058b0
Formatting.
...
svn-id: r40717
2009-05-19 01:39:18 +00:00
Johannes Schickel
7561bd9dfb
Remov lots of superfluous debug output.
...
svn-id: r40715
2009-05-19 01:13:29 +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
Florian Kagerer
ccb64ad81e
LOL: - Started implementing the fighting system. The damage inflicted is wrong, however (at least the damage inflicted by the monsters). I'm sowewhat clueless about that bug atm.
...
- added support for monsters with distance attacks (like those orcs in front of roland's house)
- lots of small bug fixes
- Some startup support for the pc-98 16 color version. The intro will run, but the font drawing/coloring is still wrong.
svn-id: r40144
2009-04-25 13:15:05 +00:00
Florian Kagerer
ff268e8fd5
LOL: Some drawing code and some opcodes so that the first scene will show up. Playing is not possible. This is still somewhat messy since a lot of stuff hasn't been figured out yet.
...
svn-id: r35903
2009-01-18 17:04:24 +00:00
Eugene Sandulenko
696897b058
Whoa! Removing trailing spaces.
...
svn-id: r35648
2009-01-01 15:06:43 +00:00
Johannes Schickel
5e0df8ad8e
Committed slightly modified patch #2029395 "KYRA: Lands of Lore Intro + Character selection".
...
svn-id: r33463
2008-07-31 10:47:15 +00:00
Johannes Schickel
7e7468b322
- Fixed fadePalette for HoF and Kyra3
...
- Fixed bug in wsaFrameAnimationStep
svn-id: r33334
2008-07-27 12:12:40 +00:00
Johannes Schickel
bb03596744
- Renamed KyraEngine to KyraEngine_v1
...
- kyra.* -> kyra_v1.*
- scene.cpp -> scene_v1.cpp
svn-id: r32044
2008-05-11 23:16:50 +00:00
Johannes Schickel
35d01db1aa
Implemented page switch animation in kyra3 album.
...
svn-id: r32023
2008-05-11 15:57:50 +00:00
Johannes Schickel
5082419fe9
Fixed bug in Screen_v2::makeShapeCopy.
...
svn-id: r31986
2008-05-10 19:29:13 +00:00
Johannes Schickel
52003bc195
Added missing files, compiling should work again.
...
svn-id: r31818
2008-05-02 14:48:19 +00:00
Johannes Schickel
4b5f3266cf
Started to refactor kyra2/kyra3 code to a common base. (regressions possible, compiling currently broken)
...
svn-id: r31817
2008-05-02 14:46:30 +00:00
Johannes Schickel
1f91dc0384
- some refactoring for Kyra3
...
- removed unneeded map code in KyraEngine_v3
svn-id: r31488
2008-04-12 23:17:21 +00:00
Florian Kagerer
25b9a8a1cb
New drawShape code for Kyra 1 and 2. Scaled sprites no longer appear mutilated. This also fixes bug #1582675 (KYRA1: Brandon standing IN the floor).
...
This still needs some testing (for both Kyra 1 and Kyra 2).
svn-id: r31306
2008-03-29 23:16:44 +00:00
Johannes Schickel
88069c943a
Proper fix for bug #1920869 "HoF: palette artifacts in inventory".
...
svn-id: r31208
2008-03-21 12:51:03 +00:00
Johannes Schickel
cb22a83034
- made Screen_v2::applyOverlay support dirty rect handling
...
- fixed copyRegion flags in KyraEngine_v2::scrollInventoryWheel
svn-id: r31206
2008-03-20 12:29:35 +00:00
Johannes Schickel
558625ff45
Fixed bug #1920869 "HoF: palette artifacts in inventory".
...
svn-id: r31204
2008-03-20 12:07:06 +00:00
Johannes Schickel
130cfded75
Implement inventory scrolling for HoF.
...
svn-id: r31043
2008-03-05 17:38:12 +00:00
Johannes Schickel
b651a74b45
Started to implement GUI code for HoF.
...
Currently working:
- _basic_ inventory, this doesn't include scrolling through the inventory
svn-id: r31038
2008-03-03 22:38:31 +00:00
Johannes Schickel
b407420ebb
Committed patch #1885629 "KYRA: HoF missing talkie credits and demo support".
...
svn-id: r30845
2008-02-10 18:34:48 +00:00
Jordi Vilalta Prat
66e9d4f5e8
Removed trailing spaces.
...
svn-id: r30664
2008-01-27 19:47:41 +00:00
Johannes Schickel
28a57c434a
Cleanup(/formatting).
...
svn-id: r29983
2007-12-24 22:27:30 +00:00
Oystein Eftevaag
eb42e8271e
Committing '[ 1824376 ] KYRA: more sequence player code' from Florian, with a couple of warnings fixed
...
svn-id: r29417
2007-11-05 08:23:57 +00:00
Oystein Eftevaag
41d67964b1
Committing [ 1816080 ] KYRA: Intro Patch for HoF, from Florian, with some cleanup and a minor fix
...
svn-id: r29233
2007-10-19 22:16:00 +00:00
Johannes Schickel
cf3fd283bb
HoF:
...
- added support for dropping items into scenes
- added const to some static data
- implemented opcode 0x55 o2_setLayerFlag
- fixed a bug in Screen_v2::drawShape
svn-id: r29175
2007-10-09 04:47:41 +00:00
Nicola Mettifogo
258901bab9
Merged common/stdafx.h into common/scummsys.h. All referencing files have been updated.
...
svn-id: r28966
2007-09-19 08:40:12 +00:00