Commit Graph

1502 Commits

Author SHA1 Message Date
Florian Kagerer
353e0bef7a LOL: - this should fix a text displayer bug that occured when speaking to the compass gui
svn-id: r39848
2009-04-04 16:13:52 +00:00
Florian Kagerer
caf585bcb1 LOL: - minor item drawing bug fix
svn-id: r39840
2009-04-04 14:10:53 +00:00
Johannes Schickel
bff93a38ae Formatting.
svn-id: r39839
2009-04-04 13:19:33 +00:00
Florian Kagerer
31118416ab LOL: - minor sfx bug fix
svn-id: r39836
2009-04-04 12:56:49 +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
Johannes Schickel
2b7af654bd Fix invalid memory writes.
svn-id: r39727
2009-03-28 16:35:54 +00:00
Florian Kagerer
7bfa1455bc LOL: - implemented opcode required for operating the floor plates in the thugs' cave)
- fixed bug (only one of the two thugs in front of the cave was deleted when sneaking into the cave)

svn-id: r39721
2009-03-28 12:58:34 +00:00
Johannes Schickel
8dda5f4070 Formatting.
svn-id: r39720
2009-03-28 12:08:43 +00:00
Florian Kagerer
8875fdcded LOL: - Level temp data now get stored in memory so you can now return to a level without everything being broken. Temp data isn't saved to disk. Since total memory requirement for storing this data won't exceed ~100kb I'd rather save memory in other places (like removing some screen page buffers)
- Implemented some more opcodes and fixed some bugs (You can now safely pick up coin pouches. The lamp seems to work fine, too).

svn-id: r39719
2009-03-28 11:58:22 +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
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