Sam Hocevar
f6f61ceb23
gpu: add helper functions to upload buffer data.
5 jaren geleden
Sam Hocevar
2c45d0918d
gpu: fix numerous OpenGL programming errors.
5 jaren geleden
Sam Hocevar
c49bce2b8b
tutorial: add a few missing “override” qualifiers.
5 jaren geleden
Sam Hocevar
634e96fa37
tutorial: refresh some tutorial programs to use the init/release entity mechanism.
5 jaren geleden
Sam Hocevar
96736217fe
doc: update some tutorials to use the new entity init/release mechanism.
5 jaren geleden
Sam Hocevar
1f9be92a66
Use smart pointers in a lot of the rendering code.
6 jaren geleden
Sam Hocevar
6dd7a0cb39
Another lowercase switching frenzy, because why not.
6 jaren geleden
Sam Hocevar
0ef4e3c203
Clean up a lot of shader crap
8 jaren geleden
Sam Hocevar
6a35a64dd5
sys: make a few functions lowercase.
8 jaren geleden
Sam Hocevar
861568b146
misc: some cleanup in files, including UTF-8 BOM.
9 jaren geleden
Sam Hocevar
441a20af99
misc: fix copyright information here and there.
9 jaren geleden
Sam Hocevar
03c17fcae4
base: clean up and refactor containers.
The containers no longer force the user to use the ptrdiff_t type for
size information. For convenience, size() now always returns an int,
and the size_s() method offers a way to handle arrays with more than
2 billion elements. Internally, we still use ptrdiff_t, though.
Since so much code had to be changed, I took the opportunity to get
rid of capitalised accessors for classes that are lowercase.
9 jaren geleden
Benjamin ‘Touky’ Huet
f67da65818
First pass of EasyMesh split & refactor
Big FAT pass on windows-warning. It is better now.
10 jaren geleden
Sam Hocevar
d72cb24bc0
build: move sample and tutorial files around.
10 jaren geleden
Sam Hocevar
cd988786b9
build: reorganise includes so that we can use precompiled headers later.
10 jaren geleden
Sam Hocevar
ad9a388e80
misc: remove 100% of the "using namespace std;" madness.
10 jaren geleden
Sam Hocevar
fe665f85b4
base: strip core.h from its contents and put it in public/private headers.
10 jaren geleden
Sam Hocevar
398ee1b4d5
base: use lol::array in most places.
10 jaren geleden
Sam Hocevar
ebfd692152
base: simplify code here and there.
10 jaren geleden
Sam Hocevar
da6b3d5cd0
scenegraph: Entity::TickDraw() now provides a reference to the current
scene so that g_scene can be deprecated later.
10 jaren geleden
Sam Hocevar
c9b8ff54a1
misc: some refactoring in texture handling.
10 jaren geleden
Benlitz
6b6d0137bb
fixed more projects regarding the shader attribute change
11 jaren geleden
Sam Hocevar
4823bc5812
tutorial: add missing uniform location.
11 jaren geleden
Sam Hocevar
6a8118cb18
build: put tutorials and lol.js in a new "demos" directory.
11 jaren geleden
Sam Hocevar
42fb9b6853
gpu: support 1-component (luminance) textures.
12 jaren geleden
Sam Hocevar
3adf42b00c
build: hide LolFx external declarations behind macros.
12 jaren geleden
Sam Hocevar
6a6e46cf0d
system: try to autodetect the data directory from the executable path;
currently works for images (SDL and GDI+ loaders) and sound samples.
12 jaren geleden
Sam Hocevar
5366a6b606
tutorial: display fewer points in the curve tutorial.
12 jaren geleden
Sam Hocevar
c84c092a42
tutorial: minor tweaks.
12 jaren geleden
Sam Hocevar
d6634da83f
build: fix the WTFPL site URL in all code comments.
12 jaren geleden
Sam Hocevar
8b35c75918
tutorial: change the terrain drawing into an antialiased line graph.
12 jaren geleden
Sam Hocevar
df7a21d68f
tutorial: add texture demo to the VS solution.
12 jaren geleden
Sam Hocevar
6944db663b
tutorial: add a new texture generation example.
12 jaren geleden