Sam Hocevar
|
da12e9cf97
|
scene: for now, restore the ortho cam when blitting tiles.
|
11 vuotta sitten |
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 vuotta sitten |
Benlitz
|
26191e40da
|
gpu: getters in RenderContext class
|
11 vuotta sitten |
Benlitz
|
1a2bfe6609
|
gpu: fixed vbo attribute binding when one of the attribute on the buffer does not exist in the shader
|
11 vuotta sitten |
Sam Hocevar
|
231b99714f
|
base: add Array::Data() method to access the underlying buffer.
|
11 vuotta sitten |
Benlitz
|
42381d33a4
|
fixed a crash when updating a binding that has been bound to an unexisting key/axis of an existing device
|
11 vuotta sitten |
Sam Hocevar
|
7159ef1dea
|
debug: fix a crash in the DebugFps constructor.
|
11 vuotta sitten |
Sam Hocevar
|
5ff15c08d4
|
core: Text constructor now wants a String object.
|
11 vuotta sitten |
Sam Hocevar
|
399a172425
|
build: fix a few compilation issues with input v2.
|
11 vuotta sitten |
Sam Hocevar
|
a65c0b7749
|
ticker: replace linked lists wih dynamic arrays for entity groups.
|
11 vuotta sitten |
Lolbot
|
c47d0f8c62
|
fixed 10 files out of 2754:
- removed 386 CR characters
- removed 4 trailing whitespaces
- replaced 189 tabs with spaces
|
11 vuotta sitten |
Benlitz
|
cecd5db3fa
|
build fix on non-SDL platforms
|
11 vuotta sitten |
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 vuotta sitten |
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 vuotta sitten |
Sam Hocevar
|
85ef683cce
|
base: fix map.h build.
|
11 vuotta sitten |
Sam Hocevar
|
f140c4752c
|
base: simplify the Map code.
|
11 vuotta sitten |
Lolbot
|
8cc04f0ba9
|
fixed 7 files out of 2745:
- removed 0 CR characters
- removed 21 trailing whitespaces
- replaced 42 tabs with spaces
|
11 vuotta sitten |
Benlitz
|
3fc469b1f6
|
shaders now cache attribute location once they have been retrieved for the first time.
|
11 vuotta sitten |
Sam Hocevar
|
c7a3c42a19
|
audio: report SDL mixer loading errors.
|
11 vuotta sitten |
Sam Hocevar
|
01547a0a20
|
gpu: add a 16-bit depth buffer to framebuffers on WebGL and GL ES.
|
11 vuotta sitten |
Sam Hocevar
|
c6ffd1ffcf
|
build: fix the X360 port.
|
11 vuotta sitten |
Sam Hocevar
|
7ac9be9704
|
build: fix PS3 and Android builds.
|
11 vuotta sitten |
Sam Hocevar
|
7468547abc
|
ps4: prepare for the fioutaah!
|
11 vuotta sitten |
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 vuotta sitten |
Sam Hocevar
|
bc623a4ef1
|
base: Array::Pop() returns the popped element.
|
11 vuotta sitten |
Sam Hocevar
|
8ff1cf9b32
|
base: disable exceptions in Bison-generated parsers.
|
11 vuotta sitten |
Sam Hocevar
|
068a328651
|
gpu: fix the Direct3D version of most rendering functions.
|
11 vuotta sitten |
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 vuotta sitten |
Sam Hocevar
|
f0e8676248
|
gpu: don't use PolygonMode on GL ES.
|
11 vuotta sitten |
Sam Hocevar
|
9158677eae
|
gpu: implement polygon rendering mode in GL and D3D.
|
11 vuotta sitten |
Sam Hocevar
|
ad8144f0e8
|
scene: use a global g_scene object instead of Scene::GetDefault().
|
11 vuotta sitten |
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 vuotta sitten |
Sam Hocevar
|
13fb52cebe
|
gpu: move Video::Clear to Renderer::Clear.
|
11 vuotta sitten |
Sam Hocevar
|
084a98be87
|
gpu: framebuffers now use the g_render object to restore viewport data.
|
11 vuotta sitten |
Sam Hocevar
|
e4d4f8df19
|
math: implement == and != for 2D and 3D box types.
|
11 vuotta sitten |
Sam Hocevar
|
9befaa5468
|
gpu: glGenerateMipmap is not available on the PS3, use glGenerateMipmapOES.
|
11 vuotta sitten |
Sam Hocevar
|
024ea25e27
|
gpu: disable alpha test on GL ES platforms.
|
11 vuotta sitten |
Sam Hocevar
|
a75e07d329
|
gpu: add full support for alpha test in GL and D3D.
|
11 vuotta sitten |
Sam Hocevar
|
9584830bad
|
base: leverage the libc for string comparisons.
|
11 vuotta sitten |
Sam Hocevar
|
87a9c3730c
|
gpu: implement all depth test functions in the renderer.
|
11 vuotta sitten |
Sam Hocevar
|
0b93890556
|
gpu: implement face culling mode in render contexts.
|
11 vuotta sitten |
Sam Hocevar
|
45c13689ec
|
gpu: implement blend function and alpha test in the renderer.
|
11 vuotta sitten |
Benlitz
|
e7b0c85e0f
|
Added comparison operators between strings and char const*
|
11 vuotta sitten |
Benlitz
|
eaa63d0b69
|
Added mipmap generation function for textures (i lied, it was easy with d3d9 <3)
|
11 vuotta sitten |
Sam Hocevar
|
c1c907499d
|
gpu: prevent accidental creation of a Renderer object.
|
11 vuotta sitten |
Sam Hocevar
|
9cfe1bffd6
|
easymesh: print full mesh source when compilation fails.
|
11 vuotta sitten |
Sam Hocevar
|
7c8fc6df12
|
gpu: move more platform-specific code from Video to Render.
|
11 vuotta sitten |
Sam Hocevar
|
274a732e3c
|
gpu: move SetClearColor and SetClearDepth to the Renderer and RenderContext
classes instead of Video.
|
11 vuotta sitten |
Sam Hocevar
|
b97cbbe27f
|
gpu: use the RenderContext class in a few friendly places.
|
11 vuotta sitten |
Sam Hocevar
|
1b213612a5
|
gpu: handle depth test, alpha blending and face culling in Renderer.
|
11 vuotta sitten |