Commit Graph

62710 Commits

Author SHA1 Message Date
Strangerke
27a45d169e VOYEUR: Use a nullptr instead of a 0 in a return value 2014-03-17 21:19:28 +01:00
Eugene Sandulenko
548dd029ee FULLPIPE: Last renames in scene18and19. This completes the scene 2014-03-16 22:40:26 +02:00
Eugene Sandulenko
8bdea56720 FULLPIPE: Yet more renames in scene18 and 19 2014-03-16 22:40:26 +02:00
Eugene Sandulenko
9a6b72f28c FULLPIPE: More vars renamed in scene18 2014-03-16 22:40:26 +02:00
Eugene Sandulenko
60a41b76f2 FULLPIPE: More renames in scene18and19 2014-03-16 22:40:26 +02:00
Paul Gilbert
5070bbcf0f LURE: Minor change to language text strings 2014-03-16 15:34:33 -04:00
Torbjörn Andersson
1b8b10e9df DEVTOOLS: Fix accidental string concatenation (CID 1192645, 1192646)
The other string concatenation looks deliberate to avoid compiler
warnings, but these were almost certainly accidental. Also fixed
some German inventory-related strings. Dreammaster has promised to
generate a new lure.dat, since I'm not comfortable doing it myself.
2014-03-16 19:41:57 +01:00
Sven Hesse
dba4084c8a GOB: Calculate _totResStart even if no resources follow
It's also used as a base offset for TOT strings.
This fixes a crash in the Amiga version of Bargon Attack.
2014-03-16 16:40:08 +01:00
Sven Hesse
0f9b1364cf GOB: Remove the last remnants of Draw::_vgaSmallPalette
Draw::_vgaSmallPalette was supposed to be a 16-color VGA
palette / EGA palette, but we've been using the first 16
entries of Draw::_vgaPalette for that for ages now.

The only parts where we didn't were codepaths never
actually taken in the gob games, so for the sake of
clarity (and fixing Coverity issues), this commit removes
those as well.

