Sam Hocevar
39a8c26fb5
base: start removing occurrences of NULL on our long journey to nullptr.
12 년 전
Sam Hocevar
32753fa130
build: fix a few macro logic issues in SDL.h inclusion.
13 년 전
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 년 전
Sam Hocevar
39cd7a1fd0
build: revert the weak symbol work; it confuses Visual Studio too much.
13 년 전
Sam Hocevar
d3af7653c0
build: provide weak symbols for lol_sdl_main on Visual Studio.
13 년 전
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 년 전
Sam Hocevar
f44e3e323b
core: you can now while(app.MustTick()) { Tick(); } instead of app.Run().
13 년 전
Sam Hocevar
d6634da83f
build: fix the WTFPL site URL in all code comments.
13 년 전
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 년 전
Sam Hocevar
9b5880936c
build: tweak everything to allow building with SDL on the Raspberry Pi.
13 년 전
Sam Hocevar
70f992bb36
win32: add an Xinput class for Xbox360 controllers, because they're not
properly detected using the generic SDL driver.
13 년 전
Sam Hocevar
fe9bab81c1
gpu: fix a great lot of Direct3D problems, spotted using PIX.
13 년 전
Sam Hocevar
48c7070243
gpu: replace exit(0) in D3D error checks with lol::Abort().
13 년 전
Sam Hocevar
88f10fe54b
build: allow to build the Direct3D 9 driver with the mingw compiler.
13 년 전
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.
13 년 전
Sam Hocevar
0161879a84
core: try to merge Ticker and Emcee. Still not very good.
14 년 전
Sam Hocevar
5d42f27259
tutorial: port the Mandelbrot dithering shader to Cg.
14 년 전
Sam Hocevar
8ec5fff6df
core: implement Application::ShowPointer() so that applications can choose
whether to use the system mouse pointer or not.
14 년 전
Sam Hocevar
8deb365040
core: write a generic application class.
14 년 전
Sam Hocevar
b111f7e3d8
core: move platform-specific code to specific directories.
14 년 전
Sam Hocevar
6bbe943492
core: rename vec2i to ivec2 etc. to better match GLSL.
14 년 전
Sam Hocevar
e750e82332
gl: initialise Glew in the video setup instead of the SDL app, so we don't
have to duplicate this code to other places. Fixes the GTK app on the way.
14 년 전
Sam Hocevar
666efd14ee
gl: use Glew if available.
14 년 전
Sam Hocevar
cc05a63bb7
video: get rid of Video::GetWidth() and Video::GetHeight().
14 년 전
Sam Hocevar
1e5624d551
core: create a logger class to reduce printf usage.
14 년 전
Sam Hocevar
586302999b
Fix delete/free confusions in EglApp and SdlApp.
15 년 전
Sam Hocevar
8848cf53db
Put everything in the "lol" namespace. Better late than never.
15 년 전
Sam Hocevar
e41dd3a949
Create the SdlApp class to avoid code duplication. Ensure USE_SDL is
tested wherever relevant.
15 년 전