cbd74492
debug: re-add old fixed pipeline code to the debugquad. by
2011-04-29 13:28:34 +0000
328af22a
ps3: fix a bug in the timer code. by
2011-04-29 13:28:24 +0000
00625f76
core: don't explicitly use std:: prefix when the platform may not recognise it. by
2011-04-28 20:16:11 +0000
e6c6f593
gl: force version 1.30 for all shaders. by
2011-04-28 20:16:08 +0000
3d4af086
ps3: start a minimal PS3 port using PSGL, but not CG yet. by
2011-04-28 19:01:37 +0000
73296926
math: implement vector comparisons and add minimal unit tests for this feature. by
2011-04-20 10:01:45 +0000
cc05a63b
video: get rid of Video::GetWidth() and Video::GetHeight(). by
2011-04-04 00:05:59 +0000
bd9dd9c1
video: implement Video::GetSize() in addition to GetWidth() and GetHeight(). by
2011-04-04 00:05:52 +0000
f23ce9c7
ui: add a Platform class to query information about the current platform. Implement GetMouseCount() to query the number of mice on the system. by
2011-03-27 23:31:46 +0000
22b7a41c
core: fix include guard naming scheme. by
2011-03-27 23:31:39 +0000
f80bd912
video: play with random dithering. by
2011-03-27 23:31:34 +0000
d18820d3
video: enforce shader-enabled GL implementations, getting rid of a lot of code. by
2011-03-19 11:52:14 +0000
951ac2bb
android: use GLES2 instead of GLES. by
2011-03-14 01:40:37 +0000
6f35fd55
video: make the dithering shader work with GLES2. by
2011-03-14 01:40:30 +0000
821c3985
video: fix a syntax error in the default vertex shader. by
2011-03-14 01:40:28 +0000
1f3d06c5
video: 8×8 Bresenham dithering (still deactivated). by
2011-03-13 00:22:52 +0000
10b321b2
core: get rid of now useless <cstdio> includes. by
2011-03-13 00:22:49 +0000
1e5624d5
core: create a logger class to reduce printf usage. by
2011-03-13 00:22:45 +0000
493109e3
video: add deactivated shader code for 4x4 Bayer dithering. by
2011-03-08 22:52:28 +0000
233ad8bb
core: fix uninitialised WorldEntity members. by
2011-03-08 22:52:25 +0000
10e23850
gl: reactivate depth test and blending on GLES 1.x. by
2011-03-07 18:05:40 +0000
c3901268
android: enforce fullscreen on Android until we have several layouts. by
2011-03-07 18:05:37 +0000
302e45e8
ios: get texture loading to work, somehow. by
2011-03-06 22:49:41 +0000
4667bbfb
ios: texture loading test. by
2011-03-06 21:46:24 +0000
8f72b173
gl: use glActiveTexture() instead of glClientActiveTexture() to match the GLES2 codepath. by
2011-03-06 15:05:06 +0000
700cfbd8
core: fix a few compilation errors and warnings on OS X. by
2011-03-06 15:04:48 +0000
e43d7b07
android: JNI hooks for single touch input. by
2011-03-03 00:07:23 +0000
84515310
android: move the PNG loading test into the Image class. It now works. by
2011-03-01 18:02:18 +0000
aec4ae3c
android: Add a method for PNG loading. Highly hackish for now. by
2011-03-01 00:13:28 +0000
f55180fd
build: look for libpng, even though we don't use it yet. by
2011-03-01 00:13:25 +0000
c29f6a1f
android: Use thiz instead of that in JNI code. by
2011-03-01 00:13:22 +0000
8ebf55fc
No longer use DebugQuad() in the AndroidApp, we now know it works. by
2011-02-28 18:02:27 +0000
0d6f9ef1
Basic utility function to display matrices. by
2011-02-28 18:02:24 +0000
1aa3cf12
Work around a bug in the Android emulator that doesn't let us query the current viewport settings. by
2011-02-28 18:02:21 +0000
48ca9eaf
Add AndroidAdd to the VCS. Far from being usable for now. by
2011-02-28 02:26:33 +0000
8e6eb8db
Various changes to the Scene class. Not sure what's useful. by
2011-02-28 02:26:30 +0000
0e7bec29
Use glClientActiveTexture() wherever it appears to make sense. by
2011-02-28 02:26:27 +0000
1fc1b60e
Add transparency to DebugQuad and ensure it gets rendered over everything. by
2011-02-28 02:26:24 +0000
39697202
The DebugQuad object now rotates with time. by
2011-02-28 02:26:21 +0000
df21968c
Add texturing support to DebugQuad. Works with OpenGL (fixed pipeline and programmable pipeline versions) and OpenGL ES 1.x for now. by
2011-02-28 02:26:18 +0000
2c4db856
Replace #-style comments with dnl-style ones. by
2011-02-28 02:26:12 +0000
246bce7d
Add a DebugQuad class for simple feature testing. by
2011-02-28 02:26:09 +0000
336d4237
Enable GL_TEXTURE_2D in the Scene class instead of Video. by
2011-02-28 02:26:06 +0000
dad4497e
Remove the Android hack, we can control it from the NDK build scripts. by
2011-02-28 02:26:02 +0000
fd465a08
Merge all debug entity includes in <loldebug.h>. by
2011-02-28 02:25:58 +0000
42ea6c25
Fix a typo in the optimisation flags. by
2011-02-28 02:25:50 +0000
7e169107
Reduce optimisation strength in debug mode. by
2011-02-26 10:34:07 +0000
f7f6f4db
Define a few user profilers. by
2011-02-26 10:34:03 +0000
58630299
Fix delete/free confusions in EglApp and SdlApp. by
2011-02-26 10:33:59 +0000
7fd4603a
Create a fake Image if SDL_image is not available, so that we can test stuff anyway. by
2011-02-22 15:52:38 +0000
4aff0049
Use the new Image class instead of SDL_image in the TileSet class. by
2011-02-22 13:39:26 +0000
edd75a3c
Add the Image class for better abstraction. by
2011-02-22 13:39:23 +0000
4be6c3fd
Remove the old and ugly Font macro diversion. by
2011-02-22 13:39:19 +0000
8848cf53
Put everything in the "lol" namespace. Better late than never. by
2011-02-22 13:39:14 +0000
cc7dd5f4
Try to fix GLES 2 rendering. No luck so far. by
2011-02-22 01:17:48 +0000
b8377c41
Add preliminary support for EGL applications. by
2011-02-22 01:17:45 +0000
3191ca57
Set the default background color to something recognisable. by
2011-02-22 01:17:42 +0000
e41dd3a9
Create the SdlApp class to avoid code duplication. Ensure USE_SDL is tested wherever relevant. by
2011-02-21 17:11:36 +0000
f75db4c5
Fix the GLESv2 rendering. by
2011-02-21 11:01:21 +0000
c6436682
The engine now builds for GL and GL ES 1.x and 2.x, and runs for each one except GL ES 2.x for now. by
2011-02-21 00:08:46 +0000
6e173ee3
Put the OpenGL header handling in <lolgl.h> for more convenience. by
2011-02-20 12:03:07 +0000
c5240f20
Fix a memory leak in the vertex array buffer handling. by
2011-02-20 12:02:56 +0000
5315089a
Fix numerous resource leaks in scene.cpp. by
2011-02-20 12:02:48 +0000
c1a48408
Cache shader source CRCs to avoid costly recompilations. by
2011-02-20 12:02:42 +0000
07ebcb6e
Implement CRC32 in the new Hash class. Will be useful for Dict and for the new Shader cache. by
2011-02-19 21:09:31 +0000
194a025b
Protect the Shader constructor and provide a static creation method that will let us cache shaders. by
2011-02-19 21:09:20 +0000
cf3e7672
Minor GL code reorganisation and simplification. by
2011-02-18 15:55:34 +0000
7ed3b998
Experimental GL mode works! by
2011-02-18 00:09:36 +0000
136510f0
OpenGL code refactoring. by
2011-02-18 00:09:33 +0000
6405ef32
Get rid of float3, float4, int3 etc. in favour of GLSL types. by
2011-02-18 00:09:28 +0000
dde16a9d
Implement +=, -= and *= for matrices and vectors. Add new types, closer to the GLSL ones. by
2011-02-18 00:09:24 +0000
e17ba05a
Merge more code from the experimental MVP refactor into the old GL code. by
2011-02-18 00:09:21 +0000
e1d6dbeb
Implement float4x4::rotate(). by
2011-02-18 00:09:18 +0000
a17ef2ca
Implement float4x4::ortho() and float4x4::translate(). by
2011-02-18 00:09:15 +0000
01be151c
Try to factor all the recent GLSL stuff in the new Shader class. by
2011-02-17 18:06:37 +0000
4df4ba3a
Get rid of the SHADER_CRAP macro and use LOL_EXPERIMENTAL instead, together with the --enable-experimental flag. Use LOL_DEBUG and LOL_RELEASE instead of the previous values. by
2011-02-17 18:06:33 +0000
5eceff01
Clean up stuff in the shader crap. by
2011-02-17 18:06:26 +0000
7dfbff6c
More shader crap. Texture coordinates now work. Still disabled. by
2011-02-17 00:53:38 +0000
dcc00874
Fix a nasty bug in the float4x4::frustum() computation. by
2011-02-17 00:53:35 +0000
139555f4
More shader crap. We can now display a coloured quad. Still disabled. by
2011-02-17 00:05:58 +0000
58e12ca4
More shader crap for GLSL 1.30. Still disabled. by
2011-02-16 18:04:11 +0000
b9c013e6
Implement float4x4::frustum() and float4x4::perspective() to build projection matrices. by
2011-02-16 18:04:08 +0000
4b484d5b
Make the float4x4 constructor fill only the matrix's diagonal. Thus the float4x4::identity() method is no longer necessary. by
2011-02-16 18:04:05 +0000
7d0990d8
Fix shader crap syntax, caused by space-like UTF-8 characters. by
2011-02-16 00:18:19 +0000
8ac9945a
Shader tests. Disabled for now. by
2011-02-14 01:26:43 +0000
70159431
Add matrix determinant and inverse methods. by
2011-02-14 01:26:40 +0000
b9107228
Switch debug sphere rendering method to vertex buffer objects. by
2011-02-14 01:26:37 +0000
ca16123c
Ensure the DebugFps object is rendered in front of everything else. by
2011-02-14 01:26:34 +0000
9a66d6b1
Switch scene rendering method to vertex buffer objects. by
2011-02-14 01:26:31 +0000
6f252596
Disable -O2 when in debug mode, and disable -g when in release mode. by
2011-02-14 01:26:28 +0000
c2584020
Do not zero vector memory upon initialisation. Unitialised is uninitialised. by
2011-02-14 01:26:26 +0000
da73635c
Add an optional cppunit dependency for unit tests. by
2011-02-14 01:26:23 +0000
65c69e11
Create a few matrix handling classes and operators. by
2011-02-14 01:26:19 +0000
2c2b38db
Make font objects use the TileSet system and fix the text objects' Z offset. Fixes tickets #19 and #24. by
2011-02-11 23:53:45 +0000
aee14ca1
Only link with -lGL if present on the system. Fixes the MinGW build. by
2011-02-11 23:01:22 +0000
bcca962b
Allow to query for a tileset's size and/or number of tiles. by
2011-02-11 23:01:20 +0000
46db0d51
Fix the SDL timer behaviour. Fixes ticket #26. by
2011-02-11 22:08:35 +0000
375d7ee1
TileSets can now be initialised either using the tile size, or the known number of tiles in a row and a column. Necessary for ticket #24. by
2011-02-11 21:45:37 +0000
0afb58dc
Properly detect SDL libraries when sdl-config and pkg-config are here together. by
2011-02-11 21:45:35 +0000
d7ee37a2
Add missing icons.png, use CPPFLAGS instead of CXXFLAGS in automake rules. by
2011-02-11 14:34:48 +0000