Sam Hocevar
|
c1428fc1f9
|
input: support up to 32 mouse buttons.
|
12 years ago |
Sam Hocevar
|
39a8c26fb5
|
base: start removing occurrences of NULL on our long journey to nullptr.
|
12 years ago |
Sam Hocevar
|
1e973c81bd
|
build: add SDL detection code in new file lol-sdl.m4. The SDL2 version is
disabled until the engine code itself is ported to SDL2.
|
13 years ago |
Benjamin ‘Touky’ Huet
|
c7219ff1dd
|
New year copyright update.
|
13 years ago |
Sam Hocevar
|
d6634da83f
|
build: fix the WTFPL site URL in all code comments.
|
13 years ago |
Sam Hocevar
|
439298ee5e
|
misc: very minor tweaks here and there.
|
13 years ago |
Sam Hocevar
|
956657e86f
|
input: some refactoring in the action bindings.
|
13 years ago |
Lolbot
|
23807ea88e
|
fixed 23 files out of 277:
- fixed 1270 CR characters
- fixed 56 trailing spaces
- fixed 5085 tabs
|
13 years ago |
Sam Hocevar
|
df6134e648
|
input: fix minor PS3 compilation error.
|
13 years ago |
Sam Hocevar
|
5f94ceb454
|
input: switch all key names to camel case, like our other enums.
|
13 years ago |
Benjamin ‘Touky’ Huet
|
1e48c827a4
|
Input now works correctly
|
13 years ago |
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);
|
13 years ago |
Benjamin ‘Touky’ Huet
|
8838ef06b6
|
Added InputTracker test initPhysTest
|
13 years ago |
Benjamin ‘Touky’ Huet
|
fcd46a2969
|
Build FIX .... again.
|
13 years ago |
Benjamin ‘Touky’ Huet
|
075be12a77
|
Added a skeleton for Input Tracking & base idea for Touch/untouch mechanics.
|
13 years ago |
Sam Hocevar
|
0b971d7926
|
input: allow to easily track more than one input stick.
|
13 years ago |
Sam Hocevar
|
7a776e72f5
|
core: fix the X360 build by re-adding macro barriers I removed.
|
13 years ago |
Sam Hocevar
|
9b5880936c
|
build: tweak everything to allow building with SDL on the Raspberry Pi.
|
13 years ago |
Sam Hocevar
|
28728814cc
|
core: replace usage of sin() or std::sin() with lol::sin() where appropriate.
|
13 years ago |
Sam Hocevar
|
58b3c20b86
|
input: add core joystick support and bind the SDL input to that.
|
13 years ago |
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/
|
13 years ago |
Sam Hocevar
|
b49ba4ef56
|
core: prefix some member variables with m_ for clarity.
|
13 years ago |
Sam Hocevar
|
57df2357de
|
math: try to implement the magic getter/setter pattern. BREAKS BUILD.
|
14 years ago |
Sam Hocevar
|
d38a79ee3d
|
math: move most vector and matrix member functions to global functions.
|
14 years ago |
Sam Hocevar
|
7e337a0607
|
ps3: compilation fixes for the PS3.
|
14 years ago |
Sam Hocevar
|
01ebcec3b8
|
core: split vector operations into linear and non-linear so that we can
reuse the linear operations in quaternions. Also mark some constructors
explicit to better spot coding errors.
|
14 years ago |
Sam Hocevar
|
71844c65bb
|
core: port everything to SDL 1.3.
|
14 years ago |
Sam Hocevar
|
6767dae741
|
core: disallow casting eg. a vec3 into a vec2. Use the xy() getter instead.
|
14 years ago |
Sam Hocevar
|
2b9d64f7a8
|
core: more vec?i -> ?veci renames.
|
14 years ago |
Sam Hocevar
|
6bbe943492
|
core: rename vec2i to ivec2 etc. to better match GLSL.
|
14 years ago |
Sam Hocevar
|
bf5e4ba76e
|
sdl: fix touchscreen event handling by first applying mouse moves, then
button changes.
|
14 years ago |
Sam Hocevar
|
10b321b204
|
core: get rid of now useless <cstdio> includes.
|
14 years ago |
Sam Hocevar
|
700cfbd8ea
|
core: fix a few compilation errors and warnings on OS X.
|
14 years ago |
Sam Hocevar
|
8848cf53db
|
Put everything in the "lol" namespace. Better late than never.
|
15 years ago |
Sam Hocevar
|
e41dd3a949
|
Create the SdlApp class to avoid code duplication. Ensure USE_SDL is
tested wherever relevant.
|
15 years ago |
Sam Hocevar
|
6405ef32ea
|
Get rid of float3, float4, int3 etc. in favour of GLSL types.
|
15 years ago |
Sam Hocevar
|
e3a8aa0961
|
Start working on a new gameplay, codenamed "Fusion".
|
15 years ago |
Sam Hocevar
|
e9583b8a62
|
Implement the title screen. Click on it to start a game.
|
15 years ago |
Sam Hocevar
|
f9cb712e81
|
First implementation of the mouse tracker.
|
15 years ago |
Sam Hocevar
|
9c08082263
|
Minor updates to the mouse tracking architecture.
|
15 years ago |
Sam Hocevar
|
502deb7597
|
Fix a few warnings here and there, and try to use the vector classes.
|
15 years ago |
Sam Hocevar
|
f76b95f200
|
Rename Float3 to float3, Int3 to int3 etc. and add the 4-member versions.
|
15 years ago |
Sam Hocevar
|
2d93e03c45
|
Mouse button support in Lol Engine.
|
15 years ago |
Sam Hocevar
|
d248ae8b9a
|
Make SdlInput regularly inject the mouse position into the Input singleton.
|
15 years ago |
Sam Hocevar
|
0ed566d3cc
|
Complete Lol Engine / Deus Hax / Monsterz split.
|
15 years ago |
Sam Hocevar
|
9e2c239e74
|
Support tilesets larger than 512x512 and switch the coordinates system to
(0,0) at the bottom left.
|
15 years ago |
Sam Hocevar
|
887e7b1690
|
Switch from esdf controls to wasd, but support qwerty and azerty keyboards.
|
15 years ago |
Sam Hocevar
|
988f7c2885
|
Replace mouse scrolling with a joystick simulated by the e/s/d/f keys.
|
15 years ago |