Sam Hocevar
|
78f7a303ff
|
build: reorganise all the build stuff so that it lies in build/ and
make sure each .vcxproj file is with its corresponding source code.
|
12 年前 |
Sam Hocevar
|
4fa458d653
|
gpu: disable framebuffer objects on GL ES for now, and disable integer
attributes if GL version isn't 3.0 at least.
|
12 年前 |
Sam Hocevar
|
28728814cc
|
core: replace usage of sin() or std::sin() with lol::sin() where appropriate.
|
12 年前 |
Sam Hocevar
|
8375f3443d
|
build: fix the PS3 port by using our trig.h everywhere instead of stdlib
functions; also remove a lot of idiotic "using namespace std" from the
codebase.
|
12 年前 |
Sam Hocevar
|
86a16aaff6
|
easymesh: move the Mesh builder into the engine core.
|
12 年前 |
Sam Hocevar
|
c035a1c2b7
|
core: fix a few build warnings and remove useless operators from the
"half" class. The build is now 3% faster.
|
12 年前 |
Sam Hocevar
|
95d26d18dd
|
gpu: remove FrameBuffer::Clear(), it's not really useful.
|
12 年前 |
Sam Hocevar
|
18d22e1fc5
|
gpu: better state restoration after vertex buffer usage.
|
12 年前 |
Sam Hocevar
|
6f73cafa08
|
build: simplify the .lolfx file compilation.
|
12 年前 |
Sam Hocevar
|
27d22a9778
|
gpu: do not convert u8vec4 to integers when set as array buffers, since we
want to normalise them to floats.
|
12 年前 |
Sam Hocevar
|
67113aa9f0
|
gpu: do not convert integers in vertex streams to floats.
|
12 年前 |
Sam Hocevar
|
2feb505b72
|
gpu: be more verbose about shader compilation; some warnings are useful.
|
12 年前 |
Sam Hocevar
|
ca5781ec1d
|
gpu: fix a harmless inconsistency in vertexbuffer function order that could
have confused the reader.
|
12 年前 |
Sam Hocevar
|
ce4c8eb731
|
gpu: add GL points support to the primitive rendering.
|
12 年前 |
Sam Hocevar
|
286c5edeb6
|
neercs: some refactoring.
|
12 年前 |
Sam Hocevar
|
e2295392b8
|
gpu: first FrameBuffer GPU class.
|
12 年前 |
Sam Hocevar
|
4a938d239b
|
build: remove \r from shader files before compilation.
|
12 年前 |
Sam Hocevar
|
e5e598bd68
|
gpu: first shot at a Shader::SetTexture() function.
|
12 年前 |
Sam Hocevar
|
add39177c5
|
gpu: disable all vertex attributes upon vertex declaration unbind, just
because we don't know yet how to disable them selectively.
|
12 年前 |
Sam Hocevar
|
ae79148e79
|
build: fix a few build issues (missing -lxinput, missing d3d9 source files).
|
12 年前 |
Sam Hocevar
|
1b9facda49
|
gpu: silently ignore empty vertex and index buffers instead of crashing
and letting the user guess what happened. This doesn't prevent us from
displaying an additional friendly warning later.
|
12 年前 |
Sam Hocevar
|
c51b7c14c9
|
orbital: some improvements to the mesh parser and error reporting.
|
12 年前 |
Sam Hocevar
|
bd649af62d
|
nacl: NaCl binaries no longer need a modified main() to work, the NaCl
instance object takes care of everything for us.
|
12 年前 |
Sam Hocevar
|
32f232e112
|
nacl: preliminary gamepad support in the NaCl backend.
|
12 年前 |
Sam Hocevar
|
b83a7eccca
|
nacl: remove our old hack of #including the file containing main() from
the NaCl instance object. Now we properly override main() and we can at
last build all the executables as NaCl binaries.
|
12 年前 |
Sam Hocevar
|
a71562bd83
|
core: rename f64vec4 to dvec4 etc. for consistency with GLSL.
|
12 年前 |
Sam Hocevar
|
6eb41c04ff
|
win32: better error reporting in the GDI+ loader, based on a patch by ponce.
|
12 年前 |
Sam Hocevar
|
55a195d931
|
gpu: irrelevant tweaks to a test material file.
|
12 年前 |
Sam Hocevar
|
fc618350f6
|
gpu: start working on the LolFx format.
|
12 年前 |
Sam Hocevar
|
bd5ff72507
|
math: declare some HLSL-compliant types.
|
12 年前 |
Sam Hocevar
|
6fe12e7811
|
build: ensure .lolfx.cpp files get cleaned up.
|
12 年前 |
Sam Hocevar
|
a3cf7086ce
|
math: fix minor compiler warnings that appeared with g++ 4.7.
|
12 年前 |
Sam Hocevar
|
59ba6e6c87
|
core: no longer deactivate std::ostream features on Android.
|
12 年前 |
Sam Hocevar
|
8d28557645
|
input: fix brain fart in our SDL joystick input.
|
12 年前 |
Sam Hocevar
|
736b5a2659
|
input: support up to 16 buttons in Xbox-like pads.
|
12 年前 |
Sam Hocevar
|
e110495464
|
gpu: define the _XBOX macro in our HLSL compilation.
|
12 年前 |
Sam Hocevar
|
a606290ed2
|
gpu: allow to load a .lolfx file instead of all those shaders.
|
12 年前 |
Sam Hocevar
|
e8c2384d9c
|
build: build .lolfx files from automake.
|
12 年前 |
Sam Hocevar
|
43b55669a4
|
math: workaround for an apparent Visual Studio compiler bug in
template specialisation order.
|
12 年前 |
Sam Hocevar
|
b1d9c511bf
|
core: some clang and g++ 4.7 compilation fixes.
|
12 年前 |
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.
|
12 年前 |
Benjamin ‘Touky’ Huet
|
cfbacb625f
|
Small WorldEntity tweaks.
|
12 年前 |
Benjamin ‘Touky’ Huet
|
a031bad19c
|
Added some convenient functions in camera.
|
12 年前 |
Sam Hocevar
|
4770daf4ac
|
math: replace len(vec) with length(vec) to match the GLSL naming.
|
12 年前 |
Sam Hocevar
|
440e86eb68
|
orbital: use both thumb sticks to pilot ships.
|
12 年前 |
Sam Hocevar
|
70f992bb36
|
win32: add an Xinput class for Xbox360 controllers, because they're not
properly detected using the generic SDL driver.
|
12 年前 |
Sam Hocevar
|
54fe8937ad
|
input: support Xbox input system for gamepads.
|
12 年前 |
Sam Hocevar
|
c0141debea
|
input: allow to remap gamepad axes in the generic input layer.
|
12 年前 |
Sam Hocevar
|
2723dabfac
|
orbital: play with the camera.
|
12 年前 |
Sam Hocevar
|
f30105e675
|
math: implement all Euler conversions for 3×3 matrices.
|
12 年前 |