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 |
Benlitz
|
eaa63d0b69
|
Added mipmap generation function for textures (i lied, it was easy with d3d9 <3)
|
11 years ago |
Sam Hocevar
|
c1c907499d
|
gpu: prevent accidental creation of a Renderer object.
|
11 years ago |
Sam Hocevar
|
9cfe1bffd6
|
easymesh: print full mesh source when compilation fails.
|
11 years ago |
Sam Hocevar
|
7c8fc6df12
|
gpu: move more platform-specific code from Video to Render.
|
11 years ago |
Sam Hocevar
|
274a732e3c
|
gpu: move SetClearColor and SetClearDepth to the Renderer and RenderContext
classes instead of Video.
|
11 years ago |
Sam Hocevar
|
b97cbbe27f
|
gpu: use the RenderContext class in a few friendly places.
|
11 years ago |
Sam Hocevar
|
1b213612a5
|
gpu: handle depth test, alpha blending and face culling in Renderer.
|
11 years ago |
Sam Hocevar
|
716c2b5592
|
gpu: create a Renderer and a RenderContext class to handle render states
such as alpha blending, depth test, etc.
|
11 years ago |
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.
|
11 years ago |
Sam Hocevar
|
3b90e19739
|
gpu: fix framebuffer handling in OpenGL ES and add some sanity checks.
|
11 years ago |
Sam Hocevar
|
395ab47c41
|
base: fix a compilation warning in string.h.
|
11 years ago |
Sam Hocevar
|
82c0dd22a4
|
base: assertion errors now mention source location.
|
11 years ago |
Sam Hocevar
|
5d57b53eb0
|
lua: print the actual panic message before dumping a callstack.
|
11 years ago |
Lolbot
|
cbb4dadd6c
|
fixed 4 files out of 2730:
- removed 24 CR characters
- removed 1 trailing whitespaces
- replaced 63 tabs with spaces
|
11 years ago |
Benlitz
|
d13a006945
|
SetMagFiltering and SetMinFiltering for class Texture.
|
11 years ago |
Benlitz
|
c75c255e26
|
Fixed D3D9 compilation (note: D3D9 version still not working)
|
11 years ago |
Sam Hocevar
|
98f8246323
|
build: lol-build now passes flags to configure, and configure now uses
optimisation flag -Os instead of -O3.
|
11 years ago |
Benlitz
|
60b06ee98e
|
added BytesPerPixel() method to PixelFormat structure
|
11 years ago |
Sam Hocevar
|
f197588f47
|
base: really fix the PS3 build this time.
|
11 years ago |
Sam Hocevar
|
fa31f691f9
|
base: fix PS3 build and use C library functions in string.h when possible.
|
11 years ago |
Lolbot
|
b078ba08ea
|
fixed 15 files out of 2730:
- removed 49 CR characters
- removed 2 trailing whitespaces
- replaced 1622 tabs with spaces
|
11 years ago |
Benlitz
|
4b98ef04a6
|
Added IndexOf and LastIndexOf methods in class String
|
11 years ago |
Benlitz
|
19e57f4fa9
|
Fixed GetStream function when the VertexDeclaration maps over multiple VertexStreams
|
11 years ago |
Benlitz
|
9a38b27bd8
|
vertex buffer: added some accessors to inspect a VertexDeclaration/Stream/Buffer
|
11 years ago |
Sam Hocevar
|
edd83d8a4d
|
lua: implement dofile().
|
11 years ago |
Sam Hocevar
|
67cfc5ee34
|
build: fix the lollua vcxproj.
|
11 years ago |
Sam Hocevar
|
0a9c3dc488
|
lua: don't build lua.c and luac.c into liblollua.
|
11 years ago |
Sam Hocevar
|
f2560ff5b8
|
build: work around a bug in the NaCl SDK C++ headers.
|
11 years ago |
Sam Hocevar
|
d8c6d4c198
|
doc: add some comments in vector.cpp functions.
|
11 years ago |
Sam Hocevar
|
f7dbc33524
|
build: update .vcxproj files.
|
11 years ago |
Sam Hocevar
|
a6e65e3e0c
|
base: don’t wait for next frame on Emscripten builds.
|
11 years ago |