30900 Commits

Author SHA1 Message Date
Paul Gilbert
bb45be960d Converted various printf statements to use debug, warning, and error.
svn-id: r40588
2009-05-15 04:35:47 +00:00
Paul Gilbert
03f5ad5cbb Bugfix for loadSetEntry to ensure graphics get allocated enough space. It's not exactly the way the original did it, but should suffice to ensure grahpics have sufficient space
svn-id: r40587
2009-05-15 04:07:10 +00:00
Paul Gilbert
cf62299c4a Removed standard library includes - they were marked with a FIXME to remove, and the current compilation under both MSVC8 and MinGW doesn't seem to need them.
svn-id: r40586
2009-05-15 03:52:30 +00:00
Paul Gilbert
fc87b82861 Fixed a memory leak in the new unified decodeGfxUnified decoder method
svn-id: r40585
2009-05-15 02:18:51 +00:00
Paul Gilbert
fe795a739e Converted some code from fopen to Common::File - it's not currently used, but just in case it's needed in the future
svn-id: r40584
2009-05-15 02:12:11 +00:00
Travis Howell
e36bb72995 Fix bug #2791846 - SAMNMAX: Invalid opcode (regression).
svn-id: r40583
2009-05-15 00:22:53 +00:00
Max Horn
bd2e21c97a SCI: Fixed restoring scripts when loading a SCI 1.1 savestate
svn-id: r40582
2009-05-14 23:39:36 +00:00
Max Horn
d2dfa0ac11 SCI: cleanup
svn-id: r40581
2009-05-14 23:39:16 +00:00
Max Horn
7f2a146597 SCI: Added a paranoia check to find_unique_script_block which causes us to bail out if we are about to get stuck in an endless loop
svn-id: r40580
2009-05-14 23:10:22 +00:00
Max Horn
ad1563e5dc SCI: Stop SCI1.1 games from complaining about an 'invalid' savedir by setting the savedir string to the only value our kValidPath considers valid, namely '/'
svn-id: r40579
2009-05-14 23:10:04 +00:00
Max Horn
cd063606a0 SCI: Changed sci_obj_* enum value names to uppercase, in accordance with our code formatting conventions
svn-id: r40578
2009-05-14 23:09:30 +00:00
Max Horn
a3efc5611c Fixed various GCC 4.2 warnings, among them an actual longstanding bug (3 years :) in the quicktime midi code
svn-id: r40577
2009-05-14 23:09:04 +00:00
Walter van Niftrik
67ce8fee85 SCI: A provisional fix for the "invalid selector" problem in KQ6 and other
SCI1.1 games.

svn-id: r40575
2009-05-14 22:33:31 +00:00
Filippos Karapetis
61d9a42c56 Fixed the detection entry for SQ3 Amiga, and added a special case for cursor hiding in SQ5
svn-id: r40574
2009-05-14 21:51:36 +00:00
Filippos Karapetis
7fd6a22d72 Cleanup
svn-id: r40573
2009-05-14 21:47:38 +00:00
Willem Jan Palenstijn
185eeb4695 Only load used palette entries with SCI1/11
svn-id: r40571
2009-05-14 21:34:30 +00:00
Filippos Karapetis
42633c9865 Fixed SQ3 Amiga by hardcoding the resource version (automatic resource version detection fails on this one)
svn-id: r40568
2009-05-14 19:58:42 +00:00
Filippos Karapetis
bf5e4431d8 Fixed regression in EGA games
svn-id: r40567
2009-05-14 19:42:46 +00:00
Filippos Karapetis
443aacee79 Added a parameter to the graphics resource manager to determine if the running SCI1 game is VGA or not (better than modifying the detected SCI resource version)
svn-id: r40566
2009-05-14 19:33:03 +00:00
Filippos Karapetis
97bdf32a59 Added the EGA version of Longbow, and partially reverted my previous commit. SCI1 EGA games should *really* be working now
svn-id: r40565
2009-05-14 18:55:30 +00:00
Filippos Karapetis
d5e1ca4630 - Added a new game flag to distinguish SCI1 EGA versions
- Fixed the wrong detected versions of Laura Bow 2
- Changed some code regarding the resource loader of Jones in the Fast Lane (which is still non-functional)

