Sam Hocevar
848344cc7b
build: fix some issues with WIN32_LEAN_AND_MEAN redefinitions.
9 jaren geleden
Sam Hocevar
861568b146
misc: some cleanup in files, including UTF-8 BOM.
9 jaren geleden
Sam Hocevar
d64b117b8d
build: fix license and copyright information.
9 jaren geleden
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.
9 jaren geleden
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.
9 jaren geleden
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.
9 jaren geleden
Benjamin ‘Touky’ Huet
49e1588f52
MultiScene: Phase 3: Small PrimitiveSource & PrimitiveRenderer tweaks
9 jaren geleden
Benjamin ‘Touky’ Huet
51a4b892c7
MultiScene: Phase 3: Added PrimitiveSource & PrimitiveRenderer and corresponding rendering pipeline
9 jaren geleden
Benjamin ‘Touky’ Huet
d4d0225170
Removed all the enum macros, because this was shit and admitting that is the first step to global world domination.
9 jaren geleden
Sam Hocevar
3cd4c4d413
base: more lowercase shit.
10 jaren geleden
Sam Hocevar
a07844682e
build: remove dead PS3 code.
10 jaren geleden
Benjamin ‘Touky’ Huet
1756726fca
Added some shit in controller and text
10 jaren geleden
Sam Hocevar
cd988786b9
build: reorganise includes so that we can use precompiled headers later.
10 jaren geleden
Sam Hocevar
fe665f85b4
base: strip core.h from its contents and put it in public/private headers.
10 jaren geleden
Sam Hocevar
3862ad59dc
base: going on a lowercase rampage; today’s victim: Array.
10 jaren geleden
Sam Hocevar
7e9f926c43
base: switch map, hash, array2d and array3d to lowercase, like standard
C++ containers.
10 jaren geleden
Benjamin ‘Touky’ Huet
101365933f
Added better Custom string support for safe enum
10 jaren geleden
Sam Hocevar
44dec8612e
core: fix minor Windows and Raspberry compilation issues.
10 jaren geleden
Sam Hocevar
47e71bda63
base: rough implementation of safe enums with minimal ToString() support.
10 jaren geleden
Sam Hocevar
dff1e5c0b6
base: fix a debug message queue crash and add Unicode support on Windows.
10 jaren geleden
Sam Hocevar
c27c3279ed
base: avoid confusion between versions of String::Printf().
11 jaren geleden
Sam Hocevar
15c3039ba5
misc: fix some coding errors found by Coverity.
11 jaren geleden
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)
11 jaren geleden
Sam Hocevar
ebc89d4189
base: print full stack traces in Emscripten builds.
11 jaren geleden
Sam Hocevar
39a8c26fb5
base: start removing occurrences of NULL on our long journey to nullptr.
11 jaren geleden
Sam Hocevar
586a984498
build: look for backtrace_symbols() before enabling the Unix stack
walking code.
11 jaren geleden
Sam Hocevar
1d0eab0203
base: on Linux and some other architectures, dump a stack trace before
crashing from an assertion failure.
11 jaren geleden
Sam Hocevar
8613d04c03
core: implement a cool ASSERT() macro.
12 jaren geleden
Sam Hocevar
c65b715e3a
core: implement String::Printf() for va_list arguments.
12 jaren geleden
Benjamin ‘Touky’ Huet
c7219ff1dd
New year copyright update.
12 jaren geleden
Sam Hocevar
d49bb04d20
build: rename “core” directory to “base” because the former is used for core
files on some Unix systems.
12 jaren geleden