Benlitz
8a657ea287
input: Removed previous input system
11 년 전
Benlitz
a7aac24c46
Completely reworked input system. Unified device interface, button, axis and cursor support, controller and binding system, mouse capture. Tutorial 07_input provided. Require to compile lolcore with LOL_INPUT_V2 to be activated (also needed app-side before including core.h)
11 년 전
Sam Hocevar
87a9c3730c
gpu: implement all depth test functions in the renderer.
11 년 전
Sam Hocevar
0b93890556
gpu: implement face culling mode in render contexts.
11 년 전
Sam Hocevar
f2560ff5b8
build: work around a bug in the NaCl SDK C++ headers.
12 년 전
Sam Hocevar
edffeb6d2e
base: refactor Ticker so that it may one day work without threads.
12 년 전
Sam Hocevar
c46b3fbfec
image: remove the Image::Format enum and use PixelFormat instead.
12 년 전
Sam Hocevar
700520d4d6
math: move rand() to its own header, ensure it only returns
positive values, and add a unit test for rand<int>.
12 년 전
Sam Hocevar
39a8c26fb5
base: start removing occurrences of NULL on our long journey to nullptr.
12 년 전
Sam Hocevar
872efdb880
debug: add Debug::DrawLine() and Debug::DrawBox() methods.
12 년 전
Sam Hocevar
06c4ec01c3
base: move headers around and promote gpu/ to lol/gpu/.
12 년 전
Sam Hocevar
0ba4e6d9e0
easymesh: interface the shiny shader with new Light objects.
12 년 전
Sam Hocevar
3adf42b00c
build: hide LolFx external declarations behind macros.
12 년 전
Sam Hocevar
39cd7a1fd0
build: revert the weak symbol work; it confuses Visual Studio too much.
12 년 전
Sam Hocevar
d3af7653c0
build: provide weak symbols for lol_sdl_main on Visual Studio.
12 년 전
Sam Hocevar
96256f45ce
build: use our own main() wrapper in addition to SDL's, and only
in that case. Currently only works with GCC.
12 년 전
Sam Hocevar
8613d04c03
core: implement a cool ASSERT() macro.
12 년 전
Sam Hocevar
5402346b16
core: move the Log and Timer classes to the sys/ subdirectory, use
the String class instead of the stack for logging, and get rid of
the old and useless BitField class.
12 년 전
Sam Hocevar
1a54a81167
sys: move thread.h to the sys/ directory.
12 년 전
Sam Hocevar
6a6e46cf0d
system: try to autodetect the data directory from the executable path;
currently works for images (SDL and GDI+ loaders) and sound samples.
12 년 전
Benjamin ‘Touky’ Huet
4393a43752
Added CSG v0.001a : not optimized, too much operation makes it slow. triangle count is not optimized.
Useage : "...[.... csg*]" equals "current mesh -CSG- the mesh in the braces".
Keywords : CsgUnion<csgu>, CsgSubstract<csgs>, CsgAnd<csga>, CsgXor<csgx>
TODO : cleanup useless code.
TODO : Some bugs are still present, some face that disappear should not.
TODO : Correct epsilon useage (see geometry files).
TODO : Coplanar face are not handled -at all-.
TODO : Vertex count goes through the roof in case of a Xor.
12 년 전
Benjamin ‘Touky’ Huet
3d56a23a55
Added geometry basic functions.
TODO : second pass on coding-style, and some tweak & usage modification.
12 년 전
Benjamin ‘Touky’ Huet
c7219ff1dd
New year copyright update.
12 년 전
Sam Hocevar
10d5d30b85
image: a few colour conversion routines.
12 년 전
Sam Hocevar
d49bb04d20
build: rename “core” directory to “base” because the former is used for core
files on some Unix systems.
12 년 전
Sam Hocevar
d6634da83f
build: fix the WTFPL site URL in all code comments.
12 년 전
Sam Hocevar
2a5d9ed4d8
build: rename Map to LevelMap so that we can use Map for the hashmap.
12 년 전
Sam Hocevar
397c7f2fda
core: implement hashing functions for half, float and double.
12 년 전
Sam Hocevar
0149c30df4
core: refactor the Hash class so that we can hash base types, too.
12 년 전
Sam Hocevar
f2b71d368e
core: new String class.
12 년 전
Sam Hocevar
4a6d092a74
mesh: start working on mesh and submesh stuff.
12 년 전
Sam Hocevar
b438a94642
input: add the Keyboard abstraction object type.
12 년 전
Sam Hocevar
b9aba5d27a
gpu: put the texture creation code in its own class; for now a lot of things are
hardcoded and only the fractal demo uses it, but everything will eventually switch.
12 년 전
Sam Hocevar
26c432be90
gpu: sip an empty LolFx class that embeds the compiler.
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
ed499e0c07
build: add libSDLmain.a binaries for GUI MinGW builds; the provided static
libraries only work with the Visual Studio runtime.
12 년 전
Sam Hocevar
cb1f420933
core: fix the Windows and OS X builds with SDL.
12 년 전
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.
12 년 전
Sam Hocevar
caec5ed082
build: allow to build the PS3 binaries from Visual Studio if the proper
software is installed.
12 년 전
Sam Hocevar
28728814cc
core: replace usage of sin() or std::sin() with lol::sin() where appropriate.
12 년 전
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.
12 년 전
Sam Hocevar
86a16aaff6
easymesh: move the Mesh builder into the engine core.
12 년 전
Sam Hocevar
e2295392b8
gpu: first FrameBuffer GPU class.
12 년 전
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 년 전
Sam Hocevar
58b3c20b86
input: add core joystick support and bind the SDL input to that.
13 년 전
Sam Hocevar
08fc460668
core: move the Camera class from Orbital to the engine core.
13 년 전
Sam Hocevar
578368f452
gpu: abstraction class for index buffers; the cube tutorial no longer
needs to know about Direct3D headers etc.
13 년 전
Sam Hocevar
02e31f5c41
core: add a simple Array template class.
13 년 전
Sam Hocevar
4e4d5a8e06
build: fix GCC build; it doesn't like to have a local file called debug/debug.h.
13 년 전
Sam Hocevar
48c7070243
gpu: replace exit(0) in D3D error checks with lol::Abort().
13 년 전