Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-04-15 | WINCE: Fix compilation | Cameron Cawley | |
2018-12-17 | WIN32: Move all ARRAYSIZE undefs to util.h | SupSuper | |
Instead of trying to undefine ARRAYSIZE everywhere we use a Windows header, let's just do it before we define our own | |||
2018-11-27 | CREATE_PROJECT: Support building with Tremor instead of Vorbis | Cameron Cawley | |
2018-11-04 | BACKENDS: Remove references to the GP32 backend | Cameron Cawley | |
2018-04-04 | COMMON: Add WARN_UNUSED_RESULT to scummsys.h | Adrian Frühwirth | |
2017-11-10 | COMMON: Use C++11 static_assert when available | Colin Snover | |
This improves the output of static assertions in all compilers, and prevents problems in MSVC 2015 where the mechanism for triggering a compilation error in C++98 mode may cause errors when that compiler builds in release mode. Fixes Trac#10154. | |||
2017-09-30 | COMMON: Remove unused OverlayColor typedef | Bastien Bouclet | |
2017-09-30 | BUILD: Define pointer sized integer types and remove SCUMM_64BITS | Bastien Bouclet | |
2017-03-09 | BUILD: Fixed macro redefinition warning for 64 bits builds | Peter Kohaut | |
2017-02-06 | BUILD: Define SCUMM_64BITS on 64 bits platforms when not using configure | Thierry Crozat | |
This for example fixes the compilation of the fullpipe engine on 64 bits platforms when using create_project. | |||
2017-01-14 | COMMON: Define STATIC_ASSERT for all ports | Colin Snover | |
Ports with -DNONSTANDARD_PORT need this too. | |||
2017-01-08 | COMMON: Add STATIC_ASSERT macro to scummsys.h | Colin Snover | |
2016-12-19 | COMMON: Add stddef.h to scummsys.h for ptrdiff_t | Colin Snover | |
2016-08-13 | Merge pull request #790 from salty-horse/clang_fixes | Willem Jan Palenstijn | |
ALL: Don't use 'defined' in macro definitions | |||
2016-07-28 | Revert "BUILD: Fix test compilation with event recorder enabled" | Bastien Bouclet | |
This reverts commit 1f8667c5d949070035390531e4f10c0f945d7352. | |||
2016-07-23 | ALL: Don't use 'defined' in macro definitions | Ori Avtalion | |
This is undefined behavior and clang warns about it. See <http://lists.llvm.org/pipermail/cfe-commits/Week-of-Mon-20160118/147239.html>. | |||
2016-05-23 | BUILD: Fix test compilation with event recorder enabled | Eugene Sandulenko | |
2016-04-06 | 3DS: Initial commit | Thomas Edvalson | |
2015-12-12 | COMMON: A few formatting fixes. | Johannes Schickel | |
2015-09-28 | CREATE_PROJECT: Add support for Visual Studio 2015 | Paul Gilbert | |
2014-10-28 | COMMON: Remove trailing whitespace | Filippos Karapetis | |
2014-04-28 | Merge pull request #426 from sunmax/master | Eugene Sandulenko | |
PS2: Pull request to master for latest PS2 code | |||
2014-02-18 | COMMON: Make GPL headers consistent in themselves. | Johannes Schickel | |
2014-01-19 | PS2: scummsys.h (u)int64 is "long" for PS2 | Max Lingua | |
2013-11-06 | COMMON: Define int64 and uint64 if HAVE_CONFIG_H isn't set | Filippos Karapetis | |
This fixes compilation of sword25's pluto with Visual Studio. The issue has been revealed with commit 34169a81. The other data types are defined in scummsys.h, thus only the missing int64 and uint64 defines are set. | |||
2013-09-27 | COMMON: Make Coverity 6.6.1 happier | Eugene Sandulenko | |
Apparently their tools do not include __has_feature clang extension. I've submitted the bugreport to them but in the meantime let's have this define in the system. | |||
2013-08-02 | COMMON: Define all Unix98/BSD math constants in scummsys.h. | Johannes Schickel | |
This should fix compilation on mingw64 with --enable-c++11 and also make sure the constants are present on other systems for the uncommon case they might be missing. | |||
2013-08-02 | COMMON: Add comment explaining reason for defining math constants. | D G Turner | |
2013-07-31 | COMMON: Move definition of math constants to scummsys header. | D G Turner | |
This should have no effect on common/math.h as scummsys is included at the top anyway, but this will fix compilation on some toolchains when strict ANSI language compliance is enabled i.e. -std=c++11, rather than -std=gnu11. This causes an issue as a side effect is to set a guard which disables various non-standard defines in the system headers i.e. the M_PI and M_SQRT1_2 constant definitions in the MinGW x86_64 toolchain on buildbot. By moving this into scummsys.h after the point of system math.h inclusion, we can ensure that M_PI etc. are always present. | |||
2013-02-23 | ALL: Fix typo (existant->existent) | Willem Jan Palenstijn | |
2013-01-09 | COMMON: Add a header for C++11 keywords for pre-C++11 compilers. | Johannes Schickel | |
This currently adds defines for nullptr and override, so we can use them in pre-C++11 compilers, while taking advantage of them with C++11 compilers. | |||
2012-03-17 | ALL: Make use of defined() for the preprocessor consistent. | Johannes Schickel | |
This does not change the use of defined for some NDS source files, since they seem to be (based on?) third party code. | |||
2012-03-17 | COMMON: Use defined() instead of defined in preprocessor macros. | Johannes Schickel | |
Thanks to clone2727 for noticing this. | |||
2012-03-17 | ALL: Use GCC_ATLEAST(). | Christoph Mallon | |
2012-03-17 | COMMON: Add GCC_ATLEAST(major, minor) to simplify testing for versions of GCC. | Christoph Mallon | |
2011-11-17 | COMMON: Move <new> include into scummsys.h. | Alyssa Milburn | |
The header contains forbidden symbols on some platforms, and the simplest solution seems to be to include it here. This also includes it from all the portdefs.h files, except the Symbian one. Probably the FIXME and the #if can be removed once it's known to work. | |||
2011-10-11 | Symbian: Must define scumm_va_copy also for Symbian | anotherguest | |
2011-06-18 | COMMON: Add vformat() function (Common::String analog to vsprintf) | Max Horn | |
2011-06-01 | COMMON: Implement two simple workaround wrappers for _vsnprintf and ↵ | Johannes Schickel | |
_snprintf for MSVC. This should assure vsnprintf and snprintf will now also always null terminate the result even for MSVC. Currently the functions are placed in scummsys.h, but that causes us to include two standard C library headers there (for MSVC at least). This is not particulary nice, so we should think of a better solution here. | |||
2011-06-01 | COMMON: Add note about us defining vsnprintf as _vsnprintf for older MSVC ↵ | Johannes Schickel | |
versions. | |||
2011-06-01 | COMMON: Add comment about MSVC's _snprintf. | Johannes Schickel | |
This includes a FIXME, since _snprintf behaves differently to snprintf. Not only in the return value (which is a minor difference, since we usually do not use it), but also since it does not always include a terminating null. | |||
2011-06-01 | COMMON: Move SDL endian check a bit down | Max Horn | |
2011-05-31 | COMMON: Include SDL_endian.h instead of SDL_byteorder.h | Max Horn | |
2011-05-31 | COMMON: Simplify OverlayColor definition | Max Horn | |
This typedef still should be moved somewhere else. Maybe a header file of its own? | |||
2011-05-31 | COMMON: Move scumm_str(n)icmp declaration to str.h | Max Horn | |
2011-05-31 | COMMON: Move some weird WinCE/MSVC snprintf-#define around | Max Horn | |
2011-05-31 | COMMON: Shorten endianess / mem align guessing logic in scummsys.h | Max Horn | |
2011-05-31 | COMMON: Move more stuff from scummsys.h to portdefs.h | Max Horn | |
2011-05-31 | COMMON: Move some code from scummsys.h to relevant portdefs.h files | Max Horn | |
2011-05-23 | COMMON: Provide our own implementations for scumm_str(n)icmp | Max Horn | |
This takes up a tiny little bit of extra binary size, but gets rid of some awful #ifdef hackery. |