Sam Hocevar
23a850c78d
test: quick fix for the btphystest camera.
пре 11 година
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.
пре 11 година
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.
пре 11 година
Sam Hocevar
8b7482ae09
build: bad lolbot! fix the mess caused by its file renames.
пре 11 година
Lolbot
ad2ddbb715
build: convert source files to lowercase.
пре 11 година
Benjamin ‘Touky’ Huet
96f3044ef0
BtPhysTest : added lights
пре 11 година
Sam Hocevar
bbf72e1a64
core: pass the project directory to the binary build and get rid of
that 2-year old "temporary Win32 hack".
пре 12 година
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 година
Benjamin ‘Touky’ Huet
c7219ff1dd
New year copyright update.
пре 12 година
Lolbot
23807ea88e
fixed 23 files out of 277:
- fixed 1270 CR characters
- fixed 56 trailing spaces
- fixed 5085 tabs
пре 12 година
Benjamin ‘Touky’ Huet
c0d15f170a
пре 12 година
Benjamin ‘Touky’ Huet
a11c50b3e7
small tweak on BtPhysTest. does not work better.
пре 12 година
Benjamin ‘Touky’ Huet
006c3c4649
BulletCharacterController is now readable by a human being.
BtPhysTest now implements it with the BtKineCC logic -just modify that now-.
пре 12 година
Sam Hocevar
5f94ceb454
input: switch all key names to camel case, like our other enums.
пре 12 година
Benjamin ‘Touky’ Huet
1e48c827a4
Input now works correctly
пре 12 година
Benjamin ‘Touky’ Huet
dd7e2b9516
CIS FUCK
пре 12 година
Benjamin ‘Touky’ Huet
08a54c1a2a
Added correct implementation of Action layer for Inputs.
Useage :
- Link action to key :
Input::LinkActionToKey(ACTION_TYPE Action, struct Key Button);
Input::UnlinkAction(ACTION_TYPE Action);
- Query action directly :
Input::GetStatus(ACTION_TYPE Action);
Input::WasPressed(ACTION_TYPE Action);
Input::WasReleased(ACTION_TYPE Action);
Also works with raw button, but not advised :
Input::GetStatus(Key Button);
Input::WasPressed(Key Button);
Input::WasReleased(Key Button);
пре 12 година
Benjamin ‘Touky’ Huet
8838ef06b6
Added InputTracker test initPhysTest
пре 12 година
Benjamin ‘Touky’ Huet
11ddba1864
Added Attachment/base logic with working attachment with EasyCharacterController.
Added RayCastResult & a naïve integration for EasyCharacterController.
Enjoy !
пре 12 година
Benjamin ‘Touky’ Huet
7334bb2ec1
Added Base/Attachment Logic, works with Kinematic & Ghost.
пре 12 година
Benjamin ‘Touky’ Huet
735d3dace5
Reverted last CL
пре 12 година
Benjamin ‘Touky’ Huet
50c2855d89
Small .h & .cpp refactor
пре 12 година
Benjamin ‘Touky’ Huet
ca94a77974
BtPhysTest : Splitted Physics files
пре 12 година
Benjamin ‘Touky’ Huet
9845122641
FAKE Jump
пре 12 година
Benjamin ‘Touky’ Huet
e8d2d8c202
So Character Controller works with a lazy camera logic.
пре 12 година
Benjamin ‘Touky’ Huet
1ca08dd0d7
LocalInertia error FIX.
Character integration better but still not working.
пре 12 година
Benjamin ‘Touky’ Huet
f514756a2d
Lazy WE :
Small tweaks in the BtPhysTest demo.
Added Ghost Object skeleton (not tested)
пре 12 година
Sam Hocevar
5bd24fa1d3
build: hide the SDL_main.h inclusion in core.h, and only activate it
on Windows if using Visual Studio; if using MinGW, try to stick to the
original main() entry point.
пре 12 година
Sam Hocevar
b5563ad21d
core: switch the Win32/x64 binaries to the Windows subsystem so that they
do not open a console at startup.
пре 12 година
Benjamin ‘Touky’ Huet
4a31a63b77
Correct integration of EasyConstraint + TestDemo.
пре 12 година
Benjamin ‘Touky’ Huet
a93067b19a
Small refactor of the Phys::Simulation.
Phys::Simulation is now an entity.
Phys::Simulation now implements timesteps correctly.
пре 12 година
Sam Hocevar
71faabe207
test: go ape shit crazy on the FoV.
пре 12 година
Sam Hocevar
b7ab11200a
test: fix physics cube backface culling.
пре 12 година
Benjamin ‘Touky’ Huet
ebbed2988a
BtPhysTest : Container box now moves.
пре 12 година
Benjamin ‘Touky’ Huet
e82c65aa18
Added walls and better context to the physics.
пре 12 година
Sam Hocevar
b5f1b679b7
test: minor tweaks to the physics demo.
пре 12 година
Benjamin ‘Touky’ Huet
cd46cef099
Added Cylinder primitives.
Added several delete/destructor, speeds up exit & saves memory.
пре 12 година
Benjamin ‘Touky’ Huet
ecd676ae74
Some CIS FIX.
пре 12 година
Benjamin ‘Touky’ Huet
c13c243453
#include were fucked-up ......
пре 12 година
Benjamin ‘Touky’ Huet
6cb8bb99ca
Behold the power of LolPhysics !
Added lol::phys::Simulation, lol::phys::EasyPhysics for easy physic uses.
Added PhysicsObject, wich hold EasyMesh & EasyPhysics components so it is easy to use. Easy seems to be the consensus.
BtPhysTest now works with new physics classes.
Known problem for this commit:
Physics is not properly setup.
There might be memory leaks, I don't think I've parsed all new/delete.
A LOT of primitives are not taken into account.
пре 12 година
Sam Hocevar
16f16d5882
test: minor tweaks to the Bullet demo.
пре 12 година
Sam Hocevar
f3b61c9616
test: refine physics timestep.
пре 12 година
Sam Hocevar
fe05e5e11a
test: activate the Bullet Physics test on all Unix platforms.
пре 12 година
Benjamin ‘Touky’ Huet
041c815fb6
Works better now.
пре 12 година
Benjamin ‘Touky’ Huet
5acf6b77a7
BtPhysTest works !
пре 12 година
Benjamin ‘Touky’ Huet
ba99fad120
Small BtPhysTest tweak, the camera shows something, now.
пре 12 година
Sam Hocevar
316df48a60
test: use lol::mat4 instead of Bullet matrices.
пре 12 година
Sam Hocevar
ec5af97f23
contrib: clean up the BulletPhysics contrib directory.
пре 12 година
Benjamin ‘Touky’ Huet
6c4d4bdf5f
Added Location modifier in URO.
Added BtPhystest for Bullet Physics test project.
пре 12 година