Commit Graph
122 Commits
Author SHA1 Message Date
Travis Howell 4b2aa54304 Revert back to original method used for scrollEffect(), fixes regressions.
svn-id: r23214
2006-06-21 06:50:50 +00:00
Torbjörn Andersson ecfedb1e81 Cleanup. It seems unnecessary to have a "break" right after an unconditional
return in a switch case.

svn-id: r23198
2006-06-20 18:55:25 +00:00
Travis Howell bc6306192d Fix screen scrolling glitch when looking at the top of closet in parents room of DOS version of fbear
svn-id: r23174
2006-06-19 04:09:39 +00:00
Max Horn c4df5037dc * Renamed several methods in favor of a somewhat more uniform naming scheme: setupFOO for stuff that inits static data (i.e. will be called only once, or after loading savegames), vs. resetFOO / updateFOO methods which are called frequently and (re)set dynamic data.
* Doing this, split scummInit into setupScumm and resetScumm methods
* Moved some init code to new methods (huuuuge init methods are hard to read, and hard to customize using subclassing)
* Renmaed various setup???Palette methods to set???Palette
* Some minor cleanup / tweaks

svn-id: r22227
2006-04-29 16:24:39 +00:00
Max Horn 74edd90aba Fix for bug #1471383: Instead of overloading ConfigManager::set, we now have new setInt and setBool methods (matching getInt/getBool), which avoids strange quirks & bugs caused by (char *) being implicitly cast to int (ouch)
svn-id: r21951
2006-04-16 19:23:14 +00:00
Max Horn cf202049ff Fixing mismatch between format strings and data on some systems
svn-id: r21827
2006-04-12 14:54:12 +00:00
Jonathan Gray eb3ae7d726 sizeof(void *) != sizeof(int) for a large number of systems.
Fix a lot of debug/error statements that were using %d/%x
for the result of pointer arithmetic.

As C++ apparently has no format string for ptrdiff_t use
%lu/%lx as appropriate.

svn-id: r21824
2006-04-12 10:01:41 +00:00
Travis Howell 3f172bb3c2 Remove unused cases of getKeyState(), checked against scripts of FT, Dig and COMI.
svn-id: r21381
2006-03-19 11:10:24 +00:00
Travis Howell a379fe424c The camera position is always set by loadRoomWithEgo opcode in HE games, through cameraFollows. Fixes glitches when changing rooms in fbear and other early games.
svn-id: r21355
2006-03-18 10:30:47 +00:00
Travis Howell f52e1709bf o6_setObjectName is never used by HE72+ games
svn-id: r21211
2006-03-10 23:09:27 +00:00
Max Horn bac32d1a5c Moved ScummFile etc. to the new file.cpp / file.h
svn-id: r21038
2006-03-03 15:16:02 +00:00
Travis Howell e1d96cba87 Typo.
svn-id: r20966
2006-02-28 00:49:54 +00:00
Travis Howell db925b310e Update code and comment for screen savers issue in Sam & Max.
svn-id: r20965
2006-02-28 00:46:05 +00:00
Travis Howell d0bba4cb56 Typo.
svn-id: r20963
2006-02-27 23:32:59 +00:00
Travis Howell 86c913a5f4 Update comment for SO_WAIT_FOR_TURN workaround in The Dig, this is due to script bugs. SO_WAIT_FOR_TURN is never used by FT r COMI either, so remove game check.
svn-id: r20962
2006-02-27 23:25:07 +00:00
Gregory Montoir 1b1bc9cde4 Revert the 'get rid of SO_WAIT_FOR_TURN workaround' commit but keep it specific to TheDig
svn-id: r20959
2006-02-27 22:15:21 +00:00
Gregory Montoir 0f5ef6f5b1 Get rid of the SO_WAIT_FOR_TURN hack for TheDig as the original interpreter didn't do anything special here. This will probably trigger some 'invalid actor' errors, but those are most likely caused by scripting mistakes... which should be worked around separately.
svn-id: r20958
2006-02-27 21:55:18 +00:00
Max Horn 6914121f61 Replaced MKID by MID_BE in most places in the SCUMM engine
svn-id: r20862
2006-02-25 02:12:58 +00:00
Max Horn 81e8a2860e Moved iMUSE code to the new directory engines/scumm/imuse/
svn-id: r20801
2006-02-20 20:57:26 +00:00
Max Horn e389bcf497 Replaced _gameId, _version, _heversion, _features, _midi, _platform with a simple ScummGameSettings instance: _game
svn-id: r20795
2006-02-20 16:51:30 +00:00
Travis Howell 30c5480bd3 Actor room is only checked in SCUMM 7+
svn-id: r20597
2006-02-12 09:52:13 +00:00
Max Horn 26ee630756 Moved engines to the new engines/ directory
svn-id: r20582
2006-02-11 22:45:04 +00:00