Commit Graph
86814 Commits
Author SHA1 Message Date
Travis Howell dd54193f95 Expand dump image code to cover all games, and add options to the debugger.
svn-id: r40548
2009-05-14 07:05:51 +00:00
Walter van Niftrik 9604e99736 SCI: Fixes a crash when loading SCI1.1 views without palette.
svn-id: r40545
2009-05-13 23:08:36 +00:00
Filippos Karapetis ab3bd3c3c0 Updated the MSVC project files of the SCI engine
svn-id: r40543
2009-05-13 21:25:37 +00:00
Filippos Karapetis 41af51d645 Simplified and re-enabled the debug code that shows pixmaps on screen and moved sciprintf() to tools.cpp
svn-id: r40542
2009-05-13 21:22:53 +00:00
Johannes Schickel 049618ce15 Fix all occurrences of AdLib spelling:
- credits
- options dialog

svn-id: r40538
2009-05-13 21:15:12 +00:00
Eugene Sandulenko 81c7f530e8 Whitespace fix
svn-id: r40537
2009-05-13 21:14:12 +00:00
Johannes Schickel 6cf93ff8c5 Oops didn't meant to replace "adlib" config name with "AdLib".
svn-id: r40536
2009-05-13 21:08:58 +00:00
Johannes Schickel 0f5b6ff730 - Fix AdLib spelling in NEWS
- Sync README with latest OPL related config options changes

