Sam Hocevar
|
c6e453fe5c
|
math: add unit tests for quat::rotate(vec3, vec3).
|
vor 12 Jahren |
Sam Hocevar
|
af6deb15a2
|
math: create a quaternion from two vectors.
|
vor 12 Jahren |
Sam Hocevar
|
e848af3f2a
|
math: fix an error in the quaternion code and update test suite.
|
vor 12 Jahren |
Sam Hocevar
|
7cd3341504
|
base: allow String::C() to be non-const.
|
vor 12 Jahren |
Sam Hocevar
|
ca230a60ad
|
thread: implement Queue::TryPush and Queue::TryPop.
|
vor 12 Jahren |
Sam Hocevar
|
ccc9369660
|
gpu: avoid unnecessary OpenGL context changes.
|
vor 12 Jahren |
Benlitz
|
b6b490578e
|
copy-paste failure corrected.
|
vor 12 Jahren |
Lolbot
|
d375c7ba61
|
fixed 4 files out of 2770:
- removed 0 CR characters
- removed 0 trailing whitespaces
- replaced 5 tabs with spaces
- fixed 1 svn:eol-style properties
|
vor 12 Jahren |
Sam Hocevar
|
19c357927f
|
build: synchronise Makefile.am with lolcore.vcxproj.
|
vor 12 Jahren |
Benlitz
|
6f8dfa76c8
|
Added missing file and fixed mongoloclick
|
vor 12 Jahren |
Benlitz
|
8a657ea287
|
input: Removed previous input system
|
vor 12 Jahren |
Sam Hocevar
|
1b157def49
|
gpu: add SetDepthMask/GetDepthMask to render contexts.
|
vor 12 Jahren |
Sam Hocevar
|
0529e067f2
|
input: fix a problem with the SDLK_WORLD_0 macro; arrow keys weren't
handled properly.
|
vor 12 Jahren |
Sam Hocevar
|
e16416a6ee
|
input: fix a memory leak in the controller code.
|
vor 12 Jahren |
Sam Hocevar
|
abcf219757
|
base: allow to resize an array to zero elements.
|
vor 12 Jahren |
Sam Hocevar
|
da12e9cf97
|
scene: for now, restore the ortho cam when blitting tiles.
|
vor 12 Jahren |
Lolbot
|
1f03fedb2d
|
fixed 19 files out of 2773:
- removed 2278 CR characters
- removed 0 trailing whitespaces
- replaced 115 tabs with spaces
- fixed 18 svn:eol-style properties
|
vor 12 Jahren |
Benlitz
|
26191e40da
|
gpu: getters in RenderContext class
|
vor 12 Jahren |
Benlitz
|
1a2bfe6609
|
gpu: fixed vbo attribute binding when one of the attribute on the buffer does not exist in the shader
|
vor 12 Jahren |
Sam Hocevar
|
231b99714f
|
base: add Array::Data() method to access the underlying buffer.
|
vor 12 Jahren |
Benlitz
|
42381d33a4
|
fixed a crash when updating a binding that has been bound to an unexisting key/axis of an existing device
|
vor 12 Jahren |
Sam Hocevar
|
7159ef1dea
|
debug: fix a crash in the DebugFps constructor.
|
vor 12 Jahren |
Sam Hocevar
|
5ff15c08d4
|
core: Text constructor now wants a String object.
|
vor 12 Jahren |
Sam Hocevar
|
399a172425
|
build: fix a few compilation issues with input v2.
|
vor 12 Jahren |
Sam Hocevar
|
a65c0b7749
|
ticker: replace linked lists wih dynamic arrays for entity groups.
|
vor 12 Jahren |
Lolbot
|
c47d0f8c62
|
fixed 10 files out of 2754:
- removed 386 CR characters
- removed 4 trailing whitespaces
- replaced 189 tabs with spaces
|
vor 12 Jahren |
Benlitz
|
cecd5db3fa
|
build fix on non-SDL platforms
|
vor 12 Jahren |
Benlitz
|
a7aac24c46
|
Completely reworked input system. Unified device interface, button, axis and cursor support, controller and binding system, mouse capture. Tutorial 07_input provided. Require to compile lolcore with LOL_INPUT_V2 to be activated (also needed app-side before including core.h)
|
vor 12 Jahren |
Sam Hocevar
|
ef0bd031ab
|
base: Array::Remove(int) now accepts a negative index to remove elements
from the end. Also added Array::RemoveSwap() for faster removes at the
expense of element ordering.
|
vor 12 Jahren |
Sam Hocevar
|
85ef683cce
|
base: fix map.h build.
|
vor 12 Jahren |
Sam Hocevar
|
f140c4752c
|
base: simplify the Map code.
|
vor 12 Jahren |
Lolbot
|
8cc04f0ba9
|
fixed 7 files out of 2745:
- removed 0 CR characters
- removed 21 trailing whitespaces
- replaced 42 tabs with spaces
|
vor 12 Jahren |
Benlitz
|
3fc469b1f6
|
shaders now cache attribute location once they have been retrieved for the first time.
|
vor 12 Jahren |
Sam Hocevar
|
c7a3c42a19
|
audio: report SDL mixer loading errors.
|
vor 12 Jahren |
Sam Hocevar
|
01547a0a20
|
gpu: add a 16-bit depth buffer to framebuffers on WebGL and GL ES.
|
vor 12 Jahren |
Sam Hocevar
|
c6ffd1ffcf
|
build: fix the X360 port.
|
vor 12 Jahren |
Sam Hocevar
|
7ac9be9704
|
build: fix PS3 and Android builds.
|
vor 12 Jahren |
Sam Hocevar
|
7468547abc
|
ps4: prepare for the fioutaah!
|
vor 12 Jahren |
Sam Hocevar
|
a490c8c4c7
|
lolfx: preprocessor support in the LolFx parser. But this shit is going
nowhere, we’re probably gonna ditch the approach in favour of a GLSL to
HLSL translator instead.
|
vor 12 Jahren |
Sam Hocevar
|
bc623a4ef1
|
base: Array::Pop() returns the popped element.
|
vor 12 Jahren |
Sam Hocevar
|
8ff1cf9b32
|
base: disable exceptions in Bison-generated parsers.
|
vor 12 Jahren |
Sam Hocevar
|
068a328651
|
gpu: fix the Direct3D version of most rendering functions.
|
vor 12 Jahren |
Benlitz
|
5f72c16f60
|
base: map methods can now take any type of object that is equatable to the key type and can be hashed by the key type specialization of the Hash class (and added string/char const* compatibility)
|
vor 12 Jahren |
Sam Hocevar
|
f0e8676248
|
gpu: don't use PolygonMode on GL ES.
|
vor 12 Jahren |
Sam Hocevar
|
9158677eae
|
gpu: implement polygon rendering mode in GL and D3D.
|
vor 12 Jahren |
Sam Hocevar
|
ad8144f0e8
|
scene: use a global g_scene object instead of Scene::GetDefault().
|
vor 12 Jahren |
Sam Hocevar
|
532f679f8a
|
gpu: get rid of the global D3D device pointer and move D3D initialisation
code from the Video to the Renderer class.
|
vor 12 Jahren |
Sam Hocevar
|
13fb52cebe
|
gpu: move Video::Clear to Renderer::Clear.
|
vor 12 Jahren |
Sam Hocevar
|
084a98be87
|
gpu: framebuffers now use the g_render object to restore viewport data.
|
vor 12 Jahren |
Sam Hocevar
|
e4d4f8df19
|
math: implement == and != for 2D and 3D box types.
|
vor 12 Jahren |