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.
pirms 9 gadiem
Sam Hocevar
cfaa27df47
scene: change sprite tile angles to radians.
pirms 10 gadiem
Sam Hocevar
861568b146
misc: some cleanup in files, including UTF-8 BOM.
pirms 11 gadiem
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.
pirms 11 gadiem
Sam Hocevar
5ea13fc857
scene: clean up a few things here and there.
pirms 11 gadiem
Lolbot
78b1319e2a
fixed 18 files out of 4242:
- removed 0 CR characters
- removed 12 trailing whitespaces
- replaced 0 tabs with spaces
- fixed 15 svn:eol-style properties
pirms 11 gadiem
Benjamin ‘Touky’ Huet
6ab67e8f86
btPhysTest is working again, but it still has 7 Ticker::Unref(Shader) that should be there ......
pirms 11 gadiem
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.
pirms 11 gadiem
Benjamin ‘Touky’ Huet
7605caace4
MultiScene: Phase 4: Rendering is fixed.
Though it still is not possible to create a new window from a thread that did not init SDL
pirms 11 gadiem
Sam Hocevar
4472d31612
scene: minor fix for compilation warnings.
pirms 11 gadiem
Benjamin ‘Touky’ Huet
2170b89b11
MultiScene: Phase 4: Added SceneDisplay class to have multiple windows + implementation with SDL. Not with the others.
pirms 11 gadiem
Benjamin ‘Touky’ Huet
49e1588f52
MultiScene: Phase 3: Small PrimitiveSource & PrimitiveRenderer tweaks
pirms 11 gadiem
Benjamin ‘Touky’ Huet
51a4b892c7
MultiScene: Phase 3: Added PrimitiveSource & PrimitiveRenderer and corresponding rendering pipeline
pirms 11 gadiem
Benjamin ‘Touky’ Huet
22322d50fd
Scene::AddPrimitive now only supports Primitive because why not
pirms 11 gadiem
Benjamin ‘Touky’ Huet
a7d6e0190e
Scene stuff is back to non-static logic with a few tricks
Scene rendering logic is now better
pirms 11 gadiem
Sam Hocevar
732ba3802b
scene: fix a pretty verbose compilation warning.
pirms 11 gadiem
Benjamin ‘Touky’ Huet
71ee91fcb1
MultiplMultiScene: Phase 2: No more g_scene access and multiple scene calls support
pirms 11 gadiem
Benjamin ‘Touky’ Huet
cfcff9acc3
MultiScene: Phase 1: g_scene removal and conversion to Scene::
pirms 11 gadiem
Sam Hocevar
d8aa8b3d06
build: add missing #include directive.
pirms 11 gadiem
Benjamin ‘Touky’ Huet
73f729d2ef
MeshViewer refactor is on good way
Reworked Primitive logic for scene rendering
FileUpdateTester works now .....
pirms 11 gadiem
Sam Hocevar
7e04bd038a
scene: remove functions that aren’t that useful.
pirms 11 gadiem
Sam Hocevar
d373081b80
build: use #pragma once instead of header guards because 1) fuck the dinosaurs,
and 2) fuck the Visual Studio compiler that crashes when confused.
pirms 11 gadiem
Sam Hocevar
3862ad59dc
base: going on a lowercase rampage; today’s victim: Array.
pirms 11 gadiem
Sam Hocevar
79ed58f1f0
Merge branch 'master' into scenegraph
pirms 11 gadiem
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 !
pirms 12 gadiem
Sam Hocevar
32143b8bb4
scene: allow to rotate sprites around the Z axis.
pirms 12 gadiem
Benjamin ‘Touky’ Huet
dbb1d02aa6
Added 2D to 3D DebugLines
pirms 12 gadiem
Benjamin ‘Touky’ Huet
cc8e6ced51
Added Debug DrawBox+DrawCapsule+DrawCircle+DrawSphere for ze lulz
pirms 12 gadiem
Benjamin ‘Touky’ Huet
b1fbc0259f
Added Mask & StickyTime to Draw Debug
pirms 12 gadiem
Sam Hocevar
1945e85afc
scene: start working on the scene class reorganisation.
pirms 12 gadiem
Sam Hocevar
f193bc2caa
scene: break text rendering again so that 2D games work properly...
pirms 12 gadiem
Sam Hocevar
ad8144f0e8
scene: use a global g_scene object instead of Scene::GetDefault().
pirms 12 gadiem
Sam Hocevar
872efdb880
debug: add Debug::DrawLine() and Debug::DrawBox() methods.
pirms 13 gadiem
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.
pirms 13 gadiem
Sam Hocevar
0ba4e6d9e0
easymesh: interface the shiny shader with new Light objects.
pirms 13 gadiem
Benjamin ‘Touky’ Huet
c7219ff1dd
New year copyright update.
pirms 13 gadiem
Sam Hocevar
d6634da83f
build: fix the WTFPL site URL in all code comments.
pirms 13 gadiem
Sam Hocevar
bfada5d920
core: move some of the camera view logic from the Video class to the
Scene and Camera classes.
pirms 14 gadiem
Sam Hocevar
f35f4284b0
core: allow each blitted tile to be stretched differently.
pirms 14 gadiem
Sam Hocevar
2b9d64f7a8
core: more vec?i -> ?veci renames.
pirms 14 gadiem
Sam Hocevar
dc13c1f742
tiler: ensure AddTile() and BlitTile() accept vec3i arguments.
pirms 14 gadiem
Sam Hocevar
6266c289ee
tileset: replace the Tiler ID system with real TileSet objects. The only
thing that is still broken is the Layer <--> Map interface.
pirms 14 gadiem
Sam Hocevar
22b7a41c2e
core: fix include guard naming scheme.
pirms 15 gadiem
Sam Hocevar
8848cf53db
Put everything in the "lol" namespace. Better late than never.
pirms 15 gadiem
Sam Hocevar
4c278a0895
Change the way the Scene object works.
pirms 15 gadiem
Sam Hocevar
5ebe9f9c85
Add support for rotated views and stretched tiles.
pirms 15 gadiem
Sam Hocevar
0ed566d3cc
Complete Lol Engine / Deus Hax / Monsterz split.
pirms 15 gadiem
Sam Hocevar
8d4e2c9c4c
Fix z-sorting of tiles. For now.
pirms 15 gadiem
Sam Hocevar
0fc6a8487c
Slightly improve the documentation in a few files, add the missing
joystick class, and put a header in each source file.
pirms 15 gadiem
Sam Hocevar
a9b63620d4
Rendering starts to work again. There is no Z-sorting yet.
pirms 15 gadiem