Sam Hocevar
|
8dbe2e5224
|
gpu: only add the half-texel offset on the X360.
|
11 years ago |
Sam Hocevar
|
6a519771f5
|
lua: add support for lua/init.lua in a global World object and give
it a try in MrPigeon.
|
11 years ago |
Sam Hocevar
|
1dee9a6633
|
ps3: check for newly plugged pads at each frame.
|
11 years ago |
Sam Hocevar
|
c54ca8bf40
|
image: try to reuse existing images when loading them, and don't unload
tilesets yet, but make sure the architecture will allow it.
|
11 years ago |
Sam Hocevar
|
d4dcdb75e6
|
gpu: account for the HLSL half-texel offset on the PS3.
|
11 years ago |
Sam Hocevar
|
e6b0bd07bf
|
image: hide the constructor behind a factory so that we can later
return an already created object if necessary.
|
11 years ago |
Sam Hocevar
|
3106fcfd9d
|
image: fix an invalid implicit cast on Win32.
|
11 years ago |
Sam Hocevar
|
f16704ecb0
|
image: GetData returns uint8_t* instead of void*, it's a lot safer.
|
11 years ago |
Sam Hocevar
|
c46b3fbfec
|
image: remove the Image::Format enum and use PixelFormat instead.
|
11 years ago |
Sam Hocevar
|
5a19e1539d
|
misc: fix a few URLs.
|
11 years ago |
Sam Hocevar
|
6e282a674a
|
base: remove some sprintf() calls in profit of string ops.
|
11 years ago |
Sam Hocevar
|
45f147bca4
|
build: link with -lnosys on NaCl because I don’t have time to
find out what causes the Lua code to require fork().
|
11 years ago |
Sam Hocevar
|
76ff95b587
|
lua: more X360 and NaCl compilation fixes for stuff we don’t need.
|
11 years ago |
Sam Hocevar
|
62870d0894
|
lua: compilation fixes for non-quite-POSIX platforms.
|
11 years ago |
Sam Hocevar
|
45c9e77d58
|
lua: disable Lua signal handling: PS3, X360 or NaCl don't have signal().
|
11 years ago |
Sam Hocevar
|
c59fc670c2
|
core: import pristine lua 5.2.1 in the engine code.
|
11 years ago |
Sam Hocevar
|
e48dbfb8d9
|
build: activate the iPhone autobuilder.
|
11 years ago |
Sam Hocevar
|
33ab2042e7
|
test: disable a few non-essential and potentially incorrect unit tests.
|
11 years ago |
Sam Hocevar
|
18fd5c9081
|
math: try to refactor rand() to bypass an X360 compiler bug.
|
11 years ago |
Sam Hocevar
|
c83dfe7239
|
build: make sure the builds _and_ the autobuilds work around the
memory leak in OS X llvm-g++.
|
11 years ago |
Sam Hocevar
|
94acb0f519
|
build: the “fuck you, Apple” commit; work around three different
compiler bugs in the Xcode toolchain.
|
11 years ago |
Sam Hocevar
|
1b07850346
|
build: a few iOS build fixes; nowhere near ready though.
|
11 years ago |
Sam Hocevar
|
78636c40ef
|
math: fix the shit I just broke.
|
11 years ago |
Sam Hocevar
|
56f093817d
|
math: don't use the LLU suffix for 64-bit numbers and don't use floorf().
|
11 years ago |
Sam Hocevar
|
affdedd835
|
test: more complete PRNG unit tests.
|
11 years ago |
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 years ago |
Benjamin ‘Touky’ Huet
|
0abe5573e5
|
easymesh : an ASSERT was not properly setup.
|
11 years ago |
Sam Hocevar
|
9819425ba0
|
math: replace RandF() with a more generic rand() template function
that lets us draw integer random values too.
|
11 years ago |
Sam Hocevar
|
1e95b39a62
|
build: various compilation fixes.
|
11 years ago |
Sam Hocevar
|
be4f7d63b3
|
easymesh: add proper virtual destructors to some classes.
|
11 years ago |
Sam Hocevar
|
3dd8f8118b
|
ps3: fix a bug and add better error reporting in the image loader.
|
11 years ago |
Sam Hocevar
|
b29519602a
|
debug: fewer lines of code in DrawBox().
|
11 years ago |
Benjamin ‘Touky’ Huet
|
ea603d48e3
|
easymesh : Vertex attribute name can now be customize. Vertex declaration code simplification, ASSERT is more understandable.
|
11 years ago |
Sam Hocevar
|
39a8c26fb5
|
base: start removing occurrences of NULL on our long journey to nullptr.
|
11 years ago |
Sam Hocevar
|
872efdb880
|
debug: add Debug::DrawLine() and Debug::DrawBox() methods.
|
11 years ago |
Sam Hocevar
|
aeb1b68377
|
mrpigeon: can now play using spacebar.
|
11 years ago |
Sam Hocevar
|
e9b4985dbd
|
gpu: add MeshPrimitive::Lines enum and modify the cube tutorial
to show how it can be used.
|
11 years ago |
Sam Hocevar
|
f72381c28a
|
audio: add Sampler::LoopSample().
|
11 years ago |
Sam Hocevar
|
1ff5c99da0
|
build: do not assume the OS X compiler understands -ObjC++.
|
11 years ago |
Sam Hocevar
|
4bf349fe81
|
audio: add Sampler::StopSample() method.
|
11 years ago |
Sam Hocevar
|
578ec1d413
|
audio: add a simple Stop() method to samples.
|
11 years ago |
Sam Hocevar
|
5b23d7cceb
|
math: minor code simplification in Box2D/Box3D.
|
11 years ago |
Sam Hocevar
|
586a984498
|
build: look for backtrace_symbols() before enabling the Unix stack
walking code.
|
11 years ago |
Sam Hocevar
|
8143b73ffb
|
math: add Box2d + vec2 operations for easy box translations.
|
11 years ago |
Sam Hocevar
|
1c3ca01ea0
|
build: fix a few compiler warnings here and there.
|
11 years ago |
Sam Hocevar
|
1d0eab0203
|
base: on Linux and some other architectures, dump a stack trace before
crashing from an assertion failure.
|
11 years ago |
Sam Hocevar
|
756859b6b4
|
build: automatically allocate an X server number in the unit tests.
|
11 years ago |
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 years ago |
Sam Hocevar
|
fdc877cc29
|
math: fix an idiotic bug in the box-box intersection routine.
|
11 years ago |
Sam Hocevar
|
7b30d99725
|
test: unit test for 2D boxes.
|
11 years ago |