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
|
76feb649f0
|
vimlol: get rid of long lines.
|
12 years ago |
Sam Hocevar
|
675797faf8
|
vimlol: pretend lolfx files are C++ so that Vim highlights them until we
get a proper syntax file.
|
12 years ago |
Sam Hocevar
|
f951745eab
|
vimlol: some code for a Vim plugin; see http://lol.zoy.org/wiki/dev/setup/vim
|
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
|
169c6da480
|
nice holes
|
12 years ago |
Sam Hocevar
|
e5e04a53c8
|
build: prepend /usr/local/bin in $PATH when running Bitten on OS X.
|
12 years ago |
Sam Hocevar
|
5ca6891030
|
build: check for a decent version of sed (ie. not the shitty BSD one).
|
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
|
88aa2a48c2
|
build: shorter machine descriptions in build logs.
|
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
|
df7a21d68f
|
tutorial: add texture demo to the VS solution.
|
12 years ago |
Sam Hocevar
|
6944db663b
|
tutorial: add a new texture generation example.
|
12 years ago |
Sam Hocevar
|
e70fcd05f8
|
build: upgrade glew binaries to 1.9.0 and rename the contrib directory
to external so as to avoid some autocompletion collisions with "configure".
|
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
|
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 |