Sven Hesse
ac7fbc4bf2
GOB: _renderFlags & 0x40 means the we should draw borders around hotspots
...
Probably a debug-only flag
2012-06-22 18:10:53 +02:00
Sven Hesse
76723f4f0f
GOB: Clean up the Fascination window hotspot code a bit
2012-06-22 18:10:53 +02:00
Sven Hesse
b1e50b4e30
GOB: _renderFlags & 0x80 means "Do we have windows?"
2012-06-22 18:10:52 +02:00
Johannes Schickel
442bcb7d3e
ALL: Fix some signed/unsigned comparison warnings.
2012-02-22 20:20:55 +01:00
Sven Hesse
5f4dad1a6d
GOB: Fix the display length of "You can't use that" texts in Geisha
2011-08-29 09:47:46 +02:00
Sven Hesse
fcadd5a56d
GOB: Fix Geisha's hotspot checks
2011-08-28 21:54:43 +02:00
Sven Hesse
8c69d64678
GOB: Fix a potential input box bug
2011-08-28 21:54:42 +02:00
strangerke
69b1485a22
GIT: Clean up: Suppress SVN tags, now useless
2011-05-12 01:16:22 +02:00
Sven Hesse
f015e175df
GOB: Change a warning() into a debugC()
...
Because it gets on my nerves :P
svn-id: r55350
2011-01-20 12:31:13 +00:00
Sven Hesse
835455798f
GOB: Remove the now useless helper.h
...
svn-id: r53491
2010-10-15 13:55:18 +00:00
Sven Hesse
5c48c3fd2b
GOB: Remove strncpy0()
...
Replacing it (and some strncpy + manual terminating) with
Common::strlcpy()
svn-id: r53490
2010-10-15 13:54:23 +00:00
Torbjörn Andersson
54b2a8c98d
JANITORIAL: Cleanup (mostly whitespace)
...
svn-id: r53161
2010-10-12 04:19:58 +00:00
Sven Hesse
1d17a4157f
GOB: Remove extra \n in debug warning()s
...
svn-id: r52951
2010-09-30 13:04:14 +00:00
Sven Hesse
51fd528fe5
GOB: Change all drawing to use class Surface
...
svn-id: r52947
2010-09-30 13:02:16 +00:00
Arnaud Boutonné
5cd3ea41db
GOB: Clean up of Fascination code
...
Move Fascination specific function to appropriate classes, plus some style modifications
svn-id: r52267
2010-08-21 18:16:04 +00:00
Arnaud Boutonné
67c1997bf4
Fascination - Fix protection screen (and several other glitches like in the very last screen behavior)
...
svn-id: r52217
2010-08-19 21:32:54 +00:00
Arnaud Boutonné
b37b0d9b0c
Fascination - Suppress some debug messages
...
svn-id: r52160
2010-08-17 16:27:56 +00:00
Arnaud Boutonné
e075f05395
Gob - Clean up: suppress blanks and tabs present at the end of line
...
svn-id: r52136
2010-08-17 08:33:50 +00:00
Arnaud Boutonné
3fd7468cbc
Fascination - Add handling for window funcLeave on close. This fixes (at 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-15 18:46:00 +00:00
Sven Hesse
4415953393
GOB: Add constants for different surfaces/sprites
...
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-08-08 00:35:18 +00:00
Johannes Schickel
cbbb78d9f2
Enforce conversion formatting on pointer casts in the DEV code.
...
svn-id: r49068
2010-05-17 22:46:53 +00:00
Arnaud Boutonné
7e166d1ad6
clean-up : forgot commented code
...
svn-id: r47869
2010-02-03 22:20:33 +00:00
Arnaud Boutonné
f5764b1152
Fascination - based on the theoritical values of flag, use getWindow instead 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-03 22:14:06 +00:00
Arnaud Boutonné
b6a824f48f
Fascination - Cleanup: suppress some noisy debug output, suppress some obsolete and commented code.
...
svn-id: r47851
2010-02-03 12:57:47 +00:00
Sven Hesse
5115c94f35
Only show that annoying checkmouse warning for Fascination
...
svn-id: r47840
2010-02-03 03:26:28 +00:00
Sven Hesse
d4949d03d4
Minor style-related changes
...
svn-id: r47839
2010-02-03 03:25:50 +00:00
Arnaud Boutonné
86aa70ec4b
Fascination - comment calls to getWindow() in checkMouse(). I think getWindow() is wrong, and to be replaced with my new check. The first window reacts !
...
svn-id: r47829
2010-02-02 23:45:14 +00:00
Arnaud Boutonné
f072709f25
Fascination - Add a window specific function, modify checkmouse() function in order to use it (without breaking the other games). Windows are no longer "transparent"
...
svn-id: r47828
2010-02-02 23:39:19 +00:00
Johannes Schickel
aed02365ec
Strip trailing spaces/tabs.
...
svn-id: r47541
2010-01-25 01:39:44 +00:00
Max Horn
5f178e8650
Fix some MSVC warnings (part of patch #2909981 )
...
svn-id: r46291
2009-12-08 20:44:57 +00:00
Arnaud Boutonné
32d6366f29
gob - Add cursor handling for Fascination windows (close and move at least)
...
svn-id: r46233
2009-12-01 21:49:45 +00:00
Max Horn
51933629d1
Changed foo(void) to foo() in almost all non-backend source files
...
svn-id: r45616
2009-11-02 21:54:57 +00:00
Arnaud Boutonné
caaba2ae95
Add a hack that fixes bug #2858887 and #2859606
...
svn-id: r44785
2009-10-08 12:04:34 +00:00
Arnaud Boutonné
f1c76e2dcb
Fascination - Fix a regression in intro (fix of R42171)
...
svn-id: r44496
2009-09-30 19:14:46 +00:00
Arnaud Boutonné
ff70b554ea
Playtoons - implement some functions related to hotspot texts
...
Fascination - initial version of several 'Fascination Window' functions, proper naming of most of fascination OPCODEDRAW and OPCODEGOB functions
svn-id: r44472
2009-09-29 22:43:30 +00:00
Filippos Karapetis
b4f1960318
Reverted parts of revisions #44298 , #44299 and #44300 , to prevent warnings and issues in compilers which don't support NORETURN
...
svn-id: r44314
2009-09-24 17:52:53 +00:00
Filippos Karapetis
16d7d9ba23
Fixed some more warnings about unreachable code
...
svn-id: r44299
2009-09-24 10:02:13 +00:00
Arnaud Boutonné
6a9cc3b1e0
- Implement _pattern variable
...
- Add oPlaytoons_putPixel and Playtoons specific spriteOperation (using _pattern)
svn-id: r44103
2009-09-15 12:15:22 +00:00
Sven Hesse
ae3cc2ca5f
Really fixing searchHotspot, syntax-wise at least. (Note: 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-09 23:10:53 +00:00
Arnaud Boutonné
686739fc5b
Playtoons - Fix searchHotspot and suppress a forgotten debug warning
...
svn-id: r44020
2009-09-09 21:47:26 +00:00
Max Horn
37e51f1575
Fixed some (pedantic) warnings
...
svn-id: r44015
2009-09-08 22:03:07 +00:00
Johannes Schickel
a502a7a365
Slight formatting and changed searchHotspot to be const.
...
svn-id: r43770
2009-08-27 12:31:42 +00:00
Arnaud Boutonné
9078ee4e7f
Playtoons/Adi2 - Add rudimentary Hotspots search function based on shortId. The long Id checked is ShortId plus 0xD000, 0xB000 or 0x4000.
...
svn-id: r43766
2009-08-27 10:37:48 +00:00
Sven Hesse
256a27350a
Changed the scroll-handling to be more like the original. This fixes bug #2832362 ("GOB3: Scrolling locked after cutscene")
...
svn-id: r43147
2009-08-08 21:43:07 +00:00
Sven Hesse
3823ae285f
Giving Font its own real class
...
svn-id: r42277
2009-07-09 02:54:10 +00:00
Sven Hesse
77c7c1cf81
Loop over the string instead of copying and then editing it (hopefully, the PSP GCC won't ICE again here :P)
...
svn-id: r42176
2009-07-06 13:52:47 +00:00
Joost Peters
de995433c6
add workaround for PSP compiler ICE
...
svn-id: r42175
2009-07-06 13:09:50 +00:00
Sven Hesse
e182cc0b9f
Splitting up the big evaluate() function
...
svn-id: r42171
2009-07-06 11:19:37 +00:00
Sven Hesse
c3d9acf309
Adding more comments
...
svn-id: r42161
2009-07-06 01:41:29 +00:00
Sven Hesse
edfaf7bc3c
Added an enum for the hotspot states
...
svn-id: r42155
2009-07-05 21:40:51 +00:00