Sam Hocevar
8c81b07465
input: start replacing controller functions with standard input functions.
Controller::WasKeyReleasedThisFrame() is now keyboard->key_released() so
there is usually no need for a controller. They will completely disappear
when joystick axis binding has been ported to InputDevice.
5 vuotta sitten
Sam Hocevar
a57cecaf98
input: remove a lot of unnecessarily convoluted code.
In particular, get rid of the enum magic; we can use map<string,int> if we
really need some named enums. Which we usually don’t.
5 vuotta sitten
Sam Hocevar
1f9be92a66
Use smart pointers in a lot of the rendering code.
5 vuotta sitten
Sam Hocevar
6dd7a0cb39
Another lowercase switching frenzy, because why not.
6 vuotta sitten
Sam Hocevar
37abf6193f
RIP lol::String ⚰️ LOL
6 vuotta sitten
Sam Hocevar
cfeaeabf2d
Get rid of lol::map because std::map is obviously superior.
7 vuotta sitten
Sam Hocevar
980ff37a58
Get rid of numerous uses of lol::String.
7 vuotta sitten
Benjamin ‘Touky’ Huet
6ab67e8f86
btPhysTest is working again, but it still has 7 Ticker::Unref(Shader) that should be there ......
9 vuotta sitten
Sam Hocevar
d72cb24bc0
build: move sample and tutorial files around.
10 vuotta sitten
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.
10 vuotta sitten
Sam Hocevar
cadc4d18b0
test: move the unit tests to the engine, and lolunit out of the engine.
10 vuotta sitten
Sam Hocevar
398ee1b4d5
base: use lol::array in most places.
10 vuotta sitten
Sam Hocevar
da6b3d5cd0
scenegraph: Entity::TickDraw() now provides a reference to the current
scene so that g_scene can be deprecated later.
10 vuotta sitten
Sam Hocevar
c9b8ff54a1
misc: some refactoring in texture handling.
10 vuotta sitten
Benjamin ‘Touky’ Huet
83cfb79f8e
btphystest : InitApp delay
11 vuotta sitten
Benjamin ‘Touky’ Huet
fb7d8a25e2
btphystest tweak to delay app init.
11 vuotta sitten
Benjamin ‘Touky’ Huet
5f3b0157e6
btphystest : small damp tweak.
11 vuotta sitten
Benjamin ‘Touky’ Huet
876f62228c
btphystest : added new camera functions. Added funny camera stuff for cat simulation.
11 vuotta sitten
Benjamin ‘Touky’ Huet
40a1a18758
btphystest : cat movement update
11 vuotta sitten
Benjamin ‘Touky’ Huet
a03c38872d
btPhysTest : Added a new test mode called "CAT_MODE". Try it out at your own risks.
11 vuotta sitten
Sam Hocevar
7481fac29a
test: port the btphystest and meshviewer tests to the new input API.
11 vuotta sitten
Lolbot
ad2ddbb715
build: convert source files to lowercase.
11 vuotta sitten
Benjamin ‘Touky’ Huet
c759348569
BtPhysTest : at last, a CIS FAIL !
11 vuotta sitten
Benjamin ‘Touky’ Huet
c7219ff1dd
New year copyright update.
12 vuotta sitten
Lolbot
23807ea88e
fixed 23 files out of 277:
- fixed 1270 CR characters
- fixed 56 trailing spaces
- fixed 5085 tabs
12 vuotta sitten
Benjamin ‘Touky’ Huet
c0d15f170a
12 vuotta sitten
Benjamin ‘Touky’ Huet
7334bb2ec1
Added Base/Attachment Logic, works with Kinematic & Ghost.
12 vuotta sitten
Benjamin ‘Touky’ Huet
1ca08dd0d7
LocalInertia error FIX.
Character integration better but still not working.
12 vuotta sitten
Benjamin ‘Touky’ Huet
f514756a2d
Lazy WE :
Small tweaks in the BtPhysTest demo.
Added Ghost Object skeleton (not tested)
12 vuotta sitten
Benjamin ‘Touky’ Huet
4a31a63b77
Correct integration of EasyConstraint + TestDemo.
12 vuotta sitten
Benjamin ‘Touky’ Huet
e82c65aa18
Added walls and better context to the physics.
12 vuotta sitten
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 vuotta sitten
Sam Hocevar
16f16d5882
test: minor tweaks to the Bullet demo.
12 vuotta sitten
Sam Hocevar
fe05e5e11a
test: activate the Bullet Physics test on all Unix platforms.
12 vuotta sitten
Benjamin ‘Touky’ Huet
6c4d4bdf5f
Added Location modifier in URO.
Added BtPhystest for Bullet Physics test project.
12 vuotta sitten