Sam Hocevar
06edad8755
scene: remove useless subobject classes.
6 yıl önce
Sam Hocevar
a33073f996
Fix the EGL application build.
6 yıl önce
Sam Hocevar
016330c12b
ui: move a lot of files around.
Most input and GUI files are now in a common ui/ directory. The platform/
directory is no longer, as everythyng was moved to application/ or ui/.
6 yıl önce
Sam Hocevar
d3d84948d4
sdl: move files around in separate directories.
6 yıl önce
Sam Hocevar
a1ef3552bc
No longer look for SDL/SDL*.h headers.
We now just look for SDL2/SDL.h (the regular location) and SDL.h (when
the user provides their own location for this header).
6 yıl önce
Sam Hocevar
0e8227aa71
build: fix EGL library detection.
Sometimes libEGL.so can be available (provided as a symlink
by Debian diversion packages) while EGL/egl.h isn’t.
6 yıl önce
Sam Hocevar
6dd7a0cb39
Another lowercase switching frenzy, because why not.
6 yıl önce
Sam Hocevar
a18ccb3987
build: drop support for SDL v1.
The only reason we had to keep this was for emscripten builds. We can
now use SDL v2 using “emconfigure ./configure CFLAGS="-s USE_SDL=2” and
a few additional flags.
SDL_Mixer v2 is not available in emscripten packages but either it will
be added at some time, or I will get rid of it altogether. An alternate
solution could be this code snippet I found:
cd SDL2_mixer
emconfigure ./configure --prefix=$(pwd)/dist --enable-music-ogg --disable-music-ogg-shared CFLAGS="-s USE_VORBIS=1"
emmake make install
6 yıl önce
Sam Hocevar
44e39867b1
Fix approximately 80 billion compilation warnings.
7 yıl önce
Sam Hocevar
89a8add7bf
audio: reorganise files
8 yıl önce
Sam Hocevar
c6f4070e70
build: refactor autotools files for out-of-tree builds.
All these changes will allow us to more easily add Lol Engine as a
submodule of another Git project.
8 yıl önce
Sam Hocevar
861568b146
misc: some cleanup in files, including UTF-8 BOM.
9 yıl önce
Sam Hocevar
d64b117b8d
build: fix license and copyright information.
10 yıl önce
Sam Hocevar
70edc0d38e
misc: carry on with the lowercase rampage.
Using “Array” instead of “array” is now fully deprecated, and I replaced
the Log::Debug() etc. functions with msg::debug() etc. because log:: was
unavailable due to being a maths function.
Added up-to-date copyright notice and BOM to modified files, just in case.
10 yıl önce
Sam Hocevar
7934df34ef
build: "USE_SDL" is now for SDL v2 and "USE_OLD_SDL" for version 1.
10 yıl önce
Sam Hocevar
cd988786b9
build: reorganise includes so that we can use precompiled headers later.
10 yıl önce
Sam Hocevar
12aaff89e3
base: huge refactor in vector.h; GCC compilation times down by 50%.
10 yıl önce
Sam Hocevar
fe665f85b4
base: strip core.h from its contents and put it in public/private headers.
10 yıl önce
Benlitz
8a657ea287
input: Removed previous input system
11 yıl önce
Sam Hocevar
399a172425
build: fix a few compilation issues with input v2.
11 yıl önce
Sam Hocevar
39a8c26fb5
base: start removing occurrences of NULL on our long journey to nullptr.
12 yıl önce
Sam Hocevar
32753fa130
build: fix a few macro logic issues in SDL.h inclusion.
12 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.
12 yıl önce
Sam Hocevar
f44e3e323b
core: you can now while(app.MustTick()) { Tick(); } instead of app.Run().
12 yıl önce
Sam Hocevar
d6634da83f
build: fix the WTFPL site URL in all code comments.
12 yıl önce
Sam Hocevar
3bfbb6c408
build: fix shitloads of warnings.
12 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.
12 yıl önce
Sam Hocevar
90799afe90
core: better EGL error reporting.
12 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.
12 yıl önce
Sam Hocevar
803d140502
gpu: don't forget to ask for a depth buffer on GL ES systems.
12 yıl önce
Sam Hocevar
f80753b168
core: remove debug code that caused all builds to fail.
12 yıl önce
Sam Hocevar
d9aed059cb
core: on the Raspberry Pi, use the proprietary graphics library instead of
X11 to create the EGL-capable display.
12 yıl önce
Sam Hocevar
0161879a84
core: try to merge Ticker and Emcee. Still not very good.
13 yıl önce
Sam Hocevar
6bbe943492
core: rename vec2i to ivec2 etc. to better match GLSL.
13 yıl önce
Sam Hocevar
cc05a63bb7
video: get rid of Video::GetWidth() and Video::GetHeight().
14 yıl önce
Sam Hocevar
d18820d320
video: enforce shader-enabled GL implementations, getting rid of a lot
of code.
14 yıl önce
Sam Hocevar
10b321b204
core: get rid of now useless <cstdio> includes.
14 yıl önce
Sam Hocevar
1e5624d551
core: create a logger class to reduce printf usage.
14 yıl önce
Sam Hocevar
586302999b
Fix delete/free confusions in EglApp and SdlApp.
14 yıl önce
Sam Hocevar
4be6c3fd33
Remove the old and ugly Font macro diversion.
14 yıl önce
Sam Hocevar
8848cf53db
Put everything in the "lol" namespace. Better late than never.
14 yıl önce
Sam Hocevar
cc7dd5f4f6
Try to fix GLES 2 rendering. No luck so far.
14 yıl önce
Sam Hocevar
b8377c4160
Add preliminary support for EGL applications.
14 yıl önce