aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/cursor.cpp
AgeCommit message (Collapse)Author
2010-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
2009-11-22Better make sure that cursorPCE[] has 16 elements, like some of the otherTorbjörn Andersson
hard-coded cursors. svn-id: r46075
2009-11-22Added hard-coded cursor, and adjusted the colours slightly, for the PC-EngineTorbjörn Andersson
version of Loom, based on information from hennymcc. svn-id: r46074
2009-11-22Add patch for Tobias, for cursor palette in PCE version of Loom.Travis Howell
svn-id: r46066
2009-10-26Fix cursor image in PCE version of Loom.Travis Howell
svn-id: r45404
2009-10-26Ooops, that part should not have been commited.Travis Howell
svn-id: r45394
2009-10-26Switch PCE version of Loom to 16bit color, since it used 9bit color.Travis Howell
svn-id: r45393
2009-09-25SCUMM: Rename _bitDepth to _bytesPerPixelMax Horn
svn-id: r44336
2009-08-21Renamed ENABLE_RGB_COLOR to USE_RGB_COLOR, and added it to config.h to ↵Andre Heider
guarantee a consistent build. svn-id: r43604
2009-08-16Revert revision 43410, and add alternative fix.Travis Howell
svn-id: r43416
2009-08-15Fix compile when compiling with --disable-heMatthew Hoops
svn-id: r43410
2009-06-26Changed cursor manager functions to take *Graphics::PixelFormat with default ↵Jody Northup
parameter of NULL (and initialize NULL pointers with CLUT8), rather than taking a Graphics::PixelFormat with default parameter of Graphics::PixelFormat::createFormatCLUT8() svn-id: r41900
2009-06-24made the cursor's pixel format a member of the cursor object, merged ↵Jody Northup
____CursorFormat functions into equivalent ____Cursor functions. svn-id: r41825
2009-06-20renamed ENABLE_16BIT define to more accurate ENABLE_RGB_COLORJody Northup
svn-id: r41696
2009-06-13Fixed cursor code to keep track of cursor formats so that ThemeEngine and/or ↵Jody Northup
GuiManager cursors will render properly over the game (on spacebar hit, for instance) svn-id: r41491
2009-06-11Renamed Graphics::ColorFormat to Graphics::ColorMode, streamlined enum by ↵Jody Northup
removing order section and temporarily removing kFormatARGB1555 Converted cursor code to make use of _screenFormat, instead of a parameter passed directly to it by the engine. Adjusted scumm engine to account for these changes. This should probably have been two separate commits, but the changes concern the same files... svn-id: r41443
2009-06-06Corrected cursor display errors introduced by revision 41204, reimplemented ↵Jody Northup
16-bit cursor support in a less hacky, but still temporary way. svn-id: r41209
2009-06-05Fixes ScummEngine_v70he::setDefaultCursor to work in 16-bit, using a ↵Jody Northup
temporary hack. svn-id: r41204
2009-06-05Corrected backend to be able to accept a 16-bit mouseKeyColor without overflowJody Northup
svn-id: r41194
2009-06-05HACK not required at this point, since transparency color of 5 is still used ↵Travis Howell
for 16bit color HE games. svn-id: r41193
2009-06-05Converted cursor code to use 16-bit.Jody Northup
svn-id: r41191
2009-03-20SCUMM: Split intern.h into multiple headersMax Horn
svn-id: r39567
2008-12-09Removed some dead code, clarified comments, cleanupMax Horn
svn-id: r35293
2008-01-28Fixed the spaces before tabs.Jordi Vilalta Prat
svn-id: r30667
2008-01-27Removed trailing spaces.Jordi Vilalta Prat
svn-id: r30664
2008-01-27Really fix bug #1846886: "PUTTZOO: Windows version cursor/pointer drawn wrong".Eugene Sandulenko
Also replace default HE cursor (used in Lost) with correct one. svn-id: r30650
2008-01-02Oops. Moved too much code in the last commit.Eugene Sandulenko
svn-id: r30162
2008-01-02Workaround for bug #1804278: "MONKEY: Mouse is invisible after loading"Eugene Sandulenko
svn-id: r30160
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-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
2007-09-08Some cleanup (yay for whomever had the brilliant idea to let SVN work over ↵Max Horn
HTTPS and hence through proxies&firewalls :) svn-id: r28877
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-12Merged the "palette manager" into the cursor manager. It was only used toTorbjörn Andersson
manage *cursor* palettes, so the name was misleading. svn-id: r25500
2006-10-15Turning various static tables into static constMax Horn
svn-id: r24323
2006-09-18Split setBuiltinCursor into a V0-V2 and a V3-V5 partMax Horn
svn-id: r23935
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-05-29Fix Commodore 64 versionsTravis Howell
svn-id: r22732
2006-05-25Set and show/hide mouse cursors through a "cursor manager" (analogous to theTorbjörn Andersson
recently added (cursor) palette manager) so that the cursor can be properly restored after returning from the GUI. If there's any C++ magic that can keep the backend functions from being called by anything else than these managing classes, that would probably be a good idea. Also, since the cursor manager keeps a copy of the cursor image, perhaps there are at least some backends that will no longer need to? svn-id: r22639
2006-05-20After the GUI has finished, restore the old cursor palette (if any). For thisTorbjörn Andersson
to work, cursor palette now has to be set using the new "palette manager". See graphics/paletteman.cpp svn-id: r22543
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-04-23Moved ScummEngine_v5 from cursor.cpp to scumm.cpp (seems to be more natural, ↵Max Horn
even though it inits some cursor related stuff) svn-id: r22114
2006-04-23Behold, the new SCUMM detector finally has arrived. Unified detection & ↵Max Horn
engine instantiation, reduced code duplication, more powerful detection in case MD5 is not known / can't be computed, and many other nifty improvements. svn-id: r22110
2006-04-15- Renamed ConfigManager::getActiveDomain to getActiveDomainName, and added a ↵Max Horn
new getActiveDomain method that returns a pointer to the actual active *domain* - Added Engine::_targetName whose value is computed from the name of the active domain - Removed GameDetector::_targetName, instead code now uses either Engine::_targetName or the name of the active domain - This in turn allowed for removing usage of GameDetector in many places svn-id: r21916
2006-04-08Renamed various *GameSettings to GameSettings (our namespaces are enough to ↵Max Horn
distinguish them) svn-id: r21684
2006-04-03GF_HE_CURSORLESS feature flag not required, since HE games always set a ↵Travis Howell
default cursor too. svn-id: r21576
2006-02-25Split SCUMM's generateSubstResFileName into two functions: ↵Max Horn
findSubstResFileName and applySubstResFileName svn-id: r20879
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-15o Renamed script_v6he.cpp and script_v7he.cpp to script_v60he.cpp andEugene Sandulenko
script_v70he.cpp respectively since we use 2 digits for HE versioning. o Also renamed resource_v7he.* to resource_he.* because it is actually not HE70-specific but is used by all HE70+ titles. svn-id: r20703
2006-02-15Moved all he-specific source files to engines/scumm/he/ subdirectoryEugene Sandulenko
svn-id: r20696