Sam Hocevar
|
6fe12e7811
|
build: ensure .lolfx.cpp files get cleaned up.
|
vor 12 Jahren |
Sam Hocevar
|
a3cf7086ce
|
math: fix minor compiler warnings that appeared with g++ 4.7.
|
vor 12 Jahren |
Sam Hocevar
|
59ba6e6c87
|
core: no longer deactivate std::ostream features on Android.
|
vor 12 Jahren |
Sam Hocevar
|
8d28557645
|
input: fix brain fart in our SDL joystick input.
|
vor 12 Jahren |
Sam Hocevar
|
c7040f0528
|
orbital: start working on the gun system.
|
vor 12 Jahren |
Sam Hocevar
|
a4fb64d6c8
|
test: add a few unit tests for datatype sanity.
|
vor 12 Jahren |
Sam Hocevar
|
736b5a2659
|
input: support up to 16 buttons in Xbox-like pads.
|
vor 12 Jahren |
Sam Hocevar
|
ee7dd6a699
|
misc: move more shaders to .lolfx files.
|
vor 12 Jahren |
Sam Hocevar
|
e110495464
|
gpu: define the _XBOX macro in our HLSL compilation.
|
vor 12 Jahren |
Sam Hocevar
|
abd5e695c9
|
build: more sane build options.
|
vor 12 Jahren |
Sam Hocevar
|
2bfb2144b3
|
orbital: use the new LolFx shader declaration.
|
vor 12 Jahren |
Sam Hocevar
|
a606290ed2
|
gpu: allow to load a .lolfx file instead of all those shaders.
|
vor 12 Jahren |
Sam Hocevar
|
99d76565ae
|
build: lolfx files are now properly linked into the static library
when building with Visual Studio.
|
vor 12 Jahren |
Sam Hocevar
|
e8c2384d9c
|
build: build .lolfx files from automake.
|
vor 12 Jahren |
Sam Hocevar
|
43b55669a4
|
math: workaround for an apparent Visual Studio compiler bug in
template specialisation order.
|
vor 12 Jahren |
Sam Hocevar
|
b1d9c511bf
|
core: some clang and g++ 4.7 compilation fixes.
|
vor 12 Jahren |
Sam Hocevar
|
1443b5628f
|
win32: add a custom build rule for '.lolfx' files. The files are properly
transformed to C++ but aren't compiled into the project yet.
|
vor 12 Jahren |
Benjamin ‘Touky’ Huet
|
cfbacb625f
|
Small WorldEntity tweaks.
|
vor 12 Jahren |
Benjamin ‘Touky’ Huet
|
a031bad19c
|
Added some convenient functions in camera.
|
vor 12 Jahren |
Sam Hocevar
|
4770daf4ac
|
math: replace len(vec) with length(vec) to match the GLSL naming.
|
vor 12 Jahren |
Sam Hocevar
|
6f19f877a8
|
orbital: new snake enemy.
|
vor 12 Jahren |
Sam Hocevar
|
c02e57365c
|
orbital: add the two parallax starfields.
|
vor 12 Jahren |
Sam Hocevar
|
440e86eb68
|
orbital: use both thumb sticks to pilot ships.
|
vor 12 Jahren |
Sam Hocevar
|
70f992bb36
|
win32: add an Xinput class for Xbox360 controllers, because they're not
properly detected using the generic SDL driver.
|
vor 12 Jahren |
Sam Hocevar
|
54fe8937ad
|
input: support Xbox input system for gamepads.
|
vor 12 Jahren |
Sam Hocevar
|
c0141debea
|
input: allow to remap gamepad axes in the generic input layer.
|
vor 12 Jahren |
Sam Hocevar
|
2723dabfac
|
orbital: play with the camera.
|
vor 12 Jahren |
Sam Hocevar
|
f30105e675
|
math: implement all Euler conversions for 3×3 matrices.
|
vor 12 Jahren |
Sam Hocevar
|
552dfee5b1
|
math: implement quaternion creation from true Euler angles (as opposed
to the Tait-Bryan angles we had for now). Also, change quaternion storage
order to wxyz in order to match the constructors.
|
vor 12 Jahren |
Sam Hocevar
|
da6062de06
|
core: add methods to set the camera's view matrix.
|
vor 12 Jahren |
Sam Hocevar
|
e1d0beae1a
|
math: support all Tait-Bryan angle combinations in quaternions.
|
vor 12 Jahren |
Sam Hocevar
|
4934e9dbee
|
orbital: move ship with arrows.
|
vor 12 Jahren |
Sam Hocevar
|
102d007cda
|
input: blacklist HDAPS as a joystick, it's not really a joystick.
|
vor 12 Jahren |
Sam Hocevar
|
d0dbbde159
|
core: allow to concatenate arrays, and add unit tests for that.
|
vor 12 Jahren |
Sam Hocevar
|
95fccabc7a
|
orbital: create a Player class with joystick support.
|
vor 12 Jahren |
Sam Hocevar
|
45bab95127
|
input: do not let the joystick override the keyboard.
|
vor 12 Jahren |
Sam Hocevar
|
58b3c20b86
|
input: add core joystick support and bind the SDL input to that.
|
vor 12 Jahren |
Sam Hocevar
|
c276dbb1ff
|
math: allow to write 1.f / q to take a quaternion's inverse.
|
vor 12 Jahren |
Sam Hocevar
|
d452194326
|
gpu: activate backface culling on OpenGL to remain consistent with
the Direct3D backend.
|
vor 12 Jahren |
Sam Hocevar
|
8f7d28c169
|
orbital: play with the tanks.
|
vor 12 Jahren |
Sam Hocevar
|
032b7ed47d
|
core: make WorldEntity rotation a quaternion.
|
vor 12 Jahren |
Sam Hocevar
|
75021144ae
|
orbital: put the tanks in a separate class.
|
vor 12 Jahren |
Sam Hocevar
|
8954a123aa
|
core: add Last() and Pop() methods to the Array class.
|
vor 12 Jahren |
Sam Hocevar
|
6467a06e90
|
core: convert some realloc() calls to our nice dynamic Array class.
|
vor 12 Jahren |
Sam Hocevar
|
82aaaae62c
|
core: the Array class now properly works with non-POD types.
|
vor 12 Jahren |
Benjamin ‘Touky’ Huet
|
38332c5f47
|
Added CommandParser parent class to Mesh to prepare other Parser implementation.
|
vor 12 Jahren |
Sam Hocevar
|
0315413285
|
core: rename Array::Append() to Array::Push() for brevity and arbitrary
personal taste.
|
vor 12 Jahren |
Sam Hocevar
|
bfada5d920
|
core: move some of the camera view logic from the Video class to the
Scene and Camera classes.
|
vor 12 Jahren |
Sam Hocevar
|
64b37d8897
|
gpu: fix a memory leak in the VertexBuffer and IndexBuffer classes.
|
vor 12 Jahren |
Sam Hocevar
|
2d34fd8358
|
core: reduce compilation time by about 30% by playing with namespaces
and avoid cluttering the compiler's symbol table.
|
vor 12 Jahren |