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