svn-id: r40535
2009-05-13 21:07:19 +00:00
Johannes Schickel 2ab8825e86 Fix AdLib spelling in README too.
svn-id: r40534
2009-05-13 21:04:43 +00:00
Johannes Schickel 297a9c6c5f Fix spelling of AdLib (it's AdLib not Adlib).
svn-id: r40533
2009-05-13 21:02:50 +00:00
Eugene Sandulenko 923d26d9fb Enable Audio options for a game when OPL driver is overridden.
svn-id: r40532
2009-05-13 21:02:03 +00:00
Eugene Sandulenko 68ea155b88 Add option --opl-driver to command line.
svn-id: r40531
2009-05-13 20:57:37 +00:00
Eugene Sandulenko d81d26fe2a Mention new Adlib emu
svn-id: r40530
2009-05-13 20:51:36 +00:00
Walter van Niftrik e35b77e0a7 SCI: Message: Added a few more subfunctions; cleanup.
svn-id: r40529
2009-05-13 19:03:12 +00:00
Johannes Schickel f0182121f7 Fix some variable may be used uninitialized warnings.
svn-id: r40528
2009-05-13 18:12:17 +00:00
Johannes Schickel b9ac179b2e Silence another g++ 4.4 warning.
svn-id: r40527
2009-05-13 17:33:58 +00:00
Johannes Schickel a866e90342 Make g++ 4.4 happy (warning about out of bounds access).
svn-id: r40526
2009-05-13 17:29:48 +00:00
Filippos Karapetis 636776cf44 Updated the MSVC project files of the SCI engine
svn-id: r40525
2009-05-13 17:00:28 +00:00
Filippos Karapetis e940bcff23 - Simplified SCI version detection a bit and clarified the different version feature flags (not used yet)
- Removed the version verification functions (they were only used for two specific cases, but the SCI executable reader is able to detect the exact SCI game version anyway, so there is no point in having these)
- Removed the empty GameFlags structure and replaced it with a 32-bit integer instead

svn-id: r40524
2009-05-13 16:52:41 +00:00
Filippos Karapetis 9cdb4c36a7 Fixed regression in SCI1 games from commit #40518
svn-id: r40523
2009-05-13 16:22:26 +00:00
Paul Gilbert a6cf2bf2b1 Reintroduced language string lists as a fallback for DELPHINE.LNG, since not all versions have this file
svn-id: r40522
2009-05-13 12:31:30 +00:00
Eugene Sandulenko d116a94e2b Normalized types for several variables. Formatting
svn-id: r40521
2009-05-13 11:59:49 +00:00
Paul Gilbert 57caa94081 Moved the construction of _sound and _music to the constructor, in case the run() method exits before initiaze is called
svn-id: r40520
2009-05-13 11:43:24 +00:00
Max Horn 37a0157c97 SCI: cleanup
svn-id: r40518
2009-05-12 23:32:32 +00:00
Max Horn 05c3c6ccb3 SCI: Replaced SFX_OK/SFX_ERROR by Common::Error, and got rid of sfx/sfx.h
svn-id: r40517
2009-05-12 23:31:55 +00:00
Max Horn e3d79c58f0 Make data that is only locally used static
svn-id: r40516
2009-05-12 23:31:02 +00:00
Max Horn 7f29670843 SCI: Changed object / script local vars storage to use a Common::Array
svn-id: r40515
2009-05-12 23:30:42 +00:00
Max Horn 0255cd0213 SCI: Removed sci_memory.h/.cpp
svn-id: r40514
2009-05-12 23:30:10 +00:00
Max Horn 8d8e9d3aaa Must include common/scummsys.h in graphics/pixelformat.h because it uses type 'byte'
svn-id: r40513
2009-05-12 23:28:49 +00:00
Eugene Sandulenko ca7cf951a7 Allow ESC button also be assigned in keymapper.
svn-id: r40511
2009-05-12 20:40:15 +00:00
Torbjörn Andersson 6372a3f527 Surely this function is supposed to return -2 when the memory allocation
*fails*, not when it succeeds...?

svn-id: r40510
2009-05-12 20:13:42 +00:00
Filippos Karapetis e280f301e7 Rearranged all the different version checks based on SCI version in versions.h, and added some WIP and unused game flags, which will hopefully replace the SCI version numbers
svn-id: r40509
2009-05-12 20:12:49 +00:00
Torbjörn Andersson 0cc6b88f58 When source and destination are the same, there is no need to strcpy(). In fact
it may even be harmful when source and destination overlap. (This happens when
loading savegames.)

svn-id: r40508
2009-05-12 20:03:10 +00:00
Johannes Schickel 536bdeacd4 Clarification of a comment.
svn-id: r40507
2009-05-12 19:58:05 +00:00
Johannes Schickel 68c7aa7ff1 Fix invalid pop up widget selection, when no "opl_driver" setting is present.
svn-id: r40506
2009-05-12 19:36:09 +00:00
Torbjörn Andersson 9c18a12fa0 Fixed what looks like an obvious error in loadSong() that Valgrind caught.
svn-id: r40504
2009-05-12 19:24:11 +00:00
Johannes Schickel 72686a5a9e Make 'create' return an OPL2 by default.
svn-id: r40503
2009-05-12 19:24:04 +00:00
Johannes Schickel 4190e256bf Cleanup.
svn-id: r40502
2009-05-12 19:03:54 +00:00
Eugene Sandulenko a0a44ef498 Allow creation of KeyState with zero ascii value.
svn-id: r40501
2009-05-12 19:03:42 +00:00
Eugene Sandulenko ef1a8c8677 Give hints for better automapping
svn-id: r40500
2009-05-12 19:00:24 +00:00
Filippos Karapetis 5e83e27bf6 Performed some cleanup on the different version checks
svn-id: r40499
2009-05-12 18:57:28 +00:00
Johannes Schickel 4c156d3c78 Fix OPL emulator IDs.
svn-id: r40498
2009-05-12 18:53:44 +00:00
Johannes Schickel a586017bea Fall back to plain OPL2 emulation, when Dual OPL2 isn't available.
svn-id: r40497
2009-05-12 18:45:17 +00:00
Johannes Schickel 4f0768b909 - Add support for selecting the OPL emulator being used (config entry: "opl_driver")
- Make MAME FM OPL the default emulator again
- Add GUI support for selecting the active OPL emulator
- Update themes

svn-id: r40496
2009-05-12 18:42:44 +00:00
Eugene Sandulenko 938db170f3 Sync with STXes
svn-id: r40494
2009-05-12 17:48:58 +00:00
Johannes Schickel 619d107ed7 Add more detailed error message for "Chunk overread" case.
svn-id: r40493
2009-05-12 15:06:20 +00:00
Walter van Niftrik eb8ddbe8f4 SCI: Fixed a valgrind warning.
svn-id: r40492
2009-05-12 14:58:44 +00:00
Johannes Schickel c59f9a9670 Cleanup.
svn-id: r40491
2009-05-12 14:55:45 +00:00
Johannes Schickel 09224573f5 Formatting.
svn-id: r40490
2009-05-12 14:43:57 +00:00
Johannes Schickel 76984ded25 Add proper error checking in file parsing code.
svn-id: r40489
2009-05-12 14:35:50 +00:00