Sam Hocevar
|
d37d124849
|
sdl: SDL2 video and audio support (no input yet).
|
hace 10 años |
Sam Hocevar
|
cd988786b9
|
build: reorganise includes so that we can use precompiled headers later.
|
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
|
3862ad59dc
|
base: going on a lowercase rampage; today’s victim: Array.
|
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 |
Benjamin ‘Touky’ Huet
|
3d4b3d53c3
|
Added bunch of stuff on threads and images.
|
hace 10 años |
Benjamin ‘Touky’ Huet
|
b98584957c
|
Added Mouse scroll as axis.
|
hace 10 años |
Jean-Yves Lamoureux
|
b59fdb8baa
|
* Fix compilation on lesser tools
|
hace 11 años |
Jean-Yves Lamoureux
|
171433e9de
|
* Fix compilation on lesser tools
|
hace 11 años |
Jean-Yves Lamoureux
|
81e4f7421e
|
sdlinput: fix captured mouse coordinates
|
hace 11 años |
Benjamin ‘Touky’ Huet
|
1cd715e6ef
|
Mouse support now works in emscripten
|
hace 11 años |
Benjamin ‘Touky’ Huet
|
2da1903619
|
Build fix
|
hace 11 años |
Benjamin ‘Touky’ Huet
|
dfc2a47f7f
|
Input : mouse focus integration.
|
hace 11 años |
Benjamin ‘Touky’ Huet
|
3281169274
|
Input : Fixed mouse speed calculation in sdl & android.
|
hace 11 años |
Benjamin ‘Touky’ Huet
|
747da72c44
|
Input : Small refactor, for clarity, easiness and beautification.
Constants : Added minus one.
|
hace 11 años |
Benlitz
|
e1a4367226
|
input: fixed crash when user rotate the mouse wheel
|
hace 11 años |
Sam Hocevar
|
5f3ad5cc15
|
math: add constant vectors vec2::zero, vec2::axis_x, etc.
|
hace 11 años |
Benlitz
|
c1da4619f7
|
input: renamed xinput keys to something more human readable (such as A or DPadLeft) and inverted mouse Y axis to match joystick axis (negatives being up)
core: calling InitGame() at the first tick of an entity. InitDraw is still uncalled yet
fixed mrpigeon and orbital accordingly
|
hace 11 años |
Benjamin ‘Touky’ Huet
|
de338ae89a
|
nacl build fix.
|
hace 11 años |
Sam Hocevar
|
349559acd9
|
input: fix uninitialised data in the SDL mouse input.
|
hace 11 años |
Benlitz
|
8a657ea287
|
input: Removed previous input system
|
hace 11 años |
Sam Hocevar
|
0529e067f2
|
input: fix a problem with the SDLK_WORLD_0 macro; arrow keys weren't
handled properly.
|
hace 11 años |
Lolbot
|
c47d0f8c62
|
fixed 10 files out of 2754:
- removed 386 CR characters
- removed 4 trailing whitespaces
- replaced 189 tabs with spaces
|
hace 11 años |
Benlitz
|
cecd5db3fa
|
build fix on non-SDL platforms
|
hace 11 años |
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)
|
hace 11 años |
Sam Hocevar
|
68c2da5898
|
build: more Emscripten improvements; keyboard input works properly now.
|
hace 12 años |
Sam Hocevar
|
6be31bba32
|
input: make keyboard state platform-independent.
|
hace 12 años |
Sam Hocevar
|
1ffa61c572
|
input: activate SDL input with Emscripten.
|
hace 12 años |
Sam Hocevar
|
95369e26db
|
base: a few minor style tweaks.
|
hace 12 años |
Sam Hocevar
|
39a8c26fb5
|
base: start removing occurrences of NULL on our long journey to nullptr.
|
hace 12 años |
Benjamin ‘Touky’ Huet
|
c7219ff1dd
|
New year copyright update.
|
hace 12 años |
Sam Hocevar
|
d6634da83f
|
build: fix the WTFPL site URL in all code comments.
|
hace 12 años |
Sam Hocevar
|
b438a94642
|
input: add the Keyboard abstraction object type.
|
hace 12 años |
Sam Hocevar
|
3bfbb6c408
|
build: fix shitloads of warnings.
|
hace 12 años |
Sam Hocevar
|
0f14383241
|
build: split the D3d9 build flags into D3d9 and Xinput for situations where
we want Xinput but not D3D (ie. OpenGL).
|
hace 12 años |
Sam Hocevar
|
eab78ea114
|
input: switch SDL joystick handling mode to polling, because we won't get
any events if there is no X window.
|
hace 12 años |
Sam Hocevar
|
7a776e72f5
|
core: fix the X360 build by re-adding macro barriers I removed.
|
hace 12 años |
Sam Hocevar
|
9b5880936c
|
build: tweak everything to allow building with SDL on the Raspberry Pi.
|
hace 12 años |
Sam Hocevar
|
8d28557645
|
input: fix brain fart in our SDL joystick input.
|
hace 13 años |
Sam Hocevar
|
70f992bb36
|
win32: add an Xinput class for Xbox360 controllers, because they're not
properly detected using the generic SDL driver.
|
hace 13 años |
Sam Hocevar
|
c0141debea
|
input: allow to remap gamepad axes in the generic input layer.
|
hace 13 años |
Sam Hocevar
|
102d007cda
|
input: blacklist HDAPS as a joystick, it's not really a joystick.
|
hace 13 años |
Sam Hocevar
|
58b3c20b86
|
input: add core joystick support and bind the SDL input to that.
|
hace 13 años |
Sam Hocevar
|
90bfc79b22
|
core: tick methods now use seconds, like any sane system.
|
hace 13 años |
Sam Hocevar
|
7fd393b7ef
|
sdl: on Windows, perform the input tick in the main drawing thread.
|
hace 13 años |
Sam Hocevar
|
b2d73f6310
|
core: prefix Entity members with m_ to avoid accidental shadowing.
|
hace 13 años |
Sam Hocevar
|
b111f7e3d8
|
core: move platform-specific code to specific directories.
|
hace 13 años |
Sam Hocevar
|
6bbe943492
|
core: rename vec2i to ivec2 etc. to better match GLSL.
|
hace 13 años |
Sam Hocevar
|
92d0050938
|
ps3: add a build-ps3 script that uses autoconf and automake.
|
hace 13 años |
Sam Hocevar
|
bf5e4ba76e
|
sdl: fix touchscreen event handling by first applying mouse moves, then
button changes.
|
hace 13 años |