Sam Hocevar
6a35a64dd5
sys: make a few functions lowercase.
8 vuotta sitten
Sam Hocevar
afada09f64
getopt: minor improvements.
8 vuotta sitten
Sam Hocevar
c5a4f59517
sys: getopt wrapper and reimplementation (first iteration).
8 vuotta sitten
Sam Hocevar
afc48d2927
scene: add render buffers and a temporary postprocess
8 vuotta sitten
Sam Hocevar
8c3c62bdc0
build: improvements when building as a subproject
8 vuotta sitten
Sam Hocevar
244a1cbe97
sys: always try to open files directly on the filesystem
8 vuotta sitten
Sam Hocevar
e8cb6606ac
build: add .gitignore files to some 3rd party libraries
8 vuotta sitten
Sam Hocevar
a463b80356
git: bring some submodules up to date
8 vuotta sitten
Sam Hocevar
25537c610e
build: fix Visual Studio projects
8 vuotta sitten
Sam Hocevar
92bc63ea95
build: minor file renaming
8 vuotta sitten
Sam Hocevar
9c90721bda
build: make mingw-std-threads a submodule
8 vuotta sitten
Sam Hocevar
fb641c9e81
build: move PEGTL to a Git submodule
8 vuotta sitten
Sam Hocevar
7ccf613a08
build: move Lua to a submodule
8 vuotta sitten
Sam Hocevar
f1a2b66d62
build: move Bullet to a submodule
8 vuotta sitten
Sam Hocevar
1dcb065121
build: make imgui a submodule instead of copying it
8 vuotta sitten
Sam Hocevar
fe279ea38b
build: various autotools improvements and fixes
8 vuotta sitten
Sam Hocevar
14eafb48f5
build: add flags to disable unwanted builds
For now the flags are: --disable-doc --disable-test
--disable-samples --disable-tutorial.
8 vuotta sitten
Sam Hocevar
ce05d8589a
build: refactor msbuild files for usage as a submodule
8 vuotta sitten
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.
8 vuotta sitten
Lolbot
3d8c1315be
fixed 368 files out of 4599:
- removed 0 CR characters
- removed 1 trailing whitespaces
- replaced 1 tabs with spaces
- fixed 367 svn:eol-style properties
8 vuotta sitten
Sam Hocevar
70799848f7
scene: make the postprocess a nop for now and clean up some shaders.
8 vuotta sitten
Sam Hocevar
a5290030fc
build: fix .vcxproj files that would be constantly out of date.
8 vuotta sitten
Sam Hocevar
2c6a0d1029
bullet: update vcxproj.
8 vuotta sitten
Sam Hocevar
4e6e359d2f
bullet: fix warnings here and there.
8 vuotta sitten
Sam Hocevar
ba0e467a2e
build: rename liblolcore to liblol-core, etc.
8 vuotta sitten
Sam Hocevar
52529cd8b9
bullet: update code to most recent GitHub branch.
8 vuotta sitten
Sam Hocevar
969911a10a
gpu: remove 1200 lines of old DirectX 9 code.
8 vuotta sitten
Sam Hocevar
3a90766614
scene: start working on a postprocess mechanism.
Not all programs support this feature for now, but that’s because they
don’t support the scene framework either, and will need patching. Also
the default postprocess is deliberately exaggerated for now.
8 vuotta sitten
Sam Hocevar
42e56399d4
base: hide an old warning from the GCC optimiser.
8 vuotta sitten
Sam Hocevar
f9cef654c5
zepto8: add a Visual Studio project.
8 vuotta sitten
Sam Hocevar
3db14cd669
win64: various VS 2015 build fixes.
8 vuotta sitten
Sam Hocevar
f1c34b8660
lua: import lua 5.3.3 source (was 5.2.1).
8 vuotta sitten
Sam Hocevar
2e997f24f1
math: allow rand(0), it’s arguably better than raising SIGFPE.
8 vuotta sitten
Sam Hocevar
64a12b1ad4
sys: allow to load images with an absolute path.
8 vuotta sitten
Sam Hocevar
f687beeb9e
math: add lol::round() to our maths functions.
8 vuotta sitten
Sam Hocevar
3d95e93cea
tileset: remove an old PS3 hack.
8 vuotta sitten
Sam Hocevar
bd96cfeb51
Add LuaLoader::Find() helper to find the state’s loader.
8 vuotta sitten
Sam Hocevar
581ecea541
engine: fix scene rendering.
Now TickDraw() can be called several times per frame, because we
may have several scenes. This is expected, but it will require
some adjustments later.
8 vuotta sitten
Sam Hocevar
8044747ac3
base: new string functions.
Add String.split(char) to split into an array, and add a simple
char const * + lol::String free operator.
8 vuotta sitten
Sam Hocevar
2f66dcc33f
Switch PEGTL external to latest Git snapshot.
8 vuotta sitten
Sam Hocevar
6a6ecc66e9
Port all parsers to PEGTL 1.3.1.
There might be issues with lolremez but at first sight it seems to work.
8 vuotta sitten
Sam Hocevar
cb10d6fbdf
zepto8: try to execute Lua code
This doesn’t work properly yet because PICO-8 uses a few language
extensions; we will have to decide whether to modify the Lua
interpreter, or change the code on the fly, or something entirely
different.
8 vuotta sitten
Sam Hocevar
5508d102fe
Fix numerous build errors.
Various changes in GCC, clang, and libflex had triggered build failures.
8 vuotta sitten
Sam Hocevar
cfaa27df47
scene: change sprite tile angles to radians.
8 vuotta sitten
Sam Hocevar
b0f8b24b4b
lua: fix a very old bug in the Lua hooks.
8 vuotta sitten
Sam Hocevar
7939719ce1
gpu: fix GLES 2.x support.
8 vuotta sitten
Sam Hocevar
12f5cecbb9
core: minor cosmetic fix.
9 vuotta sitten
Sam Hocevar
0566c16b69
sampler: add a few sanity checks to sampler.
9 vuotta sitten
Sam Hocevar
94f71f27c2
build: compilation fixes for Visual Studio.
9 vuotta sitten
Sam Hocevar
c7567975e3
math: add τ (tau) to the list of maths constants.
9 vuotta sitten