Sam Hocevar
06edad8755
scene: remove useless subobject classes.
il y a 6 ans
Sam Hocevar
a33073f996
Fix the EGL application build.
il y a 6 ans
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/.
il y a 6 ans
Sam Hocevar
d3d84948d4
sdl: move files around in separate directories.
il y a 6 ans
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).
il y a 6 ans
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.
il y a 6 ans
Sam Hocevar
6dd7a0cb39
Another lowercase switching frenzy, because why not.
il y a 6 ans
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
il y a 6 ans
Sam Hocevar
44e39867b1
Fix approximately 80 billion compilation warnings.
il y a 7 ans
Sam Hocevar
89a8add7bf
audio: reorganise files
il y a 8 ans
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.
il y a 8 ans
Sam Hocevar
861568b146
misc: some cleanup in files, including UTF-8 BOM.
il y a 9 ans
Sam Hocevar
d64b117b8d
build: fix license and copyright information.
il y a 10 ans
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.
il y a 10 ans
Sam Hocevar
7934df34ef
build: "USE_SDL" is now for SDL v2 and "USE_OLD_SDL" for version 1.
il y a 10 ans
Sam Hocevar
cd988786b9
build: reorganise includes so that we can use precompiled headers later.
il y a 10 ans
Sam Hocevar
12aaff89e3
base: huge refactor in vector.h; GCC compilation times down by 50%.
il y a 10 ans
Sam Hocevar
fe665f85b4
base: strip core.h from its contents and put it in public/private headers.
il y a 10 ans
Benlitz
8a657ea287
input: Removed previous input system
il y a 11 ans
Sam Hocevar
399a172425
build: fix a few compilation issues with input v2.
il y a 11 ans
Sam Hocevar
39a8c26fb5
base: start removing occurrences of NULL on our long journey to nullptr.
il y a 12 ans
Sam Hocevar
32753fa130
build: fix a few macro logic issues in SDL.h inclusion.
il y a 12 ans
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.
il y a 12 ans
Sam Hocevar
f44e3e323b
core: you can now while(app.MustTick()) { Tick(); } instead of app.Run().
il y a 12 ans
Sam Hocevar
d6634da83f
build: fix the WTFPL site URL in all code comments.
il y a 12 ans
Sam Hocevar
3bfbb6c408
build: fix shitloads of warnings.
il y a 12 ans
Sam Hocevar
eab78ea114
input: switch SDL joystick handling mode to polling, because we won't get
any events if there is no X window.
il y a 12 ans
Sam Hocevar
90799afe90
core: better EGL error reporting.
il y a 12 ans
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.
il y a 12 ans
Sam Hocevar
803d140502
gpu: don't forget to ask for a depth buffer on GL ES systems.
il y a 12 ans
Sam Hocevar
f80753b168
core: remove debug code that caused all builds to fail.
il y a 12 ans
Sam Hocevar
d9aed059cb
core: on the Raspberry Pi, use the proprietary graphics library instead of
X11 to create the EGL-capable display.
il y a 12 ans
Sam Hocevar
0161879a84
core: try to merge Ticker and Emcee. Still not very good.
il y a 13 ans
Sam Hocevar
6bbe943492
core: rename vec2i to ivec2 etc. to better match GLSL.
il y a 13 ans
Sam Hocevar
cc05a63bb7
video: get rid of Video::GetWidth() and Video::GetHeight().
il y a 14 ans
Sam Hocevar
d18820d320
video: enforce shader-enabled GL implementations, getting rid of a lot
of code.
il y a 14 ans
Sam Hocevar
10b321b204
core: get rid of now useless <cstdio> includes.
il y a 14 ans
Sam Hocevar
1e5624d551
core: create a logger class to reduce printf usage.
il y a 14 ans
Sam Hocevar
586302999b
Fix delete/free confusions in EglApp and SdlApp.
il y a 14 ans
Sam Hocevar
4be6c3fd33
Remove the old and ugly Font macro diversion.
il y a 14 ans
Sam Hocevar
8848cf53db
Put everything in the "lol" namespace. Better late than never.
il y a 14 ans
Sam Hocevar
cc7dd5f4f6
Try to fix GLES 2 rendering. No luck so far.
il y a 14 ans
Sam Hocevar
b8377c4160
Add preliminary support for EGL applications.
il y a 14 ans