Sam Hocevar
|
d373081b80
|
build: use #pragma once instead of header guards because 1) fuck the dinosaurs,
and 2) fuck the Visual Studio compiler that crashes when confused.
|
10 years ago |
Sam Hocevar
|
7d4a58021f
|
build: use SDL2 on Windows.
|
10 years ago |
Sam Hocevar
|
d37d124849
|
sdl: SDL2 video and audio support (no input yet).
|
10 years ago |
Sam Hocevar
|
cd988786b9
|
build: reorganise includes so that we can use precompiled headers later.
|
10 years ago |
Sam Hocevar
|
6b64e2c337
|
lolunit: switch assert macros to lowercase.
|
10 years ago |
Sam Hocevar
|
5da959e6e4
|
build: work around another fucking ICE in Visual Studio.
|
10 years ago |
Sam Hocevar
|
b2283cd1a3
|
build: update VS solution and fix a few compilation warnings.
|
10 years ago |
Sam Hocevar
|
cadc4d18b0
|
test: move the unit tests to the engine, and lolunit out of the engine.
|
10 years ago |
Sam Hocevar
|
0e91d9cf66
|
build: fix an infinite loop in recursive rules.
|
10 years ago |
Sam Hocevar
|
769eea3950
|
math: fix vector iterator member initialisation.
|
10 years ago |
Sam Hocevar
|
d0e9447ac0
|
gpu: fix missing #if blocks in vertex buffer code.
|
10 years ago |
Sam Hocevar
|
a72a7e39bc
|
build: reduce strict overflow warnings, they’re a bit too verbose.
|
10 years ago |
Sam Hocevar
|
0bc2ec0480
|
build: move VS solution one directory below and create a VS2014 solution.
|
10 years ago |
Sam Hocevar
|
8329482cb9
|
image: do not alter the pointer returned by Lock().
|
10 years ago |
Sam Hocevar
|
ad9c4a779b
|
math: another 32-bit compilation fix.
|
10 years ago |
Sam Hocevar
|
c7c7eec9c6
|
test: fix test suite compilation.
|
10 years ago |
Sam Hocevar
|
416550ab67
|
math: fix compilation on 32-bit platforms.
|
10 years ago |
Sam Hocevar
|
b4120d6993
|
math: fix 32-bit builds.
|
10 years ago |
Sam Hocevar
|
e2f53bb71a
|
image: fix bug introduced in Image::Lock2D().
|
10 years ago |
Sam Hocevar
|
2a5150e060
|
base: VISUQL STUDIO JTE NIAUE Q LQ KQLQSH.
|
10 years ago |
Sam Hocevar
|
0bafc942a3
|
build: remove dead cruft and simplify bootstrap script.
|
10 years ago |
Sam Hocevar
|
17fe1306d2
|
math: improve outer product and add unit tests.
|
10 years ago |
Guillaume Bittoun
|
2511de1f90
|
arraynd: adding constructors and operators for vec_t<int, N> and vec_t<ptrdiff_t, N> types.
|
10 years ago |
Sam Hocevar
|
9f69882076
|
math: fix unallowed access to private data in vec_t.
|
10 years ago |
Guillaume Bittoun
|
2f056e0133
|
arraynd: replacing array2d and array3d by templated arraynd.
|
10 years ago |
Guillaume Bittoun
|
e03ac49383
|
arraynd: adding tests on size filling
|
10 years ago |
Guillaume Bittoun
|
04e44e2d89
|
arraynd: adding test for variable length subarrays
|
10 years ago |
Guillaume Bittoun
|
7cab9c634e
|
arraynd: index inversion on initializer_list construction
|
10 years ago |
Sam Hocevar
|
97cdc17ae1
|
math: add outer product for matrices and vectors.
|
10 years ago |
Sam Hocevar
|
a46afd6ed5
|
math: make cofactor computation and matrix inversion simpler and more generic.
|
10 years ago |
Sam Hocevar
|
f7a8d5079b
|
math: disable a few unused operators (for integer quaternions, for instance).
|
10 years ago |
Sam Hocevar
|
62f7068516
|
math: move code from vector.cpp to matrix.cpp and transform.cpp.
|
10 years ago |
Guillaume Bittoun
|
a28832a53b
|
arraynd: implementation/correction of the initializer_list constructor
|
10 years ago |
Sam Hocevar
|
ffa21ed0d0
|
misc: disable all 16-bit float vectors when using Visual Studio.
|
10 years ago |
Sam Hocevar
|
50fc5c818c
|
base: FUCK VISUAL STUDIO; VISUAL STUDIO IS DYING; VISUAL STUDIO SUCKS;
VISUAL STUDIO IS DEAD TO ME; VISUAL STUDIO DID WTC.
|
10 years ago |
Sam Hocevar
|
d88217d413
|
base: fix header inconsistencies that broke the build.
|
10 years ago |
Sam Hocevar
|
7dba2ff3a1
|
base: use ptrdiff_t for array and string sizes and some other things.
|
10 years ago |
Sam Hocevar
|
67ce50ef59
|
base: fix a minor compilation warning.
|
10 years ago |
Sam Hocevar
|
761f92c0b4
|
base: get rid of the ssize_t requirement and use ptrdiff_t instead.
|
10 years ago |
Sam Hocevar
|
29dd656a78
|
math: make swizzling parameters readable in base 10 so that we understand
what's going on in the debugger.
|
10 years ago |
Sam Hocevar
|
a772eb4fd4
|
base: remove unneeded operators in class array.
|
10 years ago |
Sam Hocevar
|
90f0420382
|
math: fix uninitialised variable in arraynd.
|
10 years ago |
Sam Hocevar
|
47f7fabbd9
|
math: activate arraynd and simplify some stuff in there.
|
10 years ago |
Sam Hocevar
|
52f3fc7eb0
|
math: try to get proper EBCO from that fucking Visual Studio piece of shit.
|
10 years ago |
Sam Hocevar
|
4be9ea2a4e
|
misc: replace NULL with nullptr.
|
10 years ago |
Sam Hocevar
|
50ce473fcf
|
math: disable some half-float vectors because of VS2013.
|
10 years ago |
Sam Hocevar
|
9106388a8a
|
math: make initializer_list vector constructors implicit.
|
10 years ago |
Sam Hocevar
|
cc5c21c34b
|
math: add iterators and initializer_list constructors to vec_t.
|
10 years ago |
Guillaume Bittoun
|
b3ce9ea902
|
arraynd: removing ComputeTotalSize for specialization also.
|
10 years ago |
Guillaume Bittoun
|
b8c5f58826
|
arraynd: Removing useless method ComputeTotalSize.
|
10 years ago |