Sam Hocevar
57f393d0d3
gpu: port the texture and scene handling code to Direct3D. Not functional.
il y a 13 ans
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.
il y a 13 ans
Sam Hocevar
f35f4284b0
core: allow each blitted tile to be stretched differently.
il y a 13 ans
Sam Hocevar
edfa3dfc4b
core: allow to stretch 2D sprits in both X and Y directions.
il y a 13 ans
Sam Hocevar
43e152053a
win32: add a lot of DirectX stubs.
il y a 13 ans
Sam Hocevar
bf604ef1f7
math: use the usual GLSL member names for vectors (xyzw, rgba, stpq).
il y a 14 ans
Sam Hocevar
b2d73f6310
core: prefix Entity members with m_ to avoid accidental shadowing.
il y a 14 ans
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.
il y a 14 ans
Sam Hocevar
5521b9fd01
build: start adding Xbox 360 configuration settings to the VS projects.
il y a 14 ans
Sam Hocevar
2b9d64f7a8
core: more vec?i -> ?veci renames.
il y a 14 ans
Sam Hocevar
6bbe943492
core: rename vec2i to ivec2 etc. to better match GLSL.
il y a 14 ans
Sam Hocevar
dc13c1f742
tiler: ensure AddTile() and BlitTile() accept vec3i arguments.
il y a 14 ans
Sam Hocevar
1fb4205d61
tiler: Tiler::GetSize can now return a different value for different tiles.
il y a 14 ans
Sam Hocevar
3d4af0869a
ps3: start a minimal PS3 port using PSGL, but not CG yet.
il y a 14 ans
Sam Hocevar
8f72b1739a
gl: use glActiveTexture() instead of glClientActiveTexture() to match
the GLES2 codepath.
il y a 14 ans
Sam Hocevar
0e7bec2977
Use glClientActiveTexture() wherever it appears to make sense.
il y a 15 ans
Sam Hocevar
4aff0049b3
Use the new Image class instead of SDL_image in the TileSet class.
il y a 15 ans
Sam Hocevar
8848cf53db
Put everything in the "lol" namespace. Better late than never.
il y a 15 ans
Sam Hocevar
e41dd3a949
Create the SdlApp class to avoid code duplication. Ensure USE_SDL is
tested wherever relevant.
il y a 15 ans
Sam Hocevar
6e173ee3eb
Put the OpenGL header handling in <lolgl.h> for more convenience.
il y a 15 ans
Sam Hocevar
6405ef32ea
Get rid of float3, float4, int3 etc. in favour of GLSL types.
il y a 15 ans
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.
il y a 15 ans
Sam Hocevar
9a66d6b1bb
Switch scene rendering method to vertex buffer objects.
il y a 15 ans
Sam Hocevar
bcca962ba9
Allow to query for a tileset's size and/or number of tiles.
il y a 15 ans
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 .
il y a 15 ans
Sam Hocevar
d697fd40b1
Name tilers, samples and pieces for easier debugging.
il y a 15 ans
Sam Hocevar
8de209f707
Fix a crash caused by potential code/data discrepancies.
il y a 15 ans
Sam Hocevar
1ae1693d52
Make Entity variable members private.
il y a 15 ans
Sam Hocevar
b0ded399f6
Rework tile handling. This possibly breaks deushax pretty rudely.
il y a 15 ans
Sam Hocevar
87ed8cdf52
Print error reports before panicking when asset loads fail.
il y a 15 ans
Sam Hocevar
8458faf1fe
Convert NPOT textures in code.
il y a 15 ans
Sam Hocevar
f84b659c62
Slightly change the ...Data initialisation in classes.
il y a 15 ans
Sam Hocevar
5ebe9f9c85
Add support for rotated views and stretched tiles.
il y a 15 ans
Sam Hocevar
0ed566d3cc
Complete Lol Engine / Deus Hax / Monsterz split.
il y a 15 ans
Sam Hocevar
c73ee58065
The Tile size can now be specified upon TileSet load. Add a sample
with the Monsterz tiles.
il y a 15 ans
Sam Hocevar
54a05e0c2c
Allow for different priorities in game and draw tick levels.
il y a 15 ans
Sam Hocevar
bf5fa55d25
Fix broken perspective.
il y a 15 ans
Sam Hocevar
9e2c239e74
Support tilesets larger than 512x512 and switch the coordinates system to
(0,0) at the bottom left.
il y a 15 ans
Sam Hocevar
d5ffa9fe4f
Properly implement program termination, including in the GTK program.
il y a 15 ans
Sam Hocevar
57a0cb5102
Refactor stuff.
il y a 15 ans
Sam Hocevar
988f7c2885
Replace mouse scrolling with a joystick simulated by the e/s/d/f keys.
il y a 15 ans
Sam Hocevar
50e4f67254
Get the timer to talk milliseconds instead of seconds.
il y a 15 ans
Sam Hocevar
4d63ad6ada
Rename "asset" to "entity". It's way cooler.
il y a 15 ans
Sam Hocevar
2edd7f4dbf
Start to handle differences between vertical and horizontal tiles.
il y a 15 ans
Sam Hocevar
9112d94d19
Create a helper class for easy scene setup. Highly reduces the number
of includes in a few source files.
il y a 15 ans
Sam Hocevar
0fc6a8487c
Slightly improve the documentation in a few files, add the missing
joystick class, and put a header in each source file.
il y a 15 ans
Sam Hocevar
4d005a7dbb
Implement a naive garbage collector.
il y a 15 ans
Sam Hocevar
5a17077940
Implement lazy initialisation of TileSet objects.
il y a 15 ans
Sam Hocevar
cf1f5d500f
TileSet is now a child of Asset.
il y a 15 ans
Sam Hocevar
a156db0aeb
The GTK loop now works. Sort of.
il y a 15 ans