Commit Graph

207 Commits

Author SHA1 Message Date
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
Johannes Schickel
2ef8a32a01 Fixed various g++ warnings ("format not a string literal and no format arguments").
svn-id: r35096
2008-11-16 20:20:31 +00:00
Johannes Schickel
cd38ddc542 Cleanup.
svn-id: r34831
2008-10-21 11:42:08 +00:00
Johannes Schickel
d89ff31450 Cleanup.
svn-id: r34736
2008-10-03 18:23:57 +00:00
Johannes Schickel
f3469eae94 Check all 'kyra.dat' files in setup paths instead of only the first one found.
svn-id: r34735
2008-10-03 18:18:42 +00:00
Max Horn
3248906156 Engine class changed:
- Moved initCommonGFX() && GUIErrorMessage() out of class Engine
- got rid of the _autosavePeriod member (this prevented users from
  changing the autosave period during runtime)
- Got rid of an evil 'using GUI::Dialog' statement
- Clarified some Doxygen comments

svn-id: r34720
2008-10-02 17:48:01 +00:00
Johannes Schickel
6fad6711d9 Changed static resource code to use Streams instead of operating on buffers.
svn-id: r34467
2008-09-09 18:09:46 +00:00
Johannes Schickel
bd10e674a3 Got rid of all Common::File usages in Kyra.
svn-id: r34435
2008-09-07 22:30:34 +00:00
Max Horn
91df44f8f6 Merging more of the GSoC 2008 RTL branch: KYRA
svn-id: r34246
2008-09-01 17:52:50 +00:00
Florian Kagerer
bfd1723998 - add support for Italian floppy version
- more work on fm-towns music tempo

svn-id: r34067
2008-08-20 19:57:57 +00:00
Christopher Page
2d31207a81 Fixed some memory leaks
svn-id: r33846
2008-08-13 20:27:39 +00:00
Johannes Schickel
980b3f8af1 Fixed kyra to support properly support restarting of engine (for GSoC RTL, based on a patch from Chris Page).
svn-id: r33736
2008-08-10 00:36:46 +00:00
Florian Kagerer
eec2a0137d fix last commit (invalid kyra.dat game features for HOFCD)
svn-id: r33580
2008-08-03 12:50:56 +00:00
Florian Kagerer
5ae93cb108 add support for HOF Italian fan translation to kyra.dat
svn-id: r33578
2008-08-03 12:09:48 +00:00