Commit Graph
287 Commits
Author SHA1 Message Date
Adrian Frühwirth fd4f9c1f2c JANITORIAL: Fix whitespace 2018-04-18 20:18:05 +02:00
Adrian Frühwirth b17cac8029 JANITORIAL: Fix typos 2018-04-18 20:18:05 +02:00
Bastien Bouclet 08f9e05b15 SWORD25: Fix leaking the save thumbnail surface 2017-11-11 13:26:22 +01:00
Bastien Bouclet 9c2cfee4e5 SWORD25: Fix leaking the save thumbnail MemoryWriteStreamDynamic 2017-09-22 07:06:20 +02:00
Eugene Sandulenko 940b2a20f1 Revert "COMMON: Change way the Singleton instances are instantiated"
This reverts commit eefa72afa1.

With this patch ConfigManager is broken.
2017-07-10 21:17:41 +02:00
Thierry Crozat eefa72afa1 COMMON: Change way the Singleton instances are instantiated
This fixes tons of warnings with clang from a recent xcode version on
macOS (and possibly other systems) complaining that an instantiation
of _singleton is required but no definition is available.
2017-07-10 21:11:20 +02:00
D G Turner 5fbb4fc6a0 SWORD25: Fix Warnings about Copy Constructor Failing to Call Base Class. 2017-01-16 09:57:50 +00:00
Eugene Sandulenko dead4aa014 JANITORIAL: Remove trailing spaces 2016-10-09 14:59:58 +02:00
Eugene Sandulenko 090faf5e9f SWORD25: Bail out instead of silently leaving the object in incosistent state 2016-05-06 11:41:52 +02:00
Eugene Sandulenko 2389de7a8d SWORD25: Translate couple of comments 2016-05-06 11:41:10 +02:00
Eugene Sandulenko 61c9d17abf SWORD25: Fix class initialization 2016-05-06 11:31:53 +02:00
Tkachov 9515d07f00 SWORD25: Fixed "Resource not released" warnings [GSoC]
(Look https://sourceforge.net/p/scummvm/bugs/6980/)

The warning messages were appearing because when PRECACHE_RESOURCES is
not defined, ResourceManager's `requestResource()` was used to manually
"cache" them. When you do that, ResourceManager "locks" the resource
once, so you must `release()` it later.

Resources were not released, and warnings appeared. When you
`release()` resource, it still is loaded ("cached"). Resource's
`getLockCount()` is 0, though, so it might be unloaded by
ResourceManager if there is a lot of resources.
2016-03-04 22:21:11 +06:00
Johannes Schickel 35244a8643 SWORD25: Make #include follow our conventions. 2015-12-14 05:23:16 +01:00
Johannes Schickel 40421f1854 SWORD25: Cleanup. 2015-12-14 05:08:05 +01:00
Johannes Schickel cb8e611e33 SWORD25: Fix uninitialized variable usage.
When using the constructor of Panel which directly calls unpersist _color was
uninitialized. However, unpersit uses setColor which assumes _color is
initialized properly. Caused valgrind warnings when loading.
2015-12-14 05:08:05 +01:00
Johannes Schickel 184ae49302 SWORD25: Plug memory leak in RenderedImage. 2015-12-14 05:08:05 +01:00
Johannes Schickel 74321fcd22 SWORD25: Let ImgLoader write into Graphics::Surface. 2015-12-14 05:08:05 +01:00
Eugene Sandulenko 3a574272b8 SWORD25: Remove unused class variable 2015-11-30 23:54:27 +01:00
Eugene Sandulenko 7449c09f4a SWORD25: Init variables 2015-11-30 23:54:27 +01:00
Eugene Sandulenko dbb473752b SWORD25: Fix tint color 2015-11-18 22:54:27 +01:00
Eugene Sandulenko aa9b5e94b6 SWORD25: Implement missing SWF opcode 2015-11-18 00:13:18 +01:00
Eugene Sandulenko aa74254f23 SWORD25: Translate comments 2015-11-17 23:28:57 +01:00
Eugene Sandulenko 4dc23ea289 SWORD25: Fix text rendering 2015-11-17 23:17:20 +01:00
Willem Jan Palenstijn 2b31096856 SWORD25: Fix comment translation 2015-11-13 10:51:29 +01:00
Eugene Sandulenko 1f1ef9b632 SWORD25: Fixing typo of typo. This time for real 2015-11-13 09:09:05 +01:00
Eugene Sandulenko a47ab5e1d9 SWORD25: Fix typo 2015-11-13 08:21:51 +01:00
Eugene Sandulenko ca4c10f424 SWORD25: Translate comments 2015-11-13 00:21:59 +01:00
Eugene Sandulenko 882989f5c3 SWORD25: Fix thumbnail generation and make it portable 2015-11-13 00:03:42 +01:00
Filippos Karapetis e938ddcef7 SWORD25: Remove trailing whitespace 2014-10-28 16:13:07 +02:00
Eugene Sandulenko 5da1a45307 SWORD25: Fix sprite flipping 2014-06-24 00:48:52 +03:00
Eugene Sandulenko 5c706dde27 SWORD25: Switch to common TransparentSurface 2014-06-15 15:43:25 +03:00
Matthew Hoops 740b6e8fbd IMAGE: Move all ImageDecoders to image/ 2014-02-28 00:27:28 -05:00
Johannes Schickel bad7cdd3a6 SWORD25: Make GPL headers consistent in themselves. 2014-02-18 02:39:38 +01:00
Strangerke 622dfcf950 SWORD25: Janitorial - Fix spacing errors 2013-11-24 18:52:48 +01:00
Willem Jan Palenstijn 4591bd6eb6 SWORD25: Fix alpha/colormod blitting
This is a backport to sword25 of the wintermute commits
e9cbda135b and 2141ad285e

Thanks to eriktorbjorn for noticing and testing.
2013-09-29 20:18:54 +02:00
D G Turner befa99ca77 SWORD25: Some more fixes for Amiga OS 4 compilation. 2013-09-29 03:21:55 +01:00
D G Turner 7e62442376 SWORD25: And even more fixes for Amiga OS 4 compilation. 2013-09-29 02:33:02 +01:00
D G Turner 03965ba855 SWORD25: Even more fixes for Amiga OS 4 compilation. 2013-09-29 00:45:43 +01:00
Eugene Sandulenko 9220d331e2 SWORD25: Make Amiga compiler happier 2013-09-28 23:57:39 +03:00
Eugene Sandulenko 5cb881be12 SWORD25: More int->int32 fixes 2013-09-28 23:45:31 +03:00
Eugene Sandulenko 86550cdc3c SWORD25: Further fixes for Amiga 2013-09-28 23:28:19 +03:00
Eugene Sandulenko 9a1ddf0dee SWORD25: More int <-> int32 corrections 2013-09-28 23:17:02 +03:00
Eugene Sandulenko 08c010b8df SWORD25: Further fixes for Amiga compilation 2013-09-28 22:58:10 +03:00
Eugene Sandulenko 03911e6505 SWORD25: Fix copy-paste error. CID 1004130 2013-09-26 22:58:46 +03:00
Eugene Sandulenko 4f0d37d2f8 SWORD25: Remove unused variable 2013-09-09 00:48:02 +03:00
Johannes Schickel eb22417639 SWORD25: Do not set Surface::pixels directly anymore. 2013-08-03 04:14:08 +02:00
Johannes Schickel 1550e9804b SWORD25: Take advantage of Surface::getPixels. 2013-08-03 04:02:52 +02:00
Johannes Schickel 5afa6f97f4 SWORD25: Prefer getBasePtr over direct Surface::pixels access. 2013-08-03 02:52:33 +02:00
Sven Hesse 989ea7cb56 JANITORIAL: Remove trailing whitespace 2013-07-14 19:01:47 +02:00
Eugene Sandulenko f59512c47e RECORDER: Implement Events Recorder 2013-05-17 00:18:09 +03:00