Sam Hocevar
|
4374db93c4
|
input: use key scancodes everywhere, but add a small fallback for SDL1.2.
|
10 years ago |
Sam Hocevar
|
0cc1dd69ba
|
input: use scancodes instead of ASCII values when using SDL v2.
|
10 years ago |
Sam Hocevar
|
6f1f7ab895
|
input: fix a typo in the key list and clean up some code.
|
10 years ago |
Sam Hocevar
|
2b81246a22
|
build: reorganise some visual studio shit and comment some files.
|
10 years ago |
Sam Hocevar
|
b599c88582
|
build: fix an infinite loop in one of our build scripts and work around
a bug that causes the log files to be saved to an incorrect location.
|
10 years ago |
Sam Hocevar
|
7934df34ef
|
build: "USE_SDL" is now for SDL v2 and "USE_OLD_SDL" for version 1.
|
10 years ago |
Sam Hocevar
|
7d8e75b029
|
build: fix SDL2 library names.
|
10 years ago |
Sam Hocevar
|
a9b4281b47
|
build: update our Win32 SDL_image and SDL_mixer.
|
10 years ago |
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 |