Sam Hocevar
848344cc7b
build: fix some issues with WIN32_LEAN_AND_MEAN redefinitions.
pirms 9 gadiem
Sam Hocevar
861568b146
misc: some cleanup in files, including UTF-8 BOM.
pirms 9 gadiem
Sam Hocevar
d64b117b8d
build: fix license and copyright information.
pirms 9 gadiem
Sam Hocevar
ccf5f53825
misc: various mingw cross-compilation fixes.
Add mingw-std-threads project to external/ for full C++11 thread support, fix
an incorrect Win32 fix I did in PEGTL, work around mingw’s <io.h> declaring a
conflicting eof symbol, and fix a capitalisation error in log.cpp.
pirms 9 gadiem
Sam Hocevar
70edc0d38e
misc: carry on with the lowercase rampage.
Using “Array” instead of “array” is now fully deprecated, and I replaced
the Log::Debug() etc. functions with msg::debug() etc. because log:: was
unavailable due to being a maths function.
Added up-to-date copyright notice and BOM to modified files, just in case.
pirms 9 gadiem
Sam Hocevar
03c17fcae4
base: clean up and refactor containers.
The containers no longer force the user to use the ptrdiff_t type for
size information. For convenience, size() now always returns an int,
and the size_s() method offers a way to handle arrays with more than
2 billion elements. Internally, we still use ptrdiff_t, though.
Since so much code had to be changed, I took the opportunity to get
rid of capitalised accessors for classes that are lowercase.
pirms 9 gadiem
Benjamin ‘Touky’ Huet
49e1588f52
MultiScene: Phase 3: Small PrimitiveSource & PrimitiveRenderer tweaks
pirms 9 gadiem
Benjamin ‘Touky’ Huet
51a4b892c7
MultiScene: Phase 3: Added PrimitiveSource & PrimitiveRenderer and corresponding rendering pipeline
pirms 9 gadiem
Benjamin ‘Touky’ Huet
d4d0225170
Removed all the enum macros, because this was shit and admitting that is the first step to global world domination.
pirms 10 gadiem
Sam Hocevar
3cd4c4d413
base: more lowercase shit.
pirms 10 gadiem
Sam Hocevar
a07844682e
build: remove dead PS3 code.
pirms 10 gadiem
Benjamin ‘Touky’ Huet
1756726fca
Added some shit in controller and text
pirms 10 gadiem
Sam Hocevar
cd988786b9
build: reorganise includes so that we can use precompiled headers later.
pirms 10 gadiem
Sam Hocevar
fe665f85b4
base: strip core.h from its contents and put it in public/private headers.
pirms 10 gadiem
Sam Hocevar
3862ad59dc
base: going on a lowercase rampage; today’s victim: Array.
pirms 10 gadiem
Sam Hocevar
7e9f926c43
base: switch map, hash, array2d and array3d to lowercase, like standard
C++ containers.
pirms 10 gadiem
Benjamin ‘Touky’ Huet
101365933f
Added better Custom string support for safe enum
pirms 10 gadiem
Sam Hocevar
44dec8612e
core: fix minor Windows and Raspberry compilation issues.
pirms 10 gadiem
Sam Hocevar
47e71bda63
base: rough implementation of safe enums with minimal ToString() support.
pirms 10 gadiem
Sam Hocevar
dff1e5c0b6
base: fix a debug message queue crash and add Unicode support on Windows.
pirms 11 gadiem
Sam Hocevar
c27c3279ed
base: avoid confusion between versions of String::Printf().
pirms 11 gadiem
Sam Hocevar
15c3039ba5
misc: fix some coding errors found by Coverity.
pirms 11 gadiem
Benlitz
5f72c16f60
base: map methods can now take any type of object that is equatable to the key type and can be hashed by the key type specialization of the Hash class (and added string/char const* compatibility)
pirms 11 gadiem
Sam Hocevar
ebc89d4189
base: print full stack traces in Emscripten builds.
pirms 11 gadiem
Sam Hocevar
39a8c26fb5
base: start removing occurrences of NULL on our long journey to nullptr.
pirms 12 gadiem
Sam Hocevar
586a984498
build: look for backtrace_symbols() before enabling the Unix stack
walking code.
pirms 12 gadiem
Sam Hocevar
1d0eab0203
base: on Linux and some other architectures, dump a stack trace before
crashing from an assertion failure.
pirms 12 gadiem
Sam Hocevar
8613d04c03
core: implement a cool ASSERT() macro.
pirms 12 gadiem
Sam Hocevar
c65b715e3a
core: implement String::Printf() for va_list arguments.
pirms 12 gadiem
Benjamin ‘Touky’ Huet
c7219ff1dd
New year copyright update.
pirms 12 gadiem
Sam Hocevar
d49bb04d20
build: rename “core” directory to “base” because the former is used for core
files on some Unix systems.
pirms 12 gadiem