Benjamin ‘Touky’ Huet
747da72c44
Input : Small refactor, for clarity, easiness and beautification.
Constants : Added minus one.
11 年前
Sam Hocevar
5f3ad5cc15
math: add constant vectors vec2::zero, vec2::axis_x, etc.
11 年前
Benjamin ‘Touky’ Huet
0a7dc44a67
Added MessageService : Basic & Naive Message logging.
Camera & vector.cpp : Fixed shifted_perspective crash with almost zero FOV.
11 年前
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.
11 年前
Benjamin ‘Touky’ Huet
a03c38872d
btPhysTest : Added a new test mode called "CAT_MODE". Try it out at your own risks.
11 年前
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
7468547abc
ps4: prepare for the fioutaah!
11 年前
Sam Hocevar
068a328651
gpu: fix the Direct3D version of most rendering functions.
11 年前
Sam Hocevar
716c2b5592
gpu: create a Renderer and a RenderContext class to handle render states
such as alpha blending, depth test, etc.
11 年前
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.
12 年前
Sam Hocevar
76c1960cc2
build: make lolcore depend on lolbullet, as it is supposed to.
12 年前
Sam Hocevar
6e1156aaea
build: split the main library into lolcore and lolbullet.
12 年前
Benjamin ‘Touky’ Huet
bb0051ae8e
render : Added DebugRenderMode & corresponding shaders. naive (VERY) implementation in MeshViewer.
12 年前
Sam Hocevar
32e3cff46a
sys: Atomic template class for thread-safe and potentially lockless
structures.
12 年前
Sam Hocevar
c7767c6c64
sys: create an empty File class.
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
8613d04c03
core: implement a cool ASSERT() macro.
12 年前
Sam Hocevar
4a643241be
build: remove leftover entries from .vcxproj.
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
145ad9e806
build: fix a ClInclude that should have been ClCompile.
12 年前
Sam Hocevar
1a54a81167
sys: move thread.h to the sys/ directory.
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 年前
Sam Hocevar
44f324a354
color: add conversion from CIE-xyY to CIE-XYZ and start working on
a wavelength to saturated xyY function based on the standard observer
data.
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
6c9c8e547e
build: renormalise a lot of files.
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
949128d325
core: implement String::Printf() and start working on the unit tests.
I'm gonna commit this right now though I'm not really sure whether Visual
Studio will agree to build va_copy and others.
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
8cff2e9c8b
debug: get rid of DebugSphere, it's totally obsoleted by EasyMesh.
12 年前
Sam Hocevar
100f53e550
gpu: convert the gradient shader to a LolFx effect file.
12 年前
Sam Hocevar
ca1050e047
debug: get rid of quad.cpp, it's become useless.
12 年前
Sam Hocevar
2297288114
gpu: get rid of the inline 2D shader and create "tile.lolfx".
12 年前
Sam Hocevar
a969597a56
build: rename "Lol.Core.Build.props" to the more explicit "config-build.xml"
and add a new "UseBullet" configuration flag.
12 年前