Sam Hocevar
|
e14a8d68a2
|
color: slightly tweak the RGB to HSV and HSL conversions for
improved numerical stability on i386.
|
пре 12 година |
Sam Hocevar
|
9d06eb6503
|
meshviewer: add two lights.
|
пре 12 година |
Sam Hocevar
|
b25222af18
|
base: implement UNUSED() macro and put it here and there.
|
пре 12 година |
Sam Hocevar
|
fef577669e
|
meshviewer: include <cfloat> for missing FLT_MAX definition.
|
пре 12 година |
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 година |
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
|
57814351b9
|
base: optimise array concatenation, fix string concatenation, and fix
string concatenation unit tests.
|
пре 12 година |
Sam Hocevar
|
a5cb244d1d
|
test: add unit tests for the String class; they currently fail
because we actually have a bug!
|
пре 12 година |
Sam Hocevar
|
41b752e635
|
base: tweak the asserts in the String class, add String::Sub() method
for substrings, and the corresponding unit tests.
|
пре 12 година |
Sam Hocevar
|
bbf72e1a64
|
core: pass the project directory to the binary build and get rid of
that 2-year old "temporary Win32 hack".
|
пре 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 година |
Sam Hocevar
|
3973f80a9d
|
base: fix a nasty double free issue in Array::Remove().
|
пре 12 година |
Sam Hocevar
|
47cf667a93
|
color: write the RGB to HSL routine and its associated unit tests.
|
пре 12 година |
Sam Hocevar
|
5715742774
|
color: optimise RGB to HSV conversion routine using my latest findings,
and add a simple unit test function.
|
пре 12 година |
Benjamin ‘Touky’ Huet
|
c7219ff1dd
|
New year copyright update.
|
пре 12 година |
Sam Hocevar
|
99b0874652
|
color: simplify CIEDE2000 distance code.
|
пре 12 година |
Sam Hocevar
|
b12c16448a
|
color: fix a mistake in the CIEDE2000 color-difference formula.
|
пре 12 година |
Sam Hocevar
|
a5ba03b405
|
color: unit test data for the CIEDE2000 color-difference formula.
|
пре 12 година |
Sam Hocevar
|
d6634da83f
|
build: fix the WTFPL site URL in all code comments.
|
пре 12 година |
Sam Hocevar
|
6c9c8e547e
|
build: renormalise a lot of files.
|
пре 12 година |
Jean-Yves Lamoureux
|
2574ddb446
|
* vcxproj weirdness
|
пре 12 година |
Benjamin ‘Touky’ Huet
|
924a2afbbe
|
the stupidest idea of the day : the cube light, specular still missing.
|
пре 12 година |
Benjamin ‘Touky’ Huet
|
ea517c2926
|
Added tsw (ToggleScaleWinding) command in EasyMesh Parser to make old-school celShading contour.
|
пре 12 година |
Sam Hocevar
|
bbc2edcc8e
|
core: we can now set Map elements using simply map[foo] = bar, no need for
a Set() method. Also, new HasKey() method.
|
пре 12 година |
Sam Hocevar
|
dff7a5b72c
|
core: do not use va_copy since Visual Studio doesn’t know about it.
|
пре 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
|
52e7f2f399
|
build: add missing bullet .h files to Makefile.am.
|
пре 12 година |
Sam Hocevar
|
46f7e750c0
|
core: more string concatenation and comparison methods, plus a lot
of unit tests for the String class.
|
пре 12 година |
Sam Hocevar
|
bbca3b6e59
|
build: fixes for out-of-tree builds, and get rid of
some deprecated stuff.
|
пре 12 година |
Sam Hocevar
|
57c2805351
|
math: reimplement min(), max(), abs() and fmod() in the lol:: namespace to
avoid conflicts with the C++ stdlib.
|
пре 12 година |
Sam Hocevar
|
50ff3f9ce0
|
ps3: refactor elf → self build logic and make make_fself mandatory
when building for the PS3 on a Unix system.
|
пре 12 година |
Sam Hocevar
|
bd66a8bcf2
|
build: some build system fixes.
|
пре 12 година |
Sam Hocevar
|
e390f03e0a
|
build: add a common.am include file and a "make lolcheck" target that does
nothing for now except ensure that every makefile includes common.am.
|
пре 12 година |
Sam Hocevar
|
7ebb577fe8
|
test: fix mesh settings in the physics demo.
|
пре 12 година |
Sam Hocevar
|
d4c0c005d6
|
math: refactor real number constant declarations so that they are only
computed on demand with static initialisation.
|
пре 12 година |
Lolbot
|
23807ea88e
|
fixed 23 files out of 277:
- fixed 1270 CR characters
- fixed 56 trailing spaces
- fixed 5085 tabs
|
пре 12 година |
Benjamin ‘Touky’ Huet
|
486029decd
|
Revert
|
пре 12 година |
Benjamin ‘Touky’ Huet
|
b887ac5355
|
Small refactor on the BulletCc.
|
пре 12 година |
Sam Hocevar
|
ca1050e047
|
debug: get rid of quad.cpp, it's become useless.
|
пре 12 година |
Benjamin ‘Touky’ Huet
|
7e4252a38f
|
CIS:CSI
|
пре 12 година |
Benjamin ‘Touky’ Huet
|
c0d15f170a
|
|
пре 12 година |
Benjamin ‘Touky’ Huet
|
a11c50b3e7
|
small tweak on BtPhysTest. does not work better.
|
пре 12 година |
Benjamin ‘Touky’ Huet
|
006c3c4649
|
BulletCharacterController is now readable by a human being.
BtPhysTest now implements it with the BtKineCC logic -just modify that now-.
|
пре 12 година |
Sam Hocevar
|
5f94ceb454
|
input: switch all key names to camel case, like our other enums.
|
пре 12 година |
Sam Hocevar
|
c081275aca
|
test: fix Touky's brainfart.
|
пре 12 година |
Benjamin ‘Touky’ Huet
|
100119a07b
|
Added BulletCharacter Dummy code.
|
пре 12 година |
Benjamin ‘Touky’ Huet
|
e743eae5f7
|
Fixed Makefile.am
|
пре 12 година |
Sam Hocevar
|
f2c269cb1e
|
math: add dot() for quaternions, plus the relevant unit test.
|
пре 12 година |