Commit Graph

220 Commits

Author SHA1 Message Date
Johannes Schickel
64e6c596c7 Formatting.
svn-id: r40991
2009-05-29 12:52:03 +00:00
Johannes Schickel
2bcf5c0552 - Moved Sound implementation declarations to the newly added file sound_intern.h
- Added support for PC Speaker sound in all Kyra1, Kyra2 and Lands of Lore
- Slight cleanup

svn-id: r40939
2009-05-27 14:40:37 +00:00
Johannes Schickel
7c1eb05714 Strip trailing whitespaces.
svn-id: r40866
2009-05-24 15:06:28 +00:00
Florian Kagerer
cbce9e1179 LOL: implemented fireball spell
svn-id: r40813
2009-05-23 18:43:04 +00:00
Florian Kagerer
32533af8cf LOL: (temporary) fix for button callback assignment. The automatic list capacity increase seems to fail somehow.
svn-id: r40786
2009-05-22 18:14:00 +00:00
Johannes Schickel
f7b1aa2a8e Fix crash when playing LoL demo.
svn-id: r40780
2009-05-22 00:37:41 +00:00
Johannes Schickel
230277739c Cleanup.
svn-id: r40779
2009-05-22 00:21:14 +00:00
Johannes Schickel
31b009e027 Fix RTL in Lands of Lore.
svn-id: r40778
2009-05-22 00:19:25 +00:00
Florian Kagerer
5076b06bb6 LOL: - implemented Lightning Spell
svn-id: r40776
2009-05-21 22:29:49 +00:00
Florian Kagerer
d66365f376 LOL: fixed automap
svn-id: r40701
2009-05-18 20:28:08 +00:00
Florian Kagerer
4c2d4a453d LOL: implemented loading and saving via Alt/Ctrl + number keys
svn-id: r40631
2009-05-16 23:16:02 +00:00
Florian Kagerer
03dffbcc18 LOL: - implemented inventory screen status icons
svn-id: r40463
2009-05-11 19:03:40 +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
Johannes Schickel
eade2fdb44 Formatting.
svn-id: r40202
2009-04-29 15:19:05 +00:00
Johannes Schickel
c0cce2a52f Cleanup.
svn-id: r40199
2009-04-29 11:34:23 +00:00
Johannes Schickel
4f9ea1c920 Fix out of bounds array access (as reported by DrMcCoy).
svn-id: r40197
2009-04-29 11:31:59 +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
Johannes Schickel
3deae9fc8b Add HACK to support DOS music in Kyra1 Mac CD based on patch #2767489 "KYRA1: Support for Mac CD".
svn-id: r39962
2009-04-16 12:31:17 +00:00
Florian Kagerer
3d608dda3e LOL: - reverted last commit which would break map shape drawing (I have now changed the map shape coordinates to decimal numbers though since some compiler seems to complain about signed hex numbers)
- added support for placing items in wall niches (like that one in the thugs' cave)

svn-id: r39823
2009-04-04 00:19:34 +00:00
Filippos Karapetis
3d556dd9e0 Fixed compilation (a signed byte cannot hold such big values)
svn-id: r39821
2009-04-03 23:06:42 +00:00
Florian Kagerer
9638c7ec4b LOL: - added support for magic atlas
- fixed minor palette bug

svn-id: r39818
2009-04-03 21:32:50 +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
b55602180d LOL: The guards will now attack you when you throw certain items at them. They can't do any damage though, since this isn't implemented yet.
svn-id: r39582
2009-03-21 14:30:25 +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
092f2a37e3 LOL: - complete support for the three "special rooms" in the castle
svn-id: r39391
2009-03-14 13:48:12 +00:00
Florian Kagerer
cbf2602783 LOL: - fixed inventory bug
- fixed monster speed

svn-id: r39275
2009-03-09 20:34:36 +00:00
Florian Kagerer
8639e34b41 LOL: - doors can now be opened and closed
- some more work on monster walk code

svn-id: r39166
2009-03-06 22:53:08 +00:00
Johannes Schickel
efd7c2eac9 Ease conditional LoL compiling with build systems not based on the default one.
svn-id: r39125
2009-03-04 11:53:25 +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
b42b7a8b40 LOL: implement some opcodes for dialogue sequences
svn-id: r39051
2009-03-01 20:37:57 +00:00
Florian Kagerer
7ea5cefef4 LOL: implemented some monster related code (monsters now get placed in the maze, but they still don't do anything)
svn-id: r39039
2009-03-01 14:45:30 +00:00
Florian Kagerer
837ca0683e LOL: - some more work on the interface (you can now click on the banners and windows) and some bug fixes
svn-id: r38818
2009-02-23 20:17:53 +00:00
Florian Kagerer
8a95f02abf LOL: some work on inventory/item handling
svn-id: r38711
2009-02-21 17:24:50 +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
dee51a77b5 LOL: fix bug in kyra.dat
svn-id: r38246
2009-02-15 14:49:01 +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
02c149e174 LOL: fixed bug in text displayer and some cleanup
svn-id: r36327
2009-02-14 13:55:00 +00:00
Florian Kagerer
f065524949 LOL:
- implemented some input code
- you can walk around now (not very far though, since doors don't work yet). Keyboard control is still missing
- processButtonList isn't really implemented yet for LOL. I'll still have to check which features are  needed here.

svn-id: r36320
2009-02-14 00:51:07 +00:00
Florian Kagerer
784c99b3da svn-id: r36178 2009-02-01 19:27:01 +00:00
Max Horn
2d866c0483 Renamed Kyra's Resource::getFileStream to createReadStream
svn-id: r36022
2009-01-23 04:57:18 +00:00
Max Horn
9861afd8fd Renamed ArchiveMember::open -> createReadStream, and made it a cv member (const); same for Archive::openFile
svn-id: r36020
2009-01-23 04:36:18 +00:00
Florian Kagerer
44918f5f16 LOL: basic music support and some cleanup
svn-id: r35917
2009-01-18 23:50:31 +00:00
Florian Kagerer
35c8fd4dad LOL: fix some valgrind warnings
svn-id: r35910
2009-01-18 18:20:33 +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
6639ba726c Extended some comments.
svn-id: r35606
2008-12-29 14:06:31 +00:00
Florian Kagerer
d81782977e LOL: - fixed some bugs in the main menu code (premature pak file unloading etc.) and added floppy support
svn-id: r35595
2008-12-28 22:09:31 +00:00
Johannes Schickel
91de740d44 Implemented (some) main menu code for LoL.
svn-id: r35553
2008-12-26 11:04:45 +00:00
Johannes Schickel
6fd1d462cf Added MIDI SFX Map, fixes SFX in HoF.
svn-id: r35181
2008-11-30 05:11:40 +00:00