Colin Snover
a2e2569347
FULLPIPE: Use flag enum
2017-11-18 22:35:12 +01:00
Colin Snover
7232f67fe9
FULLPIPE: Fix memory leak of graph nodes and lists
2017-11-18 22:35:12 +01:00
Colin Snover
a475cec2aa
FULLPIPE: Remove unnecessary constructors
...
These appear to be default member-wise copy constructors or POD
constructors that zero all members. I suspect that quite a few
pointer-taking constructors are actually supposed to be
copy-constructors but since they don't all just do default
member-wise copies I do not feel confident in changing them without
verifying that there are not separate copy constructors in the
disassembly, and I don't have the database for this game.
2017-11-18 22:35:12 +01:00
Colin Snover
715d4bd76a
FULLPIPE: Fix memory leaks, ownership issues with various point lists
2017-11-18 22:35:12 +01:00
Colin Snover
6a13592633
FULLPIPE: Disable some unused code paths
2017-11-18 22:35:12 +01:00
Colin Snover
d2249a1bed
FULLPIPE: Annotate ownership rule of MfcArchive::readClass
2017-11-18 22:35:12 +01:00
Colin Snover
bb26bf7994
FULLPIPE: Fix memory leaks and unnecessary indirect allocations in Motion and Sc2
2017-11-18 22:35:12 +01:00
Colin Snover
ca5a86e703
FULLPIPE: Fix memory leak of global message queues
2017-11-18 22:35:12 +01:00
Colin Snover
c2dcb27e35
FULLPIPE: Fix memory leaks in ModalMainMenu
2017-11-18 22:35:12 +01:00
Colin Snover
e2367f3ed2
FULLPIPE: Remove unnecessary and unsafe C-style casts
2017-11-18 22:35:12 +01:00
Colin Snover
39ea2f66ac
FULLPIPE: Fix deleted queue leaks & clarify flags
2017-11-18 22:35:12 +01:00
Colin Snover
073692fd52
FULLPIPE: Reduce chance of Scene leaks, remove unused SceneTag member
2017-11-18 22:35:12 +01:00
Colin Snover
0e28f2be47
FULLPIPE: Remove unused gap data from EntranceInfo
2017-11-18 22:35:12 +01:00
Colin Snover
d07e9a0cf1
FULLPIPE: Fix memory leaks and ownership problems with Behavior objects
2017-11-18 22:35:12 +01:00
Colin Snover
384d68b679
FULLPIPE: Correctly fix Bitmap leaks
2017-11-18 22:35:12 +01:00
Colin Snover
7c66ffe5c8
FULLPIPE: Fix memory leak of MGMItem
2017-11-18 22:35:12 +01:00
Colin Snover
14a6ff0810
FULLPIPE: Fix memory leaks of MovTable and remove unnecessary extra class
2017-11-18 22:35:12 +01:00
Colin Snover
7514c5289b
FULLPIPE: Remove manual memory management of streams
2017-11-18 22:35:12 +01:00
Colin Snover
b90f21597a
FULLPIPE: Use bool literals instead of ints for bool properties
2017-11-18 22:35:12 +01:00
Colin Snover
350ddcee10
FULLPIPE: Take references instead of pointers for required arguments in statics, remove unnecessary Picture allocation
2017-11-18 22:35:12 +01:00
Colin Snover
c85f409a0b
FULLPIPE: Remove memory leaks and manual memory management in Scene
2017-11-18 22:35:12 +01:00
Colin Snover
1337f04122
FULLPIPE: Fix memory leaks of SceneTag
2017-11-18 22:35:12 +01:00
Colin Snover
8e8932f38d
FULLPIPE: Remove unnecessary and illegal C-style casts
2017-11-18 22:35:12 +01:00
Colin Snover
5c89c39325
FULLPIPE: Fix memory leak of save game thumbnail
2017-11-18 22:35:12 +01:00
Colin Snover
ff96db23df
FULLPIPE: Fix leaks and unnecessary extra allocations in FullpipeEngine
2017-11-18 22:35:12 +01:00
Colin Snover
6f8a65c739
FULLPIPE: Fix memory leak & unnecessary heap allocation of Rects
2017-11-18 22:35:12 +01:00
Colin Snover
5ab7a12779
FULLPIPE: Fix memory leaks of inventory icons and items
2017-11-18 22:35:12 +01:00
Colin Snover
ac593e045e
FULLPIPE: Fix memory leaks in ModalVideoPlayer
2017-11-18 22:35:12 +01:00
Colin Snover
926bcb6740
FULLPIPE: Handle quit/RTL events correctly
...
Fixes Trac#10316.
2017-11-18 22:35:12 +01:00
Colin Snover
a25246bebe
FULLPIPE: Remove unnecessary extra allocation for RNG
2017-11-18 22:35:12 +01:00
Colin Snover
a49b6648c8
FULLPIPE: Fix leaks of MGMSubItem
2017-11-18 22:35:12 +01:00
Colin Snover
f41074b930
FULLPIPE: Improve memory ownership in Motion
2017-11-18 22:35:12 +01:00
Colin Snover
cc905d7f9a
FULLPIPE: Make TODO labelled so it is picked up by tools
2017-11-18 22:35:12 +01:00
Colin Snover
0cc0b1932e
FULLPIPE: Fix memory leaks, ownership issues, and endianness issues in graphics code
2017-11-18 22:35:12 +01:00
Colin Snover
8e0c53de18
FULLPIPE: Fix whitespace errors
2017-11-18 22:35:12 +01:00
Colin Snover
88a2eaba93
FULLPIPE: Make dimensions/coordinate getters pure functions
2017-11-18 22:35:12 +01:00
Colin Snover
136223026e
FULLPIPE: Remove illegal C-style cast to incompatible type
2017-11-18 22:35:12 +01:00
Colin Snover
72a4292727
FULLPIPE: Improve memory safety and fix leaks in sound code
2017-11-18 22:35:12 +01:00
Colin Snover
8f1d76d261
FULLPIPE: Improve memory safety and typing of NGIArchive
2017-11-18 22:35:12 +01:00
Colin Snover
92f5718e2b
FULLPIPE: Fix illegal C-style cast to incompatible type
2017-11-18 22:35:12 +01:00
Colin Snover
076667dc00
COMMON: Add limited support for custom deleters to ScopedPtr
...
Custom deleters of ScopedPtr are not currently fully conforming to
C++11's support for custom deleters in std::unique_ptr for the
sake of simplicity of implementation. Unlike in the standard
library, plain functions and lvalue references are not supported,
nor may custom deleters be passed to the constructor at runtime.
This can be improved in the future, if necessary, by doing what
standard library implementations usually do and creating a Pair
class that uses the Empty Base Optimization idiom to avoid extra
storage overhead of the deleter instance when it is not needed, as
in typical standard library implementations, plus some additional
type traits to support the necessary metaprogramming for the
different type overloads.
2017-11-18 22:35:12 +01:00
Zbyněk Schwarz
62d6a80c86
I18N: Update translation (Czech)
...
Currently translated at 96.0% (922 of 960 strings)
2017-11-18 10:33:28 +01:00
Ivan Avdeev
11d28abaa0
NEVERHOOD: fix musical hut crash in DR, bug #7085
2017-11-18 10:33:22 +01:00
Colin Snover
61a63f8400
CREATE_PROJECT: Fix compilation failure in C++11 mode
...
Getting the address of an rvalue is invalid, and not necessary
here.
Once C++11 can be used always, this utility function can just be
replaced with std::to_string.
2017-11-17 22:47:59 -06:00
Colin Snover
6c40ceded1
TITANIC: Fix compilation failure in C++11 mode
2017-11-17 22:47:59 -06:00
Colin Snover
87285ef609
SWORD25: Fix possible redefinition of FLT_EPSILON
2017-11-17 22:47:59 -06:00
Paul Gilbert
7361da9fdc
XEEN: Fix Coverity identified problems
2017-11-17 20:52:18 -05:00
Paul Gilbert
ef8cf2a543
XEEN: Fix music channel loop
2017-11-17 19:23:51 -05:00
Colin Snover
d3a831644c
SDL: Grab mouse when ScummVM is started in fullscreen mode
2017-11-17 12:01:35 -06:00
Zbyněk Schwarz
34abce7478
I18N: Update translation (Czech)
...
Currently translated at 92.3% (887 of 960 strings)
2017-11-17 02:59:16 +01:00