Sam Hocevar
|
32e3cff46a
|
sys: Atomic template class for thread-safe and potentially lockless
structures.
|
11 years ago |
Sam Hocevar
|
c7767c6c64
|
sys: create an empty File class.
|
11 years ago |
Sam Hocevar
|
886173c3cc
|
build: add a few missing files to make dist.
|
11 years ago |
Sam Hocevar
|
06c4ec01c3
|
base: move headers around and promote gpu/ to lol/gpu/.
|
11 years ago |
Benjamin ‘Touky’ Huet
|
7f5c20238b
|
easymesh : CSG operation is now handled with a safe enum.
|
11 years ago |
Sam Hocevar
|
eead925c59
|
math: use "degrees" as the variable name for rotations for clarity.
|
11 years ago |
Benjamin ‘Touky’ Huet
|
23c13f6c4b
|
comment : //Angle in degree
Because goldfishes have no memory.
|
11 years ago |
Sam Hocevar
|
4678b4cb75
|
math: fix a signed integer overflow issue in the fast factorial
computation function.
|
11 years ago |
Sam Hocevar
|
4ee0f5e29e
|
math: friend declarations aren’t proper declarations; add the
required declarations for real free functions.
|
11 years ago |
Sam Hocevar
|
d4766d410f
|
build: fix all vector/scalar type mismatches such as "vec2 * double"
instead of "vec2 * float".
|
11 years ago |
Sam Hocevar
|
16d53895fa
|
math: remove coercion rules in the vector classes, they increase the
compilation time for very little benefit and maybe even confusion.
|
11 years ago |
Sam Hocevar
|
a4608bb51b
|
ps3: fix typo in ps3app.cpp.
|
11 years ago |
Sam Hocevar
|
1f487e5e6f
|
gpu: OpenGL ES compilation fix: GL_RGB8 is desktop OpenGL only.
|
11 years ago |
Sam Hocevar
|
8fd2ac17ba
|
ps3: compilation for old GCC complaining about non-trivial designated
initalisers.
|
11 years ago |
Sam Hocevar
|
29d5bb3b96
|
gpu: fix compilation on GL ES platforms.
|
11 years ago |
Sam Hocevar
|
42fb9b6853
|
gpu: support 1-component (luminance) textures.
|
11 years ago |
Sam Hocevar
|
456f5e8892
|
ps3: add support for resolution selection.
|
11 years ago |
Sam Hocevar
|
bd6510ec45
|
color: fix a logic error in RGBToHSL.
|
11 years ago |
Sam Hocevar
|
2ef61862d8
|
math: implement clamp() for base C++ types and add more safeguards
to the RGB to HSV conversion.
|
11 years ago |
Sam Hocevar
|
e14a8d68a2
|
color: slightly tweak the RGB to HSV and HSL conversions for
improved numerical stability on i386.
|
11 years ago |
Sam Hocevar
|
4be5ebd8b3
|
ps3: use network fallback for image files.
|
11 years ago |
Sam Hocevar
|
32753fa130
|
build: fix a few macro logic issues in SDL.h inclusion.
|
11 years ago |
Sam Hocevar
|
1e973c81bd
|
build: add SDL detection code in new file lol-sdl.m4. The SDL2 version is
disabled until the engine code itself is ported to SDL2.
|
11 years ago |
Sam Hocevar
|
b25222af18
|
base: implement UNUSED() macro and put it here and there.
|
12 years ago |
Benjamin ‘Touky’ Huet
|
7a051f9455
|
Added MeshViewer new project, its goal being to have a program capable of previewing a mesh from an outer source (.txt, js, etc ...) in order to speed up mesh creation.
Added RadialJitter("rj") to EasyMesh parser.
|
12 years ago |
Sam Hocevar
|
9f6814fbd8
|
gpu: fix PS3 compilation caused by wrong function names.
|
12 years ago |
Sam Hocevar
|
0ba4e6d9e0
|
easymesh: interface the shiny shader with new Light objects.
|
12 years ago |
Sam Hocevar
|
e960628223
|
gpu: allow to set array uniform values.
|
12 years ago |
Benjamin ‘Touky’ Huet
|
b273f1729e
|
Small fix in template lerp
|
12 years ago |
Sam Hocevar
|
3adf42b00c
|
build: hide LolFx external declarations behind macros.
|
12 years ago |
Sam Hocevar
|
39cd7a1fd0
|
build: revert the weak symbol work; it confuses Visual Studio too much.
|
12 years ago |
Sam Hocevar
|
d3af7653c0
|
build: provide weak symbols for lol_sdl_main on Visual Studio.
|
12 years ago |
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 years ago |
Sam Hocevar
|
69629d16c1
|
color: tweak RGB to HSV/HSL code for not yet investigated numerical
stability issues.
|
12 years ago |
Sam Hocevar
|
b07216ae20
|
base: add missing local using statement for namespace std.
|
12 years ago |
Sam Hocevar
|
57814351b9
|
base: optimise array concatenation, fix string concatenation, and fix
string concatenation unit tests.
|
12 years ago |
Sam Hocevar
|
41b752e635
|
base: tweak the asserts in the String class, add String::Sub() method
for substrings, and the corresponding unit tests.
|
12 years ago |
Sam Hocevar
|
0ea4133bba
|
base: add safety asserts to the Array and String classes.
|
12 years ago |
Sam Hocevar
|
8613d04c03
|
core: implement a cool ASSERT() macro.
|
12 years ago |
Sam Hocevar
|
e7806e96cc
|
build: check for getcwd() and _getcwd() and configure time.
|
12 years ago |
Sam Hocevar
|
937f3e4522
|
sys: check for <unistd.h> and use getcwd() properly on non-Windows systems.
|
12 years ago |
Sam Hocevar
|
7d9d7184f3
|
base: fix header guard names.
|
12 years ago |
Sam Hocevar
|
34948b7a0c
|
base: fix a bug in the String fixed-size constructor.
|
12 years ago |
Sam Hocevar
|
ce04c94ff3
|
sys: retrieve executable path if available.
|
12 years ago |
Sam Hocevar
|
4a643241be
|
build: remove leftover entries from .vcxproj.
|
12 years ago |
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 years ago |
Sam Hocevar
|
c65b715e3a
|
core: implement String::Printf() for va_list arguments.
|
12 years ago |
Sam Hocevar
|
a2b1a60689
|
core: fix PS3 compilation.
|
12 years ago |
Sam Hocevar
|
75b677cade
|
core: add missing <cstring> include in our string.h.
|
12 years ago |
Sam Hocevar
|
bbf72e1a64
|
core: pass the project directory to the binary build and get rid of
that 2-year old "temporary Win32 hack".
|
12 years ago |