svn-id: r40564
2009-05-14 17:50:09 +00:00
Filippos Karapetis
3ab81fa502 Fixed regression with SCI1.1 games
svn-id: r40563
2009-05-14 17:06:47 +00:00
Filippos Karapetis
abe09307ea Updated the MSVC project files of the SCI engine
svn-id: r40562
2009-05-14 13:56:05 +00:00
Filippos Karapetis
4a9e7e4393 Replaced the SCI_VERSION_FTU_DOSOUND_VARIANT_2 version check with the game feature flag GF_SCI1_NEWDOSOUND
svn-id: r40561
2009-05-14 13:51:42 +00:00
Travis Howell
705eba635e Fix bug #2791699 - Feeble Files: Crash after OmniTV video.
svn-id: r40560
2009-05-14 13:22:42 +00:00
Filippos Karapetis
f75c950457 - Replaced SCI_VERSION_FTU_LOFS_ABSOLUTE with the GF_SCI1_LOFSABSOLUTE game flag
- Moved the version defines outside of versions.h

svn-id: r40559
2009-05-14 12:38:50 +00:00
Filippos Karapetis
e03fba03b5 Cleanup
svn-id: r40558
2009-05-14 11:46:02 +00:00
Max Horn
b3ace666d0 SCI: Renamed GF_SCI0_BEFORE_* macros to GF_FOR_SCI0_BEFORE_* (to emphasise that those are not Game Features); also moved their definitions into detection.cpp, to minimize the risk that they are accidentally used by other code
svn-id: r40557
2009-05-14 11:30:21 +00:00
Walter van Niftrik
f64df361e0 SCI: Message: fix K_MESSAGE_SIZE
svn-id: r40556
2009-05-14 11:27:54 +00:00
Travis Howell
c3eaef2a95 Correct typo.
svn-id: r40555
2009-05-14 11:15:36 +00:00
Filippos Karapetis
4ec6c4127f Added a feature flag for the SCI1.1 behavior of kSetCursor() in Eco 1 and KQ5 CD. Some cleanup
svn-id: r40554
2009-05-14 11:11:56 +00:00
Filippos Karapetis
891a8fae05 - Removed SCI_VERSION_FTU_NEW_GETTIME
- Added defines for SCI0 flags, to simplify game entries
- Removed the leftover version_lock_flag from EngineState

svn-id: r40553
2009-05-14 10:24:39 +00:00
Filippos Karapetis
999d46b241 Started using game-specific flags and removed/replaced some SCI version checks with flags.
- The SCI0 new script header and the angles check have been replaced by the GF_SCI0_OLD flag
- The SCI0 new drawpic parameter and the new priority check have been replaced by the GF_SCI0_OLDGFXFUNCS flag
- Removed the code which retries to use the newer script header in SCI0 games if the detected one is wrong, as that case should be covered by the GF_SCI0_OLD flag
- Removed the leftover min_version and max_version variables from gamestate
- Cleaned up kGetTime() a bit

svn-id: r40552
2009-05-14 09:12:27 +00:00
Filippos Karapetis
2ca7605050 - Enabled the code which puts the text inside the screen if it doesn't fit for all SCI versions
- Removed the check for the mechanism to resume suspended songs (it's no longer used)

svn-id: r40551
2009-05-14 07:28:06 +00:00
Travis Howell
f63cf2df8f Minor corrections.
svn-id: r40550
2009-05-14 07:20:26 +00:00
Filippos Karapetis
3117a8d87f Removed the hack used to check for the existence of the CantBeHere() selector
svn-id: r40549
2009-05-14 07:14:08 +00:00
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