Sam Hocevar
d4372a6a1e
android: open files through the asset manager, meaning Lua works.
před 12 roky
Sam Hocevar
a6bcbd5e58
android: refactor the application code to use fewer free functions.
před 12 roky
Sam Hocevar
3af7e62b6a
android: switch to NativeActivity instead of rolling our own Java crap;
no known regressions yet.
před 12 roky
Sam Hocevar
ff7904d96c
build: big Android build system refactor; we now attempt to build
an apk for each project.
před 12 roky
Sam Hocevar
edd09e08f5
ps3: create an audio device at startup.
před 12 roky
Sam Hocevar
1dee9a6633
ps3: check for newly plugged pads at each frame.
před 12 roky
Sam Hocevar
39a8c26fb5
base: start removing occurrences of NULL on our long journey to nullptr.
před 13 roky
Sam Hocevar
a4608bb51b
ps3: fix typo in ps3app.cpp.
před 13 roky
Sam Hocevar
8fd2ac17ba
ps3: compilation for old GCC complaining about non-trivial designated
initalisers.
před 13 roky
Sam Hocevar
456f5e8892
ps3: add support for resolution selection.
před 13 roky
Sam Hocevar
32753fa130
build: fix a few macro logic issues in SDL.h inclusion.
před 13 roky
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.
před 13 roky
Sam Hocevar
b25222af18
base: implement UNUSED() macro and put it here and there.
před 13 roky
Sam Hocevar
39cd7a1fd0
build: revert the weak symbol work; it confuses Visual Studio too much.
před 13 roky
Sam Hocevar
d3af7653c0
build: provide weak symbols for lol_sdl_main on Visual Studio.
před 13 roky
Sam Hocevar
96256f45ce
build: use our own main() wrapper in addition to SDL's, and only
in that case. Currently only works with GCC.
před 13 roky
Sam Hocevar
f44e3e323b
core: you can now while(app.MustTick()) { Tick(); } instead of app.Run().
před 13 roky
Benjamin ‘Touky’ Huet
c7219ff1dd
New year copyright update.
před 13 roky
Sam Hocevar
d6634da83f
build: fix the WTFPL site URL in all code comments.
před 13 roky
Sam Hocevar
b438a94642
input: add the Keyboard abstraction object type.
před 13 roky
Sam Hocevar
10010d77e4
android: use the FPS value provided by the application; we now run at
60 fps on Android devices, too.
před 13 roky
Sam Hocevar
439298ee5e
misc: very minor tweaks here and there.
před 13 roky
Sam Hocevar
854409cb6f
android: fix a synchronisation issue between Java and the game thread.
před 13 roky
Sam Hocevar
3bfbb6c408
build: fix shitloads of warnings.
před 13 roky
Sam Hocevar
0f14383241
build: split the D3d9 build flags into D3d9 and Xinput for situations where
we want Xinput but not D3D (ie. OpenGL).
před 13 roky
Sam Hocevar
eab78ea114
input: switch SDL joystick handling mode to polling, because we won't get
any events if there is no X window.
před 13 roky
Sam Hocevar
7a776e72f5
core: fix the X360 build by re-adding macro barriers I removed.
před 13 roky
Sam Hocevar
9b5880936c
build: tweak everything to allow building with SDL on the Raspberry Pi.
před 13 roky
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.
před 13 roky
Sam Hocevar
c36a5fe78f
ps3: add pad support for the PS3, without plug/unplug detection for now.
před 13 roky
Sam Hocevar
9a95a8ec30
ps3: fix CPU and stack size performance issues on the PS3.
před 13 roky
Sam Hocevar
bd649af62d
nacl: NaCl binaries no longer need a modified main() to work, the NaCl
instance object takes care of everything for us.
před 13 roky
Sam Hocevar
32f232e112
nacl: preliminary gamepad support in the NaCl backend.
před 13 roky
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.
před 13 roky
Sam Hocevar
8d28557645
input: fix brain fart in our SDL joystick input.
před 13 roky
Sam Hocevar
736b5a2659
input: support up to 16 buttons in Xbox-like pads.
před 13 roky
Sam Hocevar
70f992bb36
win32: add an Xinput class for Xbox360 controllers, because they're not
properly detected using the generic SDL driver.
před 13 roky
Sam Hocevar
54fe8937ad
input: support Xbox input system for gamepads.
před 13 roky
Sam Hocevar
c0141debea
input: allow to remap gamepad axes in the generic input layer.
před 13 roky
Sam Hocevar
102d007cda
input: blacklist HDAPS as a joystick, it's not really a joystick.
před 13 roky
Sam Hocevar
58b3c20b86
input: add core joystick support and bind the SDL input to that.
před 13 roky
Sam Hocevar
90bfc79b22
core: tick methods now use seconds, like any sane system.
před 13 roky
Sam Hocevar
fe9bab81c1
gpu: fix a great lot of Direct3D problems, spotted using PIX.
před 13 roky
Sam Hocevar
48c7070243
gpu: replace exit(0) in D3D error checks with lol::Abort().
před 13 roky
Sam Hocevar
5014b90b3e
build: compilation fixes for errors introduced in the recent Direct3D
and Android changes.
před 13 roky
Sam Hocevar
15c4e8016a
android: slightly update Android project for newer SDK versions.
před 13 roky
Sam Hocevar
88f10fe54b
build: allow to build the Direct3D 9 driver with the mingw compiler.
před 13 roky
Sam Hocevar
090834b149
win32: start porting the graphical backend to DirectX 9. Apparently I
cannot used DirectX 10 because my video card only supports DX9, and there
is no compatibility layer. DX11 has feature levels for older hardware so
it would work with a DX9 card, but it's not available for WinXP.
před 13 roky
Sam Hocevar
bd69c76f90
xbox: fix a few problems in the shader handling code; the first tutorial now
works on the Xbox.
před 13 roky
Sam Hocevar
2831476774
build: major refactoring of the Win32 and Xbox project files; we now
link properly on the Xbox.
před 13 roky