Commit graph

54 commits

Author SHA1 Message Date
Nicola Mettifogo
b2e5905327 * Adapted Kyra to the new IFFParser interface.
* Adapted the new IFFParser to Kyra (slightly).
The Kyra1 demo on the website works.

svn-id: r41468
2009-06-12 09:49:38 +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
a4292afcdc Formatting and whitespaces again.
svn-id: r41120
2009-06-02 00:10:13 +00:00
Johannes Schickel
bccca104d0 - Add support for the Lands of Lore outro TIM file
- Cleanup

svn-id: r41053
2009-05-31 00:42:44 +00:00
Florian Kagerer
a126a05dc4 LOL: implemented some opcodes required for yvel city
svn-id: r41041
2009-05-30 19:48:13 +00:00
Johannes Schickel
c7ee0a7ec8 More formatting.
svn-id: r40994
2009-05-29 13:09:26 +00:00
Johannes Schickel
64e6c596c7 Formatting.
svn-id: r40991
2009-05-29 12:52:03 +00:00
Johannes Schickel
c0302661ed Cleanup.
svn-id: r40850
2009-05-24 01:37:51 +00:00
Florian Kagerer
5a4b3c5441 KYRA/LOL: restructured voice playing code so that audio compression can be supported
svn-id: r40839
2009-05-23 23:33:31 +00:00
Johannes Schickel
e51481d69b Remove trailing tabs/whitespaces.
svn-id: r40760
2009-05-21 13:13:09 +00:00
Johannes Schickel
273b93f3a7 Preliminary support for LoL intro demo.
svn-id: r40705
2009-05-18 21:45:09 +00:00
Johannes Schickel
b1bdbef419 Add some code differences for LoL intro demo.
svn-id: r40696
2009-05-18 19:53:57 +00:00
Florian Kagerer
80ed10fc72 LOL: - implemented fog spell
svn-id: r40673
2009-05-18 01:39:58 +00:00
Florian Kagerer
70a7fab1e6 LOL: - fix animations for fletcher shop in the swamp
svn-id: r40655
2009-05-17 15:54:29 +00:00
Johannes Schickel
76984ded25 Add proper error checking in file parsing code.
svn-id: r40489
2009-05-12 14:35:50 +00:00
Johannes Schickel
8524bf3a25 Change script file loading code to use Common::IFFParser instead of a self written IFF reader.
svn-id: r40488
2009-05-12 14:18:08 +00:00
Johannes Schickel
cf3ea8eec2 Cleanup.
svn-id: r40479
2009-05-12 12:20:45 +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
6e566a9b1e LOL: added some drawing code and fixed some bugs
svn-id: r40167
2009-04-27 19:38: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
74fdcca04e LOL: startup fix for floppy version
svn-id: r39875
2009-04-06 17:09:02 +00:00
Florian Kagerer
e9b4124f1d LOL: - implemented lots of opcodes and fixed a few bugs
- it's now possible to leave the castle

svn-id: r39653
2009-03-24 07:18:16 +00:00
Florian Kagerer
769184c483 LOL: added some new drawing code required for some shapes and fixed a minor text displaying bug
svn-id: r39487
2009-03-17 18:27:56 +00:00
Florian Kagerer
52726344b7 LOL: - implemented item throwing
svn-id: r39455
2009-03-16 21:20:34 +00:00
Florian Kagerer
dcf32be3f6 LOL: - added some missing animations for the shops
- added support for dropping/picking up items (no throwing yet)

svn-id: r39422
2009-03-15 16:48:20 +00:00
Florian Kagerer
7fe0592f0f LOL: magic atlas can now be picked up (but it can't be used)
svn-id: r39393
2009-03-14 15:06:02 +00:00
Florian Kagerer
092f2a37e3 LOL: - complete support for the three "special rooms" in the castle
svn-id: r39391
2009-03-14 13:48:12 +00:00
Johannes Schickel
3a35b5b5f2 - Make Lands of Lore compileable optionally as suggested by _sev. (via ENABLE_LOL define)
- Change default build system to support LoL as a subengine of KYRA. LoL is currently disabled by default.

(- Minor enum name fixes for Lands of Lore code.)

svn-id: r39099
2009-03-04 00:45:34 +00:00
Florian Kagerer
a43b0bc2dc LOL: - more work on the user interface
- fixed non interactive demo

svn-id: r38374
2009-02-16 17:17:15 +00:00
Florian Kagerer
16a57f299c LOL: - implemented proper button processing (works exactly as in Kyra 2 and 3, so we do have some code duplication atm, I just fixed right mouse button support for LOL)
- keyboard control now works

svn-id: r38190
2009-02-15 03:36:30 +00:00
Florian Kagerer
44e6c3c630 KYRA: cleanup
svn-id: r36207
2009-02-02 23:20:55 +00:00
Johannes Schickel
574a7924df Implemented per voice volume control. (Used for example in LoL intro)
svn-id: r36184
2009-02-01 20:35:51 +00:00
Johannes Schickel
68b7cb265d Oops removed accidently commited code.
svn-id: r36182
2009-02-01 20:13:05 +00:00
Johannes Schickel
dda109ead3 Fixed compilation for now.
svn-id: r36179
2009-02-01 19:53:12 +00:00
Florian Kagerer
784c99b3da svn-id: r36178 2009-02-01 19:27:01 +00:00
Eugene Sandulenko
696897b058 Whoa! Removing trailing spaces.
svn-id: r35648
2009-01-01 15:06:43 +00:00
Johannes Schickel
17a699a438 Cleanup.
svn-id: r35179
2008-11-30 02:54:39 +00:00
Johannes Schickel
64fe71fed3 Added a member function loadSoundFile to Sound which accepts a filename string instead of a filename list id.
svn-id: r33527
2008-08-02 15:05:19 +00:00
Johannes Schickel
eb9462c1a0 Removed debugging leftover.
svn-id: r33464
2008-07-31 10:52:29 +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
985a032871 Typo.
svn-id: r32990
2008-07-10 12:14:00 +00:00
Johannes Schickel
a117024d23 Added filename to unkown command/opcode warnings for TIM scripts.
svn-id: r32989
2008-07-10 12:12:42 +00:00
Johannes Schickel
092d9f38c5 Workaround for gcc 2.95 compiler bug.
svn-id: r32986
2008-07-10 11:25:43 +00:00
Johannes Schickel
df1aa7809a Added const to some static data.
svn-id: r32763
2008-06-24 13:59:48 +00:00
Johannes Schickel
0ca4ff8840 Should fix gcc warning
svn-id: r32482
2008-06-01 23:51:41 +00:00
Johannes Schickel
cc2b35ee1f Cleanup
svn-id: r32469
2008-06-01 15:18:58 +00:00
Johannes Schickel
85a3f389ae Some paranoia checks in TIMInterpreter::refreshTimersAfterPause.
svn-id: r32468
2008-06-01 15:15:12 +00:00
Florian Kagerer
5b3a6fac63 - (hopefully) fix valgrind warning for installer file decompression
- some more pauseEngineIntern code for Hof

svn-id: r32462
2008-06-01 13:19:45 +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
3d9ea59616 Changed kyra to use delete[] instead of delete [].
svn-id: r31925
2008-05-07 14:20:37 +00:00