aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/hotspots.cpp
AgeCommit message (Collapse)Author
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
2009-07-05Added an enum for the hotspot statesSven Hesse
svn-id: r42155
2009-07-05Adding some hotspot debug messagesSven Hesse
svn-id: r42154
2009-07-05Reordering some methodsSven Hesse
svn-id: r42150
2009-07-05Renaming FontDesc::extraData to charWidthsSven Hesse
svn-id: r42149
2009-07-05More input related split-offsSven Hesse
svn-id: r42148
2009-07-05Split off some drawing related functionsSven Hesse
svn-id: r42147
2009-07-05Ooops, fixing monospaced text input againSven Hesse
svn-id: r42146
2009-07-05Split off Hotspots::evaluateNew()Sven Hesse
svn-id: r42145
2009-07-05More state-related encapsulationSven Hesse
svn-id: r42144
2009-07-05Correcting an input related mistakeSven Hesse
svn-id: r42143
2009-07-05Encapsulating hotspot state readingSven Hesse
svn-id: r42142
2009-07-05Wrapping the block end marker checks into Hotspots::Hotspot::isEnd()Sven Hesse
svn-id: r42124
2009-07-05Moving the "Collision" stuff to Hotspots in hotspots.cpp/.hSven Hesse
svn-id: r42123