Sam Hocevar
|
56f093817d
|
math: don't use the LLU suffix for 64-bit numbers and don't use floorf().
|
11 anos atrás |
Sam Hocevar
|
affdedd835
|
test: more complete PRNG unit tests.
|
11 anos atrás |
Sam Hocevar
|
700520d4d6
|
math: move rand() to its own header, ensure it only returns
positive values, and add a unit test for rand<int>.
|
11 anos atrás |
Benjamin ‘Touky’ Huet
|
0abe5573e5
|
easymesh : an ASSERT was not properly setup.
|
11 anos atrás |
Sam Hocevar
|
9819425ba0
|
math: replace RandF() with a more generic rand() template function
that lets us draw integer random values too.
|
11 anos atrás |
Sam Hocevar
|
1e95b39a62
|
build: various compilation fixes.
|
11 anos atrás |
Sam Hocevar
|
be4f7d63b3
|
easymesh: add proper virtual destructors to some classes.
|
11 anos atrás |
Sam Hocevar
|
3dd8f8118b
|
ps3: fix a bug and add better error reporting in the image loader.
|
11 anos atrás |
Sam Hocevar
|
b29519602a
|
debug: fewer lines of code in DrawBox().
|
11 anos atrás |
Benjamin ‘Touky’ Huet
|
ea603d48e3
|
easymesh : Vertex attribute name can now be customize. Vertex declaration code simplification, ASSERT is more understandable.
|
11 anos atrás |
Sam Hocevar
|
39a8c26fb5
|
base: start removing occurrences of NULL on our long journey to nullptr.
|
11 anos atrás |
Sam Hocevar
|
872efdb880
|
debug: add Debug::DrawLine() and Debug::DrawBox() methods.
|
11 anos atrás |
Sam Hocevar
|
aeb1b68377
|
mrpigeon: can now play using spacebar.
|
11 anos atrás |
Sam Hocevar
|
e9b4985dbd
|
gpu: add MeshPrimitive::Lines enum and modify the cube tutorial
to show how it can be used.
|
11 anos atrás |
Sam Hocevar
|
f72381c28a
|
audio: add Sampler::LoopSample().
|
11 anos atrás |
Sam Hocevar
|
1ff5c99da0
|
build: do not assume the OS X compiler understands -ObjC++.
|
11 anos atrás |
Sam Hocevar
|
4bf349fe81
|
audio: add Sampler::StopSample() method.
|
11 anos atrás |
Sam Hocevar
|
578ec1d413
|
audio: add a simple Stop() method to samples.
|
11 anos atrás |
Sam Hocevar
|
5b23d7cceb
|
math: minor code simplification in Box2D/Box3D.
|
11 anos atrás |
Sam Hocevar
|
586a984498
|
build: look for backtrace_symbols() before enabling the Unix stack
walking code.
|
11 anos atrás |
Sam Hocevar
|
8143b73ffb
|
math: add Box2d + vec2 operations for easy box translations.
|
11 anos atrás |
Sam Hocevar
|
1c3ca01ea0
|
build: fix a few compiler warnings here and there.
|
11 anos atrás |
Sam Hocevar
|
1d0eab0203
|
base: on Linux and some other architectures, dump a stack trace before
crashing from an assertion failure.
|
11 anos atrás |
Sam Hocevar
|
756859b6b4
|
build: automatically allocate an X server number in the unit tests.
|
11 anos atrás |
Sam Hocevar
|
16a620d537
|
scene: start refactoring the camera code; we now have a stack of cameras
in the scene where we can push and pop cameras.
|
11 anos atrás |
Sam Hocevar
|
fdc877cc29
|
math: fix an idiotic bug in the box-box intersection routine.
|
11 anos atrás |
Sam Hocevar
|
7b30d99725
|
test: unit test for 2D boxes.
|
11 anos atrás |
Sam Hocevar
|
74836555be
|
lolremez: minor refactor.
|
11 anos atrás |
Sam Hocevar
|
29996cddec
|
build: fix btphystest.vcxproj.
|
11 anos atrás |
Sam Hocevar
|
65161c6809
|
math: add BoxIsectBox() method to test interesections.
|
11 anos atrás |
Sam Hocevar
|
2cdb570799
|
math: add a default constructor to box classes.
|
11 anos atrás |
Sam Hocevar
|
eeca0c0339
|
math: add Box2D and Box3D classes.
|
11 anos atrás |
Sam Hocevar
|
36c36525a2
|
gpu: fix GLSL ES syntax errors in various shaders.
|
11 anos atrás |
Benjamin ‘Touky’ Huet
|
b46adfa65b
|
easymesh : Tweak previous crashfix.
|
11 anos atrás |
Benjamin ‘Touky’ Huet
|
e7466ba956
|
easymesh : EasyMeshData crashfix
|
11 anos atrás |
Sam Hocevar
|
80e0d4c1c0
|
math: replace Interp with TimeInterp. We'll see how useful it gets.
|
11 anos atrás |
Sam Hocevar
|
8b7482ae09
|
build: bad lolbot! fix the mess caused by its file renames.
|
11 anos atrás |
Lolbot
|
ad2ddbb715
|
build: convert source files to lowercase.
|
11 anos atrás |
Sam Hocevar
|
75a39b691e
|
test: add unit tests for maps using C strings as keys.
|
11 anos atrás |
Sam Hocevar
|
2b1932b325
|
build: avoid M_PI_2, the PS3 doesn’t have it.
|
11 anos atrás |
Sam Hocevar
|
bb28344eb7
|
build: fix compiler warnings and Linux and PS3 build issues.
|
11 anos atrás |
Lolbot
|
8e0816a7c3
|
fixed 5 files out of 2487:
- removed 0 CR characters
- removed 22 trailing whitespaces
- replaced 11 tabs with spaces
|
11 anos atrás |
Benjamin ‘Touky’ Huet
|
930dcfd109
|
tactics : first commit. Arena, characters, state machine and all the funny stuff.
|
11 anos atrás |
Sam Hocevar
|
b12e6f914c
|
base: fix typo in sample.cpp that prevented sample loads.
|
11 anos atrás |
Benjamin ‘Touky’ Huet
|
77dcb3c146
|
EasyMesh : vdecl/vbo flag test fixup.
Tileset : added GetTileSize().
|
11 anos atrás |
Benjamin ‘Touky’ Huet
|
96972cdc4d
|
easymesh : Bitfield big Fuckup. Never code drunk.
|
11 anos atrás |
Sam Hocevar
|
b9d6454c30
|
base: prevent instantiation of several static-only classes.
|
11 anos atrás |
Sam Hocevar
|
876b4ec8e5
|
base: forbid the creation of Sampler objects.
|
11 anos atrás |
Sam Hocevar
|
5ea012c192
|
base: add Array::Swap() method and the corresponding unit test.
|
11 anos atrás |
Sam Hocevar
|
6c8186389f
|
math: Interp class for frame-independent interpolation.
|
11 anos atrás |