Sam Hocevar
70799848f7
scene: make the postprocess a nop for now and clean up some shaders.
пре 8 година
Sam Hocevar
a5290030fc
build: fix .vcxproj files that would be constantly out of date.
пре 8 година
Sam Hocevar
2c6a0d1029
bullet: update vcxproj.
пре 8 година
Sam Hocevar
4e6e359d2f
bullet: fix warnings here and there.
пре 8 година
Sam Hocevar
ba0e467a2e
build: rename liblolcore to liblol-core, etc.
пре 8 година
Sam Hocevar
52529cd8b9
bullet: update code to most recent GitHub branch.
пре 8 година
Sam Hocevar
969911a10a
gpu: remove 1200 lines of old DirectX 9 code.
пре 8 година
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 година
Sam Hocevar
42e56399d4
base: hide an old warning from the GCC optimiser.
пре 8 година
Sam Hocevar
f9cef654c5
zepto8: add a Visual Studio project.
пре 8 година
Sam Hocevar
3db14cd669
win64: various VS 2015 build fixes.
пре 8 година
Sam Hocevar
f1c34b8660
lua: import lua 5.3.3 source (was 5.2.1).
пре 8 година
Sam Hocevar
2e997f24f1
math: allow rand(0), it’s arguably better than raising SIGFPE.
пре 8 година
Sam Hocevar
64a12b1ad4
sys: allow to load images with an absolute path.
пре 8 година
Sam Hocevar
f687beeb9e
math: add lol::round() to our maths functions.
пре 8 година
Sam Hocevar
3d95e93cea
tileset: remove an old PS3 hack.
пре 8 година
Sam Hocevar
bd96cfeb51
Add LuaLoader::Find() helper to find the state’s loader.
пре 8 година
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 година
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 година
Sam Hocevar
2f66dcc33f
Switch PEGTL external to latest Git snapshot.
пре 8 година
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 година
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 година
Sam Hocevar
5508d102fe
Fix numerous build errors.
Various changes in GCC, clang, and libflex had triggered build failures.
пре 8 година
Sam Hocevar
cfaa27df47
scene: change sprite tile angles to radians.
пре 8 година
Sam Hocevar
b0f8b24b4b
lua: fix a very old bug in the Lua hooks.
пре 8 година
Sam Hocevar
7939719ce1
gpu: fix GLES 2.x support.
пре 8 година
Sam Hocevar
12f5cecbb9
core: minor cosmetic fix.
пре 9 година
Sam Hocevar
0566c16b69
sampler: add a few sanity checks to sampler.
пре 9 година
Sam Hocevar
94f71f27c2
build: compilation fixes for Visual Studio.
пре 9 година
Sam Hocevar
c7567975e3
math: add τ (tau) to the list of maths constants.
пре 9 година
Sam Hocevar
1b2a4ca8d1
build: fix issues with SDL detection on 32-bit systems.
пре 9 година
Sam Hocevar
848344cc7b
build: fix some issues with WIN32_LEAN_AND_MEAN redefinitions.
пре 9 година
Sam Hocevar
868a0502ef
build: _C conflicts with other macros (rightly so); fix this.
пре 9 година
Sam Hocevar
1280e15c9e
build: use <GL/glew.h> instead of <glew.h>.
пре 9 година
Sam Hocevar
d84605c105
Remove Xbox 360 support, too much stuff no longer compiles.
пре 9 година
Sam Hocevar
1cb187abd5
Some cleanup in the Visual Studio files.
пре 9 година
Sam Hocevar
155dc4af14
Work around an apparent Visual Studio compiler bug.
пре 9 година
Guillaume Bittoun
3f6cd5b120
polynomial: accuracy improvement on double root in order 3
пре 9 година
Guillaume Bittoun
51d8ed6458
polynomial: Improving tests for double/triple roots in order 3
пре 9 година
Sam Hocevar
75035be227
math: fix epsilon in some double equality unit tests.
пре 9 година
Sam Hocevar
d332ad0f6f
math: add unit tests to check that radians(90) == radians(90.0).
пре 9 година
Sam Hocevar
41af385a4c
math: degrees() and radians() return floating point even with integer arguments.
This avoids silly mistakes when calling radians(180) instead of
radians(180.0). The first one used to return 3 instead of 3.14159…
пре 9 година
Sam Hocevar
078751a820
math: all API functions dealing with angles now use radians.
We already have the convenient degrees() and radians() functions to convert
between angle formats. This commit involves a lot of refactoring here and
there and I may have missed some places where conversions were needed. But
hopefully there aren’t may such places.
пре 9 година
Sam Hocevar
45b57cc102
math: rename re() to inverse() in all classes.
The name “re” came from “reciprocal” but since we have “inverse” for
matrices, I thought it would be nice to make everything consistent.
пре 9 година
Sam Hocevar
5a15c90fcc
math: add SQT inverse method.
пре 9 година
Sam Hocevar
d618053d00
math: add composition of SQT transforms and the corresponding unit tests.
пре 9 година
Sam Hocevar
45b792cc8e
test: refactor some stuff in the unit tests because I like it better that way.
пре 9 година
Sam Hocevar
7166760eaf
math: add a new sqt type for scale/rotation/translation transforms.
пре 9 година
Sam Hocevar
4a968ad27e
base: don’t prefix variable names with ‘_’.
пре 9 година
Sam Hocevar
a69a086c01
scene: move old Line and Tile API to child structures.
пре 9 година