Sam Hocevar
6e428a6243
Remove deprecated code I don’t understand.
5 years ago
Sam Hocevar
a1ef3552bc
No longer look for SDL/SDL*.h headers.
We now just look for SDL2/SDL.h (the regular location) and SDL.h (when
the user provides their own location for this header).
5 years ago
Sam Hocevar
3aa4090bd7
FIx a few compilation warnings.
5 years ago
Sam Hocevar
0e79b79d23
Remove the overly complex thread manager.
5 years ago
Sam Hocevar
93bd47c3ce
Update bullet, imgui and pegtl submodules.
5 years ago
Sam Hocevar
2df434a2b2
Remove obsolete file.
5 years ago
Sam Hocevar
4c9c63894d
Allow to resize the SDL window and propagate changes to the scene.
5 years ago
Sam Hocevar
effc880011
tutorial: nicer example for the GIF generation.
5 years ago
Sam Hocevar
beeded3d85
render: simplify Renderer code
The scene now owns its renderer, so there is no need to keep a list
of existing renderers and to call Renderer::Get().
5 years ago
Sam Hocevar
34fab09274
Remove NaCl support. Google is deprecating it.
5 years ago
Sam Hocevar
4c06c4c14a
Remove obsolete files.
6 years ago
Sam Hocevar
d42862b8ae
app: warn about missing display/windowing library.
6 years ago
Sam Hocevar
5e236e2bc3
Fix compilation warning.
6 years ago
Sam Hocevar
1d8083af86
engine: get rid of the Dict class (WIP).
This was not a very smart class. We replace it with a bidirectional map.
6 years ago
Sam Hocevar
a0a5fa0342
Fix compilation warnings about using memcpy with our maths vector types.
6 years ago
Sam Hocevar
ab86dc6920
imgui: update submodule to latest docking branch.
6 years ago
Sam Hocevar
0e8227aa71
build: fix EGL library detection.
Sometimes libEGL.so can be available (provided as a symlink
by Debian diversion packages) while EGL/egl.h isn’t.
6 years ago
Sam Hocevar
d0f3f71e8c
doc: fix detection of Dot tool and upgrade Doxygen config file.
6 years ago
Sam Hocevar
98b4438836
bullet: update submodule revision.
6 years ago
Sam Hocevar
67a5138718
math: use std::vector instead of lol::array.
6 years ago
Sam Hocevar
d1df57af0d
Better unit tests for real numbers.
6 years ago
Sam Hocevar
a407c5d5c4
math: add lol::real to 64-bit integer conversions and clean up code.
6 years ago
Sam Hocevar
b3adeae2e1
Minor compilation fix when SDL is disabled.
6 years ago
Sam Hocevar
67dd817aa2
math: remove unused trig code.
Let’s be honest, I’m never gonna use it in its current form.
6 years ago
Sam Hocevar
8141a4e6f7
math: add lol::gcd() function.
6 years ago
Sam Hocevar
a1db79575e
imgui: update docking branch.
6 years ago
Sam Hocevar
ddc85c72fa
Try to improve Windows headers handling.
6 years ago
Sam Hocevar
92eca4f8ff
imgui: allow to create a context with a custom font atlas.
6 years ago
Sam Hocevar
b5bf4a7eff
Fix a bad memory access.
6 years ago
Sam Hocevar
104704391b
SDL: allow fullscreen applications.
If resolution is set to (0,0) then a fullscreen app is created.
6 years ago
Sam Hocevar
08cd8435da
SDL: remove dead code.
6 years ago
Sam Hocevar
709f8d63f1
UI: fix crash at exit with Dear ImGui.
6 years ago
Sam Hocevar
9307f454ad
GPU: remove persistence from default post process shader.
The feature will still be accessible from a uniform in the shader, but it
is now disabled by default.
6 years ago
Sam Hocevar
2a5d7a4073
Clean up ImGui integration code.
6 years ago
Sam Hocevar
502e45d904
More methods switched to lowercase naming scheme.
6 years ago
Sam Hocevar
6dd7a0cb39
Another lowercase switching frenzy, because why not.
6 years ago
Sam Hocevar
332028f00e
Various ImGui interface improvements.
6 years ago
Sam Hocevar
7f9de5d554
imgui: switch to the docking branch.
This branch seems pretty stable, and it lets us get rid of some
legacy code about extensions.
6 years ago
Sam Hocevar
50e494803d
Replace array::empty() with array::clear().
We used to have lol::map::empty() to empty maps, but in std::map
this method is called clear(). It sounds safe to harmonise between
our types and have lol::array::clear() too.
6 years ago
Sam Hocevar
8699f969d3
build: fix Windows compilation.
6 years ago
Sam Hocevar
3c4e27a68c
Update 3rd party modules and fix build.
bullet3, pegtl: update upstream branches.
imgui: add missing files in “make dist”.
6 years ago
Sam Hocevar
63bbcaad43
imgui: use latest master branch.
6 years ago
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
6 years ago
Sam Hocevar
788e5252a9
build: fix compilation when int != ptrdiff_t.
Previous code relied on preprocessor check for INT_MAX != PTRDIFF_MAX but
it is a lot more reliable to use std::enable_if instead.
6 years ago
Sam Hocevar
7faedd4517
build: fix linking with Bullet on Linux.
6 years ago
Sam Hocevar
af06563b94
Do not try to link with liblol-bullet if Bullet was disabled.
6 years ago
Sam Hocevar
54b32b19d1
Fix stack overflow in Perlin noise generator.
6 years ago
Sam Hocevar
3d83307dfa
Some Win32 and Win64 compilation fixes.
6 years ago
Sam Hocevar
f6c386f560
Allow to build without Bullet Physics.
6 years ago
Sam Hocevar
c826bbd6f0
Fix several compilation warnings.
7 years ago