Fixes Coverity issues 1192648 and 1192649.
2014-03-16 15:35:35 +01:00
Strangerke
175cc60a0f VOYEUR: Initialize an unitialized variable 2014-03-16 14:55:34 +01:00
Strangerke
87c457a223 CINE: Initialize some unitialized variables 2014-03-16 14:51:55 +01:00
Strangerke
95728f4890 CINE: Avoid possible string buffer overrun by using strlcpy and strlcat 2014-03-16 14:24:45 +01:00
Strangerke
8f6971ae61 TSAGE: Remove useless variable in Voice structure entry Type 0 2014-03-16 13:01:31 +01:00
Strangerke
5cb9a04221 TSAGE: Reduce verbosity in Sound code 2014-03-16 12:57:58 +01:00
Strangerke
8cf896fc12 TSAGE: Change the type of two variables to boolean 2014-03-16 12:09:17 +01:00
Strangerke
72770f2341 VOYEUR: Fix some missing variable initializations 2014-03-16 12:06:24 +01:00
Strangerke
b5c086270d TSAGE: Prevent possible null dereferenced in sound player 2014-03-16 12:00:39 +01:00
Eugene Sandulenko
ed90a8861b FULLPIPE: Fix compiler warning 2014-03-16 02:00:35 +02:00
Eugene Sandulenko
90cd949012 FULLPIPE: Further work on scene18and19 renames 2014-03-15 23:28:01 +02:00
D G Turner
d7bddea6db ANDROID: Fix platform architecture and thus MIPS builds.
Can't use the first three characters of the ABI as "mips" is four
characters. Better than this is a separate variable anyway.
2014-03-15 19:58:13 +00:00
Einar Johan Trøan Sømåen
7da44b6b03 WINTERMUTE: Run astyle on transparent_surface.{h,cpp} mainly adding braces. 2014-03-15 15:40:03 +01:00
Strangerke
7363009cd5 TUCKER: Initialize some more pointers with nullptr instead of 0 2014-03-15 13:36:35 +01:00
Strangerke
f30246187e TUCKER: Use boolean instead of integer in several places 2014-03-15 12:34:08 +01:00
Strangerke
661f041472 TUCKER: Initialize some pointers with nullptr instead of 0 2014-03-15 12:02:44 +01:00
Strangerke
0e48803b42 TUCKER: Add a safeguard in updateCharPosition() to avoid a potential out-of-bounds read, change the type of a variable to boolean 2014-03-15 11:42:57 +01:00
Strangerke
8f41fc10b2 CGE: Remove a useless structure member, reduce a variable scope 2014-03-15 11:31:43 +01:00
Strangerke
0a9b8978ee CGE: Remove a useless variable, remove some associated dead code 2014-03-15 11:19:21 +01:00
Strangerke
62c4062841 CGE: Reorder CGEEngine constructor 2014-03-15 11:15:55 +01:00
Strangerke
1cf283bfa7 CGE: Move several variable initializations to the constructor 2014-03-15 11:09:52 +01:00
Strangerke
531923241d AVALANCHE: Add a safeguard to avoid trying to highlight a dummy (out of bound) line 2014-03-15 10:52:32 +01:00
Strangerke
a2380c7576 VOYEUR: Move the initialization of vm to the constructor of BoltFilesState 2014-03-15 10:43:06 +01:00
Strangerke
f73901ca9a VOYEUR: Add a check to avoid potential use of negative value as an array index 2014-03-15 10:23:42 +01:00
Eugene Sandulenko
2e440e54e4 FULLPIPE: Further var renames in scene18and19 2014-03-14 23:49:51 +02:00
Strangerke
dd16e5f91c VOYEUR: Get rid of some magic values 2014-03-14 08:08:31 +01:00
Strangerke
38f90feaa5 VOYEUR: Hide the mouse cursor when the low battery screen is displayed 2014-03-14 06:51:05 +01:00
Strangerke
779f3e5876 VOYEUR: Hide the mouse cursor when the low battery screen is displayed 2014-03-14 06:50:37 +01:00
Eugene Sandulenko
35569962fe FULLPIPE: Some renames in scenes18 and 19 2014-03-13 23:12:39 +02:00
Strangerke
e310e9832d VOYEUR: Make checkForKey() less verbose 2014-03-13 07:05:06 +01:00
Strangerke
540566443f VOYEUR: Simplify the use of _vPort 2014-03-13 06:39:25 +01:00
Paul Gilbert
ef69ac9f2f Merge pull request #447 from damien-hackadl/master
LURE: Use the mouse pointer for menus on the Wii
2014-03-12 22:24:44 -04:00
D G Turner
b827d14924 ANDROID: Modify configure script for multi architecture builds.
The host targets for Android ARM builds are changed to "android-arm"
and "android-arm-v7a", from "android" and "android-v7a", and two new
targets are added of "android-mips" for MIPS and "android-x86" for
x86.

The older "android" and "android-v7a" targets are still supported,
but are deprecated.
2014-03-13 02:15:51 +00:00
Eugene Sandulenko
17a8bf4f24 FULLPIPE: Fix warning 2014-03-12 23:39:01 +02:00
Eugene Sandulenko
baa4457f25 FULLPIPE: Implement sceneHandler18_clickBoard() 2014-03-12 23:33:12 +02:00
Eugene Sandulenko
2a81fb5e1e FULLPIPE: Implement sceneHandler18_showManJumpTo() 2014-03-12 23:33:12 +02:00
Strangerke
a7f506967d VOYEUR: Add Computer Hotspot in debugger 2014-03-12 07:46:44 +01:00
Strangerke
2bdad6250d VOYEUR: Fix default value of _computerTextId 2014-03-12 07:46:43 +01:00
Eugene Sandulenko
c14e6a0272 FULLPIPE: Implement sceneHandler18and19_animateRiders() 2014-03-12 00:20:56 +02:00
Kirben
ac26163f4d AGOS: Fix scroll wheel glitch in Simon the Sorcerer 1. 2014-03-11 19:37:52 +11:00
Strangerke
e9189b57b3 CGE: Get rid of a magic value in file seek 2014-03-11 07:52:46 +01:00
Strangerke
2822df856d CGE: Remove the useless return value of XCrypt() 2014-03-11 07:31:12 +01:00