Sam Hocevar
|
ddeaa5f81a
|
build: reorganise automake build system.
|
11 years ago |
Sam Hocevar
|
5e5deb84d2
|
build: fix X360 and PS3 builds.
|
11 years ago |
Sam Hocevar
|
526feb9b80
|
sys: use progressively larger temporary buffers when reading files.
|
11 years ago |
Sam Hocevar
|
75d4503a01
|
ps3: implement very simple audio playback.
|
11 years ago |
Sam Hocevar
|
e041ea7602
|
sys: don't read files on the stack; either we'll overflow or we'll be slow.
|
11 years ago |
Sam Hocevar
|
edd09e08f5
|
ps3: create an audio device at startup.
|
11 years ago |
Sam Hocevar
|
ba58bbbdcd
|
ps3: implement Lua file loading.
|
11 years ago |
Sam Hocevar
|
aeda5c74f7
|
gpu: ugly hack to avoid sprite artifacts on the PS3.
|
11 years ago |
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
|
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
|
18fd5c9081
|
math: try to refactor rand() to bypass an X360 compiler bug.
|
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
|
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
|
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
|
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 |