Commit Graph

31355 Commits

Author SHA1 Message Date
Johannes Schickel
6782d3efac Change LoLEngine::delay to be conform with KyraEngine_v1::delay. (remove special iUpdate parameter, just call updateInput, when "doUpdate" is set to false)
svn-id: r41114
2009-06-01 23:25:10 +00:00
Johannes Schickel
f57be08d6d - Add some basic debugger for Lands of Lore.
- Allow the "flags" command in all Kyra games to be working properly with 320x200 GUI.

svn-id: r41113
2009-06-01 22:03:27 +00:00
Johannes Schickel
bdea557d7f - Fix some valgrind warnings
- Fix original bug in the Lands of Lore credits, which messed up some headings (the original didn't display them at all for some reason)

svn-id: r41111
2009-06-01 21:03:44 +00:00
Joost Peters
5f7515162a Capitalize the C in Corpse
svn-id: r41110
2009-06-01 20:55:31 +00:00
Joost Peters
ce1c5e2c0b change pathfinding variables from char to int8 to ensure signedness
svn-id: r41109
2009-06-01 20:53:19 +00:00
Joost Peters
c7d181d107 don't use FROM_LE_* macros on font data, as it already is in native endianness
svn-id: r41108
2009-06-01 19:53:11 +00:00
Joost Peters
12837c968c Change flip[Short|Long] functions to bigEndian[Short|Long]ToNative to clarify that flipping only occurs on LE systems + some related cleanup.
svn-id: r41107
2009-06-01 19:29:04 +00:00
Florian Kagerer
a10287e787 LOL: fix warning
svn-id: r41106
2009-06-01 19:11:56 +00:00
Florian Kagerer
8b59d275ab LOL: add workaround comment (at LordHoto's repeated insistence)
svn-id: r41105
2009-06-01 18:25:43 +00:00
Florian Kagerer
42032cf7ec LOL: - minor fix to the input code
svn-id: r41104
2009-06-01 17:50:30 +00:00
Florian Kagerer
19a6eac4ca LOL: implemented hand of fate spell
svn-id: r41103
2009-06-01 16:29:13 +00:00
Filippos Karapetis
c85134bd5e Some fixes for saving/loading (still broken)
svn-id: r41102
2009-06-01 15:34:33 +00:00
Filippos Karapetis
99c6874630 Split the kernel functions away from the vocabulary functions (WIP, saving/loading is broken)
svn-id: r41101
2009-06-01 14:12:43 +00:00
Florian Kagerer
660aa71662 LOL: - extended text displayer and added one more opcode
svn-id: r41100
2009-06-01 13:37:51 +00:00
Paul Gilbert
18f5ef8234 Disabled an old script interpreter hack
svn-id: r41099
2009-06-01 10:17:34 +00:00
Paul Gilbert
b81270fbc0 Removed some out of date TODO's
svn-id: r41098
2009-06-01 09:18:48 +00:00
Paul Gilbert
2abbcd54a4 Replaced loadShort/saveShort functions with applicable endian macros
svn-id: r41097
2009-06-01 09:09:44 +00:00
Paul Gilbert
5bb449b2bf Removed the remaining two FIXME's - my analysis of the data indicates no issues with structure packing, and all multi-byte data accesses are wrapped using loadShort/saveShort, which is endian safe
svn-id: r41096
2009-06-01 08:46:39 +00:00
Filippos Karapetis
c730e0290d Replaced kernel_oops with error(), and added an enum to clarify the cases where invoke_selector should stop
svn-id: r41095
2009-06-01 08:00:58 +00:00
Filippos Karapetis
76bd1b7c0e Removed the sci_max_allowed_unknown_kernel_functions array
svn-id: r41094
2009-06-01 07:06:04 +00:00
Paul Gilbert
4269c3a4ea Converted the saving of perso structure data to proper endian-safe serialisation
svn-id: r41093
2009-06-01 03:27:54 +00:00
Florian Kagerer
83dbcf8531 LOL: some more opcodes and some minor bug fixes
svn-id: r41092
2009-06-01 01:24:17 +00:00
Florian Kagerer
60d53c3cce LOL: - implemented opcode for white tower basement
svn-id: r41091
2009-06-01 00:42:53 +00:00
Willem Jan Palenstijn
6e38259270 Add a 'flat' option to FSDirectory to allow searching recursively for files in subdirectories
svn-id: r41090
2009-06-01 00:01:32 +00:00
Sven Hesse
9c8c1cb080 Removing the helper-include where it's not used anymore
svn-id: r41089
2009-05-31 23:58:05 +00:00
Sven Hesse
cc07d7aeec Fixing a regression in the VideoPlayer, introduced by Fingolfin in r41077
svn-id: r41088
2009-05-31 23:49:37 +00:00
Johannes Schickel
b23fd88f61 Little formatting fix.
svn-id: r41087
2009-05-31 23:23:25 +00:00
Max Horn
416f6565be GOB: Resolve FIXMEs
svn-id: r41086
2009-05-31 22:30:49 +00:00
Max Horn
26c583ae5f GOB: Got rid of GobEngine::_vm
svn-id: r41085
2009-05-31 22:29:50 +00:00
Max Horn
8fa5313f1d GOB: the Engine destructor already calls Mixer::stopAll()
svn-id: r41084
2009-05-31 22:29:06 +00:00
Johannes Schickel
0f8926982a Extend self asignment test a bit more (both using internal and allocated storage).
svn-id: r41083
2009-05-31 22:19:38 +00:00
Johannes Schickel
b0f49a6211 Add unit tests for Common::String operators. These test cases will for example cover tests on String instances, which will be added to itself (foo += foo). NOTE: Those fail currently.
svn-id: r41082
2009-05-31 22:11:06 +00:00
Johannes Schickel
ede3dec88a Add support for the Lands of Lore scrolling credits.
svn-id: r41081
2009-05-31 19:31:04 +00:00
Florian Kagerer
dad6073548 LOL: prevent saving/loading in inventory screen
svn-id: r41080
2009-05-31 17:58:19 +00:00
Max Horn
e072532458 GOB: Got rid of last traces of strdupcpy and strdupcat
svn-id: r41079
2009-05-31 17:00:38 +00:00
Max Horn
78a8874903 GOB: Untangled SlotFileIndexed and SlotFileStatic (ATTENTION: This uncovered something which seems to me a bug in SaveLoad_v4::ScreenPropsHandler::getSize)
svn-id: r41078
2009-05-31 17:00:07 +00:00
Max Horn
400d2b10af GOB: Replaced many uses of strdupcpy by Common::String
svn-id: r41077
2009-05-31 16:59:45 +00:00
Filippos Karapetis
010fbadf01 Document that debug level 11 turns on all special debug level messages (refer to rev. #28858)
svn-id: r41076
2009-05-31 16:02:10 +00:00
Matthew Hoops
865e8e642b Typos: Unkown -> Unknown
svn-id: r41075
2009-05-31 15:43:51 +00:00
Florian Kagerer
cc8cc6f452 LOL: implemented magic viper attack (used by wraiths in white tower level 3)
svn-id: r41074
2009-05-31 15:42:26 +00:00
Filippos Karapetis
e55388c787 Removed script_error_flag and script_debug_flag, which were used to error out if something went wrong and open the debugger console. Changed all the places where they were used to error() out instead, as ScummVM's debugger console can open on error()
svn-id: r41073
2009-05-31 15:34:23 +00:00
Max Horn
cf68dc1a7b SCI: Renamed some Vocabulary methods for clarity; also renamed decypherSaidBlock -> decipherSaidBlock; some cleanup in Console::cmdSentenceFragments
svn-id: r41072
2009-05-31 15:08:47 +00:00
Max Horn
4fba6e5d4c SCI: Fixed loading; added 'const' keywords to several Vocabulary methods
svn-id: r41071
2009-05-31 15:08:16 +00:00
Max Horn
7140dda5e5 MADE: cleanup
svn-id: r41070
2009-05-31 15:07:55 +00:00
Filippos Karapetis
4441ca4b3e - Further objectification of the SCI vocabulary functions
- Rewrote the sci_opcodes enum so that it's easier to read
- Made the engine error out if data is sent to an invalid selector (which is a fatal condition)

svn-id: r41069
2009-05-31 14:55:32 +00:00
Fabio Battaglia
be22438648 tinsel: workaround for "missing red dragon in Act IV" bug in Discworld PSX
svn-id: r41068
2009-05-31 14:41:54 +00:00
Johannes Schickel
11a5875aa8 - Little bugfix for LoL outro TIM
- Add some initial code to allow easy playback of the LoL outro (credits text is still missing).

svn-id: r41067
2009-05-31 14:01:47 +00:00
Johannes Schickel
f59176cd46 Fix various memory leaks in Lands of Lore.
svn-id: r41066
2009-05-31 12:28:56 +00:00
Filippos Karapetis
e317012cce Further objectification of the SCI vocabulary functions. Removed the "kernel_words" console command, as it's exactly the same as "parser_words"
svn-id: r41065
2009-05-31 12:05:49 +00:00
Paul Gilbert
555d4038cc Slowed down the game to match the original, and introduced the ability to alter game speed using the keypad +/- keys
svn-id: r41064
2009-05-31 11:37:21 +00:00