Benjamin ‘Touky’ Huet
6ab67e8f86
btPhysTest is working again, but it still has 7 Ticker::Unref(Shader) that should be there ......
hace 9 años
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.
hace 9 años
Benjamin ‘Touky’ Huet
2170b89b11
MultiScene: Phase 4: Added SceneDisplay class to have multiple windows + implementation with SDL. Not with the others.
hace 9 años
Benjamin ‘Touky’ Huet
a7d6e0190e
Scene stuff is back to non-static logic with a few tricks
Scene rendering logic is now better
hace 9 años
Benjamin ‘Touky’ Huet
cfcff9acc3
MultiScene: Phase 1: g_scene removal and conversion to Scene::
hace 9 años
Benjamin ‘Touky’ Huet
3e9e6178ae
Small refactor controller tweak
hace 9 años
Benjamin ‘Touky’ Huet
9477f1f722
Moved GetKey/Axis status tests to protected, and made them accessible through controller directly to implement layer system in the future.
hace 9 años
Benjamin ‘Touky’ Huet
4d3d7de4f2
Name refactors for doc stuff
hace 9 años
Benjamin ‘Touky’ Huet
6c3dd67bc0
Controller refactor to enforce InputProfile usage (because why not)
DefaultThreadManager build FIX
hace 9 años
Benjamin ‘Touky’ Huet
f67da65818
First pass of EasyMesh split & refactor
Big FAT pass on windows-warning. It is better now.
hace 9 años
Sam Hocevar
d72cb24bc0
build: move sample and tutorial files around.
hace 10 años
Sam Hocevar
cd988786b9
build: reorganise includes so that we can use precompiled headers later.
hace 10 años
Sam Hocevar
cadc4d18b0
test: move the unit tests to the engine, and lolunit out of the engine.
hace 10 años
Sam Hocevar
7a28671dee
math: get rid of the base_vec* classes (thanks to relaxed unions), rename
MASK to SWIZZLE in the vector templates, rename matrix<> to mat<> for
consistency, implement transposition for all matrix sizes, make matrix
columns private and only accessible through operator[].
hace 10 años
Sam Hocevar
fe665f85b4
base: strip core.h from its contents and put it in public/private headers.
hace 10 años
Sam Hocevar
398ee1b4d5
base: use lol::array in most places.
hace 10 años
Sam Hocevar
da6b3d5cd0
scenegraph: Entity::TickDraw() now provides a reference to the current
scene so that g_scene can be deprecated later.
hace 10 años
Sam Hocevar
c9b8ff54a1
misc: some refactoring in texture handling.
hace 10 años
Sam Hocevar
c29058ac87
gpu: give access to the Texture behind a TileSet.
hace 10 años
Sam Hocevar
ca87acd033
scene: fix light object usage in various demos and example programs.
hace 11 años
Sam Hocevar
5f3ad5cc15
math: add constant vectors vec2::zero, vec2::axis_x, etc.
hace 11 años
Benlitz
eab5c46b1e
input: added a name the controllers, and a static Get() function to easily retrieve a registered controller
hace 11 años
Sam Hocevar
b45c1dc7fe
physics: always activate Bullet and remove dead code.
hace 11 años
Benjamin ‘Touky’ Huet
83cfb79f8e
btphystest : InitApp delay
hace 11 años
Benjamin ‘Touky’ Huet
fb7d8a25e2
btphystest tweak to delay app init.
hace 11 años
Benjamin ‘Touky’ Huet
5f3b0157e6
btphystest : small damp tweak.
hace 11 años
Benjamin ‘Touky’ Huet
876f62228c
btphystest : added new camera functions. Added funny camera stuff for cat simulation.
hace 11 años
Benjamin ‘Touky’ Huet
67d59ae9cb
btphystest : added small border effect
hace 11 años
Lolbot
4f2663acd9
fixed 4 files out of 2792:
- removed 6 CR characters
- removed 24 trailing whitespaces
- replaced 15 tabs with spaces
- fixed 1 svn:eol-style properties
hace 11 años
Benjamin ‘Touky’ Huet
40a1a18758
btphystest : cat movement update
hace 11 años
Sam Hocevar
4f66a49fc2
btphystest: use discard in fragment shader instead of AlphaFunc.
hace 11 años
Sam Hocevar
07fc08c198
build: more emscripten build fixes.
hace 11 años
Benjamin ‘Touky’ Huet
a03c38872d
btPhysTest : Added a new test mode called "CAT_MODE". Try it out at your own risks.
hace 11 años
Sam Hocevar
7481fac29a
test: port the btphystest and meshviewer tests to the new input API.
hace 11 años
Sam Hocevar
ad8144f0e8
scene: use a global g_scene object instead of Scene::GetDefault().
hace 11 años
Sam Hocevar
23a850c78d
test: quick fix for the btphystest camera.
hace 11 años
Sam Hocevar
6faf4ee067
base: roll our own constants because it’s always a pain in the ass
to get M_PI from the platform headers and cast it to float.
hace 11 años
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.
hace 11 años
Sam Hocevar
8b7482ae09
build: bad lolbot! fix the mess caused by its file renames.
hace 11 años
Lolbot
ad2ddbb715
build: convert source files to lowercase.
hace 11 años
Benjamin ‘Touky’ Huet
96f3044ef0
BtPhysTest : added lights
hace 11 años
Sam Hocevar
bbf72e1a64
core: pass the project directory to the binary build and get rid of
that 2-year old "temporary Win32 hack".
hace 12 años
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.
hace 12 años
Benjamin ‘Touky’ Huet
c7219ff1dd
New year copyright update.
hace 12 años
Lolbot
23807ea88e
fixed 23 files out of 277:
- fixed 1270 CR characters
- fixed 56 trailing spaces
- fixed 5085 tabs
hace 12 años
Benjamin ‘Touky’ Huet
c0d15f170a
hace 12 años
Benjamin ‘Touky’ Huet
a11c50b3e7
small tweak on BtPhysTest. does not work better.
hace 12 años
Benjamin ‘Touky’ Huet
006c3c4649
BulletCharacterController is now readable by a human being.
BtPhysTest now implements it with the BtKineCC logic -just modify that now-.
hace 12 años
Sam Hocevar
5f94ceb454
input: switch all key names to camel case, like our other enums.
hace 12 años
Benjamin ‘Touky’ Huet
1e48c827a4
Input now works correctly
hace 12 años