Sam Hocevar
951c93ab84
data: fix ascii.png search path.
12 years ago
Sam Hocevar
3389ed69a2
build: move all games to a "games" subdirectory to clean up the root
directory layout mess.
12 years ago
Sam Hocevar
28728814cc
core: replace usage of sin() or std::sin() with lol::sin() where appropriate.
12 years ago
Sam Hocevar
90bfc79b22
core: tick methods now use seconds, like any sane system.
13 years ago
Sam Hocevar
fbaf32f1b9
core: make timers second-based rather than millisecond-based.
13 years ago
Sam Hocevar
4e4d5a8e06
build: fix GCC build; it doesn't like to have a local file called debug/debug.h.
13 years ago
Sam Hocevar
48c7070243
gpu: replace exit(0) in D3D error checks with lol::Abort().
13 years ago
Sam Hocevar
6169c874e4
gpu: port the vertex buffer abstraction layer to OpenGL.
13 years ago
Sam Hocevar
1485e5bf63
gpu: add support for integer uniforms and fix a few PS3 and Linux compilation
issues that were introduced with the Direct3D changes.
13 years ago
Sam Hocevar
090834b149
win32: start porting the graphical backend to DirectX 9. Apparently I
cannot used DirectX 10 because my video card only supports DX9, and there
is no compatibility layer. DX11 has feature levels for older hardware so
it would work with a DX9 card, but it's not available for WinXP.
13 years ago
Sam Hocevar
60a2e83d54
xbox: start working on an Xbox/Direct3D port.
13 years ago
Sam Hocevar
8bea4cf189
math: ensure real::fabs() is never chosen over std::fabs() for arguments
that are not explicitly real, even with namespace mistakes.
13 years ago
Sam Hocevar
54f74a1b20
win32: some compilation fixes here and there.
13 years ago
Sam Hocevar
d38a79ee3d
math: move most vector and matrix member functions to global functions.
13 years ago
Sam Hocevar
b2d73f6310
core: prefix Entity members with m_ to avoid accidental shadowing.
13 years ago
Sam Hocevar
bc331e0116
gl: do not enable or disable GL_TEXTURE_2D with GLES 2.0, it's now illegal.
13 years ago
Sam Hocevar
2edb8115e6
core: port all code to NativeClient. Nothing runs for now, but it builds.
13 years ago
Sam Hocevar
1ca9c191e6
debug: fix a timing issue in the quad debug object.
13 years ago
Sam Hocevar
01ebcec3b8
core: split vector operations into linear and non-linear so that we can
reuse the linear operations in quaternions. Also mark some constructors
explicit to better spot coding errors.
13 years ago
Sam Hocevar
5521b9fd01
build: start adding Xbox 360 configuration settings to the VS projects.
13 years ago
Sam Hocevar
356917292d
osx: link with the proper OpenGL libraries on OS X.
13 years ago
Sam Hocevar
ba10e59e45
ios: fix iOS build by adding missing files to XCode project.
13 years ago
Sam Hocevar
7b7d4fe003
build: stop defining ANDROID_NDK and check for __ANDROID__ instead.
According to David Turner, “it should be the only thing that NDK users
should be testing again.”
13 years ago
Sam Hocevar
5454005d81
debug: various improvements to the test programs.
13 years ago
Sam Hocevar
320e70d8c4
core: a few compilation fixes for non-GCC compilers.
13 years ago
Sam Hocevar
b5cb0dffa6
debug: fix PS3 and Android compilation.
13 years ago
Sam Hocevar
9eeef663d1
debug: add point sprite examples.
13 years ago
Sam Hocevar
2b9d64f7a8
core: more vec?i -> ?veci renames.
13 years ago
Sam Hocevar
6bbe943492
core: rename vec2i to ivec2 etc. to better match GLSL.
13 years ago
Sam Hocevar
611b599682
debug: more iOS compilation fixes; GL_VERTEX_ARRAY isn't available.
13 years ago
Sam Hocevar
28f0fc2675
debug: fix iOS compilation of the debug quad code.
13 years ago
Sam Hocevar
473166f72d
ios: update XCode project and fix a GL test compilation issue.
13 years ago
Sam Hocevar
ecb0d80b7e
android: fix Android NDK compilation.
13 years ago
Sam Hocevar
7cfcfb2413
shader: factor the uniform handling logic into platform-independent methods
for both OpenGL and the PS3.
13 years ago
Sam Hocevar
e3e99deb12
debug: add a debug example with a shader and a uniform matrix parameter, to
check that uniforms work properly on the PS3.
13 years ago
Sam Hocevar
1e9cfba718
debug: add new shader tests and write some Cg equivalents on the PS3.
13 years ago
Sam Hocevar
9bea12367d
debug: minor updates to the debug quad code.
13 years ago
Sam Hocevar
ad17147b43
debug: refactor quad test.
13 years ago
Sam Hocevar
66102168e3
debug: make the GL test compile on Android.
13 years ago
Sam Hocevar
6ef55ca61f
ps3: some compilation fixes to accomodate for recent debug additions.
13 years ago
Sam Hocevar
b71ed99d8e
debug: reset the GL state more aggressively between quad renderings; this
helped find a few bugs such as textures not bound.
13 years ago
Sam Hocevar
5123b94188
debug: reset texture unit in the GL quad.
13 years ago
Sam Hocevar
ffb7037da8
debug: add a slightly more complex vertex buffer test quad.
13 years ago
Sam Hocevar
a84eb53f8e
debug: some code cleanup in the quad tests.
13 years ago
Sam Hocevar
660962e894
build: put debug stuff and shader stuff in subdirectories.
13 years ago