aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/room.cpp
AgeCommit message (Collapse)Author
2011-08-26SCUMM: Implement proper Indy4 Amiga palette handling.Johannes Schickel
This should fix incorrect text colors in some scenes.
2011-05-13SCUMM: Turned ResTypeData into a Common::Array<Resource>, subsuming its ↵Max Horn
_resource member
2011-05-13SCUMM: Remove ResTypeData::_numMax Horn
2011-05-13SCUMM: Document resource usage count / expiry a little bitMax Horn
2011-05-13SCUMM: Rename ResTypeData::num to _numMax Horn
2011-05-13SCUMM: Refactor how resource (types) are srepresentedMax Horn
Previously, we had a couple of arrays of size N (where N = number of resource types), one for each attribute of a resource type (such as as the number of resources of that type. Now, we have one array of size N, whose elements are a record aggregating all the attributes of each resource type.
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-12COMMON: Replace MKID_BE by MKTAGMax Horn
MKID_BE relied on unspecified behavior of the C++ compiler, and as such was always a bit unsafe. The new MKTAG macro is slightly less elegant, but does no longer depend on the behavior of the compiler. Inspired by FFmpeg, which has an almost identical macro.
2011-03-29JANITORIAL: Remove/comment unused varsdhewg
Found by GCC 4.6's -Wunused-but-set-variable
2010-10-05SCUMM/FM-TOWNS: disable new graphics code in DS portFlorian Kagerer
svn-id: r53033
2010-10-01SCUMM/FM-TOWNS: fix palette and other graphics issuesFlorian Kagerer
This commit should fix at least the following bugs/feature requests: #1032859, #1252088, #1055391, #1315968, #1315938, #1742106, #812891. The FM-Towns version of Scumm games use a mixed graphics mode with 2 layers (one with 32767 colors and one with 16 colors). Among other things I have added a screen output class which emulates this dual layer approach which allows specific hardware effects like enabling and disabling layers (e.g. in the voodoo priestess scene in MI1). Old savegames (saved before this update) will load, but you’ll encounter palette glitches in the verb/inventory screen, since the 16 color palette for layer 2 is not contained in your savegame. This will be true at least for version 5 games. Certain scene change actions (which require the verb/inventory part to be redrawn) might correct this (e.g. try looking at the treasure map in MI1 and closing it). Version 3 games should be okay, since they use a static text palette which is never changed and which will be reset after loading a savegame. This update requires a USE_RGB_COLORS setting for proper operation. 8 bit users will get a warning that they’ll have to expect palette glitches . Apart from that the engine in 8 bit mode should not only still work okay, but also benefit from some of the other (non palette related) improvements (e.g. bug #1032859 should be fixed even in 8 bit mode). Japanese font drawing hasn’t been improved much yet. This will be a separate task. svn-id: r52966
2010-04-04Fix bug #2960022 - PUTTPUTT 1: No Load/Save possible.Travis Howell
svn-id: r48499
2009-09-11Remove excess spaces.Travis Howell
svn-id: r44029
2009-03-20SCUMM: Split intern.h into multiple headersMax Horn
svn-id: r39567
2008-05-06Allow static and dynamic plugins to be used at the same timeJordi Vilalta Prat
svn-id: r31888
2007-12-27Enable Windows version of early HE games by default, to match already ↵Travis Howell
enabled 3DO/DOS/Macintosh versions of early HE games. Adding only the minimum code required for HE70 games. svn-id: r30011
2007-11-13Moving the vitual keyboard show/hide hints during the copy protection ↵Kostas Nakos
screens to the scumm engine. As the original code is slightly cryptic, there may be something wrong with MI1 (as commented) svn-id: r29495
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
2007-02-10Got rid of GF_DIGI_IMUSE and GF_NEW_CAMERAMax Horn
svn-id: r25454
2006-12-25Changed ScummEngine::_actors from an Actor array to a an array of Actor ↵Max Horn
points (i.e. indirection) svn-id: r24922
2006-11-19* Made Actor::_pos protected, added public Actor::getPos() methodMax Horn
* Added default params to Actor::putActor() * Removed Actor::getActorXYPos svn-id: r24742
2006-11-04SCUMM cleanupMax Horn
svn-id: r24612
2006-09-23Removed CHECK_HEAPMax Horn
svn-id: r23979
2006-09-18Cleaned up Gdi::roomChangedMax Horn
svn-id: r23938
2006-09-17Moved stored flobjects to class ScummEngine_v70heMax Horn
svn-id: r23924
2006-09-17Renamed ScummEngine::res to _res and allocate the ResourceManager on the ↵Max Horn
heap (i.e. _res is a pointer now) svn-id: r23922
2006-09-17Changed ScummEngine::gdi to _gdi and allocate the Gdi object on the heap ↵Max Horn
(i.e. _gdi is a pointer now) svn-id: r23921
2006-09-16Replaced checkRange by assertRange, which has (a) an (IMO) more logical ↵Max Horn
order of parameters, and (b) removes lots of useless duplicate information in error messages svn-id: r23885
2006-05-29Fix Commodore 64 versionsTravis Howell
svn-id: r22732
2006-04-29* Renamed several methods in favor of a somewhat more uniform naming scheme: ↵Max Horn
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-03-14Avoid all scumm var conflicts in C64 maniacTravis Howell
svn-id: r21277
2006-03-14Fix regression in C64 zak, script 5 was not been run when room changedTravis Howell
svn-id: r21273
2006-03-05Add some basic walkbox support for C64 maniacTravis Howell
svn-id: r21084
2006-03-02Fix using items in C64 maniac and cleanupTravis Howell
svn-id: r21011
2006-02-28Add comment to workaround for music in Sam & Max, based on commit log. And ↵Travis Howell
limit the workaround to specific game. svn-id: r20976
2006-02-25Replaced MKID by MID_BE in most places in the SCUMM engineMax Horn
svn-id: r20862
2006-02-20Replaced _gameId, _version, _heversion, _features, _midi, _platform with a ↵Max Horn
simple ScummGameSettings instance: _game svn-id: r20795
2006-02-15Moved all he-specific source files to engines/scumm/he/ subdirectoryEugene Sandulenko
svn-id: r20696
2006-02-11Moved engines to the new engines/ directoryMax Horn
svn-id: r20582