Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+
2021-12-26 18:48:43 +01: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
Johannes Schickel
bad7cdd3a6
SWORD25: Make GPL headers consistent in themselves.
2014-02-18 02:39:38 +01:00
Eugene Sandulenko
e6ba26ff0d
SWORD25: int -> int32 correctness
2013-09-29 10:02:34 +03:00
Ori Avtalion
aa0f307e06
ALL: Require DECLARE_SINGLETON to be used in the Common namepsace
...
Silences the clang warning:
static data member specialization of '_singleton' must
originally be declared in namespace 'Common'; accepted as a C++0x
extension [-Wc++0x-extensions]
Wrapping "namespace Common {}" around the macro assignment causes clang
to complain about a spurious semicolon, and removing the semicolon at
the end of the macro causes some editors to misbehave.
Changing the requirement of using the macro in one namespace (the
global) to another (Common) seems a small price to pay to
silence a warning.
2011-06-30 22:41:41 +03:00
strangerke
69b1485a22
GIT: Clean up: Suppress SVN tags, now useless
2011-05-12 01:16:22 +02:00
Filippos Karapetis
1f1cb1f140
SWORD25: Removed the logErrorLn and logWarningLn wrappers
...
svn-id: r55488
2011-01-24 00:03:09 +00:00
David Turner
2c2ef3973a
SWORD25: Fix GCC Compilation Warnings.
...
svn-id: r55482
2011-01-23 20:51:16 +00:00
Filippos Karapetis
00a0f8d15d
SWORD25: Removed the custom log class and replaced it with warning/error/debugC calls
...
svn-id: r55462
2011-01-23 14:49:50 +00:00
Max Horn
abe1959d36
COMMON: Simplify DECLARE_SINGLETON macro
...
This makes it possible to write
DECLARE_SINGLETON(foo);
instead of
DECLARE_SINGLETON(foo)
without causing a warning about an extra semicolon.
The extra semicolon helps some editors at parsing the C++ code.
svn-id: r54258
2010-11-16 08:23:13 +00:00
Max Horn
2da4469686
SWORD25: Remove outdated comments
...
svn-id: r53752
2010-10-24 01:29:59 +00:00
Max Horn
9b4d41d2d2
SWORD25: Convert object registries to singletons
...
svn-id: r53431
2010-10-13 15:41:34 +00:00
Eugene Sandulenko
063cb5d84c
SWORD25: Enforced code naming conventions in math/*
...
svn-id: r53392
2010-10-13 00:09:32 +00:00
Eugene Sandulenko
06bce68860
SWORD25: Comply to the code conventions for several classes
...
svn-id: r53310
2010-10-12 23:32:32 +00:00
Eugene Sandulenko
086f5961b6
SWORD25: unsigned int -> uint
...
svn-id: r53309
2010-10-12 23:30:00 +00:00
Eugene Sandulenko
b01994a53b
SWORD25: removed BS_ prefix from rest of the classes.
...
The things which are intentionally left with the prefix:
BS_LOG, BS_ASSERT, BS_Rect, BS_String.
svn-id: r53261
2010-10-12 22:59:01 +00:00
Eugene Sandulenko
be44216e5c
SWORD25: eliminated BS_ prefix in all but kernel/
...
svn-id: r53259
2010-10-12 22:55:59 +00:00
Eugene Sandulenko
47904bc7b2
SWORD25: Mass-astyle.
...
svn-id: r53222
2010-10-12 22:35:55 +00:00
Paul Gilbert
ccba0891fd
SWORD25: Converted further files from old hashmap.h to Common::HashMap
...
This commit includes a class pointer hash function added in objectregistry.h that should be double-checked to see if it's correct.
svn-id: r53211
2010-10-12 22:24:37 +00:00
Paul Gilbert
53a9d2d0a1
SWORD25: Converted the math folder files
...
svn-id: r53197
2010-10-12 22:17:11 +00:00
Eugene Sandulenko
293bf95c01
SWORD25: Replacing headers with ScummVM ones plus original (C)
...
svn-id: r53188
2010-10-12 22:13:00 +00:00
Eugene Sandulenko
65da804f58
SWORD25: Path fixes for includes
...
svn-id: r53180
2010-10-12 21:49:51 +00:00
Eugene Sandulenko
a683a420a9
SWORD25: Importing original sources
...
svn-id: r53171
2010-10-12 21:38:20 +00:00