Sam Hocevar
|
136510f0be
|
OpenGL code refactoring.
|
14 years ago |
Sam Hocevar
|
6405ef32ea
|
Get rid of float3, float4, int3 etc. in favour of GLSL types.
|
14 years ago |
Sam Hocevar
|
dde16a9dd6
|
Implement +=, -= and *= for matrices and vectors.
Add new types, closer to the GLSL ones.
|
14 years ago |
Sam Hocevar
|
e17ba05a9b
|
Merge more code from the experimental MVP refactor into the old GL code.
|
14 years ago |
Sam Hocevar
|
e1d6dbebce
|
Implement float4x4::rotate().
|
14 years ago |
Sam Hocevar
|
a17ef2ca4c
|
Implement float4x4::ortho() and float4x4::translate().
|
14 years ago |
Sam Hocevar
|
01be151c62
|
Try to factor all the recent GLSL stuff in the new Shader class.
|
14 years ago |
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.
|
14 years ago |
Sam Hocevar
|
5eceff01e8
|
Clean up stuff in the shader crap.
|
14 years ago |
Sam Hocevar
|
7dfbff6ca9
|
More shader crap. Texture coordinates now work. Still disabled.
|
14 years ago |
Sam Hocevar
|
dcc0087455
|
Fix a nasty bug in the float4x4::frustum() computation.
|
14 years ago |
Sam Hocevar
|
139555f45c
|
More shader crap. We can now display a coloured quad. Still disabled.
|
14 years ago |
Sam Hocevar
|
58e12ca4d1
|
More shader crap for GLSL 1.30. Still disabled.
|
14 years ago |
Sam Hocevar
|
b9c013e665
|
Implement float4x4::frustum() and float4x4::perspective() to build
projection matrices.
|
14 years ago |
Sam Hocevar
|
4b484d5bc8
|
Make the float4x4 constructor fill only the matrix's diagonal. Thus
the float4x4::identity() method is no longer necessary.
|
14 years ago |
Sam Hocevar
|
7d0990d858
|
Fix shader crap syntax, caused by space-like UTF-8 characters.
|
14 years ago |
Sam Hocevar
|
8ac9945afa
|
Shader tests. Disabled for now.
|
14 years ago |
Sam Hocevar
|
7015943141
|
Add matrix determinant and inverse methods.
|
14 years ago |
Sam Hocevar
|
b91072282a
|
Switch debug sphere rendering method to vertex buffer objects.
|
14 years ago |
Sam Hocevar
|
ca16123ccb
|
Ensure the DebugFps object is rendered in front of everything else.
|
14 years ago |
Sam Hocevar
|
9a66d6b1bb
|
Switch scene rendering method to vertex buffer objects.
|
14 years ago |
Sam Hocevar
|
c2584020aa
|
Do not zero vector memory upon initialisation. Unitialised is uninitialised.
|
14 years ago |
Sam Hocevar
|
65c69e11db
|
Create a few matrix handling classes and operators.
|
14 years ago |
Sam Hocevar
|
2c2b38db41
|
Make font objects use the TileSet system and fix the text objects' Z offset.
Fixes tickets #19 and #24.
|
14 years ago |
Sam Hocevar
|
bcca962ba9
|
Allow to query for a tileset's size and/or number of tiles.
|
14 years ago |
Sam Hocevar
|
46db0d51c8
|
Fix the SDL timer behaviour. Fixes ticket #26.
|
14 years ago |
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 years ago |
Sam Hocevar
|
d7ee37a230
|
Add missing icons.png, use CPPFLAGS instead of CXXFLAGS in automake rules.
|
14 years ago |
Sam Hocevar
|
33f6ca9877
|
Stop using pkg-config in Makefiles and stop putting things in LDADD that
require to appear before LDFLAGS in the linker call.
|
14 years ago |
Sam Hocevar
|
1e83987676
|
Get rid of benchmarking mode, it's useless: Ticker::Setup(0) does the same.
|
14 years ago |
Sam Hocevar
|
eec2eb7a9a
|
Add a recording mode to Ticker that ensures fixed deltatime even when
lagging behind.
|
14 years ago |
Sam Hocevar
|
016a5ec38b
|
Add a benchmark mode to the ticker.
|
14 years ago |
Sam Hocevar
|
c5aea027b9
|
Store the requested FPS in the Ticker class.
|
14 years ago |
Sam Hocevar
|
0297a2b195
|
The client application no longer needs to call Video::Clea().
|
14 years ago |
Sam Hocevar
|
bd751c1a0c
|
Allow to specify FPS in the DebugRecord object.
|
14 years ago |
Sam Hocevar
|
5eb598905a
|
The most recent interface layout.
|
14 years ago |
Sam Hocevar
|
c1a3d37e7b
|
Fix the Dict class. It wasn't even implemented properly.
|
14 years ago |
Sam Hocevar
|
d697fd40b1
|
Name tilers, samples and pieces for easier debugging.
|
14 years ago |
Sam Hocevar
|
29fe980021
|
Fix a coding error in the null tiler detection.
|
14 years ago |
Sam Hocevar
|
66ab1860ef
|
Add more error reporting to the Tiler and the Ticker.
|
14 years ago |
Sam Hocevar
|
cfb7d32d2e
|
More aggressive ticker panic mode.
|
14 years ago |
Sam Hocevar
|
4db2c0c6fe
|
Reduce error verbosity when entities are stuck at exit.
|
14 years ago |
Sam Hocevar
|
bc63934531
|
Add a safeguard mechanism that gets rid of stuck entities upon shutdown.
|
14 years ago |
Sam Hocevar
|
e3a8aa0961
|
Start working on a new gameplay, codenamed "Fusion".
|
14 years ago |
Sam Hocevar
|
8de209f707
|
Fix a crash caused by potential code/data discrepancies.
|
14 years ago |
Sam Hocevar
|
e9583b8a62
|
Implement the title screen. Click on it to start a game.
|
14 years ago |
Sam Hocevar
|
f9cb712e81
|
First implementation of the mouse tracker.
|
14 years ago |
Sam Hocevar
|
9c08082263
|
Minor updates to the mouse tracking architecture.
|
14 years ago |
Sam Hocevar
|
1ae1693d52
|
Make Entity variable members private.
|
14 years ago |
Sam Hocevar
|
50ed9ffecc
|
Test entity alignment features. Also, start working on the mouse tracking.
|
14 years ago |