Commit Graph
86814 Commits
Author SHA1 Message Date
Eugene Sandulenko 9f92561df3 FULLPIPE: Implement StaticANIObject::getSomeXY() 2013-10-27 00:50:49 +03:00
Eugene Sandulenko 7089444e0b FULLPIPE: Implement MovGraph2::method34() 2013-10-27 00:50:49 +03:00
Strangerke 1828f5edc8 TSAGE: Fix CID 1002381 to 1002384, get rid of a couple of magic values 2013-10-26 23:42:44 +02:00
Strangerke a6f7b638a1 TSAGE: Fix CID 1002374 - Uninitialized variables in R2R Speakers 2013-10-26 22:35:27 +02:00
Paul Gilbert bd6f531d85 TSAGE: Slightly adjust R2R UI area to properly hug the bottom of the screen 2013-10-26 12:13:42 -04:00
Paul Gilbert 08cd61acc2 TSAGE: Compilation fix for SymbionOS 2013-10-26 11:56:14 -04:00
Matthew Hoops aea224e260 ALL: Mark off common code used by ZVision 2013-10-26 10:39:36 -04:00
peres 070558c4c4 GRAPHICS: do not reset the extra parameters of IFFDecoder on destroy().
The two properties that control pixel packing and the size of the
surface need to be preserved for loadStream() to work correctly.
They are now under complete responsibility of the client.
2013-10-26 23:26:22 +09:00
peres 69be9adf52 Revert "GRAPHICS: do not clear the internal state of IFFDecoder on loadStream()."
This reverts commit 92c1ff31d6.
2013-10-26 23:26:22 +09:00
Matthew Hoops 091bcbf313 GRAPHICS: Have TGA's loadStream() call destroy() 2013-10-26 10:21:08 -04:00
Matthew Hoops 1b3eee6d78 GRAPHICS: Clarify implicit destroy() usage 2013-10-26 10:21:03 -04:00
peres 92c1ff31d6 GRAPHICS: do not clear the internal state of IFFDecoder on loadStream().
This decoder needs to keep track of client parameters that control
how the pixels are going to be packaged, so the responsibility for
clearing the state has been moved on the client (using the destroy()
method on ImageDecoder).

