Sam Hocevar
59a4b5bd0c
Clean up the half.h header and make it optional.
4 years ago
Sam Hocevar
38ee6b26e9
Use <stdint.h> instead of <cstdint>.
This is because <cstdint> is not guaranteed to expose C99 types to the
global namespace, and we don’t want to go through the hassle of using
each of them one by one.
4 years ago
Sam Hocevar
f0b8cfc6f2
Clean up the features.h header.
4 years ago
Sam Hocevar
655beda5bd
It’s 2020, use [[nodiscard]] unconditionally.
4 years ago
Sam Hocevar
fcc3757061
Use fallthrough attribute properly (using a trailing semicolon as an empty statement).
4 years ago
Sam Hocevar
2626ce4efe
Make more headers private and remove unnecessary #includes.
4 years ago
Sam Hocevar
5c7ef8d898
Update todo list.
4 years ago
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.
5 years ago
Sam Hocevar
9646b3eb6d
build: add a huge lol.props property sheet that seems to do the job for Visual Studio.
5 years ago
Sam Hocevar
84a628671b
net: add the necessary files for an HTTP client class.
5 years ago
Sam Hocevar
369f2b902f
math: fix a warning in the matrix determinant code.
5 years ago
Sam Hocevar
54335bd5aa
build: reference projects using a property sheet instead of a guid.
5 years ago
Sam Hocevar
cfe60cef94
external: ensure we use release binaries.
5 years ago
Sam Hocevar
41493c232f
external: provide openssl and zlib windows static libs.
5 years ago
Sam Hocevar
e05e9ff143
sys: implement lol::sys::getenv() for safety.
5 years ago
Sam Hocevar
0f9c07a9d9
build: more emscripten fixes.
5 years ago
Sam Hocevar
269ab7c1ac
Fix emscripten regressions.
5 years ago
Sam Hocevar
b80898946e
build: add src/private to .gitignore.
5 years ago
Sam Hocevar
ffaac3a634
build: enforce Unix line endings for autotools files.
5 years ago
Sam Hocevar
d95cca8866
Remove NX submodule because it causes too many issues for other people.
5 years ago
Sam Hocevar
2122d8984d
build: use AM_SILENT_RULES unconditionally even for client projects.
5 years ago
Sam Hocevar
4a5e2a2404
Merge pull request #12 from Low-power/fix-disable-silent-rules
Fix configure option '--disable-silent-rules' not working
5 years ago
WHR
cb8e3856e4
Fix configure option '--disable-silent-rules' not working
5 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