Sam Hocevar
|
bf16c555ab
|
build: minor vcxproj reorganisation.
|
12 years ago |
Sam Hocevar
|
bbc2edcc8e
|
core: we can now set Map elements using simply map[foo] = bar, no need for
a Set() method. Also, new HasKey() method.
|
12 years ago |
Sam Hocevar
|
38d4d0302e
|
core: implement a simple linear search map; the API is here, we just
need to make it O(logn) or even O(1) now.
|
12 years ago |
Sam Hocevar
|
b03411e30a
|
core: make hash operators const.
|
12 years ago |
Sam Hocevar
|
2a5d9ed4d8
|
build: rename Map to LevelMap so that we can use Map for the hashmap.
|
12 years ago |
Sam Hocevar
|
397c7f2fda
|
core: implement hashing functions for half, float and double.
|
12 years ago |
Sam Hocevar
|
46cf14e37c
|
core: allow hashing of String objects.
|
12 years ago |
Sam Hocevar
|
6f490cf1e2
|
core: another attempt at properly declaring vsnprintf().
|
12 years ago |
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
|
a82e9421d5
|
build: try to build neercs on Android; far from ready yet.
|
12 years ago |
Sam Hocevar
|
de4e64c312
|
neercs: added a better check for forkpty(), and moved the GL_POINTS
size and texture logic to the vertex shader.
|
12 years ago |
Sam Hocevar
|
fed77ef83e
|
core: compilation fix for older compilers.
|
12 years ago |
Sam Hocevar
|
720e5fe399
|
build: honour the TMPDIR, TEMP etc. environment variables.
|
12 years ago |
Sam Hocevar
|
ae39816348
|
build: ignore core files, but not the core/ directory.
|
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
|
061ef6bd0a
|
build: always use the same build directory in run-bitten.sh to
avoid leaving gigabytes of cruft behind us, and do our best to
clean up afterwards.
|
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
|
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 |