Sam Hocevar
c4df7f7f91
nx: ensure projects that use OpenGL compile properly.
7 år sedan
Sam Hocevar
d7fc121faf
Start porting the engine to the Nintendo Switch.
7 år sedan
Sam Hocevar
34fab09274
Remove NaCl support. Google is deprecating it.
7 år sedan
Sam Hocevar
a18ccb3987
build: drop support for SDL v1.
The only reason we had to keep this was for emscripten builds. We can
now use SDL v2 using “emconfigure ./configure CFLAGS="-s USE_SDL=2” and
a few additional flags.
SDL_Mixer v2 is not available in emscripten packages but either it will
be added at some time, or I will get rid of it altogether. An alternate
solution could be this code snippet I found:
cd SDL2_mixer
emconfigure ./configure --prefix=$(pwd)/dist --enable-music-ogg --disable-music-ogg-shared CFLAGS="-s USE_VORBIS=1"
emmake make install
7 år sedan
Sam Hocevar
e3b1011d37
image: rename some stuff.
9 år sedan
Sam Hocevar
c6f4070e70
build: refactor autotools files for out-of-tree builds.
All these changes will allow us to more easily add Lol Engine as a
submodule of another Git project.
9 år sedan
Sam Hocevar
7934df34ef
build: "USE_SDL" is now for SDL v2 and "USE_OLD_SDL" for version 1.
11 år sedan
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.
11 år sedan
Sam Hocevar
7d4a58021f
build: use SDL2 on Windows.
11 år sedan
Sam Hocevar
cd988786b9
build: reorganise includes so that we can use precompiled headers later.
11 år sedan
Sam Hocevar
fe665f85b4
base: strip core.h from its contents and put it in public/private headers.
11 år sedan
Benjamin ‘Touky’ Huet
8268513786
Added Portal system to main code base
12 år sedan
Benjamin ‘Touky’ Huet
04dff54084
Added aabb_tree.h to the main branch.
12 år sedan
Sam Hocevar
92c2f69d07
algorithm: move Array::Sort out of the base headers because their implementation
requires stuff from lol/math, too.
12 år sedan
Sam Hocevar
700520d4d6
math: move rand() to its own header, ensure it only returns
positive values, and add a unit test for rand<int>.
13 år sedan
Sam Hocevar
872efdb880
debug: add Debug::DrawLine() and Debug::DrawBox() methods.
13 år sedan
Sam Hocevar
06c4ec01c3
base: move headers around and promote gpu/ to lol/gpu/.
13 år sedan