Sven Hesse
00fa997039
GOB: Move drawString into Font
2012-07-30 01:24:18 +02:00
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
b1e50b4e30
GOB: _renderFlags & 0x80 means "Do we have windows?"
2012-06-22 18:10:52 +02:00
Sven Hesse
2e16e7fc4c
GOB: Add a workaround for the wrong German animal names in Little Red
...
The DOS, Amiga and Atari version of Little Red come with a small
screen, accessible through the main menu, that lets children read and
listen to animal names in 5 languages: French, German, English,
Spanish and Italian.
Unfortunately, the German names are partially wrong. This is
especially tragic because this is a game for small children and
they're supposed to learn something here. So I deem fixing this a
very good idea.
Just to be sure, someone should probably look over the French,
Spanish and Italian words too.
2012-06-18 17:44:04 +02:00
Sven Hesse
be25e31a0a
GOB: Fix v7 cursors drawn by the scripts
...
When the cursor name is "", then that cursor is drawn by the scripts
instead of loaded from cursor32.dll. That cursor does not have its own
palette then.
Fixes the cursors in the "paint" game in Adibou2.
2012-05-29 17:12:06 +02:00
Sven Hesse
aa7c44a070
GOB: Hook up the PE cursors to v7 loadCursor
...
Addy Junior / Adibou2 now shows proper cursors.
Thanks to clone2727 for the constant nagging. :P
2012-05-29 14:22:07 +02:00
Sven Hesse
ac3593c631
GOB: Init "Diving" cursor
2011-09-14 18:54:28 +02:00
strangerke
69b1485a22
GIT: Clean up: Suppress SVN tags, now useless
2011-05-12 01:16:22 +02:00
Sven Hesse
812680d187
GOB: Rename Draw::kSpritesCount to Draw::kSpriteCount
...
svn-id: r55729
2011-02-02 16:49:20 +00:00
Sven Hesse
c498d70dd2
GOB: Change SPRITES_COUNT into a const
...
svn-id: r55645
2011-01-30 00:02:42 +00:00
Sven Hesse
f23b4af682
GOB: Increase kFontCount for Addy
...
svn-id: r55548
2011-01-26 19:03:37 +00:00
Sven Hesse
a2afc0f4d1
GOB: Check font index for kFontCount
...
svn-id: r55547
2011-01-26 19:03:13 +00:00
Sven Hesse
6b85f809d9
GOB: Urban: Fix missing visuals at Cemetary/Lab
...
Urban Runner decouples _frontSurface and
_spritesArray[kFrontSurface] at that screen... *sigh*
svn-id: r55346
2011-01-20 10:20:57 +00:00
Sven Hesse
0d11ae143f
GOB: Add a method to get a true palette color
...
svn-id: r55271
2011-01-16 22:28:49 +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
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é
816e318134
Fascination: - Suppress the recently added oFascin_keyFunc, replace it with a check in o1_keyFunc. This fixes the animation speed regression
...
- Rename Amiga-specific protracker functions
- Rewrite winDecomp.
svn-id: r48011
2010-02-08 23:12:42 +00:00
Sven Hesse
d4949d03d4
Minor style-related changes
...
svn-id: r47839
2010-02-03 03:25:50 +00:00
Arnaud Boutonné
ac6e9e07a3
Fascination - Fix screen transition
...
svn-id: r47830
2010-02-03 00:51:09 +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
Arnaud Boutonné
d90c60e879
Fix a regression in the first part of the intro (gitches when the paper and the rat are moving).
...
svn-id: r44518
2009-10-01 12:19:01 +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
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
Arnaud Boutonné
033bedd906
Gob/Adi2 - In playtoons and later, there are 50 more sprite pointers
...
svn-id: r43949
2009-09-04 21:22:09 +00:00
Sven Hesse
081fa85b14
Playtoons uses a variable space that exceeds 32767 bytes. Changing a few variables to unsigned makes the construction mode not crash anymore (though it now hangs in a loop)
...
svn-id: r43713
2009-08-24 22:37:09 +00:00
Sven Hesse
02ca620d7c
Caching the subtitle font and color, because some don't assign those
...
svn-id: r42706
2009-07-24 21:31:58 +00:00
Sven Hesse
adc537161a
Adding subtitle support to Woodruff
...
svn-id: r42705
2009-07-24 21:31:00 +00:00
Sven Hesse
3823ae285f
Giving Font its own real class
...
svn-id: r42277
2009-07-09 02:54:10 +00:00
Max Horn
3d3da173b0
GOB: Turned _spritesArray into a Common::Array (of fixed size) to detect out-of-bounds access to it (since access is controlled by scripts, this could (and does :/) easily happen. Also removed an obsolete swap() method, and fixed one case where _spritesArray was indeed accessed out of bounds
...
svn-id: r41305
2009-06-06 21:37:30 +00:00
Max Horn
0989bb0b90
GOB: Got rid of class ReferenceCounter; changed SurfaceDesc::Ptr to SurfaceDescPtr (a Common::SharedPtr); and changed many SurfaceDesc pointers to references
...
svn-id: r41299
2009-06-06 20:03:13 +00:00
Arnaud Boutonné
4ff69f6cd0
Gob- Add a fascination-specific (and yet unknown) renderflag vaue
...
svn-id: r40206
2009-04-29 16:23:38 +00:00
Arnaud Boutonné
ee92913683
Patch #2725859 : Added some MD5 to the gob engine, modified the way the first STK and TOT is declared, added inter and draw skeleton for Fascination
...
svn-id: r40059
2009-04-21 21:44:37 +00:00
Sven Hesse
5f8323bd50
Plugging leaks
...
svn-id: r35355
2008-12-14 04:33:28 +00:00
Sven Hesse
5d9c8b7c47
Changing the GobEngine to use its dirty rects also for OSystem-copies, instead of relying on kFeatureAutoComputeDirtyRects
...
svn-id: r35239
2008-12-04 18:38:55 +00:00
Sven Hesse
805a46b229
Added some The Last Dynasty stubs
...
svn-id: r34217
2008-08-30 23:59:46 +00:00
Sven Hesse
bfff91b172
Reverting my last commit, as it breaks Gob3 (and probably elsewhere, too)
...
svn-id: r32214
2008-05-22 18:30:29 +00:00
Sven Hesse
6a54cbc4eb
Fixing the flickering when changing from object animations to videos
...
svn-id: r32213
2008-05-22 17:33:31 +00:00
Sven Hesse
1764225970
Added a workaround for the swapped dialog lines when talking to the mayor in some versions Gob2
...
svn-id: r31042
2008-03-04 20:06:46 +00:00
Paul Gilbert
6eb64102a4
Fix to remove a tab character from the GPL header
...
svn-id: r30238
2008-01-05 12:45:14 +00:00
Sven Hesse
e802f067cd
Lost in Time now (kind of) shows the title and the wobble-effect is drawn
...
svn-id: r28433
2007-08-03 15:18:00 +00:00
Sven Hesse
b644e460aa
Corrected Woodruff's hotspot text positions.
...
svn-id: r28208
2007-07-26 03:17:54 +00:00
Max Horn
218e132e37
Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
...
svn-id: r27024
2007-05-30 21:56:52 +00:00
Sven Hesse
54b8a4d06f
Made the collisionAreas' coordinates unsigned. This should fix bug #1706988
...
svn-id: r26715
2007-05-01 14:49:13 +00:00
Sven Hesse
70bae60c44
Removed some more superfluous semicolons in the gob engine
...
svn-id: r26595
2007-04-25 19:52:26 +00:00
Max Horn
00b9bc7b36
Removing lots of superfluous semicola (see mail by David Weinehall on scummvm-devel)
...
svn-id: r26594
2007-04-25 19:31:23 +00:00
Sven Hesse
623ca88022
- Properly implemented the ImdPlayer
...
- Some more clean-up
svn-id: r26316
2007-03-29 17:55:39 +00:00
Sven Hesse
2dc7cb2cd4
Major clean-up, including:
...
- Cutting down the code-dup
- Plucking leaks
- Removing dead/unused code
- Properly naming "word_2342F"-style variables and functions (removing the warnings alongside)
- Fleshing out the "stubby" functions
- Moving functions and variables to more appropriate/logical places
- Re-ordering functions and variables
- Re-structuring functions
- Moving the IMD stuff into a new "Imd" class in the new imd.cpp/.h (still to be completely implemented and cleaned up)
- Formatting
- Getting rid off the classes "Anim", "Pack" and "Timer", along with their files
svn-id: r26252
2007-03-20 14:51:57 +00:00