Sam Hocevar
78c33c6fbc
zepto8: new project.
For now, all it can do is read and decompress .p8.png files.
преди 8 години
Sam Hocevar
5508d102fe
Fix numerous build errors.
Various changes in GCC, clang, and libflex had triggered build failures.
преди 8 години
Sam Hocevar
8e63078f0e
allturdbeast: in-game documentation.
преди 8 години
Sam Hocevar
c36f2a79ba
allturdbeast: move to main namespace.
преди 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
7926ccf9b0
ld35: it’s that time of the year again.
преди 8 години
Benjamin ‘Touky’ Huet
ba5c900b32
Added a few TODOs
преди 9 години
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
ab930faa05
ld34: it’s that time of the year again.
преди 9 години
Sam Hocevar
1cb187abd5
Some cleanup in the Visual Studio files.
преди 9 години
Sam Hocevar
bc9c8ff411
Move LD33 entry to main games directory.
преди 9 години
Sam Hocevar
4bd6538a87
Fix a bug in SDL detection causing false positives.
If SDL_CFLAGS is defined to a non-empty value, even spaces, a later
test will wrongly succeed and think SDL_CFLAGS is a user override.
преди 9 години
Sam Hocevar
37837ebdf1
Prepare files and project for LD33.
преди 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
fd25e64d5c
lolunit: explicitly cast lolunit_assert_doubles_equal() arguments to double.
преди 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 години
Sam Hocevar
861568b146
misc: some cleanup in files, including UTF-8 BOM.
преди 9 години
Sam Hocevar
3eb7db5e4d
tileset: rename AddTile() to define_tile().
This is to avoid confusion with Scene::AddTile().
преди 9 години
Sam Hocevar
ccc1741023
scene: minor optimisation in Scene::AddTile().
преди 9 години
Sam Hocevar
6f1b4353a8
scene: make the sprite tile API use matrices internally.
The old public API is maintained for now but should be considered
deprecated.
преди 9 години
Sam Hocevar
103f60d48b
misc: replace NULL with nullptr in most places.
преди 9 години
Sam Hocevar
5ea13fc857
scene: clean up a few things here and there.
преди 9 години
Sam Hocevar
441a20af99
misc: fix copyright information here and there.
преди 9 години
Sam Hocevar
19e52b4754
bullet: remove some ugly compilation warnings.
преди 9 години
Sam Hocevar
38733fade7
math: move the matrix-to-quaternion code to a global header.
This lets us use the code for non-float variable types. I also got
rid of the mat4-to-quat code so that users are forced to use the
mat3-to-quat code and possibly discover places where their code is
suboptimal.
преди 9 години
Sam Hocevar
977049a7b3
math: make the matrix-to-quaternion code shorter.
преди 9 години
Sam Hocevar
74d2ce93fe
polynomial: compute u_norm and v_norm directly and use cbrt() instead of pow(x,1/3).
преди 9 години
Sam Hocevar
d9b37a0c8d
math: add lol::cbrt as a direct alias to std::cbrt.
преди 9 години