Sam Hocevar
0ef4e3c203
Clean up a lot of shader crap
8 vuotta sitten
Sam Hocevar
6a35a64dd5
sys: make a few functions lowercase.
8 vuotta sitten
Sam Hocevar
861568b146
misc: some cleanup in files, including UTF-8 BOM.
9 vuotta sitten
Sam Hocevar
441a20af99
misc: fix copyright information here and there.
9 vuotta sitten
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 vuotta sitten
Benjamin ‘Touky’ Huet
f67da65818
First pass of EasyMesh split & refactor
Big FAT pass on windows-warning. It is better now.
9 vuotta sitten
Sam Hocevar
d72cb24bc0
build: move sample and tutorial files around.
10 vuotta sitten
Sam Hocevar
cd988786b9
build: reorganise includes so that we can use precompiled headers later.
10 vuotta sitten
Sam Hocevar
ad9a388e80
misc: remove 100% of the "using namespace std;" madness.
10 vuotta sitten
Sam Hocevar
fe665f85b4
base: strip core.h from its contents and put it in public/private headers.
10 vuotta sitten
Sam Hocevar
398ee1b4d5
base: use lol::array in most places.
10 vuotta sitten
Sam Hocevar
ebfd692152
base: simplify code here and there.
10 vuotta sitten
Sam Hocevar
da6b3d5cd0
scenegraph: Entity::TickDraw() now provides a reference to the current
scene so that g_scene can be deprecated later.
10 vuotta sitten
Sam Hocevar
c9b8ff54a1
misc: some refactoring in texture handling.
10 vuotta sitten
Benlitz
6b6d0137bb
fixed more projects regarding the shader attribute change
11 vuotta sitten
Sam Hocevar
4823bc5812
tutorial: add missing uniform location.
11 vuotta sitten
Sam Hocevar
6a8118cb18
build: put tutorials and lol.js in a new "demos" directory.
11 vuotta sitten
Sam Hocevar
42fb9b6853
gpu: support 1-component (luminance) textures.
12 vuotta sitten
Sam Hocevar
3adf42b00c
build: hide LolFx external declarations behind macros.
12 vuotta sitten
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 vuotta sitten
Sam Hocevar
5366a6b606
tutorial: display fewer points in the curve tutorial.
12 vuotta sitten
Sam Hocevar
c84c092a42
tutorial: minor tweaks.
12 vuotta sitten
Sam Hocevar
d6634da83f
build: fix the WTFPL site URL in all code comments.
12 vuotta sitten
Sam Hocevar
8b35c75918
tutorial: change the terrain drawing into an antialiased line graph.
12 vuotta sitten
Sam Hocevar
df7a21d68f
tutorial: add texture demo to the VS solution.
12 vuotta sitten
Sam Hocevar
6944db663b
tutorial: add a new texture generation example.
12 vuotta sitten