Sam Hocevar
b369be3dd7
build: various Windows compilation fixes.
11 jaren geleden
Sam Hocevar
5fb1ce656f
math: add an Array2D class that acts like a 2D matrix.
11 jaren geleden
Sam Hocevar
47e71bda63
base: rough implementation of safe enums with minimal ToString() support.
11 jaren geleden
Sam Hocevar
7e769d6c79
base: make the safe enums slightly safer. :-)
11 jaren geleden
Benjamin ‘Touky’ Huet
f5e37a4337
AddedSprite_sorter stores parameters now.
Added palette in Scene.
11 jaren geleden
Benjamin ‘Touky’ Huet
58a0c1001a
ThreadManager is now an entity, it's awesooooome
11 jaren geleden
Benjamin ‘Touky’ Huet
3d4b3d53c3
Added bunch of stuff on threads and images.
11 jaren geleden
Benjamin ‘Touky’ Huet
98eb66b6c8
geomerty cleanup & tweak
11 jaren geleden
Benjamin ‘Touky’ Huet
04dff54084
Added aabb_tree.h to the main branch.
11 jaren geleden
Sam Hocevar
92c2f69d07
algorithm: move Array::Sort out of the base headers because their implementation
requires stuff from lol/math, too.
11 jaren geleden
Sam Hocevar
547fe6a908
color: utility functions to convert vec3 colors to hex strings.
12 jaren geleden
Sam Hocevar
d46e63ff29
build: VS2012 solution and project tweaks for exotic platforms.
12 jaren geleden
Benlitz
246af694d8
removed vs2010 solution, migrated all projects to 2012. VsLol stays on 2010 for compatibility and now has its own sln.
12 jaren geleden
Sam Hocevar
1945e85afc
scene: start working on the scene class reorganisation.
12 jaren geleden
Benjamin ‘Touky’ Huet
2b6b50aa26
EZMesh : Some files splitup
12 jaren geleden
Sam Hocevar
470fbbc550
build: add Abuse to the Visual Studio solution and exclude NaCl files
from all platform builds.
12 jaren geleden
Benjamin ‘Touky’ Huet
4029f475e4
for ze LOL
12 jaren geleden
Benjamin ‘Touky’ Huet
34688578ae
Added Shiny flat lolfx
12 jaren geleden
Benjamin ‘Touky’ Huet
747da72c44
Input : Small refactor, for clarity, easiness and beautification.
Constants : Added minus one.
12 jaren geleden
Sam Hocevar
5f3ad5cc15
math: add constant vectors vec2::zero, vec2::axis_x, etc.
12 jaren geleden
Benjamin ‘Touky’ Huet
0a7dc44a67
Added MessageService : Basic & Naive Message logging.
Camera & vector.cpp : Fixed shifted_perspective crash with almost zero FOV.
12 jaren geleden
Benjamin ‘Touky’ Huet
d8114e6cfb
String : Added ::replace(char, char, bool), ::ToLower(), ::ToUpper()
Added utils.h : GetRandom(Array<T>) : gets a random element in a template list with weight logic.
T FindValue(char*) : Find the value of a safe enum from the given name (when GetName is implemented)
swap(T&, T&) is now in here too.
12 jaren geleden
Benjamin ‘Touky’ Huet
a03c38872d
btPhysTest : Added a new test mode called "CAT_MODE". Try it out at your own risks.
12 jaren geleden
Benlitz
8a657ea287
input: Removed previous input system
12 jaren geleden
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)
12 jaren geleden
Sam Hocevar
7468547abc
ps4: prepare for the fioutaah!
12 jaren geleden
Sam Hocevar
068a328651
gpu: fix the Direct3D version of most rendering functions.
12 jaren geleden
Sam Hocevar
716c2b5592
gpu: create a Renderer and a RenderContext class to handle render states
such as alpha blending, depth test, etc.
12 jaren geleden
Sam Hocevar
f7dbc33524
build: update .vcxproj files.
12 jaren geleden
Sam Hocevar
6faf4ee067
base: roll our own constants because it’s always a pain in the ass
to get M_PI from the platform headers and cast it to float.
12 jaren geleden
Sam Hocevar
c46b3fbfec
image: remove the Image::Format enum and use PixelFormat instead.
12 jaren geleden
Sam Hocevar
c59fc670c2
core: import pristine lua 5.2.1 in the engine code.
12 jaren geleden
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 jaren geleden
Sam Hocevar
872efdb880
debug: add Debug::DrawLine() and Debug::DrawBox() methods.
12 jaren geleden
Sam Hocevar
1d0eab0203
base: on Linux and some other architectures, dump a stack trace before
crashing from an assertion failure.
12 jaren geleden
Sam Hocevar
6c8186389f
math: Interp class for frame-independent interpolation.
13 jaren geleden
Sam Hocevar
76c1960cc2
build: make lolcore depend on lolbullet, as it is supposed to.
13 jaren geleden
Sam Hocevar
6e1156aaea
build: split the main library into lolcore and lolbullet.
13 jaren geleden
Benjamin ‘Touky’ Huet
bb0051ae8e
render : Added DebugRenderMode & corresponding shaders. naive (VERY) implementation in MeshViewer.
13 jaren geleden
Sam Hocevar
32e3cff46a
sys: Atomic template class for thread-safe and potentially lockless
structures.
13 jaren geleden
Sam Hocevar
c7767c6c64
sys: create an empty File class.
13 jaren geleden
Sam Hocevar
06c4ec01c3
base: move headers around and promote gpu/ to lol/gpu/.
13 jaren geleden
Sam Hocevar
0ba4e6d9e0
easymesh: interface the shiny shader with new Light objects.
13 jaren geleden
Sam Hocevar
8613d04c03
core: implement a cool ASSERT() macro.
13 jaren geleden
Sam Hocevar
4a643241be
build: remove leftover entries from .vcxproj.
13 jaren geleden
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.
13 jaren geleden
Sam Hocevar
145ad9e806
build: fix a ClInclude that should have been ClCompile.
13 jaren geleden
Sam Hocevar
1a54a81167
sys: move thread.h to the sys/ directory.
13 jaren geleden
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.
13 jaren geleden
Benjamin ‘Touky’ Huet
3d56a23a55
Added geometry basic functions.
TODO : second pass on coding-style, and some tweak & usage modification.
13 jaren geleden