Commit Graph

26200 Commits

Author SHA1 Message Date
Johannes Schickel
5f65cf9679 SWORD25: Get rid of casts on OSystem::copyRectToScreen calls. 2012-06-16 02:39:00 +02:00
Johannes Schickel
d8aff72402 SWORD1: Get rid of casts on OSystem::copyRectToScreen calls. 2012-06-16 02:39:00 +02:00
Johannes Schickel
64790aabc8 SCUMM: Get rid of casts on OSystem::copyRectToScreen calls. 2012-06-16 02:39:00 +02:00
Johannes Schickel
084c1259fc SCI: Get rid of casts on OSystem::copyRectToScreen calls. 2012-06-16 02:39:00 +02:00
Johannes Schickel
ebb5cb7e4c SAGA: Get rid of casts on OSystem::copyRectToScreen calls. 2012-06-16 02:39:00 +02:00
Johannes Schickel
d214391431 MOHAWK: Get rid of casts on OSystem::copyRectToScreen calls. 2012-06-16 02:38:59 +02:00
Johannes Schickel
79dfc7be97 MADE: Get rid of casts on OSystem::copyRectToScreen calls. 2012-06-16 02:38:59 +02:00
Johannes Schickel
2e97e043fb LASTEXPRESS: Get rid of casts on OSystem::copyRectToScreen calls. 2012-06-16 02:38:59 +02:00
Johannes Schickel
2afc0a5fbc GROOVIE: Get rid of casts on OSystem::copyRectToScreen calls. 2012-06-16 02:38:59 +02:00
Johannes Schickel
d4a5615a8b CGE: Get rid of casts on OSystem::copyRectToScreen calls. 2012-06-16 02:38:56 +02:00
Sven Hesse
f917db972e GOB: Shut up Little Red's warning about gob func 1 and 2
Those set some DOS timer interrupt related to sound.
Seems to be unnecessary for us.
2012-06-16 01:50:31 +02:00
Sven Hesse
54f7d9c557 GOB: Use the full title for Little Red Riding Hood
While the other parts in the series are mostly hard-coded,
they are small, simple and monotone enough that I might just
think about implementing them some day...
2012-06-16 01:44:57 +02:00
Sven Hesse
1666d9da82 GOB: Fix mult object collision detection I broke in 2007
This fixes the sidescroller levels (like the bees and butterflies)
in Little Red.

I really wonder if this breakage had other effects too...
2012-06-16 01:39:14 +02:00
Filippos Karapetis
a0add53c60 SCI: Change getClassAddress() to only require the caller segment
The caller offset is never actually used inside the function
2012-06-15 22:32:17 +03:00
Filippos Karapetis
8666a0528f SCI: Also skip a robot video in the Lighthouse demo 2012-06-15 22:32:16 +03:00
Filippos Karapetis
041b1447c0 SCI: Replace RAW_IS_OBJECT with a method 2012-06-15 22:32:15 +03:00
Filippos Karapetis
5ca22a1104 SCI: Fix warnings
Thanks to DrMcCoy for reporting them
2012-06-15 22:32:15 +03:00
Filippos Karapetis
160732b2f7 Revert "SCI: Change Script::getObject() to accept a reg_t"
This reverts commit 577d7e41c9.
2012-06-15 22:32:14 +03:00
Sven Hesse
5961609a56 GOB: Add a resource size workaround for Little Red
This fixes the missing resources in the screen where Little Red
has to find the animals' homes for them.
2012-06-15 15:09:01 +02:00
Sven Hesse
7632246264 GOB: Implement Util::getKeyState() for Little Red
This makes the bees level playable, removing the "lock-up".
Collision detection between Little Red and the bees and butterflies
doesn't work yet though, so they're just flying through her.

