Sam Hocevar
969911a10a
gpu: remove 1200 lines of old DirectX 9 code.
пре 9 година
Sam Hocevar
3a90766614
scene: start working on a postprocess mechanism.
Not all programs support this feature for now, but that’s because they
don’t support the scene framework either, and will need patching. Also
the default postprocess is deliberately exaggerated for now.
пре 9 година
Sam Hocevar
cfaa27df47
scene: change sprite tile angles to radians.
пре 9 година
Sam Hocevar
848344cc7b
build: fix some issues with WIN32_LEAN_AND_MEAN redefinitions.
пре 10 година
Sam Hocevar
d84605c105
Remove Xbox 360 support, too much stuff no longer compiles.
пре 10 година
Sam Hocevar
078751a820
math: all API functions dealing with angles now use radians.
We already have the convenient degrees() and radians() functions to convert
between angle formats. This commit involves a lot of refactoring here and
there and I may have missed some places where conversions were needed. But
hopefully there aren’t may such places.
пре 10 година
Sam Hocevar
a69a086c01
scene: move old Line and Tile API to child structures.
пре 10 година
Sam Hocevar
ccc1741023
scene: minor optimisation in Scene::AddTile().
пре 10 година
Sam Hocevar
6f1b4353a8
scene: make the sprite tile API use matrices internally.
The old public API is maintained for now but should be considered
deprecated.
пре 10 година
Sam Hocevar
5ea13fc857
scene: clean up a few things here and there.
пре 10 година
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.
пре 11 година
Sam Hocevar
7e04bd038a
scene: remove functions that aren’t that useful.
пре 11 година
Sam Hocevar
cd988786b9
build: reorganise includes so that we can use precompiled headers later.
пре 11 година
Sam Hocevar
d0e9447ac0
gpu: fix missing #if blocks in vertex buffer code.
пре 11 година
Sam Hocevar
fe665f85b4
base: strip core.h from its contents and put it in public/private headers.
пре 11 година
Sam Hocevar
3862ad59dc
base: going on a lowercase rampage; today’s victim: Array.
пре 11 година
Sam Hocevar
12d249f3fa
image: add Convolution() method, with optimisation for separable filters.
пре 11 година
Sam Hocevar
79ed58f1f0
Merge branch 'master' into scenegraph
пре 11 година
Sam Hocevar
44dec8612e
core: fix minor Windows and Raspberry compilation issues.
пре 11 година
Sam Hocevar
231d74f1f8
gpu: implement RenderContext::SetBlendEquation().
пре 11 година
Benjamin ‘Touky’ Huet
f5e37a4337
AddedSprite_sorter stores parameters now.
Added palette in Scene.
пре 11 година
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.
пре 12 година
Sam Hocevar
0f3805be4c
android: various fixes, but the switch to NativeActivity isn't complete.
пре 12 година
Sam Hocevar
1945e85afc
scene: start working on the scene class reorganisation.
пре 12 година
Benjamin ‘Touky’ Huet
accce03e6f
small tweaks in EZMesh shader compatibilities
пре 12 година
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
пре 12 година
Sam Hocevar
f193bc2caa
scene: break text rendering again so that 2D games work properly...
пре 12 година
Sam Hocevar
ccc9369660
gpu: avoid unnecessary OpenGL context changes.
пре 12 година
Sam Hocevar
da12e9cf97
scene: for now, restore the ortho cam when blitting tiles.
пре 12 година
Sam Hocevar
ad8144f0e8
scene: use a global g_scene object instead of Scene::GetDefault().
пре 12 година
Sam Hocevar
a75e07d329
gpu: add full support for alpha test in GL and D3D.
пре 12 година
Sam Hocevar
87a9c3730c
gpu: implement all depth test functions in the renderer.
пре 12 година
Sam Hocevar
45c13689ec
gpu: implement blend function and alpha test in the renderer.
пре 12 година
Sam Hocevar
b97cbbe27f
gpu: use the RenderContext class in a few friendly places.
пре 12 година