47265 Commits

Author SHA1 Message Date
Matthew Hoops
b4f4fd6b00 AGI: Cleanup some Winnie string code 2011-07-03 13:49:28 -04:00
Matthew Hoops
c2be473ce2 AGI: Fix some memset calls
Spotted by both salty-horse and LordHoto using clang
2011-07-03 13:49:28 -04:00
Alyssa Milburn
628cc40e8f MOHAWK: Fix build. 2011-07-03 18:28:22 +02:00
Alyssa Milburn
a1e9cecd39 MOHAWK: Implement the remaining LBCode arithmetic operators. 2011-07-03 18:19:32 +02:00
Alyssa Milburn
57d4bad11c MOHAWK: Handle subpages in the LB console's changePage. 2011-07-03 18:18:00 +02:00
athrxx
636a28c0dd SCUMM: fix crash in digital iMuse games when using RTL and restarting
(static array were not reset to NULL after being freed and therefore didn't get reallocated on restart)
2011-07-03 14:40:57 +02:00
athrxx
90fa4cf15f KYRA: formatting 2011-07-03 14:40:55 +02:00
Alyssa Milburn
d7f50b925e MOHAWK: Fix associativity of LBCode operators. 2011-07-03 14:18:17 +02:00
eriktorbjorn
dd7b1399f3 SWORD2: Silence "variable set but not used" GCC warnings 2011-07-03 07:20:40 +02:00
Johannes Schickel
7e4224e52a COMMON: Fix compilation when USE_HASHMAP_MEMORY_POOL is not defined. 2011-07-03 00:16:07 +02:00
Bastien Bouclet
0b1cb0ebbb SDL: Remove an unnecessary memset 2011-07-02 22:14:13 +02:00
Bastien Bouclet
8b89660069 GUI: Zero is a valid save slot number.
Fixes loading from slot 0 using the GMM.
2011-07-02 22:01:47 +02:00
Bastien Bouclet
8e80f5690d MOHAWK: Misc Mechanical fixes. Many thanks to Patrick Monnerat for the patch.
- Adds break statements where missing in Mechanical::toggleVar() and Mechanical::setVarValue()
- Restore proper numbering of Achenar and Sirrus panel state variables, which were wrongly swapped.
- When bird is singing, play sound continuously.
- When operating the fortress elevator, keep the engine sound active while the elevator is moving.
2011-07-02 22:01:46 +02:00
Bastien Bouclet
a360a64dd7 SDL: Set a black palette by default.
This fixes white flashing screens when using SDL 1.3.
SDL 1.3 palettes are all white by default, whereas
SDL 1.2 palettes are all black ...
2011-07-02 22:01:45 +02:00
Johannes Schickel
09501be85b ENGINES: Clean up SaveStateDescriptor.
Now SaveStateDescriptor no longer subclasses HashMap. Instead all possible
saved meta data is included directly into SaveStateDescriptor.

This is slightly less flexible, but we never needed that flexibility so far.
On the other hand it should reduce the memory usage. At least on my system
(Linux/amd64) the old SaveStateDescriptor had a size of 928 and the new
SaveStateDescriptor has a size of 200.
2011-07-02 21:07:55 +02:00
Paul Gilbert
a5b0792295 TSAGE: Remove outdated extra channel variable 2011-07-02 19:54:39 +10:00
Paul Gilbert
d1a30b41b1 TSAGE: Linked in the (in progress) SoundBlaster Fx class 2011-07-02 13:51:05 +10:00
Paul Gilbert
160a8d96d9 TSAGE: Fixed problem with saving double values 2011-07-02 13:49:27 +10:00
Paul Gilbert
ab7fdccc3b TSAGE: Beginnings of SoundBlaster sound driver 2011-07-02 10:39:57 +10:00
Alyssa Milburn
925347bd4d MOHAWK: Don't allocate zero-size array. 2011-07-02 01:27:19 +02:00
Matthew Hoops
5ba4e839b5 MOHAWK: Add the Mac version of Arthur's Reading Race 2011-07-01 18:33:14 -04:00
Alyssa Milburn
1d6df12446 MOHAWK: Always create a code object for every LBPage. 2011-07-02 00:23:37 +02:00
Alyssa Milburn
35ef5ea28c MOHAWK: Try implementing LBCode eval, random and seek. 2011-07-02 00:23:04 +02:00
Alyssa Milburn
aceb1470cb MOHAWK: Use LBCode instead of running scripts in LBItem. 2011-07-02 00:18:26 +02:00
Alyssa Milburn
1b2b9e7604 MOHAWK: Add LBCode::parseCode.
This allows script strings to be parsed into LB bytecode.
2011-07-02 00:16:55 +02:00
Alyssa Milburn
d2035b34e0 MOHAWK: Allow creation of LBCode instances without an associated BCOD. 2011-07-02 00:11:44 +02:00
Alyssa Milburn
2667b502d7 MOHAWK: Add LBCode::resolveItem helper function. 2011-07-02 00:04:24 +02:00
Alyssa Milburn
689099f9b5 MOHAWK: Fix/add bounds checking in LBCode::nextToken. 2011-07-02 00:03:49 +02:00
Johannes Schickel
23dd778a16 BACKENDS: Fix PS2 backend compilation for real. 2011-07-01 23:36:35 +02:00
Johannes Schickel
12f38459e4 BACKENDS: Fix compilation of PS2 backend. 2011-07-01 23:10:48 +02:00
Johannes Schickel
a79f529f4c GRAPHICS: Fix possible memory leak in BdfFont code. 2011-07-01 21:55:21 +02:00
Johannes Schickel
fa5f8dc703 GRAPHICS: Rename NewFont to BdfFont. 2011-07-01 21:53:01 +02:00
Johannes Schickel
9e3366d66e GRAPHICS: Format NewFont code with astyle. 2011-07-01 21:20:01 +02:00
Johannes Schickel
8201df7bb6 GRAPHICS: Move NewFont code to a separate file. 2011-07-01 21:10:25 +02:00
Travis Howell
12c94f749d Merge branch 'master' of github.com:scummvm/scummvm 2011-07-01 15:47:53 +10:00
Travis Howell
146b90bcbf BUILD: Update Windows installer script. 2011-07-01 15:47:28 +10:00
Littleboy
00e3f920d0 CREATE_PROJECT: Update with new location of NSIS script and updated parameters 2011-07-01 01:17:20 -04:00
Littleboy
f38a31e208 NSIS: Always pass ARCH variable to script and handle case when the variable is empty 2011-07-01 01:17:18 -04:00
Littleboy
1f1367bb5a NSIS: Convert line endings on the fly during installation 2011-07-01 01:17:16 -04:00
Littleboy
db1ec4a42d TOOLS: Update NSIS script location 2011-07-01 01:17:14 -04:00
Littleboy
ac165d6f19 DISTS: Add missing IDI_COUNT to scummvm.rc.in 2011-07-01 01:17:12 -04:00
Littleboy
02b03bc6c1 CONFIGURE: Rename $WIN32BUILD to $STAGING 2011-07-01 01:17:10 -04:00
Littleboy
a5398bd663 LASTEXPRESS: Fix loading of subtitles from sound name 2011-07-01 01:17:08 -04:00
Travis Howell
a5d001fdef BUILD: Use static build when compiling with later GCC versions under mingw, to avoid additional DLL requirements. 2011-07-01 15:11:52 +10:00
Johannes Schickel
16ba176b4f GRAPHICS: Fix SJIS PCE font loading. 2011-07-01 06:13:11 +02:00
Johannes Schickel
77bfaa1bb4 GRAPHICS: More default parameter remove in SJIS code. 2011-07-01 05:51:10 +02:00
Johannes Schickel
933ee5b156 GRAPHICS: Remove default values from FontSJIS::drawChar.
drawChar is overloaded in FontSJIS. One takes a "Surface &" as first
parameter another one "void *", they furthermore have the exact same
number of required parameters. The one "void *" just had a few extra
parameters with default values. This resulted in a bug in SCUMM, where
"VirtScreen *" (a subclass of Surface) was passed instead of "VirtScreen &"
and thus the method taking "void *" was incorrectly used.

To make it easier to spot such bugs in the future I just removed the default
values and thus disallow such calls.
2011-07-01 05:42:54 +02:00
Johannes Schickel
685e32dbd7 GRAPHICS: Offer support for PCE font data of SJIS.FNT. 2011-07-01 05:42:54 +02:00
Johannes Schickel
c047f871d6 GRAPHICS: Cleanup SJIS font code a bit. 2011-07-01 05:42:54 +02:00
D G Turner
173db53e4b DREAMWEB: Add Spanish CD and French CD Detection Entries.
These are taken from bug #3328865 ("DREAMWEB Spanish Version").
2011-07-01 01:12:43 +01:00