Sam Hocevar
b07216ae20
base: add missing local using statement for namespace std.
il y a 12 ans
Sam Hocevar
57814351b9
base: optimise array concatenation, fix string concatenation, and fix
string concatenation unit tests.
il y a 12 ans
Sam Hocevar
a5cb244d1d
test: add unit tests for the String class; they currently fail
because we actually have a bug!
il y a 12 ans
Sam Hocevar
41b752e635
base: tweak the asserts in the String class, add String::Sub() method
for substrings, and the corresponding unit tests.
il y a 12 ans
Sam Hocevar
0ea4133bba
base: add safety asserts to the Array and String classes.
il y a 12 ans
Sam Hocevar
8613d04c03
core: implement a cool ASSERT() macro.
il y a 12 ans
Sam Hocevar
e7806e96cc
build: check for getcwd() and _getcwd() and configure time.
il y a 12 ans
Sam Hocevar
937f3e4522
sys: check for <unistd.h> and use getcwd() properly on non-Windows systems.
il y a 12 ans
Sam Hocevar
7d9d7184f3
base: fix header guard names.
il y a 12 ans
Sam Hocevar
34948b7a0c
base: fix a bug in the String fixed-size constructor.
il y a 12 ans
Sam Hocevar
ce04c94ff3
sys: retrieve executable path if available.
il y a 12 ans
Sam Hocevar
4a643241be
build: remove leftover entries from .vcxproj.
il y a 12 ans
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.
il y a 12 ans
Sam Hocevar
c65b715e3a
core: implement String::Printf() for va_list arguments.
il y a 12 ans
Sam Hocevar
e80e922f0a
build: fix "make dist" and remove empty "src/thread" directory.
il y a 12 ans
Sam Hocevar
8f67c3218f
build: replace \ with / on the PS3 instead of trying to escape backslashes.
il y a 12 ans
Sam Hocevar
44c3f1c6a7
build: try to escape double quotes in .props file.
il y a 12 ans
Sam Hocevar
50d5c11e67
build: fuck msbuild, again.
il y a 12 ans
Sam Hocevar
b00282a79f
build: try to bypass a SNC VSI issue with string replacements.
il y a 12 ans
Sam Hocevar
a2b1a60689
core: fix PS3 compilation.
il y a 12 ans
Sam Hocevar
dc58e55626
build: do not try to fix formatting in people/benlitz/*.
il y a 12 ans
Sam Hocevar
75b677cade
core: add missing <cstring> include in our string.h.
il y a 12 ans
Sam Hocevar
06b50b7360
build: speed up Visual Studio builds by always disabling minimal rebuilds,
hence allowing multiprocessor builds.
il y a 12 ans
Sam Hocevar
bbf72e1a64
core: pass the project directory to the binary build and get rid of
that 2-year old "temporary Win32 hack".
il y a 12 ans
Sam Hocevar
6ce17605a7
string: implement String::Last() and a constructor for fixed-length strings.
il y a 12 ans
Sam Hocevar
145ad9e806
build: fix a ClInclude that should have been ClCompile.
il y a 12 ans
Sam Hocevar
1a54a81167
sys: move thread.h to the sys/ directory.
il y a 12 ans
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.
il y a 12 ans
Sam Hocevar
8dd6d33a6d
base: implement String::Resize().
il y a 12 ans
Lolbot
7e4da3d634
fixed 27 files out of 2315:
- removed 0 CR characters
- removed 188 trailing whitespaces
- replaced 537 tabs with spaces
il y a 12 ans
Benjamin ‘Touky’ Huet
ad275175b8
Tweak to prevent tri_to_process.Last().m1 emptying.
il y a 12 ans
Sam Hocevar
3973f80a9d
base: fix a nasty double free issue in Array::Remove().
il y a 12 ans
Benjamin ‘Touky’ Huet
1038fa7fbe
Small MeshCsg return FIX
il y a 12 ans
Benjamin ‘Touky’ Huet
6db0694db4
Revert shiny.lolfx to previous, monogolo-commit.
il y a 12 ans
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.
il y a 12 ans
Benjamin ‘Touky’ Huet
3d56a23a55
Added geometry basic functions.
TODO : second pass on coding-style, and some tweak & usage modification.
il y a 12 ans
Sam Hocevar
f44e3e323b
core: you can now while(app.MustTick()) { Tick(); } instead of app.Run().
il y a 12 ans
Benlitz
4146c9524e
Benlitz first test project setup
il y a 12 ans
Sam Hocevar
d3032e3e67
color: slightly better HSVToRGB routine.
il y a 12 ans
Sam Hocevar
47cf667a93
color: write the RGB to HSL routine and its associated unit tests.
il y a 12 ans
Sam Hocevar
5715742774
color: optimise RGB to HSV conversion routine using my latest findings,
and add a simple unit test function.
il y a 12 ans
Benjamin ‘Touky’ Huet
c7219ff1dd
New year copyright update.
il y a 12 ans
Sam Hocevar
d9bdb33bc0
color: a reasonably fast RGB to HSV conversion with only three tests.
il y a 12 ans
Sam Hocevar
71e7146b26
build: minor .gitignore tweak.
il y a 12 ans
Sam Hocevar
080d9720de
vslol: fix an infinite recursion triggered by IntelliSense.
il y a 12 ans
Sam Hocevar
98921eb840
vslol: fix a problem preventing LolFx files from being saved.
il y a 12 ans
jeunathe
08e81c93d1
coding style my ass
il y a 12 ans
jeunathe
504f9a4ca2
Update EasyMesh.Convert() method.
Now takes an optional shader
il y a 12 ans
Sam Hocevar
99b0874652
color: simplify CIEDE2000 distance code.
il y a 12 ans
Sam Hocevar
b12c16448a
color: fix a mistake in the CIEDE2000 color-difference formula.
il y a 12 ans