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.
vor 6 Jahren
Sam Hocevar
2a5d7a4073
Clean up ImGui integration code.
vor 6 Jahren
Sam Hocevar
502e45d904
More methods switched to lowercase naming scheme.
vor 6 Jahren
Sam Hocevar
6dd7a0cb39
Another lowercase switching frenzy, because why not.
vor 6 Jahren
Sam Hocevar
332028f00e
Various ImGui interface improvements.
vor 6 Jahren
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.
vor 6 Jahren
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.
vor 6 Jahren
Sam Hocevar
8699f969d3
build: fix Windows compilation.
vor 6 Jahren
Sam Hocevar
3c4e27a68c
Update 3rd party modules and fix build.
bullet3, pegtl: update upstream branches.
imgui: add missing files in “make dist”.
vor 6 Jahren
Sam Hocevar
63bbcaad43
imgui: use latest master branch.
vor 6 Jahren
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
vor 6 Jahren
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.
vor 6 Jahren
Sam Hocevar
54b32b19d1
Fix stack overflow in Perlin noise generator.
vor 6 Jahren
Sam Hocevar
3d83307dfa
Some Win32 and Win64 compilation fixes.
vor 6 Jahren
Sam Hocevar
f6c386f560
Allow to build without Bullet Physics.
vor 6 Jahren
Sam Hocevar
c826bbd6f0
Fix several compilation warnings.
vor 6 Jahren
Sam Hocevar
37abf6193f
RIP lol::String ⚰️ LOL
vor 6 Jahren
Sam Hocevar
9dbfa4d550
Use std::string in a lot of places. Makes a few things simpler.
vor 6 Jahren
Sam Hocevar
1105a075ce
Rename lol::Timer to lol::timer. Because.
vor 7 Jahren
Sam Hocevar
8981100727
Get rid of lol::hash which is now useless.
vor 7 Jahren
Sam Hocevar
cfeaeabf2d
Get rid of lol::map because std::map is obviously superior.
vor 7 Jahren
Sam Hocevar
b2fd4f1f5c
Fix a bug with lol::vformat() adding two terminating null chars.
vor 7 Jahren
Sam Hocevar
980ff37a58
Get rid of numerous uses of lol::String.
vor 7 Jahren
Sam Hocevar
968f7c92bb
Get rid of String::format in favour of a std::string version.
vor 7 Jahren
Sam Hocevar
a99848fd2d
Fix Lua-related compilation issues.
vor 7 Jahren
Sam Hocevar
487c82609c
Make lol-lua an optional dependency.
vor 7 Jahren
Sam Hocevar
80ad5da4f9
Update pegtl and mingw-std-threads submodules.
vor 7 Jahren
Sam Hocevar
05e3b710fc
Fix build with Visual Studio 2017.
vor 7 Jahren
Sam Hocevar
05db043e20
Update lol-bullet.vcxproj and add a README.md about how to do it.
vor 7 Jahren
Sam Hocevar
6281145d9d
Implement real::erf() with reasonable precision.
vor 7 Jahren
Sam Hocevar
80823faac6
Make fast real factorial more generic.
This new version allows to compute odd and even double factorials
without harming performance for the standard factorial.
vor 7 Jahren
Sam Hocevar
42f52f2c8b
Update bullet3 to a more recent Git head.
vor 7 Jahren
Sam Hocevar
e0795e91ad
Implement real(int64_t) and real(uint64_t).
vor 7 Jahren
Sam Hocevar
3025ea2207
Implement real::R_INF and real::R_NAN.
vor 7 Jahren
Sam Hocevar
d89a4c9e02
Implement real::is_negative().
vor 7 Jahren
Sam Hocevar
d5c665e27e
Fix a bug in the real * int op that prevented an optimisation.
vor 7 Jahren
Sam Hocevar
74f174b6d7
Implement real::is_zero and a few others for code clarity.
vor 7 Jahren
Sam Hocevar
c7c34312fe
Handle real::DEFAULT_BIGIT_COUNT changes a bit better.
Most operators do not yet handle reals of different sizes, but
this change fixes the most glaring bugs.
vor 7 Jahren
Sam Hocevar
359c6fc4c4
Make the real number size a global variable (yuck).
vor 7 Jahren
Sam Hocevar
c7fa8939f5
Fix a few build issues when features are disabled.
vor 7 Jahren
Sam Hocevar
74fc7c1f58
Fix real construction from long doubles.
It was hard to avoid some of the compiler optimisations caused by our
intermediate conversion to double, so we hide them behind the actual
real object. Also, this commit fixes a potential exponent overflow.
vor 7 Jahren
Sam Hocevar
8ffc3ccae2
Fix issues in real::sqrt() and other methods.
Now that the exponent is no longer biased, it is a signed number, and we
need to account for that when dividing it and expecting rounding rules to
behave in a certain way.
vor 7 Jahren
Sam Hocevar
1c27691ef9
Temporary fix for real::sqrt() which I broke recently.
vor 7 Jahren
Sam Hocevar
dd140fd9e1
Refactor real numbers so that they can have a dynamic size.
Some checks are failing, I probably messed up several functions.
vor 7 Jahren
Sam Hocevar
783fdbab98
Implement Franke’s function and Matlab’s peaks for reals.
vor 7 Jahren
Sam Hocevar
5bd042ce01
Implement split() for std::string.
This is the beginning of the removal of lol::String which is not really
useful once all its tiny utility functions are implemented for std::string.
vor 7 Jahren
Sam Hocevar
0239617197
Various compilation and warning fixes.
vor 7 Jahren
Sam Hocevar
1db2c5ca0f
Allow ! and bool operators on polynomials.
This allows us to manipulate polynomials of polynomials. Not sure why yet,
but it could be useful to implement 2-variable polynomials.
vor 7 Jahren
Sam Hocevar
44e39867b1
Fix approximately 80 billion compilation warnings.
vor 7 Jahren
Sam Hocevar
03b00d6f24
Mingw64 compilation fixes.
vor 7 Jahren