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
Sven Hesse
29e97533c1
Adding some hotspot debug messages
...
svn-id: r42154
2009-07-05 21:40:20 +00:00
Sven Hesse
c88b9be2a7
Reordering some methods
...
svn-id: r42150
2009-07-05 19:58:09 +00:00
Sven Hesse
d6c99ae861
Renaming FontDesc::extraData to charWidths
...
svn-id: r42149
2009-07-05 19:57:55 +00:00
Sven Hesse
62fcf1177d
More input related split-offs
...
svn-id: r42148
2009-07-05 19:57:37 +00:00
Sven Hesse
5a85a13615
Split off some drawing related functions
...
svn-id: r42147
2009-07-05 19:57:22 +00:00
Sven Hesse
9f0245094b
Ooops, fixing monospaced text input again
...
svn-id: r42146
2009-07-05 19:57:08 +00:00
Sven Hesse
c4dc61edb5
Split off Hotspots::evaluateNew()
...
svn-id: r42145
2009-07-05 19:56:54 +00:00
Sven Hesse
aeb020602a
More state-related encapsulation
...
svn-id: r42144
2009-07-05 19:56:40 +00:00
Sven Hesse
a7ab6c5e92
Correcting an input related mistake
...
svn-id: r42143
2009-07-05 19:56:23 +00:00
Sven Hesse
dbdce9616c
Encapsulating hotspot state reading
...
svn-id: r42142
2009-07-05 19:56:03 +00:00
Sven Hesse
86f0669c93
Wrapping the block end marker checks into Hotspots::Hotspot::isEnd()
...
svn-id: r42124
2009-07-05 11:28:09 +00:00
Sven Hesse
18550c1314
Moving the "Collision" stuff to Hotspots in hotspots.cpp/.h
...
svn-id: r42123
2009-07-05 11:27:54 +00:00