Sam Hocevar
|
b8377c4160
|
Add preliminary support for EGL applications.
|
13年前 |
Sam Hocevar
|
3191ca57bf
|
Set the default background color to something recognisable.
|
13年前 |
Sam Hocevar
|
e41dd3a949
|
Create the SdlApp class to avoid code duplication. Ensure USE_SDL is
tested wherever relevant.
|
13年前 |
Sam Hocevar
|
f75db4c57f
|
Fix the GLESv2 rendering.
|
13年前 |
Sam Hocevar
|
c643668297
|
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.
|
13年前 |
Sam Hocevar
|
6e173ee3eb
|
Put the OpenGL header handling in <lolgl.h> for more convenience.
|
13年前 |
Sam Hocevar
|
c5240f20e1
|
Fix a memory leak in the vertex array buffer handling.
|
13年前 |
Sam Hocevar
|
5315089abe
|
Fix numerous resource leaks in scene.cpp.
|
13年前 |
Sam Hocevar
|
c1a48408cf
|
Cache shader source CRCs to avoid costly recompilations.
|
13年前 |
Sam Hocevar
|
07ebcb6e29
|
Implement CRC32 in the new Hash class. Will be useful for Dict and for
the new Shader cache.
|
13年前 |
Sam Hocevar
|
194a025bc8
|
Protect the Shader constructor and provide a static creation method that
will let us cache shaders.
|
13年前 |
Sam Hocevar
|
cf3e767213
|
Minor GL code reorganisation and simplification.
|
13年前 |
Sam Hocevar
|
7ed3b998fd
|
Experimental GL mode works!
|
13年前 |
Sam Hocevar
|
136510f0be
|
OpenGL code refactoring.
|
13年前 |
Sam Hocevar
|
6405ef32ea
|
Get rid of float3, float4, int3 etc. in favour of GLSL types.
|
13年前 |
Sam Hocevar
|
dde16a9dd6
|
Implement +=, -= and *= for matrices and vectors.
Add new types, closer to the GLSL ones.
|
13年前 |
Sam Hocevar
|
e17ba05a9b
|
Merge more code from the experimental MVP refactor into the old GL code.
|
13年前 |
Sam Hocevar
|
e1d6dbebce
|
Implement float4x4::rotate().
|
13年前 |
Sam Hocevar
|
a17ef2ca4c
|
Implement float4x4::ortho() and float4x4::translate().
|
13年前 |
Sam Hocevar
|
01be151c62
|
Try to factor all the recent GLSL stuff in the new Shader class.
|
13年前 |
Sam Hocevar
|
4df4ba3a78
|
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.
|
13年前 |
Sam Hocevar
|
5eceff01e8
|
Clean up stuff in the shader crap.
|
13年前 |
Sam Hocevar
|
7dfbff6ca9
|
More shader crap. Texture coordinates now work. Still disabled.
|
13年前 |
Sam Hocevar
|
dcc0087455
|
Fix a nasty bug in the float4x4::frustum() computation.
|
13年前 |
Sam Hocevar
|
139555f45c
|
More shader crap. We can now display a coloured quad. Still disabled.
|
13年前 |
Sam Hocevar
|
58e12ca4d1
|
More shader crap for GLSL 1.30. Still disabled.
|
13年前 |
Sam Hocevar
|
b9c013e665
|
Implement float4x4::frustum() and float4x4::perspective() to build
projection matrices.
|
13年前 |
Sam Hocevar
|
4b484d5bc8
|
Make the float4x4 constructor fill only the matrix's diagonal. Thus
the float4x4::identity() method is no longer necessary.
|
13年前 |
Sam Hocevar
|
7d0990d858
|
Fix shader crap syntax, caused by space-like UTF-8 characters.
|
13年前 |
Sam Hocevar
|
8ac9945afa
|
Shader tests. Disabled for now.
|
13年前 |
Sam Hocevar
|
7015943141
|
Add matrix determinant and inverse methods.
|
13年前 |
Sam Hocevar
|
b91072282a
|
Switch debug sphere rendering method to vertex buffer objects.
|
13年前 |
Sam Hocevar
|
ca16123ccb
|
Ensure the DebugFps object is rendered in front of everything else.
|
13年前 |
Sam Hocevar
|
9a66d6b1bb
|
Switch scene rendering method to vertex buffer objects.
|
13年前 |
Sam Hocevar
|
6f252596c4
|
Disable -O2 when in debug mode, and disable -g when in release mode.
|
13年前 |
Sam Hocevar
|
c2584020aa
|
Do not zero vector memory upon initialisation. Unitialised is uninitialised.
|
13年前 |
Sam Hocevar
|
da73635c64
|
Add an optional cppunit dependency for unit tests.
|
13年前 |
Sam Hocevar
|
65c69e11db
|
Create a few matrix handling classes and operators.
|
13年前 |
Sam Hocevar
|
2c2b38db41
|
Make font objects use the TileSet system and fix the text objects' Z offset.
Fixes tickets #19 and #24.
|
14年前 |
Sam Hocevar
|
aee14ca1a5
|
Only link with -lGL if present on the system. Fixes the MinGW build.
|
14年前 |
Sam Hocevar
|
bcca962ba9
|
Allow to query for a tileset's size and/or number of tiles.
|
14年前 |
Sam Hocevar
|
46db0d51c8
|
Fix the SDL timer behaviour. Fixes ticket #26.
|
14年前 |
Sam Hocevar
|
375d7ee14d
|
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.
|
14年前 |
Sam Hocevar
|
0afb58dca8
|
Properly detect SDL libraries when sdl-config and pkg-config are here
together.
|
14年前 |
Sam Hocevar
|
d7ee37a230
|
Add missing icons.png, use CPPFLAGS instead of CXXFLAGS in automake rules.
|
14年前 |
Sam Hocevar
|
3c6cb52695
|
Fix a typo in Makefile.am.
|
14年前 |
Sam Hocevar
|
d858cb2444
|
Clean up configure.ac from useless variables.
|
14年前 |
Sam Hocevar
|
e17905e03a
|
Try to autodetect GtkGL development libs, and don't build the Deus Hax
editor if not found.
|
14年前 |
Sam Hocevar
|
560164e15f
|
Rename build scripts to build-linux and build-mingw.
|
14年前 |
Sam Hocevar
|
9f3cd82c2e
|
Add a build-mingw.sh script for Win32 builds.
|
14年前 |