As no client uses the IFFDecoder for more than one image at a time,
this change does not require updates to the engines. The only effect
is on Parallaction (BRA-Amiga), which can now control the way pixels
are packaged in mask and path bitmaps.
2013-10-26 22:24:16 +09:00
Strangerke 47953d1327 AVALANCHE: Fix CID1109676 - Uninitialized scalar fields (in Dialogs) 2013-10-26 12:04:01 +02:00
RichieSams 587f65c761 ZVISION: Actually change the cursor when ZGI mouse is pressed 2013-10-25 18:12:11 -05:00
RichieSams c2e7b1ec22 ZVISION: Create custom working window size for ZGI 2013-10-25 18:11:48 -05:00
RichieSams b6af5ae40a ZVISION: Change ZGI detection entry platform to Windows from DOS
ZGI wasn't released on DOS
2013-10-25 18:10:50 -05:00
Strangerke f10130c414 AVALANCHE: Fix CID 1109674 - Uninitialized variables in Avalanche.cpp 2013-10-25 23:37:41 +02:00
Marisa-Chan 6ace820da6 ZVISION: Remove field "flags" from puzzle structure. 2013-10-25 20:47:36 +00:00
Marisa-Chan 4d02fe42fd ZVISION: Remove not needed (de)serialize functions from controls class. 2013-10-25 20:44:40 +00:00
Marisa-Chan 6d5e8cb105 ZVISION: Replace disable/enable control functions by call to
getStateFlag.
2013-10-25 20:42:14 +00:00
Strangerke da2ddbb8f4 AVALANCHE: Fix 3 issues reported by Coverity. 2013-10-25 22:40:09 +02:00
Strangerke 97d28f0e72 AMIGAOS4: Make use of updated function names (SDK53.24) and remove unused code
Courtesy of Raziel^
2013-10-25 21:11:12 +02:00
Marisa-Chan c0a709dc23 ZVISION: Refactoring script manager, massive changes. 2013-10-25 17:12:08 +07:00
Marisa-Chan 8e4070c68b ZVISION: Added global StateFlags and set/get/unset functions. 2013-10-25 15:39:38 +07:00
Marisa-Chan 91cbb1ec79 ZVISION: Move setState to use queuePuzzle. 2013-10-25 14:52:40 +07:00
Marisa-Chan c87ca1bc9c ZVISION: Add flag to puzzle structure for use with new referenceTable. 2013-10-25 08:13:59 +00:00
Strangerke 7dc1ea9ada AVALANCHE: Fix out of bounds reads (CID 1109653-1109655) 2013-10-25 08:10:38 +02:00
Strangerke 8677f9aa3c AVALANCHE: Fix one more out of bounds - CID 1109651 2013-10-25 07:58:15 +02:00
Strangerke 334e429c0a AVALANCHE: Fix several other out of bounds access - CID 1109650 2013-10-25 07:49:51 +02:00
Paul Gilbert a59b4cbc9d TSAGE: Add in R2R screen border to scenes showing the user interface 2013-10-24 22:42:46 -04:00
Marisa-Chan d8ad0e5235 ZVISION: Added clean function for script scope and body for queue
routine.
2013-10-24 22:45:55 +00:00
Marisa-Chan 803ff02136 ZVISION: New data types for script files and puzzle reference. 2013-10-24 22:25:34 +00:00
Eugene Sandulenko 514f93b57f FULLPIPE: Implement StaticANIObject::updateStepPos() 2013-10-25 00:34:43 +03:00
Kamil Zbróg 5357724657 PRINCE: code cleanup 2013-10-24 20:31:08 +01:00
Kamil Zbróg 026390145b PRINCE: Another code cleanup 2013-10-24 14:24:27 +01:00
Kamil Zbróg e64c3dc002 PRINCE: code cleanup 2013-10-24 13:28:06 +01:00
Strangerke 29033e357b AVALANCHE: Fix a couple of (theoretical) out of bounds accesses (CID 1109650) 2013-10-24 12:59:16 +01:00
Eugene Sandulenko d04a86c20b FULLPIPE: Implement MessageQueue::transferExCommands() 2013-10-24 12:59:16 +01:00
Johannes Schickel a6f0d090cf SDL: Reduce code duplication a bit.
Now instead of initializing this in OSystem_SDL::initSDL (and in subclasses
overwriting this) we simply initialize it in OSystem_SDL::init.
2013-10-24 12:59:16 +01:00
Johannes Schickel ce92499e47 SDL: Fix default graphics mode for switchable case.
The former code (incorrectly) assumed that the getDefaultGraphicsMode returns
the index in the table returned by getSupportedGraphicsModes. Now the correct
ID is searched and then used.
2013-10-24 12:59:16 +01:00
Johannes Schickel 06e4b3e060 SDL: Do not require a static graphics mode list in OpenGL and SurfaceSDL. 2013-10-24 12:59:16 +01:00
Johannes Schickel 4834017476 SDL: Only allow switching of SurfaceSDL <-> OpenGL when no custom manager is used. 2013-10-24 12:59:16 +01:00
Johannes Schickel c5f1ee5b28 SDL: Make setupGraphicsModes non-virtual.
The logic of switching the managers is pretty much fixed at the same level
and cannot be easily overwritten.
2013-10-24 12:59:16 +01:00
Johannes Schickel 3523ec449e SDL: Simplify initial graphics manager selection for OpenGL. 2013-10-24 12:59:16 +01:00
Johannes Schickel c820e212eb SDL: Get rid of _glModesCount. 2013-10-24 12:59:16 +01:00
Johannes Schickel 960b47dbde SDL: Get rid of loop in OSystem_SDL::setGraphicsMode. 2013-10-24 12:59:16 +01:00
Johannes Schickel b85989bd8e SDL: Clean up graphics mode handling for OpenGL backend.
Instead of custom memory management Common::Array is used now.
2013-10-24 12:59:16 +01:00
Johannes Schickel b53770366b SDL: Always initialize video subsystem in initSDL. 2013-10-24 12:59:16 +01:00
Johannes Schickel 2784901dac SDL: Clean up graphics manager switching slighty.
Sadly this also requires us to extend GraphicsManager for this SDL specific
feature. However, since that's only used in the SDL backend and Tizen it
should be fine for now...
2013-10-24 12:59:16 +01:00
Eugene Sandulenko aebe01f7ec FULLPIPE: Implement MovGraph::calcNodeDistancesAndAngles() 2013-10-24 12:59:16 +01:00