52232 Commits

Author SHA1 Message Date
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
90999d8f8c AUDIO: Implement a missing Protracker feature
When a row has a new period, but no new sample, restart the track's
last sample (except when we're doing portamento).
2012-06-15 03:06:14 +02: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
Johannes Schickel
84ed361370 GUI: Remove unused SaveLoadChooser::setList. 2012-06-14 02:59:52 +02: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
Strangerke
fbc2c6d08a HUGO: More renaming 2012-06-13 17:44:09 +02:00
Strangerke
0c7fcff8a3 HUGO: Use Common::Point in pathfinding 2012-06-13 16:28:47 +02:00
Strangerke
d3929bd4bc HUGO: Some more renaming 2012-06-13 14:50:54 +02:00
Filippos Karapetis
045613af95 SCI: Shuffle the kernel functions inside kfile.cpp
This puts them in the order that they are defined in the kernel tables
2012-06-13 12:55:07 +03:00
Strangerke
998448128c HUGO: Some more renaming 2012-06-13 11:50:49 +02:00
Strangerke
9bc0591825 Merge branch 'master' of github.com:scummvm/scummvm 2012-06-13 11:29:16 +02:00
Strangerke
2e7b16a8bd HUGO: Apply coding convention (in progress) 2012-06-13 11:28:25 +02:00
Filippos Karapetis
93024c073b SCI: Handle the torindebug config setting for Torin's Passage French
Thanks to LePhilousophe for testing and providing a patch
2012-06-13 12:27:02 +03:00
Filippos Karapetis
e2613d2242 SCI: Add a workaround for the French version of Torin's Passage
Thanks to LePhilousophe for playing and providing the workaround
2012-06-13 12:27:00 +03:00
Filippos Karapetis
694f0f534a SCI: Only include kSave_subops if ENABLE_SCI32 is defined 2012-06-13 12:26:58 +03:00
Filippos Karapetis
098f162ecc SCI: Use the later SCI file functions for the SCI0 ones
They are essentially the same (with the exception of the return values),
so unifying them reduces code duplication
2012-06-13 12:26:57 +03:00
Filippos Karapetis
944a774e6a SCI: Change kSave() to be a kernel function with subops 2012-06-13 12:26:55 +03:00
Filippos Karapetis
5a17ea0585 SCI: Move all file-related functions in file.*
This way, there is a clear separation of the actual SCI kernel file
functions and the file classes and wrappers of ScummVM
2012-06-13 12:26:53 +03:00
Filippos Karapetis
a209359a67 SCI: Reorder the file kernel functions a bit 2012-06-13 12:26:51 +03:00
Filippos Karapetis
aeac51d726 SCI: Implement the file operations needed for the save dialog in Phantasmagoria
Phantasmagoria's scripts keep polling for the existence of the savegame
index file and request to read and write it using the same parameters
when opening it. The index file is closed and reopened for every save
slot, which is slow and can be much slower on non-desktop devices.
Also, the game scripts request seeking in writable streams and request
to expand the existing index file.

To provide this functionality and to reduce constant slow file opening
and closing, this virtual class has been introduced
2012-06-13 12:26:49 +03:00
Filippos Karapetis
f76c71d968 SCI: Add debug code to automatically skip robot videos 2012-06-13 12:26:48 +03:00
Strangerke
04b6af9176 SWORD25: Janitorial: Apply coding conventions 2012-06-13 09:40:11 +02:00
Johannes Schickel
51466ecfbb COMMON: Remove traces of mouse cursor target scale from OSystem docs. 2012-06-13 05:09:02 +02:00
Johannes Schickel
09ea48978a COMMON: Remove traces of overlay scale from the OSystem documentation. 2012-06-13 05:06:58 +02:00
Johannes Schickel
d99eb1e614 COMMON: Remove last traces of 8bpp overlay support from OSystem docs. 2012-06-13 04:57:55 +02:00
Johannes Schickel
cebbc11dac GUI: Allow Surfaces with abitrary RGB pixel formats to be used in PicButtonWidget and GraphicsWidget.
Only 1Bpp aka paletted surfaces are not supported.
2012-06-13 04:48:34 +02:00
Johannes Schickel
d5eb3e3c06 GUI: Allow querying of the pixel format used by ThemeEngine. 2012-06-13 04:32:11 +02:00
Johannes Schickel
34c5751948 KYRA: Reduce amount of updateScreen calls.
This fixes some slowdowns in Kyra2 with the OpenGL backend for me. Most of the
updateScreen calls saved were introduced by us implementing the original
behavior of hiding the mouse before drawing onto the screen and showing it
again afterwards, since the mouse cursor is not drawn on the game screen in our
implementation (and unlike in the original) this is not necessary.
2012-06-13 04:13:16 +02:00
Matthew Hoops
2a1193a6b1 VIDEO: Make rpza decode to its own pixel format 2012-06-12 09:34:24 -04:00
Matthew Hoops
e16ad39e53 VIDEO: Cleanup QTRLE
In particular, the colors are not converted to the screen format upon decoding. The code should also now work with 32bpp screen formats.
2012-06-11 23:16:30 -04:00
Matthew Hoops
3324aef8d0 MOHAWK: Make sure we convert video surfaces if they're not in the screen format 2012-06-11 23:14:26 -04:00