Commit Graph

10707 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Johannes Schickel
c552dd4688 Change more Lands of Lore in game voice code to use "_sound->isVoicePresent".
svn-id: r41049
2009-05-30 20:50:08 +00:00
Filippos Karapetis
dcecdc7b94 Moved the "songlib" command to console.cpp and removed the non-working "set_vismap" command - we can view the different maps with "show_map", but it doesn't make much sense to redirect the game's graphics output to another screen map on demand
svn-id: r41048
2009-05-30 20:45:57 +00:00
Max Horn
9423c75dae SCI: Added constructor&destructor to SfxState
svn-id: r41047
2009-05-30 20:41:10 +00:00
Florian Kagerer
84473eaf1b LOL: minor bug fix
svn-id: r41046
2009-05-30 20:40:48 +00:00
Max Horn
70a04c8b51 SCI: Made vocab_version static again (a global static var is bad, but a really global var is worse); also clarified some FIXME comments that we want to avoid *any* non-const global var, no matter whether it is static or not
svn-id: r41045
2009-05-30 20:37:33 +00:00
Filippos Karapetis
539094d5a8 Reverted the vocab loading function to be like it was before commit #40979 (but without the static variable)
svn-id: r41044
2009-05-30 20:19:20 +00:00
Filippos Karapetis
329b93acc8 Moved 4 mode commands to console.cpp: "sentence_fragments", "parser_nodes", "status_bar" and "track_mouse"
svn-id: r41043
2009-05-30 20:01:43 +00:00
Willem Jan Palenstijn
598feb771f SCI: Fix broken pointer after array re-allocation.
svn-id: r41042
2009-05-30 19:59:53 +00:00
Florian Kagerer
a126a05dc4 LOL: implemented some opcodes required for yvel city
svn-id: r41041
2009-05-30 19:48:13 +00:00
Filippos Karapetis
4ab05f0b38 - Moved 3 more commands to console.cpp: "draw_pic", "draw_rect" and "fill_screen"
- Removed some FreeSCI-specific variables for checking of the on-screen console
- Removed the Control-1 key combo - the console command "visual_state" can be used for the same reason

svn-id: r41040
2009-05-30 18:22:55 +00:00
Filippos Karapetis
15d5b8436e Removed the "sfx_debuglog" command. Sound debug messages are now shown if kDebugLevelSound is specified
svn-id: r41039
2009-05-30 17:53:12 +00:00