Sam Hocevar
|
19c357927f
|
build: synchronise Makefile.am with lolcore.vcxproj.
|
11 years ago |
Benlitz
|
6f8dfa76c8
|
Added missing file and fixed mongoloclick
|
11 years ago |
Benlitz
|
8a657ea287
|
input: Removed previous input system
|
11 years ago |
Sam Hocevar
|
1b157def49
|
gpu: add SetDepthMask/GetDepthMask to render contexts.
|
11 years ago |
Sam Hocevar
|
0529e067f2
|
input: fix a problem with the SDLK_WORLD_0 macro; arrow keys weren't
handled properly.
|
11 years ago |
Sam Hocevar
|
e16416a6ee
|
input: fix a memory leak in the controller code.
|
11 years ago |
Sam Hocevar
|
abcf219757
|
base: allow to resize an array to zero elements.
|
11 years ago |
Sam Hocevar
|
da12e9cf97
|
scene: for now, restore the ortho cam when blitting tiles.
|
11 years ago |
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
|
11 years ago |
Benlitz
|
26191e40da
|
gpu: getters in RenderContext class
|
11 years ago |
Benlitz
|
1a2bfe6609
|
gpu: fixed vbo attribute binding when one of the attribute on the buffer does not exist in the shader
|
11 years ago |
Sam Hocevar
|
231b99714f
|
base: add Array::Data() method to access the underlying buffer.
|
11 years ago |
Benlitz
|
42381d33a4
|
fixed a crash when updating a binding that has been bound to an unexisting key/axis of an existing device
|
11 years ago |
Sam Hocevar
|
7159ef1dea
|
debug: fix a crash in the DebugFps constructor.
|
11 years ago |
Sam Hocevar
|
5ff15c08d4
|
core: Text constructor now wants a String object.
|
11 years ago |
Sam Hocevar
|
399a172425
|
build: fix a few compilation issues with input v2.
|
11 years ago |
Sam Hocevar
|
a65c0b7749
|
ticker: replace linked lists wih dynamic arrays for entity groups.
|
11 years ago |
Lolbot
|
c47d0f8c62
|
fixed 10 files out of 2754:
- removed 386 CR characters
- removed 4 trailing whitespaces
- replaced 189 tabs with spaces
|
11 years ago |
Benlitz
|
cecd5db3fa
|
build fix on non-SDL platforms
|
11 years ago |
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)
|
11 years ago |
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.
|
11 years ago |
Sam Hocevar
|
85ef683cce
|
base: fix map.h build.
|
11 years ago |
Sam Hocevar
|
f140c4752c
|
base: simplify the Map code.
|
11 years ago |
Lolbot
|
8cc04f0ba9
|
fixed 7 files out of 2745:
- removed 0 CR characters
- removed 21 trailing whitespaces
- replaced 42 tabs with spaces
|
11 years ago |
Benlitz
|
3fc469b1f6
|
shaders now cache attribute location once they have been retrieved for the first time.
|
11 years ago |
Sam Hocevar
|
c7a3c42a19
|
audio: report SDL mixer loading errors.
|
11 years ago |
Sam Hocevar
|
01547a0a20
|
gpu: add a 16-bit depth buffer to framebuffers on WebGL and GL ES.
|
11 years ago |
Sam Hocevar
|
c6ffd1ffcf
|
build: fix the X360 port.
|
11 years ago |
Sam Hocevar
|
7ac9be9704
|
build: fix PS3 and Android builds.
|
11 years ago |
Sam Hocevar
|
7468547abc
|
ps4: prepare for the fioutaah!
|
11 years ago |
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.
|
11 years ago |
Sam Hocevar
|
bc623a4ef1
|
base: Array::Pop() returns the popped element.
|
11 years ago |
Sam Hocevar
|
8ff1cf9b32
|
base: disable exceptions in Bison-generated parsers.
|
11 years ago |
Sam Hocevar
|
068a328651
|
gpu: fix the Direct3D version of most rendering functions.
|
11 years ago |
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)
|
11 years ago |
Sam Hocevar
|
f0e8676248
|
gpu: don't use PolygonMode on GL ES.
|
11 years ago |
Sam Hocevar
|
9158677eae
|
gpu: implement polygon rendering mode in GL and D3D.
|
11 years ago |
Sam Hocevar
|
ad8144f0e8
|
scene: use a global g_scene object instead of Scene::GetDefault().
|
11 years ago |
Sam Hocevar
|
532f679f8a
|
gpu: get rid of the global D3D device pointer and move D3D initialisation
code from the Video to the Renderer class.
|
11 years ago |
Sam Hocevar
|
13fb52cebe
|
gpu: move Video::Clear to Renderer::Clear.
|
11 years ago |
Sam Hocevar
|
084a98be87
|
gpu: framebuffers now use the g_render object to restore viewport data.
|
11 years ago |
Sam Hocevar
|
e4d4f8df19
|
math: implement == and != for 2D and 3D box types.
|
11 years ago |
Sam Hocevar
|
9befaa5468
|
gpu: glGenerateMipmap is not available on the PS3, use glGenerateMipmapOES.
|
11 years ago |
Sam Hocevar
|
024ea25e27
|
gpu: disable alpha test on GL ES platforms.
|
11 years ago |
Sam Hocevar
|
a75e07d329
|
gpu: add full support for alpha test in GL and D3D.
|
11 years ago |
Sam Hocevar
|
9584830bad
|
base: leverage the libc for string comparisons.
|
11 years ago |
Sam Hocevar
|
87a9c3730c
|
gpu: implement all depth test functions in the renderer.
|
11 years ago |
Sam Hocevar
|
0b93890556
|
gpu: implement face culling mode in render contexts.
|
11 years ago |
Sam Hocevar
|
45c13689ec
|
gpu: implement blend function and alpha test in the renderer.
|
11 years ago |
Benlitz
|
e7b0c85e0f
|
Added comparison operators between strings and char const*
|
11 years ago |