Sam Hocevar
|
6648692bd7
|
core: try to fix a general compilation issue caused by inconsistent
namespaces between platforms.
|
12 years ago |
Sam Hocevar
|
dff7a5b72c
|
core: do not use va_copy since Visual Studio doesn’t know about it.
|
12 years ago |
Sam Hocevar
|
949128d325
|
core: implement String::Printf() and start working on the unit tests.
I'm gonna commit this right now though I'm not really sure whether Visual
Studio will agree to build va_copy and others.
|
12 years ago |
Sam Hocevar
|
52e7f2f399
|
build: add missing bullet .h files to Makefile.am.
|
12 years ago |
Sam Hocevar
|
0149c30df4
|
core: refactor the Hash class so that we can hash base types, too.
|
12 years ago |
Sam Hocevar
|
46f7e750c0
|
core: more string concatenation and comparison methods, plus a lot
of unit tests for the String class.
|
12 years ago |
Sam Hocevar
|
fed77ef83e
|
core: compilation fix for older compilers.
|
12 years ago |
Sam Hocevar
|
f2b71d368e
|
core: new String class.
|
12 years ago |
Sam Hocevar
|
5f66d6a751
|
build: fix PS3 and Linux compilation issues.
|
12 years ago |
Sam Hocevar
|
bbca3b6e59
|
build: fixes for out-of-tree builds, and get rid of
some deprecated stuff.
|
12 years ago |
Sam Hocevar
|
7658744c44
|
gpu: remove some crap from vertexbuffer.cpp and allow for
empty vertex declarations even though many video card
drivers do not support them — and they should.
|
12 years ago |
Sam Hocevar
|
63868aa10a
|
math: prefix all convenience macros with "LOL_", make sure we #undef
them after use, and refactor them so that free functions such as
fmod() or clamp() are directly accessible in the lol namespace.
|
12 years ago |
Sam Hocevar
|
4a6d092a74
|
mesh: start working on mesh and submesh stuff.
|
12 years ago |
Sam Hocevar
|
b5cb7601a7
|
build: define our own std::abs() function for long long int on NaCl,
since it doesn't exist there.
|
12 years ago |
Sam Hocevar
|
b2e00f113c
|
build: fix minor build issues with Clang.
|
12 years ago |
Sam Hocevar
|
57c2805351
|
math: reimplement min(), max(), abs() and fmod() in the lol:: namespace to
avoid conflicts with the C++ stdlib.
|
12 years ago |
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 |