Sam Hocevar
356917292d
osx: link with the proper OpenGL libraries on OS X.
13 vuotta sitten
Sam Hocevar
2435bd47ed
osx: automake does not support .mm files yet, so rename ios-image.mm back
to ios-image.cpp, but disable it on OS X because UIKit isn't available.
13 vuotta sitten
Sam Hocevar
73e9bfdd90
build: fix GLEW usage to use <glew.h>, not <GL/glew.h>.
13 vuotta sitten
Sam Hocevar
beb141dd5b
build: fix Win64 compilation with mingw64, using an updated SDL build.
13 vuotta sitten
Sam Hocevar
7a3709ab53
build: move SDL_image and SDL_mixer binaries to an i686-only directory.
13 vuotta sitten
Sam Hocevar
ba10e59e45
ios: fix iOS build by adding missing files to XCode project.
13 vuotta sitten
Sam Hocevar
69648f381f
build: add LolUnit to the build rules.
13 vuotta sitten
Sam Hocevar
8341fd4fef
build: disable RTTI, we don’t need it and won’t use it.
13 vuotta sitten
Sam Hocevar
a374127e80
test: replace CppUnit with our LolUnit test suite.
CppUnit is really too large for our needs, would require to be precompiled
for many platforms, in all combinations of debug and release modes, with
additional variants for libstdc++ versions. We replace it with our own
lightweight implementation, LolUnit. Good riddance.
13 vuotta sitten
Sam Hocevar
bcc14949ad
build: check for <fastmath.h> and build using -O3 -ffastmath.
13 vuotta sitten
Sam Hocevar
23d1701035
build: allow to properly cross-compile for PS3 on Mingw.
13 vuotta sitten
Sam Hocevar
f4bf2954ba
build: do not use AM_CONDITIONAL... conditionally.
13 vuotta sitten
Sam Hocevar
92d0050938
ps3: add a build-ps3 script that uses autoconf and automake.
13 vuotta sitten
Sam Hocevar
bff68c1507
build: fix a mistake causing glew32.lib to be used on Linux.
13 vuotta sitten
Sam Hocevar
2651fddf8c
build: make libglew detection work on MinGW.
13 vuotta sitten
Sam Hocevar
8a1b15f487
build: make build-mingw properly use the contrib libglew.
13 vuotta sitten
Sam Hocevar
666efd14ee
gl: use Glew if available.
13 vuotta sitten
Sam Hocevar
72d86d47e3
build: fix an error causing -lopengl32 to be used on Linux; use AC_TRY_LINK
instead of AC_TRY_COMPILE.
13 vuotta sitten
Sam Hocevar
6805d8da67
build: detect libopengl32 on mingw systems.
13 vuotta sitten
Sam Hocevar
1cc4a3ad29
deushax: move everything DeusHax-related to its own subdirectory.
13 vuotta sitten
Sam Hocevar
ccc725334a
build: check for glBegin, which we won't end up using anyway.
13 vuotta sitten
Sam Hocevar
d18820d320
video: enforce shader-enabled GL implementations, getting rid of a lot
of code.
13 vuotta sitten
Sam Hocevar
f55180fd7f
build: look for libpng, even though we don't use it yet.
13 vuotta sitten
Sam Hocevar
2c4db85656
Replace #-style comments with dnl-style ones.
13 vuotta sitten
Sam Hocevar
42ea6c258e
Fix a typo in the optimisation flags.
13 vuotta sitten
Sam Hocevar
7e16910784
Reduce optimisation strength in debug mode.
13 vuotta sitten
Sam Hocevar
b8377c4160
Add preliminary support for EGL applications.
13 vuotta sitten
Sam Hocevar
e41dd3a949
Create the SdlApp class to avoid code duplication. Ensure USE_SDL is
tested wherever relevant.
13 vuotta sitten
Sam Hocevar
c643668297
The engine now builds for GL and GL ES 1.x and 2.x, and runs for each
one except GL ES 2.x for now.
13 vuotta sitten
Sam Hocevar
6e173ee3eb
Put the OpenGL header handling in <lolgl.h> for more convenience.
13 vuotta sitten
Sam Hocevar
4df4ba3a78
Get rid of the SHADER_CRAP macro and use LOL_EXPERIMENTAL instead,
together with the --enable-experimental flag. Use LOL_DEBUG and
LOL_RELEASE instead of the previous values.
13 vuotta sitten
Sam Hocevar
6f252596c4
Disable -O2 when in debug mode, and disable -g when in release mode.
13 vuotta sitten
Sam Hocevar
da73635c64
Add an optional cppunit dependency for unit tests.
13 vuotta sitten
Sam Hocevar
aee14ca1a5
Only link with -lGL if present on the system. Fixes the MinGW build.
13 vuotta sitten
Sam Hocevar
0afb58dca8
Properly detect SDL libraries when sdl-config and pkg-config are here
together.
13 vuotta sitten
Sam Hocevar
d858cb2444
Clean up configure.ac from useless variables.
13 vuotta sitten
Sam Hocevar
e17905e03a
Try to autodetect GtkGL development libs, and don't build the Deus Hax
editor if not found.
13 vuotta sitten
Sam Hocevar
33f6ca9877
Stop using pkg-config in Makefiles and stop putting things in LDADD that
require to appear before LDFLAGS in the linker call.
14 vuotta sitten
Sam Hocevar
55d5a1ac52
Define _DEBUG when configure is called with --enable-debug.
14 vuotta sitten
Sam Hocevar
640735731a
Add preliminary support for sound samples. Implement click.
14 vuotta sitten
Sam Hocevar
0ed566d3cc
Complete Lol Engine / Deus Hax / Monsterz split.
14 vuotta sitten
Sam Hocevar
93a4c23b23
Split test-map into deus-hax and monsterz.
14 vuotta sitten
Sam Hocevar
3e266b5dce
Proper detection of libcaca and libpipi.
14 vuotta sitten
Sam Hocevar
c409ec99ef
Fix the extra data in the autotools-created tarballs.
14 vuotta sitten
Sam Hocevar
4f802a421d
Add a few more autotools rules.
14 vuotta sitten
Sam Hocevar
097baf0284
Convert everything to the autotools. Managing source dependencies will be
easier.
14 vuotta sitten