Commit Graph

1491 Commits

Author SHA1 Message Date
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
0ce597db80 LOL: - added drawing code for certain gfx (blood and slime spots on the floor, teleporters, ice walls)
svn-id: r39599
2009-03-21 20:24:36 +00:00
Florian Kagerer
29ebafb5d5 LOL: implemented some missing drawing code for dead monsters
svn-id: r39589
2009-03-21 15:33: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
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
Johannes Schickel
4d84ae9f20 Align ScummVM version string properly.
svn-id: r39432
2009-03-15 21:25:15 +00:00
Florian Kagerer
c826106e44 LOL: - implemented original style random number generator for moving around the monsters
svn-id: r39425
2009-03-15 18:21:33 +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
Johannes Schickel
f1079ef624 Cleanup.
svn-id: r39421
2009-03-15 14:55:48 +00:00
Johannes Schickel
0e8bd97367 Fix for loading Kyra1 Amiga PAK files.
svn-id: r39420
2009-03-15 14:48:08 +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
Filippos Karapetis
f496f9932d Wrap the code in text_lol.* around ENABLE_LOL checks
svn-id: r39346
2009-03-11 22:58:26 +00:00
Florian Kagerer
f2a066e42f LOL: - some opcodes and interface code so that you can at least get out of the shops and Geron's room
svn-id: r39284
2009-03-10 00:32:20 +00:00
Max Horn
5181546c63 Rewrote Common::List iterator code to ensure const correctness is preserved.
We tried to implement the list iterators in a clever way, to reduce code
duplication. But this is essentially impossible to do properly, sadly --
this is one of the places where the ugly drawbacks of C++ really show.
As a consequence, our implementation had a bug which allowed one to
convert any const_iterator to an iterator, thus allowing modifying
elements of const lists.

This rewrite reintroduces code duplication but at least ensures that no
const list is written to accidentally.

Also fix some places which incorrectly used iterator instead of const_iterator
or (in the kyra code) accidentally wrote into a const list.

svn-id: r39279
2009-03-09 22:26:02 +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
76ab92f8ec LOL: added scene animations (like that fountain right at the start)
svn-id: r39251
2009-03-09 01:57:42 +00:00
Florian Kagerer
6d9a047276 LOL: minor fix for text displayer (text pages now advance automatically when the speech has reached the next part)
svn-id: r39250
2009-03-09 00:54:27 +00:00
Florian Kagerer
6cb3f665af LOL: some more work on the text displayer so that it handles longer texts (needed for some library books)
svn-id: r39249
2009-03-08 23:28:19 +00:00
Johannes Schickel
de6f1ec597 Oops, fix size argument to memset call.
svn-id: r39230
2009-03-08 14:33:18 +00:00
Johannes Schickel
8318750f41 - Cleanup
- Add FIXME

svn-id: r39225
2009-03-08 13:32:27 +00:00
Johannes Schickel
3524032314 Cleanup.
svn-id: r39224
2009-03-08 13:28:22 +00:00
Johannes Schickel
275cf8a383 Cleanup.
svn-id: r39221
2009-03-08 13:11:06 +00:00
Florian Kagerer
edc18a2299 LOL: some opcodes for the library room (so that the game will at least not freeze when clicking one of the books)
svn-id: r39210
2009-03-08 03:26:21 +00:00
Florian Kagerer
e23fd08dfb LOL: fixed bug reported by MD5 (crashes and freezes caused by calls to non-existent sub scripts)
svn-id: r39209
2009-03-08 02:17:14 +00:00
Max Horn
f9ecd95d69 Whitespace cleanup: Convert space followed by tab to just tab
svn-id: r39203
2009-03-07 19:24:31 +00:00
Florian Kagerer
826638d45b LOL: - implemented some opcodes(
svn-id: r39187
2009-03-07 15:46:21 +00:00
Florian Kagerer
d262073193 LOL: - some opcodes for the first throne room sequence
svn-id: r39168
2009-03-06 23:59:12 +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
Jordi Vilalta Prat
047f116515 Renamed MetaEngine::getCopyright() to getOriginalCopyright() to better match the meaning of the returned string, as discussed some time ago in scummvm-devel
svn-id: r39132
2009-03-05 12:04:58 +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
Filippos Karapetis
f006f94914 Fixed compilation when ENABLE_LOL is not set
svn-id: r39123
2009-03-04 10:53:36 +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
3f2af1e8a1 LOL: implemented some walking code for the monsters
svn-id: r39097
2009-03-03 22:32:39 +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
Max Horn
3fcbda829a Merged Engine::go() and ::init() into a new run() method (currently implemented by calling the existing init&go methods; to be cleaned up by engine authors
svn-id: r39002
2009-03-01 04:30:55 +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
b5b4cb66a1 LOL: implemented timers (only text fading for now)
svn-id: r38766
2009-02-21 23:20:14 +00:00
Florian Kagerer
8a95f02abf LOL: some work on inventory/item handling
svn-id: r38711
2009-02-21 17:24:50 +00:00
Johannes Schickel
bc39dc9d75 Fix valgrind warning about mismatched delete.
svn-id: r38429
2009-02-17 18:01:52 +00:00
Johannes Schickel
33934251cb Fix for long delay while fading palette in Zanthia's home, when mixing potions.
svn-id: r38425
2009-02-17 17:17:47 +00:00
Florian Kagerer
57749fc9af LOL: fixed invalid memory access
svn-id: r38383
2009-02-16 21:46:02 +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
Willem Jan Palenstijn
8b38d0677a portability fix for platforms with unsigned char
svn-id: r38229
2009-02-15 12:11:27 +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
6c586b3d44 LOL: fixed a bug in moveParty() and implemented some more gui code
svn-id: r36328
2009-02-14 14:33:26 +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