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.
13 years ago
Sam Hocevar
ed499e0c07
build: add libSDLmain.a binaries for GUI MinGW builds; the provided static
libraries only work with the Visual Studio runtime.
13 years ago
Sam Hocevar
cb1f420933
core: fix the Windows and OS X builds with SDL.
13 years ago
Sam Hocevar
5bd24fa1d3
build: hide the SDL_main.h inclusion in core.h, and only activate it
on Windows if using Visual Studio; if using MinGW, try to stick to the
original main() entry point.
13 years ago
Sam Hocevar
caec5ed082
build: allow to build the PS3 binaries from Visual Studio if the proper
software is installed.
13 years ago
Sam Hocevar
28728814cc
core: replace usage of sin() or std::sin() with lol::sin() where appropriate.
13 years ago
Sam Hocevar
8375f3443d
build: fix the PS3 port by using our trig.h everywhere instead of stdlib
functions; also remove a lot of idiotic "using namespace std" from the
codebase.
13 years ago
Sam Hocevar
86a16aaff6
easymesh: move the Mesh builder into the engine core.
13 years ago
Sam Hocevar
e2295392b8
gpu: first FrameBuffer GPU class.
13 years ago
Sam Hocevar
b83a7eccca
nacl: remove our old hack of #including the file containing main() from
the NaCl instance object. Now we properly override main() and we can at
last build all the executables as NaCl binaries.
13 years ago
Sam Hocevar
58b3c20b86
input: add core joystick support and bind the SDL input to that.
13 years ago
Sam Hocevar
08fc460668
core: move the Camera class from Orbital to the engine core.
13 years ago
Sam Hocevar
578368f452
gpu: abstraction class for index buffers; the cube tutorial no longer
needs to know about Direct3D headers etc.
13 years ago
Sam Hocevar
02e31f5c41
core: add a simple Array template class.
13 years ago
Sam Hocevar
4e4d5a8e06
build: fix GCC build; it doesn't like to have a local file called debug/debug.h.
13 years ago
Sam Hocevar
48c7070243
gpu: replace exit(0) in D3D error checks with lol::Abort().
13 years ago
Sam Hocevar
f7e202a7c8
gpu: implement vertex buffer streams for Direct3D. OpenGL is missing for now.
13 years ago
Sam Hocevar
5218c59ab7
gpu: start working on a template-based vertex buffer class.
13 years ago
Sam Hocevar
56e4332597
build: reorganise math files in a single "math" directory, and get rid of the
"shader" source directory since we have "gpu".
13 years ago
Sam Hocevar
b4610706c0
math: move half.h into the public headers.
13 years ago
Sam Hocevar
0a52e68f6f
math: rename matrix.h to vector.h and simplify some stuff, especially in
the matrix code itself.
14 years ago
Sam Hocevar
48bf48a4e4
math: move the Remez algorithm implementation to the core.
14 years ago
Sam Hocevar
0161879a84
core: try to merge Ticker and Emcee. Still not very good.
14 years ago
Sam Hocevar
3d3ec36548
core: start working on the Emcee class.
14 years ago
Sam Hocevar
29db078d6a
core: add a mediocre threading system as the base for the real thing.
14 years ago
Sam Hocevar
11fb586a20
gpu: start implementing a vertex buffer object.
14 years ago
Sam Hocevar
8deb365040
core: write a generic application class.
14 years ago
Sam Hocevar
5fc298964b
core: start working on a "real" class for arbitrarily sized floats.
14 years ago
Sam Hocevar
fe0d76cede
build: fix PS3 and Android build; it was broken since the ImageData refactor.
14 years ago
Sam Hocevar
04c4a959cd
core: add our custom isnan() macro to the core headers.
14 years ago
Sam Hocevar
916d608144
core: define FP_USE on exotic architectures.
14 years ago
Sam Hocevar
1569f1620a
core: mediocre workaround for mingw32 who ignores our FP_USE macro.
14 years ago
Sam Hocevar
e9296e7994
core: implement the FP_USE() macro on x86, amd64 and powerpc.
14 years ago
Sam Hocevar
b3e2429b9e
core: avoid returning to memory when giving GCC floating point hints.
14 years ago
Sam Hocevar
320e70d8c4
core: a few compilation fixes for non-GCC compilers.
14 years ago
Sam Hocevar
82d81256b9
core: implement accelerated lol_sincos() and lol_tan().
14 years ago
Sam Hocevar
49f9c59ff3
core: implement accelerated cos().
14 years ago
Sam Hocevar
a65c472ffd
core: add a code shortcut for sin() on platforms that have cheap branches.
14 years ago
Sam Hocevar
1b33a7fcb7
core: start implementing optimised trigonometry functions for PS3 and x86.
14 years ago
Sam Hocevar
8b71ddb30c
core: implement new half / float operations and the associated tests.
14 years ago
Sam Hocevar
96007d26c4
core: start working on the "half" type.
14 years ago
Sam Hocevar
6b1985d95f
android: keep a pointer on the global Java VM instead of the current
environment, so back-to-jvm techniques can work from any thread.
14 years ago
Sam Hocevar
f79a3c52b5
core: add a Sprite class to try to factor some common logic currently
found in the game. Will be greatly improved later.
14 years ago
Sam Hocevar
533b3b33e0
render: add a Gradient class that will be used for dithering later.
14 years ago
Sam Hocevar
660962e894
build: put debug stuff and shader stuff in subdirectories.
14 years ago
Sam Hocevar
f23ce9c7b4
ui: add a Platform class to query information about the current platform.
Implement GetMouseCount() to query the number of mice on the system.
14 years ago
Sam Hocevar
22b7a41c2e
core: fix include guard naming scheme.
14 years ago
Sam Hocevar
1e5624d551
core: create a logger class to reduce printf usage.
14 years ago
Sam Hocevar
edd75a3c89
Add the Image class for better abstraction.
15 years ago
Sam Hocevar
07ebcb6e29
Implement CRC32 in the new Hash class. Will be useful for Dict and for
the new Shader cache.
15 years ago