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.
10 лет назад
Benjamin ‘Touky’ Huet
2170b89b11
MultiScene: Phase 4: Added SceneDisplay class to have multiple windows + implementation with SDL. Not with the others.
10 лет назад
Benjamin ‘Touky’ Huet
49e1588f52
MultiScene: Phase 3: Small PrimitiveSource & PrimitiveRenderer tweaks
10 лет назад
Benjamin ‘Touky’ Huet
51a4b892c7
MultiScene: Phase 3: Added PrimitiveSource & PrimitiveRenderer and corresponding rendering pipeline
10 лет назад
Benjamin ‘Touky’ Huet
22322d50fd
Scene::AddPrimitive now only supports Primitive because why not
10 лет назад
Benjamin ‘Touky’ Huet
a7d6e0190e
Scene stuff is back to non-static logic with a few tricks
Scene rendering logic is now better
10 лет назад
Sam Hocevar
2017951589
scene: fix a compilation error on 64-bit architectures.
10 лет назад
Benjamin ‘Touky’ Huet
71ee91fcb1
MultiplMultiScene: Phase 2: No more g_scene access and multiple scene calls support
10 лет назад
Benjamin ‘Touky’ Huet
cfcff9acc3
MultiScene: Phase 1: g_scene removal and conversion to Scene::
10 лет назад
Benjamin ‘Touky’ Huet
73f729d2ef
MeshViewer refactor is on good way
Reworked Primitive logic for scene rendering
FileUpdateTester works now .....
10 лет назад
Sam Hocevar
e5faf45929
build: some PS4 compilation fixes.
10 лет назад
Sam Hocevar
7e04bd038a
scene: remove functions that aren’t that useful.
10 лет назад
Sam Hocevar
cd988786b9
build: reorganise includes so that we can use precompiled headers later.
10 лет назад
Sam Hocevar
d0e9447ac0
gpu: fix missing #if blocks in vertex buffer code.
10 лет назад
Sam Hocevar
fe665f85b4
base: strip core.h from its contents and put it in public/private headers.
10 лет назад
Sam Hocevar
3862ad59dc
base: going on a lowercase rampage; today’s victim: Array.
10 лет назад
Sam Hocevar
12d249f3fa
image: add Convolution() method, with optimisation for separable filters.
10 лет назад
Sam Hocevar
79ed58f1f0
Merge branch 'master' into scenegraph
10 лет назад
Sam Hocevar
44dec8612e
core: fix minor Windows and Raspberry compilation issues.
10 лет назад
Sam Hocevar
231d74f1f8
gpu: implement RenderContext::SetBlendEquation().
10 лет назад
Benjamin ‘Touky’ Huet
f5e37a4337
AddedSprite_sorter stores parameters now.
Added palette in Scene.
10 лет назад
Benjamin ‘Touky’ Huet
fe7f7b9fdb
Added Base directory logic similar to File class, with windows only implementation -for now-
Added tile cam index to have tileset available with other 3d stuff ..... 2014 is now !
11 лет назад
Sam Hocevar
32143b8bb4
scene: allow to rotate sprites around the Z axis.
11 лет назад
Sam Hocevar
6c0cab193c
scene: position sprite tiles from their centre instead of their corner.
11 лет назад
Benjamin ‘Touky’ Huet
dbb1d02aa6
Added 2D to 3D DebugLines
11 лет назад
Benjamin ‘Touky’ Huet
cc8e6ced51
Added Debug DrawBox+DrawCapsule+DrawCircle+DrawSphere for ze lulz
11 лет назад
Benjamin ‘Touky’ Huet
b1fbc0259f
Added Mask & StickyTime to Draw Debug
11 лет назад
Sam Hocevar
232fa4126d
gpu: rename uniforms here and there for consistency.
11 лет назад
Sam Hocevar
0f3805be4c
android: various fixes, but the switch to NativeActivity isn't complete.
11 лет назад
Sam Hocevar
1945e85afc
scene: start working on the scene class reorganisation.
11 лет назад
Benjamin ‘Touky’ Huet
accce03e6f
small tweaks in EZMesh shader compatibilities
11 лет назад
Benlitz
f104674963
gpu: removed attribute name, everything works using semantic only now. For glsl, semantic is determined from the attribute name which must follow this pattern: in_[Semantic][index], index being optional. Note: this may break most of the projects although I tried to updated every shader accordingly
11 лет назад
Sam Hocevar
f193bc2caa
scene: break text rendering again so that 2D games work properly...
11 лет назад
Sam Hocevar
ccc9369660
gpu: avoid unnecessary OpenGL context changes.
11 лет назад
Sam Hocevar
da12e9cf97
scene: for now, restore the ortho cam when blitting tiles.
11 лет назад
Sam Hocevar
ad8144f0e8
scene: use a global g_scene object instead of Scene::GetDefault().
11 лет назад
Sam Hocevar
a75e07d329
gpu: add full support for alpha test in GL and D3D.
11 лет назад
Sam Hocevar
87a9c3730c
gpu: implement all depth test functions in the renderer.
11 лет назад
Sam Hocevar
45c13689ec
gpu: implement blend function and alpha test in the renderer.
11 лет назад
Sam Hocevar
b97cbbe27f
gpu: use the RenderContext class in a few friendly places.
11 лет назад
Sam Hocevar
bd2abf9a78
mrpigeon: try the new tile definition system… which doesn’t work.
12 лет назад
Sam Hocevar
9a752c84d8
tileset: refactor the tile generation code.
12 лет назад
Sam Hocevar
d4dcdb75e6
gpu: account for the HLSL half-texel offset on the PS3.
12 лет назад
Sam Hocevar
9819425ba0
math: replace RandF() with a more generic rand() template function
that lets us draw integer random values too.
12 лет назад
Sam Hocevar
39a8c26fb5
base: start removing occurrences of NULL on our long journey to nullptr.
12 лет назад
Sam Hocevar
872efdb880
debug: add Debug::DrawLine() and Debug::DrawBox() methods.
12 лет назад
Sam Hocevar
16a620d537
scene: start refactoring the camera code; we now have a stack of cameras
in the scene where we can push and pop cameras.
12 лет назад
Sam Hocevar
bb28344eb7
build: fix compiler warnings and Linux and PS3 build issues.
12 лет назад
Sam Hocevar
0ba4e6d9e0
easymesh: interface the shiny shader with new Light objects.
12 лет назад
Sam Hocevar
3adf42b00c
build: hide LolFx external declarations behind macros.
12 лет назад