Sam Hocevar
|
399a172425
|
build: fix a few compilation issues with input v2.
|
12 anni fa |
Sam Hocevar
|
a65c0b7749
|
ticker: replace linked lists wih dynamic arrays for entity groups.
|
12 anni fa |
Lolbot
|
c47d0f8c62
|
fixed 10 files out of 2754:
- removed 386 CR characters
- removed 4 trailing whitespaces
- replaced 189 tabs with spaces
|
12 anni fa |
Benlitz
|
cecd5db3fa
|
build fix on non-SDL platforms
|
12 anni fa |
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)
|
12 anni fa |
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.
|
12 anni fa |
Sam Hocevar
|
85ef683cce
|
base: fix map.h build.
|
12 anni fa |
Sam Hocevar
|
f140c4752c
|
base: simplify the Map code.
|
12 anni fa |
Lolbot
|
8cc04f0ba9
|
fixed 7 files out of 2745:
- removed 0 CR characters
- removed 21 trailing whitespaces
- replaced 42 tabs with spaces
|
12 anni fa |
Benlitz
|
3fc469b1f6
|
shaders now cache attribute location once they have been retrieved for the first time.
|
12 anni fa |
Sam Hocevar
|
c7a3c42a19
|
audio: report SDL mixer loading errors.
|
12 anni fa |
Sam Hocevar
|
01547a0a20
|
gpu: add a 16-bit depth buffer to framebuffers on WebGL and GL ES.
|
12 anni fa |
Sam Hocevar
|
c6ffd1ffcf
|
build: fix the X360 port.
|
12 anni fa |
Sam Hocevar
|
7ac9be9704
|
build: fix PS3 and Android builds.
|
12 anni fa |
Sam Hocevar
|
7468547abc
|
ps4: prepare for the fioutaah!
|
12 anni fa |
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.
|
12 anni fa |
Sam Hocevar
|
bc623a4ef1
|
base: Array::Pop() returns the popped element.
|
12 anni fa |
Sam Hocevar
|
8ff1cf9b32
|
base: disable exceptions in Bison-generated parsers.
|
12 anni fa |
Sam Hocevar
|
068a328651
|
gpu: fix the Direct3D version of most rendering functions.
|
12 anni fa |
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)
|
12 anni fa |
Sam Hocevar
|
f0e8676248
|
gpu: don't use PolygonMode on GL ES.
|
12 anni fa |
Sam Hocevar
|
9158677eae
|
gpu: implement polygon rendering mode in GL and D3D.
|
12 anni fa |
Sam Hocevar
|
ad8144f0e8
|
scene: use a global g_scene object instead of Scene::GetDefault().
|
12 anni fa |
Sam Hocevar
|
532f679f8a
|
gpu: get rid of the global D3D device pointer and move D3D initialisation
code from the Video to the Renderer class.
|
12 anni fa |
Sam Hocevar
|
13fb52cebe
|
gpu: move Video::Clear to Renderer::Clear.
|
12 anni fa |
Sam Hocevar
|
084a98be87
|
gpu: framebuffers now use the g_render object to restore viewport data.
|
12 anni fa |
Sam Hocevar
|
e4d4f8df19
|
math: implement == and != for 2D and 3D box types.
|
12 anni fa |
Sam Hocevar
|
9befaa5468
|
gpu: glGenerateMipmap is not available on the PS3, use glGenerateMipmapOES.
|
12 anni fa |
Sam Hocevar
|
024ea25e27
|
gpu: disable alpha test on GL ES platforms.
|
12 anni fa |
Sam Hocevar
|
a75e07d329
|
gpu: add full support for alpha test in GL and D3D.
|
12 anni fa |
Sam Hocevar
|
9584830bad
|
base: leverage the libc for string comparisons.
|
12 anni fa |
Sam Hocevar
|
87a9c3730c
|
gpu: implement all depth test functions in the renderer.
|
12 anni fa |
Sam Hocevar
|
0b93890556
|
gpu: implement face culling mode in render contexts.
|
12 anni fa |
Sam Hocevar
|
45c13689ec
|
gpu: implement blend function and alpha test in the renderer.
|
12 anni fa |
Benlitz
|
e7b0c85e0f
|
Added comparison operators between strings and char const*
|
12 anni fa |
Benlitz
|
eaa63d0b69
|
Added mipmap generation function for textures (i lied, it was easy with d3d9 <3)
|
12 anni fa |
Sam Hocevar
|
c1c907499d
|
gpu: prevent accidental creation of a Renderer object.
|
12 anni fa |
Sam Hocevar
|
9cfe1bffd6
|
easymesh: print full mesh source when compilation fails.
|
12 anni fa |
Sam Hocevar
|
7c8fc6df12
|
gpu: move more platform-specific code from Video to Render.
|
12 anni fa |
Sam Hocevar
|
274a732e3c
|
gpu: move SetClearColor and SetClearDepth to the Renderer and RenderContext
classes instead of Video.
|
12 anni fa |
Sam Hocevar
|
b97cbbe27f
|
gpu: use the RenderContext class in a few friendly places.
|
12 anni fa |
Sam Hocevar
|
1b213612a5
|
gpu: handle depth test, alpha blending and face culling in Renderer.
|
12 anni fa |
Sam Hocevar
|
716c2b5592
|
gpu: create a Renderer and a RenderContext class to handle render states
such as alpha blending, depth test, etc.
|
12 anni fa |
Benjamin ‘Touky’ Huet
|
181334f5ad
|
Added shifted_perspective for easier camera handling.
MeshViewer : Camera update and small object tweak.
ortho to perspective transition is now perfect.
|
12 anni fa |
Sam Hocevar
|
3b90e19739
|
gpu: fix framebuffer handling in OpenGL ES and add some sanity checks.
|
12 anni fa |
Sam Hocevar
|
395ab47c41
|
base: fix a compilation warning in string.h.
|
12 anni fa |
Sam Hocevar
|
82c0dd22a4
|
base: assertion errors now mention source location.
|
12 anni fa |
Sam Hocevar
|
5d57b53eb0
|
lua: print the actual panic message before dumping a callstack.
|
12 anni fa |
Lolbot
|
cbb4dadd6c
|
fixed 4 files out of 2730:
- removed 24 CR characters
- removed 1 trailing whitespaces
- replaced 63 tabs with spaces
|
12 anni fa |
Benlitz
|
d13a006945
|
SetMagFiltering and SetMinFiltering for class Texture.
|
12 anni fa |