aboutsummaryrefslogtreecommitdiff
path: root/engines
AgeCommit message (Collapse)Author
2009-05-14SCI: cleanupMax Horn
svn-id: r40581
2009-05-14SCI: Added a paranoia check to find_unique_script_block which causes us to ↵Max Horn
bail out if we are about to get stuck in an endless loop svn-id: r40580
2009-05-14SCI: Stop SCI1.1 games from complaining about an 'invalid' savedir by ↵Max Horn
setting the savedir string to the only value our kValidPath considers valid, namely '/' svn-id: r40579
2009-05-14SCI: Changed sci_obj_* enum value names to uppercase, in accordance with our ↵Max Horn
code formatting conventions svn-id: r40578
2009-05-14Fixed various GCC 4.2 warnings, among them an actual longstanding bug (3 ↵Max Horn
years :) in the quicktime midi code svn-id: r40577
2009-05-14SCI: A provisional fix for the "invalid selector" problem in KQ6 and otherWalter van Niftrik
SCI1.1 games. svn-id: r40575
2009-05-14Fixed the detection entry for SQ3 Amiga, and added a special case for cursor ↵Filippos Karapetis
hiding in SQ5 svn-id: r40574
2009-05-14CleanupFilippos Karapetis
svn-id: r40573
2009-05-14Only load used palette entries with SCI1/11Willem Jan Palenstijn
svn-id: r40571
2009-05-14Fixed SQ3 Amiga by hardcoding the resource version (automatic resource ↵Filippos Karapetis
version detection fails on this one) svn-id: r40568
2009-05-14Fixed regression in EGA gamesFilippos Karapetis
svn-id: r40567
2009-05-14Added a parameter to the graphics resource manager to determine if the ↵Filippos Karapetis
running SCI1 game is VGA or not (better than modifying the detected SCI resource version) svn-id: r40566
2009-05-14Added the EGA version of Longbow, and partially reverted my previous commit. ↵Filippos Karapetis
SCI1 EGA games should *really* be working now svn-id: r40565
2009-05-14- Added a new game flag to distinguish SCI1 EGA versionsFilippos Karapetis
- 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-14Fixed regression with SCI1.1 gamesFilippos Karapetis
svn-id: r40563
2009-05-14Replaced the SCI_VERSION_FTU_DOSOUND_VARIANT_2 version check with the game ↵Filippos Karapetis
feature flag GF_SCI1_NEWDOSOUND svn-id: r40561
2009-05-14Fix bug #2791699 - Feeble Files: Crash after OmniTV video.Travis Howell
svn-id: r40560
2009-05-14- Replaced SCI_VERSION_FTU_LOFS_ABSOLUTE with the GF_SCI1_LOFSABSOLUTE game flagFilippos Karapetis
- Moved the version defines outside of versions.h svn-id: r40559
2009-05-14CleanupFilippos Karapetis
svn-id: r40558
2009-05-14SCI: Renamed GF_SCI0_BEFORE_* macros to GF_FOR_SCI0_BEFORE_* (to emphasise ↵Max Horn
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-14SCI: Message: fix K_MESSAGE_SIZEWalter van Niftrik
svn-id: r40556
2009-05-14Correct typo.Travis Howell
svn-id: r40555
2009-05-14Added a feature flag for the SCI1.1 behavior of kSetCursor() in Eco 1 and ↵Filippos Karapetis
KQ5 CD. Some cleanup svn-id: r40554
2009-05-14- Removed SCI_VERSION_FTU_NEW_GETTIMEFilippos Karapetis
- Added defines for SCI0 flags, to simplify game entries - Removed the leftover version_lock_flag from EngineState svn-id: r40553
2009-05-14Started using game-specific flags and removed/replaced some SCI version ↵Filippos Karapetis
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- Enabled the code which puts the text inside the screen if it doesn't fit ↵Filippos Karapetis
for all SCI versions - Removed the check for the mechanism to resume suspended songs (it's no longer used) svn-id: r40551
2009-05-14Minor corrections.Travis Howell
svn-id: r40550
2009-05-14Removed the hack used to check for the existence of the CantBeHere() selectorFilippos Karapetis
svn-id: r40549
2009-05-14Expand dump image code to cover all games, and add options to the debugger.Travis Howell
svn-id: r40548
2009-05-13SCI: Fixes a crash when loading SCI1.1 views without palette.Walter van Niftrik
svn-id: r40545
2009-05-13Simplified and re-enabled the debug code that shows pixmaps on screen and ↵Filippos Karapetis
moved sciprintf() to tools.cpp svn-id: r40542
2009-05-13SCI: Message: Added a few more subfunctions; cleanup.Walter van Niftrik
svn-id: r40529
2009-05-13Fix some variable may be used uninitialized warnings.Johannes Schickel
svn-id: r40528
2009-05-13- Simplified SCI version detection a bit and clarified the different version ↵Filippos Karapetis
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-13Fixed regression in SCI1 games from commit #40518Filippos Karapetis
svn-id: r40523
2009-05-13Reintroduced language string lists as a fallback for DELPHINE.LNG, since not ↵Paul Gilbert
all versions have this file svn-id: r40522
2009-05-13Normalized types for several variables. FormattingEugene Sandulenko
svn-id: r40521
2009-05-13Moved the construction of _sound and _music to the constructor, in case the ↵Paul Gilbert
run() method exits before initiaze is called svn-id: r40520
2009-05-12SCI: cleanupMax Horn
svn-id: r40518
2009-05-12SCI: Replaced SFX_OK/SFX_ERROR by Common::Error, and got rid of sfx/sfx.hMax Horn
svn-id: r40517
2009-05-12SCI: Changed object / script local vars storage to use a Common::ArrayMax Horn
svn-id: r40515
2009-05-12SCI: Removed sci_memory.h/.cppMax Horn
svn-id: r40514
2009-05-12Surely this function is supposed to return -2 when the memory allocationTorbjörn Andersson
*fails*, not when it succeeds...? svn-id: r40510
2009-05-12Rearranged all the different version checks based on SCI version in ↵Filippos Karapetis
versions.h, and added some WIP and unused game flags, which will hopefully replace the SCI version numbers svn-id: r40509
2009-05-12When source and destination are the same, there is no need to strcpy(). In factTorbjörn Andersson
it may even be harmful when source and destination overlap. (This happens when loading savegames.) svn-id: r40508
2009-05-12Clarification of a comment.Johannes Schickel
svn-id: r40507
2009-05-12Fixed what looks like an obvious error in loadSong() that Valgrind caught.Torbjörn Andersson
svn-id: r40504
2009-05-12Performed some cleanup on the different version checksFilippos Karapetis
svn-id: r40499
2009-05-12Fall back to plain OPL2 emulation, when Dual OPL2 isn't available.Johannes Schickel
svn-id: r40497
2009-05-12- Add support for selecting the OPL emulator being used (config entry: ↵Johannes Schickel
"opl_driver") - Make MAME FM OPL the default emulator again - Add GUI support for selecting the active OPL emulator - Update themes svn-id: r40496