Nevertheless, the game seems to be completable now.
2012-06-15 13:35:46 +02:00
D G Turner
c668431522 TOON: Simplify code in Animation::drawFrameWithMaskAndScale(). 2012-06-15 12:11:01 +01:00
Filippos Karapetis
562a8a980c SCI: Further cleanup of the script code
Merge the init() and load() Script methods and reset the script when
necessary
2012-06-15 12:53:17 +03:00
Filippos Karapetis
23ed0f1dc8 SCI: Skip playing of the unsupported robot video 1003 in RAMA 2012-06-15 12:24:20 +03:00
Filippos Karapetis
9aaefbd536 SCI: _propertyOffsetsSci3 and classpos should be 32-bit integers
These are needed for future handling of large SCI3 script files
2012-06-15 12:24:18 +03:00
Filippos Karapetis
e1ae110860 SCI: Clean up the script initialization code 2012-06-15 12:24:16 +03:00
Filippos Karapetis
577d7e41c9 SCI: Change Script::getObject() to accept a reg_t
This is needed for upcoming changes to the Script class
2012-06-15 12:24:14 +03:00
Filippos Karapetis
425926ed7e SCI: Limit floodfill hack to GK1
Fixes the intro of LSL7 and the inventory screen in PQ4
2012-06-15 12:24:12 +03:00
Travis Howell
85e0a90f4a SCUMM: The target and Wii releases of a few HE games are HE101, since they have differce in debugInput opcode too. 2012-06-15 19:20:03 +10:00
Matthew Hoops
83e014f2bd SCUMM: Fix rect bounds in getPolygonOverlap() 2012-06-15 01:24:39 -04:00
Matthew Hoops
a529d96091 SCUMM: Adjust some wiz image ops and flood fill rects
Fixes black lines appearing on the field in football/football2002 and some soccer2004 menus.
2012-06-15 00:41:10 -04:00
Sven Hesse
f16cc050e9 GOB: Add class Inter_LittleRed
This fixes the crash when selecting an animal in the "Languages"
screen.

Interestingly, the German names of the animals are partially
wrong... And for "Das Schmetterling" (sic!), even the recorded
speech sample is wrong.
2012-06-15 01:14:49 +02:00
Sven Hesse
59b2a84552 GOB: Add a proper GameType for Little Red 2012-06-15 00:51:03 +02:00
Sven Hesse
3b8b3c4caf GOB: Fix a failed assert in Litte Red Riding Hood 2012-06-14 23:40:18 +02:00
D G Turner
acaf8f7623 TOON: Fix two latent off-by-one errors in Character Class.
These were exposed by assertions from Common::Array usage.
2012-06-14 21:02:44 +01:00
D G Turner
57d34d2576 Merge branch 'toon-RAM-reduction' 2012-06-14 17:45:30 +01:00
D G Turner
4aa0ec7fc4 TOON: Change Pathfinding weight buffers to uint16.
This should result in a significant saving in RAM usage.
Have added warning outputs if the weights exceed the maximum limit.
2012-06-14 17:23:01 +01:00
Sven Hesse
5ae4ed09ea GOB: Fix an uninitialised value in Geisha's Penetration 2012-06-14 15:33:30 +02:00
Sven Hesse
0e6fb43779 GOB: Remove useless variable 2012-06-14 15:27:37 +02:00
Sven Hesse
ccad083ab9 GOB: Fix a "condition depends on uninitialised value" in Geisha 2012-06-14 15:24:49 +02:00
Sven Hesse
198c116061 GOB: Fix stupid typo/bug I introduced in 2007
Luckily, it apparently didn't have any visible symptoms...
2012-06-14 14:40:33 +02:00
D G Turner
d2eab05e7d TOON: Replace Character _currentPath static buffers with Common::Array. 2012-06-14 13:38:45 +01:00
Filippos Karapetis
27f2b6e4dd SCI: Change the script buffer size to be a size_t as well
This will be needed in the future to load large SCI3 scripts
2012-06-14 12:20:43 +03:00
Filippos Karapetis
9c8ff41181 SCI: Add known large SCI3 scripts 2012-06-14 12:20:41 +03:00
Filippos Karapetis
21b6b81f16 SCI: A separate implementation is needed for syncStringHeap() for SCI3 2012-06-14 12:20:39 +03:00
Filippos Karapetis
0a3fb38bc7 SCI: Add handling of two more configuration settings for LSL7 2012-06-14 12:20:37 +03:00
Filippos Karapetis
b9057761df SCI: Add missing documentation for the plane_items / pi console command 2012-06-14 02:36:45 +03:00
D G Turner
87eb651886 TOON: Migrate Character API x,y coordinates and subclasses to int16.
This harmonises the usage with Common::Point.
2012-06-14 00:19:34 +01:00
Filippos Karapetis
e4f08a4644 SCI: Fix the loading screen and the loading functionality in Shivers
Shivers uses extra special hardcoded save files together with the normal
ones that are used to store slot names and spot descriptions. The scheme
is a bit odd, and since the names of the extra save files are hardcoded,
this scheme is problematic to use. We skip the creation of these files
altogether and use virtual files instead, which means that the
(broken) spot descriptions won't be visible next to each save
description. This isn't a major issue for now, and it's left as a future
TODO to implement this feature in a cleaner way, and not with extra save
files. This scheme fixes the slot descriptions in the loading screen.
Also, kCD(1) has been implemented, which fixes loading of the save
states themselves
2012-06-13 22:56:43 +03:00
Strangerke
179427c78f HUGO: Rename pointers 2012-06-13 21:18:37 +02:00
Strangerke
999ae29de4 HUGO: Rename structs and enums 2012-06-13 20:58:01 +02:00