Sam Hocevar
e1ef913daa
Make the “real” functions more generic. Not specialising them speeds up compilation.
4 years ago
Sam Hocevar
ca3fb5a4ba
Make the vector, matrix and transform-related classes header-only.
4 years ago
Sam Hocevar
f30c17f180
Fix bug in real::real(int64_t) caused by undefined behaviour.
4 years ago
Sam Hocevar
7a309a53d1
Various compilation fixes.
4 years ago
Sam Hocevar
f579dbc881
Minor header refactoring.
4 years ago
Sam Hocevar
29336e3d2f
math: quick fix for linking issues in the real class.
4 years ago
Sam Hocevar
0ba2833bd4
Make a lot of headers work independently.
4 years ago
Sam Hocevar
c45a494ad5
base: re-add the threading and getopt classes.
4 years ago
Sam Hocevar
8d5891b88a
math: clean up the polynomial.h header.
4 years ago
Sam Hocevar
a38dc4a104
base: add a proxy header for PEGTL.
4 years ago
Sam Hocevar
742bb53bdd
base: add a features.h header.
4 years ago
Sam Hocevar
80dafa8edf
math: clean up the Real class.
4 years ago
Sam Hocevar
bf2ea0744e
base: clean up string utility functions.
4 years ago
Sam Hocevar
155ae65a4e
Start working on the header-only part of the framework.
This implies creating a trimmed down branch that contains almost
nothing. It will then be usable by projects that do not need the
complex build system, and by the engine itself as a submodule from
the same repository.
4 years ago
Sam Hocevar
dd1d8fe4de
sys: fix uninitialised memory in File class.
4 years ago
Sam Hocevar
944923ae6a
emscripten: resume audio context if necessary.
This will probably end up upstream very soon:
https://github.com/emscripten-ports/SDL2/pull/104
4 years ago
Sam Hocevar
bdda5b37df
build: check for -lSDL2_image_bmp-jpg-png as a fallback for -lSDL2_image.
4 years ago
Sam Hocevar
cc7d34400d
net: fix emscripten build.
4 years ago
Sam Hocevar
8c37ce1497
net: fix a Windows compilation issue.
4 years ago
Sam Hocevar
a1e258656e
Minor compilation warning fixes.
4 years ago
Sam Hocevar
607369b223
net: implement async HTTP/HTTPS requests for Windows and Linux.
4 years ago
Sam Hocevar
e1c47e9e03
net: implement async HTTP requests for the emscripten backend.
Does not work very well because of CORS restrictions in browsers.
4 years ago
Sam Hocevar
634fd2960d
Add some emscripten-generated files to .gitignore.
4 years ago
Sam Hocevar
c9a09efec0
sys: fix Linux build.
4 years ago
Sam Hocevar
4defbeaab0
build: provide cpp-httplib to client projects.
4 years ago
Sam Hocevar
9646b3eb6d
build: add a huge lol.props property sheet that seems to do the job for Visual Studio.
4 years ago
Sam Hocevar
84a628671b
net: add the necessary files for an HTTP client class.
4 years ago
Sam Hocevar
369f2b902f
math: fix a warning in the matrix determinant code.
4 years ago
Sam Hocevar
54335bd5aa
build: reference projects using a property sheet instead of a guid.
4 years ago
Sam Hocevar
cfe60cef94
external: ensure we use release binaries.
4 years ago
Sam Hocevar
41493c232f
external: provide openssl and zlib windows static libs.
4 years ago
Sam Hocevar
e05e9ff143
sys: implement lol::sys::getenv() for safety.
4 years ago
Sam Hocevar
0f9c07a9d9
build: more emscripten fixes.
4 years ago
Sam Hocevar
269ab7c1ac
Fix emscripten regressions.
4 years ago
Sam Hocevar
b80898946e
build: add src/private to .gitignore.
4 years ago
Sam Hocevar
ffaac3a634
build: enforce Unix line endings for autotools files.
4 years ago
Sam Hocevar
d95cca8866
Remove NX submodule because it causes too many issues for other people.
4 years ago
Sam Hocevar
2122d8984d
build: use AM_SILENT_RULES unconditionally even for client projects.
4 years ago
Sam Hocevar
4a5e2a2404
Merge pull request #12 from Low-power/fix-disable-silent-rules
Fix configure option '--disable-silent-rules' not working
4 years ago
WHR
cb8e3856e4
Fix configure option '--disable-silent-rules' not working
4 years ago
Sam Hocevar
bb57a5e288
Fix MSYS2 “native” build.
5 years ago
Sam Hocevar
8e3d062bb5
osx: use gl3.h instead of gl.h.
5 years ago
Sam Hocevar
1f45f3acdb
math: improve matrix inversion unit tests.
5 years ago
Sam Hocevar
32583a7c41
math: rewrite the LU decomposition code and the matrix inversion code.
5 years ago
Sam Hocevar
14f2fd354f
math: simplify determinant computation by using our new lup decomposition.
5 years ago
Sam Hocevar
8632e08d1f
math: new code for LU decomposition with partial pivoting.
The code is not wired with the rest yet.
5 years ago
Sam Hocevar
f6b3304ff5
math: generic code for vector stdstream method.
5 years ago
Sam Hocevar
83b735b3d8
math: fix class/struct inconsistency.
5 years ago
Sam Hocevar
456cc1224d
math: use default constructor for vec_t types.
5 years ago
Sam Hocevar
c11c941351
math: more unit tests for the vector classes.
5 years ago