Sam Hocevar
1a54a81167
sys: move thread.h to the sys/ directory.
13 vuotta sitten
Sam Hocevar
6a6e46cf0d
system: try to autodetect the data directory from the executable path;
currently works for images (SDL and GDI+ loaders) and sound samples.
13 vuotta sitten
Benjamin ‘Touky’ Huet
4393a43752
Added CSG v0.001a : not optimized, too much operation makes it slow. triangle count is not optimized.
Useage : "...[.... csg*]" equals "current mesh -CSG- the mesh in the braces".
Keywords : CsgUnion<csgu>, CsgSubstract<csgs>, CsgAnd<csga>, CsgXor<csgx>
TODO : cleanup useless code.
TODO : Some bugs are still present, some face that disappear should not.
TODO : Correct epsilon useage (see geometry files).
TODO : Coplanar face are not handled -at all-.
TODO : Vertex count goes through the roof in case of a Xor.
13 vuotta sitten
Benjamin ‘Touky’ Huet
3d56a23a55
Added geometry basic functions.
TODO : second pass on coding-style, and some tweak & usage modification.
13 vuotta sitten
Sam Hocevar
44f324a354
color: add conversion from CIE-xyY to CIE-XYZ and start working on
a wavelength to saturated xyY function based on the standard observer
data.
13 vuotta sitten
Sam Hocevar
10d5d30b85
image: a few colour conversion routines.
13 vuotta sitten
Sam Hocevar
d49bb04d20
build: rename “core” directory to “base” because the former is used for core
files on some Unix systems.
13 vuotta sitten
Sam Hocevar
2a5d9ed4d8
build: rename Map to LevelMap so that we can use Map for the hashmap.
13 vuotta sitten
Sam Hocevar
397c7f2fda
core: implement hashing functions for half, float and double.
13 vuotta sitten
Sam Hocevar
949128d325
core: implement String::Printf() and start working on the unit tests.
I'm gonna commit this right now though I'm not really sure whether Visual
Studio will agree to build va_copy and others.
13 vuotta sitten
Sam Hocevar
52e7f2f399
build: add missing bullet .h files to Makefile.am.
13 vuotta sitten
Sam Hocevar
0149c30df4
core: refactor the Hash class so that we can hash base types, too.
13 vuotta sitten
Sam Hocevar
46f7e750c0
core: more string concatenation and comparison methods, plus a lot
of unit tests for the String class.
13 vuotta sitten
Sam Hocevar
bbca3b6e59
build: fixes for out-of-tree builds, and get rid of
some deprecated stuff.
13 vuotta sitten
Sam Hocevar
4a6d092a74
mesh: start working on mesh and submesh stuff.
13 vuotta sitten
Sam Hocevar
b438a94642
input: add the Keyboard abstraction object type.
13 vuotta sitten
Sam Hocevar
b9aba5d27a
gpu: put the texture creation code in its own class; for now a lot of things are
hardcoded and only the fractal demo uses it, but everything will eventually switch.
13 vuotta sitten
Sam Hocevar
bd66a8bcf2
build: some build system fixes.
13 vuotta sitten
Sam Hocevar
26c432be90
gpu: sip an empty LolFx class that embeds the compiler.
13 vuotta sitten
Sam Hocevar
5320310f5a
build: "make generated" now recursively rebuilds all flex/bison targets.
13 vuotta sitten
Sam Hocevar
ca909bb317
build: refactor lolfx build rule into common.am.
13 vuotta sitten
Sam Hocevar
e390f03e0a
build: add a common.am include file and a "make lolcheck" target that does
nothing for now except ensure that every makefile includes common.am.
13 vuotta sitten
Sam Hocevar
8cff2e9c8b
debug: get rid of DebugSphere, it's totally obsoleted by EasyMesh.
13 vuotta sitten
Sam Hocevar
100f53e550
gpu: convert the gradient shader to a LolFx effect file.
13 vuotta sitten
Sam Hocevar
ca1050e047
debug: get rid of quad.cpp, it's become useless.
13 vuotta sitten
Sam Hocevar
2297288114
gpu: get rid of the inline 2D shader and create "tile.lolfx".
13 vuotta sitten
Sam Hocevar
65ea695de1
core: start working on a higher level LolFx compiler based on the latest
GLSL grammar and some personal attempts at writing an HLSL grammar.
13 vuotta sitten
Sam Hocevar
372c287ccd
core: add the whole BulletPhysics source code to the engine core, because
that’s precisely how they want us to use it.
13 vuotta sitten
Sam Hocevar
4220cb8e12
build: do like BulletPhysics and make the PS3 code always visible.
13 vuotta sitten
Sam Hocevar
8be874ae39
build: factor the LolFx compilation rule into configure.ac.
13 vuotta sitten
Sam Hocevar
3389ed69a2
build: move all games to a "games" subdirectory to clean up the root
directory layout mess.
13 vuotta sitten
Sam Hocevar
28728814cc
core: replace usage of sin() or std::sin() with lol::sin() where appropriate.
13 vuotta sitten
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.
13 vuotta sitten
Sam Hocevar
86a16aaff6
easymesh: move the Mesh builder into the engine core.
13 vuotta sitten
Sam Hocevar
6f73cafa08
build: simplify the .lolfx file compilation.
13 vuotta sitten
Sam Hocevar
e2295392b8
gpu: first FrameBuffer GPU class.
13 vuotta sitten
Sam Hocevar
4a938d239b
build: remove \r from shader files before compilation.
13 vuotta sitten
Sam Hocevar
ae79148e79
build: fix a few build issues (missing -lxinput, missing d3d9 source files).
13 vuotta sitten
Sam Hocevar
bd649af62d
nacl: NaCl binaries no longer need a modified main() to work, the NaCl
instance object takes care of everything for us.
13 vuotta sitten
Sam Hocevar
fc618350f6
gpu: start working on the LolFx format.
13 vuotta sitten
Sam Hocevar
6fe12e7811
build: ensure .lolfx.cpp files get cleaned up.
13 vuotta sitten
Sam Hocevar
a606290ed2
gpu: allow to load a .lolfx file instead of all those shaders.
13 vuotta sitten
Sam Hocevar
e8c2384d9c
build: build .lolfx files from automake.
13 vuotta sitten
Sam Hocevar
70f992bb36
win32: add an Xinput class for Xbox360 controllers, because they're not
properly detected using the generic SDL driver.
13 vuotta sitten
Sam Hocevar
54fe8937ad
input: support Xbox input system for gamepads.
13 vuotta sitten
Sam Hocevar
58b3c20b86
input: add core joystick support and bind the SDL input to that.
13 vuotta sitten
Sam Hocevar
08fc460668
core: move the Camera class from Orbital to the engine core.
13 vuotta sitten
Sam Hocevar
578368f452
gpu: abstraction class for index buffers; the cube tutorial no longer
needs to know about Direct3D headers etc.
13 vuotta sitten
Sam Hocevar
18cd98fe91
core: add a dynamic Array class.
13 vuotta sitten
Sam Hocevar
4e4d5a8e06
build: fix GCC build; it doesn't like to have a local file called debug/debug.h.
13 vuotta sitten