Commit Graph
86814 Commits
Author SHA1 Message Date
Paul Gilbert b831323c85 MADS: Added caching for font instances 2014-03-17 00:00:22 -04:00
Paul Gilbert acba8f9254 MADS: Implementing user interface text display methods 2014-03-16 23:40:21 -04:00
Paul Gilbert e24a4b7b16 MADS: Fix for Scene2xx::setPlayerSpritesPrefix 2014-03-16 17:55:47 -04:00
Paul Gilbert 39a36064ac MADS: In progress text draw methods for user interface 2014-03-16 17:50:47 -04:00
Strangerke 4dd057edd9 MADS: First real try - Implement Scene201::enter() 2014-03-16 22:46:28 +01:00
Paul Gilbert d599c7c404 MADS: Fix to display player 2014-03-16 16:50:53 -04: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 74da0c2ef7 MADS: Fix for loading player sprites during scene startup 2014-03-16 15:50:17 -04:00
Paul Gilbert 5070bbcf0f LURE: Minor change to language text strings 2014-03-16 15:34:33 -04:00
Paul Gilbert f3415b762e MADS: Implemented lots of Player methods 2014-03-16 14:53:10 -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
Strangerke 834cf846f1 MADS: Implement Scene201::setup, remove some function definition, add some Noun enum values 2014-03-16 18:32:46 +01:00
Strangerke ecbe2c87fd MADS: Implement Scene2xx functions 2014-03-16 18:16:21 +01:00
Strangerke 9ffaf672ff MADS: Move setPlayerSpritesPrefix() to Scene1xx 2014-03-16 18:10:22 +01:00
Strangerke 136b64db83 MADS: Move setAAName() to Scene1xx 2014-03-16 17:26:51 +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
Paul Gilbert 1787049087 MADS: Add loading of game inventory list and quotes 2014-03-16 01:29:02 -04:00
Paul Gilbert 120374b7d0 MADS: Simplified PaletteUsage::process list sorting 2014-03-16 01:08:16 -04:00
Paul Gilbert 5e3684b37a MADS: Simplified code for PaletteUsage::prioritize 2014-03-16 00:43:08 -04:00
Paul Gilbert dfcef632ea MADS: Hooked up the in-progress scene 103 2014-03-16 00:00:18 -04:00
Paul Gilbert 2fb9edc4ee MADS: Added some more ImageInterEntries methods 2014-03-15 21:51:40 -04:00
Paul Gilbert 630679a5c8 MADS: Completed UserInterface::loadElements 2014-03-15 21:33:15 -04:00
Paul Gilbert c4ed42e6d5 MADS: Implementing UserInterface loading 2014-03-15 20:19:01 -04:00
Eugene Sandulenko ed90a8861b FULLPIPE: Fix compiler warning 2014-03-16 02:00:35 +02:00
Paul Gilbert ca6cf0eaf2 MADS: Fix display of user interface during animation 2014-03-15 18:52:44 -04:00
Paul Gilbert b652e2eafd MADS: Merged the InterfaceSurface and UserInterface classes 2014-03-15 18:43:39 -04:00
Paul Gilbert 10124f6806 MADS: Implemented scene 103 setup and needed support methods 2014-03-15 17:38:44 -04: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
Paul Gilbert e00a1b88ca MADS: Perform palette translation on background 2014-03-15 14:08:43 -04:00
Paul Gilbert 49ca357e9e MADS: Remove redundant _encoding field from MSprite 2014-03-15 11:22:19 -04:00
Paul Gilbert d2bbdd255a MADS: Implement palette shifting for loaded sprites 2014-03-15 11:12:31 -04: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
Paul Gilbert c9661ca88c MADS: Fix off by 1 frame references in srite drawing 2014-03-15 08:41:17 -04: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