Sam Hocevar
349559acd9
input: fix uninitialised data in the SDL mouse input.
12 yıl önce
Sam Hocevar
ca230a60ad
thread: implement Queue::TryPush and Queue::TryPop.
12 yıl önce
Lolbot
d375c7ba61
fixed 4 files out of 2770:
- removed 0 CR characters
- removed 0 trailing whitespaces
- replaced 5 tabs with spaces
- fixed 1 svn:eol-style properties
12 yıl önce
Benlitz
8a657ea287
input: Removed previous input system
12 yıl önce
Sam Hocevar
0529e067f2
input: fix a problem with the SDLK_WORLD_0 macro; arrow keys weren't
handled properly.
12 yıl önce
Lolbot
c47d0f8c62
fixed 10 files out of 2754:
- removed 386 CR characters
- removed 4 trailing whitespaces
- replaced 189 tabs with spaces
12 yıl önce
Benlitz
cecd5db3fa
build fix on non-SDL platforms
12 yıl önce
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)
12 yıl önce
Sam Hocevar
c6ffd1ffcf
build: fix the X360 port.
12 yıl önce
Sam Hocevar
532f679f8a
gpu: get rid of the global D3D device pointer and move D3D initialisation
code from the Video to the Renderer class.
12 yıl önce
Sam Hocevar
68c2da5898
build: more Emscripten improvements; keyboard input works properly now.
12 yıl önce
Sam Hocevar
6be31bba32
input: make keyboard state platform-independent.
12 yıl önce
Sam Hocevar
1ffa61c572
input: activate SDL input with Emscripten.
12 yıl önce
Sam Hocevar
551fea7ed7
build: use GLES (not GL) when using emscripten, and disable SdlInput too.
12 yıl önce
Sam Hocevar
b65bde6b91
android: add a temporary hack for mouse emulation on Android devices.
12 yıl önce
Sam Hocevar
95369e26db
base: a few minor style tweaks.
12 yıl önce
Sam Hocevar
d4372a6a1e
android: open files through the asset manager, meaning Lua works.
12 yıl önce
Sam Hocevar
a6bcbd5e58
android: refactor the application code to use fewer free functions.
12 yıl önce
Sam Hocevar
3af7e62b6a
android: switch to NativeActivity instead of rolling our own Java crap;
no known regressions yet.
12 yıl önce
Sam Hocevar
ff7904d96c
build: big Android build system refactor; we now attempt to build
an apk for each project.
12 yıl önce
Sam Hocevar
edd09e08f5
ps3: create an audio device at startup.
12 yıl önce
Sam Hocevar
1dee9a6633
ps3: check for newly plugged pads at each frame.
12 yıl önce
Sam Hocevar
39a8c26fb5
base: start removing occurrences of NULL on our long journey to nullptr.
13 yıl önce
Sam Hocevar
a4608bb51b
ps3: fix typo in ps3app.cpp.
13 yıl önce
Sam Hocevar
8fd2ac17ba
ps3: compilation for old GCC complaining about non-trivial designated
initalisers.
13 yıl önce
Sam Hocevar
456f5e8892
ps3: add support for resolution selection.
13 yıl önce
Sam Hocevar
32753fa130
build: fix a few macro logic issues in SDL.h inclusion.
13 yıl önce
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 yıl önce
Sam Hocevar
b25222af18
base: implement UNUSED() macro and put it here and there.
13 yıl önce
Sam Hocevar
39cd7a1fd0
build: revert the weak symbol work; it confuses Visual Studio too much.
13 yıl önce
Sam Hocevar
d3af7653c0
build: provide weak symbols for lol_sdl_main on Visual Studio.
13 yıl önce
Sam Hocevar
96256f45ce
build: use our own main() wrapper in addition to SDL's, and only
in that case. Currently only works with GCC.
13 yıl önce
Sam Hocevar
f44e3e323b
core: you can now while(app.MustTick()) { Tick(); } instead of app.Run().
13 yıl önce
Benjamin ‘Touky’ Huet
c7219ff1dd
New year copyright update.
13 yıl önce
Sam Hocevar
d6634da83f
build: fix the WTFPL site URL in all code comments.
13 yıl önce
Sam Hocevar
b438a94642
input: add the Keyboard abstraction object type.
13 yıl önce
Sam Hocevar
10010d77e4
android: use the FPS value provided by the application; we now run at
60 fps on Android devices, too.
13 yıl önce
Sam Hocevar
439298ee5e
misc: very minor tweaks here and there.
13 yıl önce
Sam Hocevar
854409cb6f
android: fix a synchronisation issue between Java and the game thread.
13 yıl önce
Sam Hocevar
3bfbb6c408
build: fix shitloads of warnings.
13 yıl önce
Sam Hocevar
0f14383241
build: split the D3d9 build flags into D3d9 and Xinput for situations where
we want Xinput but not D3D (ie. OpenGL).
13 yıl önce
Sam Hocevar
eab78ea114
input: switch SDL joystick handling mode to polling, because we won't get
any events if there is no X window.
13 yıl önce
Sam Hocevar
7a776e72f5
core: fix the X360 build by re-adding macro barriers I removed.
13 yıl önce
Sam Hocevar
9b5880936c
build: tweak everything to allow building with SDL on the Raspberry Pi.
13 yıl önce
Sam Hocevar
44180ce402
build: switch the Android native build rules to autoconf; still a bit rough
but we can now create shared objects for each project; only the testsuite
is not building properly because of issues with STLport, and EglApp is
deactivated because AndroidApp should have precedence.
13 yıl önce
Sam Hocevar
c36a5fe78f
ps3: add pad support for the PS3, without plug/unplug detection for now.
13 yıl önce
Sam Hocevar
9a95a8ec30
ps3: fix CPU and stack size performance issues on the PS3.
13 yıl önce
Sam Hocevar
bd649af62d
nacl: NaCl binaries no longer need a modified main() to work, the NaCl
instance object takes care of everything for us.
13 yıl önce
Sam Hocevar
32f232e112
nacl: preliminary gamepad support in the NaCl backend.
13 yıl önce
Sam Hocevar
b83a7eccca
nacl: remove our old hack of #including the file containing main() from
the NaCl instance object. Now we properly override main() and we can at
last build all the executables as NaCl binaries.
13 yıl önce