aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/hotspots.cpp
AgeCommit message (Collapse)Author
2013-04-15GOB: Fix a misplaced continue / fallthroughSven Hesse
2012-06-22GOB: _renderFlags & 0x40 means the we should draw borders around hotspotsSven Hesse
Probably a debug-only flag
2012-06-22GOB: Clean up the Fascination window hotspot code a bitSven Hesse
2012-06-22GOB: _renderFlags & 0x80 means "Do we have windows?"Sven Hesse
2012-02-22ALL: Fix some signed/unsigned comparison warnings.Johannes Schickel
2011-08-29GOB: Fix the display length of "You can't use that" texts in GeishaSven Hesse
2011-08-28GOB: Fix Geisha's hotspot checksSven Hesse
2011-08-28GOB: Fix a potential input box bugSven Hesse
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-01-20GOB: Change a warning() into a debugC()Sven Hesse
Because it gets on my nerves :P svn-id: r55350
2010-10-15GOB: Remove the now useless helper.hSven Hesse
svn-id: r53491
2010-10-15GOB: Remove strncpy0()Sven Hesse
Replacing it (and some strncpy + manual terminating) with Common::strlcpy() svn-id: r53490
2010-10-12JANITORIAL: Cleanup (mostly whitespace)Torbjörn Andersson
svn-id: r53161
2010-09-30GOB: Remove extra \n in debug warning()sSven Hesse
svn-id: r52951
2010-09-30GOB: Change all drawing to use class SurfaceSven Hesse
svn-id: r52947
2010-08-21GOB: Clean up of Fascination codeArnaud Boutonné
Move Fascination specific function to appropriate classes, plus some style modifications svn-id: r52267
2010-08-19Fascination - Fix protection screen (and several other glitches like in the ↵Arnaud Boutonné
very last screen behavior) svn-id: r52217
2010-08-17Fascination - Suppress some debug messagesArnaud Boutonné
svn-id: r52160
2010-08-17Gob - Clean up: suppress blanks and tabs present at the end of lineArnaud Boutonné
svn-id: r52136
2010-08-15Fascination - Add handling for window funcLeave on close. This fixes (at ↵Arnaud Boutonné
least) the picture problem in the lab, and the game is now completable (VGA floppy). Thanks SylvainTV for the debugging help svn-id: r52103
2010-08-08GOB: Add constants for different surfaces/spritesSven Hesse
Add static const int kFrontSurface = 20; static const int kBackSurface = 21; static const int kAnimSurface = 22; static const int kCursorSurface = 23; static const int kCaptureSurface = 30; to class Draw and substitute the raw numbers in other files with those aliases, for readability. svn-id: r51852
2010-05-17Enforce conversion formatting on pointer casts in the DEV code.Johannes Schickel
svn-id: r49068
2010-02-03clean-up : forgot commented codeArnaud Boutonné
svn-id: r47869
2010-02-03Fascination - based on the theoritical values of flag, use getWindow instead ↵Arnaud Boutonné
of the code I added. Suppress shr 8 in getWindow and switched from int8 to uint16, in order to match the executable. svn-id: r47868
2010-02-03Fascination - Cleanup: suppress some noisy debug output, suppress some ↵Arnaud Boutonné
obsolete and commented code. svn-id: r47851
2010-02-03Only show that annoying checkmouse warning for FascinationSven Hesse
svn-id: r47840
2010-02-03Minor style-related changesSven Hesse
svn-id: r47839
2010-02-02Fascination - comment calls to getWindow() in checkMouse(). I think ↵Arnaud Boutonné
getWindow() is wrong, and to be replaced with my new check. The first window reacts ! svn-id: r47829
2010-02-02Fascination - Add a window specific function, modify checkmouse() function ↵Arnaud Boutonné
in order to use it (without breaking the other games). Windows are no longer "transparent" svn-id: r47828
2010-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
2009-12-08Fix some MSVC warnings (part of patch #2909981)Max Horn
svn-id: r46291
2009-12-01gob - Add cursor handling for Fascination windows (close and move at least)Arnaud Boutonné
svn-id: r46233
2009-11-02Changed foo(void) to foo() in almost all non-backend source filesMax Horn
svn-id: r45616
2009-10-08Add a hack that fixes bug #2858887 and #2859606Arnaud Boutonné
svn-id: r44785
2009-09-30Fascination - Fix a regression in intro (fix of R42171)Arnaud Boutonné
svn-id: r44496
2009-09-29Playtoons - implement some functions related to hotspot textsArnaud Boutonné
Fascination - initial version of several 'Fascination Window' functions, proper naming of most of fascination OPCODEDRAW and OPCODEGOB functions svn-id: r44472
2009-09-24Reverted parts of revisions #44298, #44299 and #44300, to prevent warnings ↵Filippos Karapetis
and issues in compilers which don't support NORETURN svn-id: r44314
2009-09-24Fixed some more warnings about unreachable codeFilippos Karapetis
svn-id: r44299
2009-09-15- Implement _pattern variableArnaud Boutonné
- Add oPlaytoons_putPixel and Playtoons specific spriteOperation (using _pattern) svn-id: r44103
2009-09-09Really fixing searchHotspot, syntax-wise at least. (Note: ↵Sven Hesse
Hotspots::Hotspot::left is unsigned, so a comparison with -1 will always yield false. And for left == 0xFFFF a method already exists, Hotspots::Hotspot::isEnd()) svn-id: r44022
2009-09-09Playtoons - Fix searchHotspot and suppress a forgotten debug warningArnaud Boutonné
svn-id: r44020
2009-09-08Fixed some (pedantic) warningsMax Horn
svn-id: r44015
2009-08-27Slight formatting and changed searchHotspot to be const.Johannes Schickel
svn-id: r43770
2009-08-27Playtoons/Adi2 - Add rudimentary Hotspots search function based on shortId. ↵Arnaud Boutonné
The long Id checked is ShortId plus 0xD000, 0xB000 or 0x4000. svn-id: r43766
2009-08-08Changed the scroll-handling to be more like the original. This fixes bug ↵Sven Hesse
#2832362 ("GOB3: Scrolling locked after cutscene") svn-id: r43147
2009-07-09Giving Font its own real classSven Hesse
svn-id: r42277
2009-07-06Loop over the string instead of copying and then editing it (hopefully, the ↵Sven Hesse
PSP GCC won't ICE again here :P) svn-id: r42176
2009-07-06add workaround for PSP compiler ICEJoost Peters
svn-id: r42175
2009-07-06Splitting up the big evaluate() functionSven Hesse
svn-id: r42171
2009-07-06Adding more commentsSven Hesse
svn-id: r42161