Sam Hocevar
|
d18820d320
|
video: enforce shader-enabled GL implementations, getting rid of a lot
of code.
|
13 years ago |
Sam Hocevar
|
951ac2bb0b
|
android: use GLES2 instead of GLES.
|
13 years ago |
Sam Hocevar
|
6f35fd55be
|
video: make the dithering shader work with GLES2.
|
13 years ago |
Sam Hocevar
|
821c3985a1
|
video: fix a syntax error in the default vertex shader.
|
13 years ago |
Sam Hocevar
|
1f3d06c581
|
video: 8×8 Bresenham dithering (still deactivated).
|
13 years ago |
Sam Hocevar
|
10b321b204
|
core: get rid of now useless <cstdio> includes.
|
13 years ago |
Sam Hocevar
|
1e5624d551
|
core: create a logger class to reduce printf usage.
|
13 years ago |
Sam Hocevar
|
493109e3ed
|
video: add deactivated shader code for 4x4 Bayer dithering.
|
13 years ago |
Sam Hocevar
|
233ad8bb89
|
core: fix uninitialised WorldEntity members.
|
13 years ago |
Sam Hocevar
|
10e2385062
|
gl: reactivate depth test and blending on GLES 1.x.
|
13 years ago |
Sam Hocevar
|
c39012688f
|
android: enforce fullscreen on Android until we have several layouts.
|
13 years ago |
Sam Hocevar
|
302e45e851
|
ios: get texture loading to work, somehow.
|
13 years ago |
Sam Hocevar
|
4667bbfb47
|
ios: texture loading test.
|
13 years ago |
Sam Hocevar
|
8f72b1739a
|
gl: use glActiveTexture() instead of glClientActiveTexture() to match
the GLES2 codepath.
|
13 years ago |
Sam Hocevar
|
700cfbd8ea
|
core: fix a few compilation errors and warnings on OS X.
|
13 years ago |
Sam Hocevar
|
e43d7b07e0
|
android: JNI hooks for single touch input.
|
13 years ago |
Sam Hocevar
|
8451531042
|
android: move the PNG loading test into the Image class. It now works.
|
13 years ago |
Sam Hocevar
|
aec4ae3ccc
|
android: Add a method for PNG loading. Highly hackish for now.
|
13 years ago |
Sam Hocevar
|
f55180fd7f
|
build: look for libpng, even though we don't use it yet.
|
13 years ago |
Sam Hocevar
|
c29f6a1fe8
|
android: Use thiz instead of that in JNI code.
|
13 years ago |
Sam Hocevar
|
8ebf55fca8
|
No longer use DebugQuad() in the AndroidApp, we now know it works.
|
13 years ago |
Sam Hocevar
|
0d6f9ef185
|
Basic utility function to display matrices.
|
13 years ago |
Sam Hocevar
|
1aa3cf12c8
|
Work around a bug in the Android emulator that doesn't let us query the
current viewport settings.
|
13 years ago |
Sam Hocevar
|
48ca9eaf9e
|
Add AndroidAdd to the VCS. Far from being usable for now.
|
13 years ago |
Sam Hocevar
|
8e6eb8db5a
|
Various changes to the Scene class. Not sure what's useful.
|
13 years ago |
Sam Hocevar
|
0e7bec2977
|
Use glClientActiveTexture() wherever it appears to make sense.
|
13 years ago |
Sam Hocevar
|
1fc1b60e66
|
Add transparency to DebugQuad and ensure it gets rendered over everything.
|
13 years ago |
Sam Hocevar
|
39697202d8
|
The DebugQuad object now rotates with time.
|
13 years ago |
Sam Hocevar
|
df21968ce2
|
Add texturing support to DebugQuad. Works with OpenGL (fixed pipeline
and programmable pipeline versions) and OpenGL ES 1.x for now.
|
13 years ago |
Sam Hocevar
|
2c4db85656
|
Replace #-style comments with dnl-style ones.
|
13 years ago |
Sam Hocevar
|
246bce7dd7
|
Add a DebugQuad class for simple feature testing.
|
13 years ago |
Sam Hocevar
|
336d42371e
|
Enable GL_TEXTURE_2D in the Scene class instead of Video.
|
13 years ago |
Sam Hocevar
|
dad4497ebe
|
Remove the Android hack, we can control it from the NDK build scripts.
|
13 years ago |
Sam Hocevar
|
fd465a0882
|
Merge all debug entity includes in <loldebug.h>.
|
13 years ago |
Sam Hocevar
|
42ea6c258e
|
Fix a typo in the optimisation flags.
|
13 years ago |
Sam Hocevar
|
7e16910784
|
Reduce optimisation strength in debug mode.
|
13 years ago |
Sam Hocevar
|
f7f6f4db91
|
Define a few user profilers.
|
13 years ago |
Sam Hocevar
|
586302999b
|
Fix delete/free confusions in EglApp and SdlApp.
|
13 years ago |
Sam Hocevar
|
7fd4603a82
|
Create a fake Image if SDL_image is not available, so that we can test
stuff anyway.
|
14 years ago |
Sam Hocevar
|
4aff0049b3
|
Use the new Image class instead of SDL_image in the TileSet class.
|
14 years ago |
Sam Hocevar
|
edd75a3c89
|
Add the Image class for better abstraction.
|
14 years ago |
Sam Hocevar
|
4be6c3fd33
|
Remove the old and ugly Font macro diversion.
|
14 years ago |
Sam Hocevar
|
8848cf53db
|
Put everything in the "lol" namespace. Better late than never.
|
14 years ago |
Sam Hocevar
|
cc7dd5f4f6
|
Try to fix GLES 2 rendering. No luck so far.
|
14 years ago |
Sam Hocevar
|
b8377c4160
|
Add preliminary support for EGL applications.
|
14 years ago |
Sam Hocevar
|
3191ca57bf
|
Set the default background color to something recognisable.
|
14 years ago |
Sam Hocevar
|
e41dd3a949
|
Create the SdlApp class to avoid code duplication. Ensure USE_SDL is
tested wherever relevant.
|
14 years ago |
Sam Hocevar
|
f75db4c57f
|
Fix the GLESv2 rendering.
|
14 years ago |
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.
|
14 years ago |
Sam Hocevar
|
6e173ee3eb
|
Put the OpenGL header handling in <lolgl.h> for more convenience.
|
14 years ago |