Sam Hocevar
|
94f4df0c47
|
input: fix compilation warning.
|
il y a 11 ans |
Benjamin ‘Touky’ Huet
|
1756726fca
|
Added some shit in controller and text
|
il y a 11 ans |
Sam Hocevar
|
9ba22b8a58
|
input: prepare a small API for direct text input.
|
il y a 11 ans |
Sam Hocevar
|
0cc1dd69ba
|
input: use scancodes instead of ASCII values when using SDL v2.
|
il y a 11 ans |
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.
|
il y a 11 ans |
Sam Hocevar
|
cd988786b9
|
build: reorganise includes so that we can use precompiled headers later.
|
il y a 11 ans |
Sam Hocevar
|
7dba2ff3a1
|
base: use ptrdiff_t for array and string sizes and some other things.
|
il y a 11 ans |
Sam Hocevar
|
e49353f457
|
base: use variadic templates to remove 300+ lines of redundant code.
|
il y a 11 ans |
Sam Hocevar
|
fe665f85b4
|
base: strip core.h from its contents and put it in public/private headers.
|
il y a 11 ans |
Sam Hocevar
|
3862ad59dc
|
base: going on a lowercase rampage; today’s victim: Array.
|
il y a 11 ans |
Benjamin ‘Touky’ Huet
|
b98584957c
|
Added Mouse scroll as axis.
|
il y a 12 ans |
Benlitz
|
e1241fd974
|
input: removed static keyword for global input names
|
il y a 12 ans |
Benjamin ‘Touky’ Huet
|
747da72c44
|
Input : Small refactor, for clarity, easiness and beautification.
Constants : Added minus one.
|
il y a 12 ans |
Benlitz
|
339f05db73
|
input: binding multiple key/axis to the same controller action
|
il y a 12 ans |
Benlitz
|
9b7641df07
|
input: added a GetAvailableDevices function to retrieve device names.
|
il y a 12 ans |
Benlitz
|
8a657ea287
|
input: Removed previous input system
|
il y a 12 ans |
Sam Hocevar
|
399a172425
|
build: fix a few compilation issues with input v2.
|
il y a 12 ans |
Benlitz
|
a7aac24c46
|
Completely reworked input system. Unified device interface, button, axis and cursor support, controller and binding system, mouse capture. Tutorial 07_input provided. Require to compile lolcore with LOL_INPUT_V2 to be activated (also needed app-side before including core.h)
|
il y a 12 ans |
Sam Hocevar
|
6be31bba32
|
input: make keyboard state platform-independent.
|
il y a 13 ans |
Sam Hocevar
|
c1428fc1f9
|
input: support up to 32 mouse buttons.
|
il y a 13 ans |
Sam Hocevar
|
aeb1b68377
|
mrpigeon: can now play using spacebar.
|
il y a 13 ans |
Benjamin ‘Touky’ Huet
|
c7219ff1dd
|
New year copyright update.
|
il y a 13 ans |
Sam Hocevar
|
d6634da83f
|
build: fix the WTFPL site URL in all code comments.
|
il y a 13 ans |
Sam Hocevar
|
b438a94642
|
input: add the Keyboard abstraction object type.
|
il y a 13 ans |
Sam Hocevar
|
956657e86f
|
input: some refactoring in the action bindings.
|
il y a 13 ans |
Lolbot
|
23807ea88e
|
fixed 23 files out of 277:
- fixed 1270 CR characters
- fixed 56 trailing spaces
- fixed 5085 tabs
|
il y a 13 ans |
Sam Hocevar
|
5f94ceb454
|
input: switch all key names to camel case, like our other enums.
|
il y a 13 ans |
Benjamin ‘Touky’ Huet
|
284891f200
|
Fixed Entity::TickGame log flood.
Added BulletCharacterController.cpp & BulletCharacterController.h stubs.
|
il y a 13 ans |
Benjamin ‘Touky’ Huet
|
0c1b47f25e
|
mieux la ?
|
il y a 13 ans |
Benjamin ‘Touky’ Huet
|
655f640403
|
Windows.
|
il y a 13 ans |
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);
|
il y a 13 ans |
Benjamin ‘Touky’ Huet
|
8838ef06b6
|
Added InputTracker test initPhysTest
|
il y a 13 ans |
Benjamin ‘Touky’ Huet
|
11ddba1864
|
Added Attachment/base logic with working attachment with EasyCharacterController.
Added RayCastResult & a naïve integration for EasyCharacterController.
Enjoy !
|
il y a 13 ans |
Benjamin ‘Touky’ Huet
|
0e2889b21f
|
Fixed build
|
il y a 13 ans |
Benjamin ‘Touky’ Huet
|
075be12a77
|
Added a skeleton for Input Tracking & base idea for Touch/untouch mechanics.
|
il y a 13 ans |
Sam Hocevar
|
0b971d7926
|
input: allow to easily track more than one input stick.
|
il y a 13 ans |
Sam Hocevar
|
58b3c20b86
|
input: add core joystick support and bind the SDL input to that.
|
il y a 14 ans |
Sam Hocevar
|
90bfc79b22
|
core: tick methods now use seconds, like any sane system.
|
il y a 14 ans |
Benjamin ‘Touky’ Huet
|
9c27915507
|
Added GetButtonState() in Input class.
Added Escape button in to quit Orbital.
Added Camera control with some little damping sweetness in Camera logic in main Tick.
First Commit \o/
|
il y a 14 ans |
Sam Hocevar
|
0a52e68f6f
|
math: rename matrix.h to vector.h and simplify some stuff, especially in
the matrix code itself.
|
il y a 14 ans |
Sam Hocevar
|
48bf48a4e4
|
math: move the Remez algorithm implementation to the core.
|
il y a 14 ans |
Sam Hocevar
|
2b9d64f7a8
|
core: more vec?i -> ?veci renames.
|
il y a 14 ans |
Sam Hocevar
|
6bbe943492
|
core: rename vec2i to ivec2 etc. to better match GLSL.
|
il y a 14 ans |
Sam Hocevar
|
22b7a41c2e
|
core: fix include guard naming scheme.
|
il y a 15 ans |
Sam Hocevar
|
8848cf53db
|
Put everything in the "lol" namespace. Better late than never.
|
il y a 15 ans |
Sam Hocevar
|
6405ef32ea
|
Get rid of float3, float4, int3 etc. in favour of GLSL types.
|
il y a 15 ans |
Sam Hocevar
|
9c08082263
|
Minor updates to the mouse tracking architecture.
|
il y a 15 ans |
Sam Hocevar
|
50ed9ffecc
|
Test entity alignment features. Also, start working on the mouse tracking.
|
il y a 15 ans |
Sam Hocevar
|
f76b95f200
|
Rename Float3 to float3, Int3 to int3 etc. and add the 4-member versions.
|
il y a 15 ans |
Sam Hocevar
|
2d93e03c45
|
Mouse button support in Lol Engine.
|
il y a 15 ans |