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