Sam Hocevar
|
e0330e18d7
|
gpu: fix some Direct3D programming errors; we cannot call SetVertexDeclaration
with a null argument, and the texture stuff was completely messed up.
|
12 years ago |
Sam Hocevar
|
8a688a7d50
|
misc: compilation fixes for Windows, X360 and PS3 introduced by the
texture class refactor.
|
12 years ago |
Sam Hocevar
|
b9aba5d27a
|
gpu: put the texture creation code in its own class; for now a lot of things are
hardcoded and only the fractal demo uses it, but everything will eventually switch.
|
12 years ago |
Sam Hocevar
|
96342ddb0c
|
core: disable our rare uses of realloc() with a proper Array<> object.
|
12 years ago |
Sam Hocevar
|
81076d4407
|
build: safety measure in configure.ac to error out if a Lol Engine m4
macro is undefined.
|
12 years ago |
Sam Hocevar
|
5c60fe42a0
|
build: do not try to advertise a bitten config for Android, NaCl or the
Raspi if running on Windows.
|
12 years ago |
Sam Hocevar
|
bab0d4c7c5
|
build: put the OpenGL detection code in a separate .m4 file and assume
that the OpenGL framework on OS X provides GL version 2 at least.
|
12 years ago |
Sam Hocevar
|
50ff3f9ce0
|
ps3: refactor elf → self build logic and make make_fself mandatory
when building for the PS3 on a Unix system.
|
12 years ago |
Sam Hocevar
|
3f0e214da1
|
build: add a Makefile for jnat's test project.
|
12 years ago |
Sam Hocevar
|
5ee487ecf8
|
build: port run-bitten.sh to OS X.
|
12 years ago |
Sam Hocevar
|
076eb3d1a9
|
build: add Android, NaCl and Raspberry Pi to the list of targets
autodetected by run-bitten.sh.
|
12 years ago |
Sam Hocevar
|
22fe7c2134
|
build: improve the run-bitten script so that it runs on Linux.
|
12 years ago |
Sam Hocevar
|
8c9a5d4779
|
build: add a script to automatically run bitten on Windows. Needs some tweaking
before it also runs on Linux or OS X.
|
12 years ago |
Sam Hocevar
|
10010d77e4
|
android: use the FPS value provided by the application; we now run at
60 fps on Android devices, too.
|
12 years ago |
Sam Hocevar
|
ad00a34984
|
gpu: add support for triangle strips and fans, and change the DrawElement
calls so that they take a number of vertices or indexes, not elements.
|
12 years ago |
Sam Hocevar
|
004d21a4c4
|
ps3: support for texture coordinates on the PS3.
|
12 years ago |
Sam Hocevar
|
7efd7ea071
|
ps3: honour the CELLSDK environment variable if CELL_SDK is not defined.
|
12 years ago |
Sam Hocevar
|
5b57aa50fe
|
core: fix a bad format string and disable an annoying warning in Array<>.
|
12 years ago |
Sam Hocevar
|
e59d306e54
|
build: disable those fucking "Any CPU" and "Mixed Platforms" build
configurations. Seriously, fuck Visual Studio.
|
12 years ago |
Sam Hocevar
|
87f653c504
|
gpu: if 2D tiles have negative scaling, switch the triangle winding.
|
12 years ago |
Sam Hocevar
|
439298ee5e
|
misc: very minor tweaks here and there.
|
12 years ago |
Sam Hocevar
|
6c2fa45b71
|
core: add some noise to the gradient effect.
|
12 years ago |
Sam Hocevar
|
2bf4cb668b
|
math: add a uniform scaling matrix constructor.
|
12 years ago |
Sam Hocevar
|
2d63ce189f
|
core: make Entity::GetName() a public method.
|
12 years ago |
Sam Hocevar
|
1f8ba128d4
|
core: fix sorting of 2D scenes.
|
12 years ago |
Sam Hocevar
|
854409cb6f
|
android: fix a synchronisation issue between Java and the game thread.
|
12 years ago |
Sam Hocevar
|
dead09d2bd
|
android: print thread ID with all messages.
|
12 years ago |
Sam Hocevar
|
3bc83d24a4
|
core: do not deregister Tilers from Sprites, it’s asymmetrical.
|
12 years ago |
Sam Hocevar
|
203ac1a404
|
core: port gradient shader to GL ES platforms.
|
12 years ago |
Sam Hocevar
|
291fd0c3c6
|
android: if current thread is unknown to the JVM, try to register it.
|
12 years ago |
Sam Hocevar
|
8e62b9a2c0
|
build: set default verbosity to 0 and tweak the LolFx build rule so that
it understands V=0 and V=1.
|
12 years ago |
Sam Hocevar
|
bd66a8bcf2
|
build: some build system fixes.
|
12 years ago |
Sam Hocevar
|
ca5238b145
|
lolfx: names such as "x" or "bgra" are field selectors, but we must also
accept them as variable names.
|
12 years ago |
Sam Hocevar
|
dd120a2eec
|
vslol: more robust error checking.
|
12 years ago |
Sam Hocevar
|
743c06371f
|
vslol: detect when the utilities cannot be launched.
|
12 years ago |
Sam Hocevar
|
b73d8b5382
|
vslol: create a Visual Studio plugin that will let us rebuild parsers & lexers.
|
12 years ago |
Sam Hocevar
|
d953508b81
|
build: try to detect the number of CPU cores on Windows.
|
12 years ago |
Sam Hocevar
|
787c96b47c
|
lolfx: improve the LolFx compiler, including error reporting. We can now
successfully parse a few of our full GLSL/HLSL shaders.
|
12 years ago |
Sam Hocevar
|
36d52e2912
|
build: abort make process if a flex or bison run fails.
|
12 years ago |
Sam Hocevar
|
549566cbf1
|
lolfx: use square brackets to indicate shader sections.
|
12 years ago |
Sam Hocevar
|
26c432be90
|
gpu: sip an empty LolFx class that embeds the compiler.
|
12 years ago |
Sam Hocevar
|
c69e487dfc
|
gpu: do not use GLEW on OS X until we are sure that the version we detected
will not try to use X11.
|
12 years ago |
Sam Hocevar
|
5320310f5a
|
build: "make generated" now recursively rebuilds all flex/bison targets.
|
12 years ago |
Sam Hocevar
|
ca909bb317
|
build: refactor lolfx build rule into common.am.
|
12 years ago |
Sam Hocevar
|
e390f03e0a
|
build: add a common.am include file and a "make lolcheck" target that does
nothing for now except ensure that every makefile includes common.am.
|
12 years ago |
Sam Hocevar
|
c5b10f5e9a
|
tutorial: flatten the fractal computation loop, and avoid the use of
new/delete when our arrays will do.
|
12 years ago |
Sam Hocevar
|
222ae90ba8
|
core: use "f128" as the long double prefix for vectors, even if it's
not always really a 128-bit type.
|
12 years ago |
Sam Hocevar
|
518942d4ca
|
core: implement Array::Resize() to forcibly set the size of an array.
|
12 years ago |
Sam Hocevar
|
7ebb577fe8
|
test: fix mesh settings in the physics demo.
|
12 years ago |
Sam Hocevar
|
4cee96d09d
|
easymesh: use "ato" for torus, because "at" is already for triangle.
|
12 years ago |