Commit Graph

31357 Commits

Author SHA1 Message Date
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
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
Johannes Schickel
2f90c8f398 - Fix various debugC calls (parameters passed were not correct)
- Fix unused variable warning in scriptdebug.cpp

svn-id: r41038
2009-05-30 17:30:54 +00:00
Filippos Karapetis
ca330071be Fixed compilation error
svn-id: r41037
2009-05-30 17:06:30 +00:00
Filippos Karapetis
ecfb2e5b5d - Moved the print_port, segment_info and segment_kill console commands to console.cpp
- Removed the unused gfx driver debug flags

svn-id: r41036
2009-05-30 16:36:37 +00:00
Florian Kagerer
86d78bbc8b LOL: - implemented urbish mines gas explosion
svn-id: r41035
2009-05-30 15:52:09 +00:00
Filippos Karapetis
8e2af8ff7c Updated the MSVC project files of the SCI engine
svn-id: r41034
2009-05-30 15:42:29 +00:00
Filippos Karapetis
3490819a66 - Removed debug_mode from the engine state
- Turned all SCIkwarn and SCIkdebug functions to ScummVM's debugC function
- Placed some debug code in appropriate defines: DEBUG_PARSER, DEBUG_AVOIDPATH and DEBUG_SOUND
- Removed the "debuglog" command and the "script_checkloads_flag" and "sci_debug_flags" variables

svn-id: r41033
2009-05-30 15:40:49 +00:00
Filippos Karapetis
69582f0179 Moved 3 more debug commands to console.cpp ("simkey", "segment_table" and "show_map") and removed the GFXWC macro. Some cleanup
svn-id: r41032
2009-05-30 14:30:39 +00:00
Florian Kagerer
9823f60146 LOL: - fixed crash that occured when entering yvel city
- added another opcode for yvel woods

svn-id: r41031
2009-05-30 14:13:27 +00:00
Filippos Karapetis
a21f34cf91 Moved more script debug commands to console.cpp: "visual_state", "dynamic_views", "dropped_views", "gc" and "gc_objects". Removed the "gfx_free_widgets" and "sleep" commands (they weren't really useful)
svn-id: r41030
2009-05-30 13:36:51 +00:00
Filippos Karapetis
4dcfaead8d Moved some script debug commands to console.cpp: "clear_screen", "redraw_screen", "save_game", "restore_game", "restart_game", "class_table", "parser_words", "current_port" and "parse_grammar"
svn-id: r41029
2009-05-30 13:04:09 +00:00
Florian Kagerer
8c443650e5 LOL: - added non-installed English floppy version to detection
svn-id: r41028
2009-05-30 12:40:00 +00:00
Florian Kagerer
f42b077061 LOL: - added English floppy version to detection
- implemented opcode required for Yvel woods

svn-id: r41027
2009-05-30 12:30:13 +00:00
Filippos Karapetis
33a924e766 Swapped the checks for suffixes and branches to first check for SCI1 resources, and then for SCI0 resources (as in SCI1 games, tree branches are in resource 901, which coincides with the SCI0 suffix vocabulary resource 901)
svn-id: r41026
2009-05-30 10:54:25 +00:00
Filippos Karapetis
c7c9f05cac Removed/replaced BREAKPOINT
svn-id: r41025
2009-05-30 10:42:08 +00:00
Filippos Karapetis
56c0a41b71 SCI: Moved the rest of the console code out of sciconsole.cpp and into console.cpp. "list" and "hexgrep" have been added to the console commands. parse_reg_t() has been moved to kmovement.cpp (as it's the only code using it). Note that the debug commands in scriptdebug.cpp have not been converted yet, so they don't work at the moment
svn-id: r41024
2009-05-30 10:22:53 +00:00
Filippos Karapetis
4960b64b48 Fixed a silly typo in commit #40979. Suffixes should be loaded correctly again
svn-id: r41018
2009-05-30 09:07:28 +00:00
Paul Gilbert
a6abd5c2fc Bugfix to keep ScummVM responsive even when the displayOn variable is set to false
svn-id: r41017
2009-05-30 05:16:35 +00:00
Florian Kagerer
7463fe3f1b LOL: implemented opcode required for magic wands
svn-id: r41016
2009-05-29 22:36:01 +00:00
Sven Hesse
6668a3d796 Adding my German versions of Playtoons 1 + 3
svn-id: r41015
2009-05-29 19:27:39 +00:00
Johannes Schickel
0ba9e14ec9 Double volume of DOSBox' OPL emulator, like DOSBox does too.
svn-id: r41014
2009-05-29 17:59:07 +00:00
Filippos Karapetis
b43094cec0 - Added brief Doxygen comments to the ResourceSync and AudioResource classes to explain what they do
- Removed the outdated info page on "codebugging"
- Moved the "addresses" info page as a comment above parse_reg_t()
- Removed con_hook_page()

svn-id: r41013
2009-05-29 17:39:55 +00:00
Johannes Schickel
874e340d25 Output a warning to the user, when he tries to play back MT32 MIDI tracks with a General MIDI device.
svn-id: r41012
2009-05-29 17:38:22 +00:00
Johannes Schickel
51fc019a9b Implement "loadSfxFile" and "stopAllSoundEffects" for "MixedSoundDriver".
svn-id: r41011
2009-05-29 17:21:00 +00:00