Commit Graph

24 Commits

Author SHA1 Message Date
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Le Philousophe
81b364fbb3 WII: Add time.h to forbidden symbols exceptions
As network.h includes time.h, we must add this exception. We can't
include network.h before scummsys.h as inclusion depends on definitions
located in config.h which is loaded by scummsys.h.
2019-10-09 13:33:11 +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
b6e5865fce WII: Add missing dvd interface header for Gamecube build. 2014-01-26 11:19:53 +00:00
D G Turner
08d3b5754a WII: Another fix for Gamecube build. Corrected Disc Interface object. 2014-01-25 21:32:07 +00:00
D G Turner
417f755b90 WII: Fix Gamecube build. Missing ifdef guard for Wii DVD interface. 2014-01-25 18:50:20 +00:00
AReim1982
eff22cb43d WII: Implement changes needed by DevKitPPC R26 and later
This changes makes ScummVM compilable with newer versions of DevKitPPC. ScummVM can be linked against the original libogc and libfat. That makes some newer WiiMotes work, improves audio-/video-playback and contains various improvements.
2014-01-21 16:03:47 +01:00
Christoph Mallon
23a0f5318c JANITORIAL: Remove trailing empty lines. 2011-08-07 13:53:33 +02: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
dhewg
b85fc8f190 WII: Fix compilation 2011-05-03 18:27:50 +02:00
Max Horn
91141dae40 WII: Fix fs code compile regressions 2011-05-03 13:32:20 +02:00
Max Horn
f62fd4f25f BACKENDS: Avoid #including .cpp files
So far, the various *-fs-factory.cpp files were #including the
corresponding *-fs.cpp files. This is surprising and hence could lead to
all kinds of problems). To fix this, provide proper headers for the
*-fs.cpp files.
This also makes code reuse via subclassing possible.

Since not all ports were tested, this will likely lead to a few
easy to fix compile regressions.
2011-05-03 13:22:00 +02: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
Andre Heider
af3dd70938 WII: Fix compilation of the GameCube port.
svn-id: r52089
2010-08-14 11:01:00 +00:00
Andre Heider
c58e2707ff WII: Update port for the current versions of the base libraries. Enable DVD access for the GameCube port.
svn-id: r52074
2010-08-14 00:56:12 +00:00
Johannes Schickel
40562798d6 Fix our DECLARE_SINGLETON macro to conform to the C++ specs.
We need to use a namespace Common { } there to make strict C++ compilers
like clang++ and comeau happy. I also added a slight comment about why
that is needed to the macro definition and a note that you need to use
it from the global namespace.

svn-id: r48254
2010-03-13 21:55:49 +00:00
Andre Heider
cd1628f70d Mention mount errors on the status labels.
svn-id: r44202
2009-09-20 11:47:11 +00:00
Andre Heider
0b002beccd Support for SMB shares, cleaned up async FS functions.
svn-id: r43965
2009-09-05 17:53:55 +00:00
Andre Heider
57d118e930 Added ISO9660/Joliet DVD support
svn-id: r35930
2009-01-19 23:57:49 +00:00
Andre Heider
9f1ac87466 Reuse given stat flags when possible to avoid fstat() calls
svn-id: r35872
2009-01-16 19:32:19 +00:00
Max Horn
c7fde102e3 Renamed FilesystemNode -> FSNode
svn-id: r34716
2008-10-02 16:58:59 +00:00
Max Horn
531bcf847c Moved FilesystemNode / FSList to namespace Common; also got rid of some 'typedef Common::String String;' name aliases
svn-id: r34302
2008-09-03 11:22:51 +00:00
Eugene Sandulenko
5e666ef774 Patch #1971285: "Nintendo Wii port"
svn-id: r32547
2008-06-04 20:28:20 +00:00