Sam Hocevar
|
e4954c0a0f
|
math: implement abs() and fmod() for vector types and the half class.
|
12 years ago |
jeunathe
|
4b041ec074
|
moved endif (toukinade)
|
12 years ago |
Sam Hocevar
|
bf62a18bab
|
camera: deactivate WASD code for camera movement.
|
12 years ago |
Sam Hocevar
|
fa646c41c3
|
gpu: fix the computed element count in DrawIndexedElements on Direct3D.
|
12 years ago |
Sam Hocevar
|
72a6839dce
|
image: better error detection in the GDI+ image codec.
|
12 years ago |
Sam Hocevar
|
b438a94642
|
input: add the Keyboard abstraction object type.
|
12 years ago |
Sam Hocevar
|
6944db663b
|
tutorial: add a new texture generation example.
|
12 years ago |
Sam Hocevar
|
0ea16b413e
|
gpu: D3DFMT_R8G8B8 doesn't seem to exist on the X360.
|
12 years ago |
Sam Hocevar
|
26c945a31f
|
gpu: allow to specify the pixel format when creating a texture; the
internal format is then automatically deduced. Only a few 8-bit RGB
or RGBA formats are supported for now.
|
12 years ago |
Sam Hocevar
|
f626d36b47
|
gpu: don't use D3DLOCK_DISCARD on the X360, it's not there.
|
12 years ago |
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
|
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
|
5b57aa50fe
|
core: fix a bad format string and disable an annoying warning in Array<>.
|
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
|
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
|
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
|
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
|
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
|
4cee96d09d
|
easymesh: use "ato" for torus, because "at" is already for triangle.
|
12 years ago |
Sam Hocevar
|
956657e86f
|
input: some refactoring in the action bindings.
|
12 years ago |
Sam Hocevar
|
d4c0c005d6
|
math: refactor real number constant declarations so that they are only
computed on demand with static initialisation.
|
12 years ago |
Lolbot
|
23807ea88e
|
fixed 23 files out of 277:
- fixed 1270 CR characters
- fixed 56 trailing spaces
- fixed 5085 tabs
|
12 years ago |
Sam Hocevar
|
babb2f827e
|
gpu: fix a few minor compiler warnings.
|
12 years ago |
Sam Hocevar
|
caba2eb28f
|
easymesh: minor torus mesh tweaks.
|
12 years ago |
Sam Hocevar
|
8cff2e9c8b
|
debug: get rid of DebugSphere, it's totally obsoleted by EasyMesh.
|
12 years ago |
Sam Hocevar
|
38364a0bd6
|
easymesh: first shot at a simple, flat shaded torus.
|
12 years ago |
Sam Hocevar
|
3e206b60e0
|
gpu: do not try to call glVertexAttribIPointer if Glew did not find it.
|
12 years ago |
Sam Hocevar
|
4fc8ce6470
|
gpu: now shaders can only be created from a LolFx file.
|
12 years ago |