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
Paul Gilbert
f94025f482
Merged the wait for mouse press event loop into the main loop, fixing animation glitch and enabling pausing, player menu, and exiting the game when waiting for a mouse press
...
svn-id: r41063
2009-05-31 10:14:41 +00:00
Sven Hesse
cb09622c5a
Ooops, that's one "File::" too many
...
svn-id: r41062
2009-05-31 10:11:25 +00:00
Torbjörn Andersson
0999534749
The error() and warning() functions add ! and newline automatically. (I didn't
...
look at debug() and debugC(), since I'm really bored with this now. :-)
svn-id: r41061
2009-05-31 10:02:16 +00:00
Arnaud Boutonné
3b311c65d0
gob - Apply DrMcCoy modifications to the save system in the vcproj files. (still not compiling, though)
...
svn-id: r41060
2009-05-31 09:11:45 +00:00
Sven Hesse
1656f69183
Replacing NULL with 0, since that's normally the C++-way
...
svn-id: r41059
2009-05-31 03:32:16 +00:00
Sven Hesse
daec436047
public'ing some inner classes since some compilers don't seem to like nested friend'ing (while my gcc 4.3.3 doesn't even complain with -pedantic)
...
svn-id: r41058
2009-05-31 03:06:19 +00:00
Filippos Karapetis
a4d13cef8c
More objectification of the Vocabulary functions
...
svn-id: r41057
2009-05-31 02:37:24 +00:00
Sven Hesse
896df6daf3
- A new save system for the GobEngine, one that is not fundamentally broken and is versioned. Unfortunately, this invalidates most save games created on big-endian machines, since endian-issues was a main problem with the old system
...
- Removed the now superfluous variables sizes
svn-id: r41056
2009-05-31 02:15:43 +00:00
Florian Kagerer
c938667d4b
LOL: - fix shape memory allocation/release issue
...
svn-id: r41055
2009-05-31 01:24:08 +00:00
Johannes Schickel
abe8cf0625
Typo.
...
svn-id: r41054
2009-05-31 01:11:06 +00:00
Johannes Schickel
bccca104d0
- Add support for the Lands of Lore outro TIM file
...
- Cleanup
svn-id: r41053
2009-05-31 00:42:44 +00:00
Florian Kagerer
f2516e648e
LOL: fix some valgrind warnings
...
svn-id: r41052
2009-05-31 00:25:05 +00:00
Filippos Karapetis
76406c35ec
Started objectifying the vocabulary functions (WIP)
...
svn-id: r41051
2009-05-30 22:15:00 +00:00
Florian Kagerer
6059f84f6a
LOL: implemented opcode for white tower
...
svn-id: r41050
2009-05-30 21:03:10 +00:00