Sam Hocevar
|
3364a1ab0c
|
tutorial: randomise colours.
|
11 years ago |
Sam Hocevar
|
d34d31dae0
|
base: some refactoring in the tileset class.
|
11 years ago |
Sam Hocevar
|
6faf4ee067
|
base: roll our own constants because it’s always a pain in the ass
to get M_PI from the platform headers and cast it to float.
|
11 years ago |
Benjamin ‘Touky’ Huet
|
07a8a174ae
|
12_voronoi : Added death round.
|
11 years ago |
Sam Hocevar
|
d4372a6a1e
|
android: open files through the asset manager, meaning Lua works.
|
11 years ago |
Sam Hocevar
|
a6bcbd5e58
|
android: refactor the application code to use fewer free functions.
|
11 years ago |
Sam Hocevar
|
8c21c22723
|
tutorial: don’t use MSVC extensions in our code.
|
11 years ago |
Benjamin ‘Touky’ Huet
|
d1209d5598
|
CIS FAIL
|
11 years ago |
Benjamin ‘Touky’ Huet
|
cde747667c
|
12_voronoi : Added GPU Voronoi test.
|
11 years ago |
Sam Hocevar
|
3af7e62b6a
|
android: switch to NativeActivity instead of rolling our own Java crap;
no known regressions yet.
|
11 years ago |
Sam Hocevar
|
a5388b434b
|
build: fail the Android build upon error and make it idempotent.
|
11 years ago |
Sam Hocevar
|
ff7904d96c
|
build: big Android build system refactor; we now attempt to build
an apk for each project.
|
11 years ago |
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
|
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 |