Sam Hocevar
1fc53d4df9
math: avoid unnecessary conversions in the half class and remove a
static method that we can do without.
pirms 11 gadiem
Sam Hocevar
7181860ee6
base: crash with an assert error if trying to access a read-only map
with a nonexistent key.
pirms 11 gadiem
Sam Hocevar
14447c6061
ps3: use System::GetPathList() to open images.
pirms 11 gadiem
Sam Hocevar
ba1824ef83
sys: cycle through all possible directories to load resource files.
pirms 11 gadiem
Lolbot
3661a929e6
fixed 4 files out of 2376:
- removed 7 CR characters
- removed 5 trailing whitespaces
- replaced 24 tabs with spaces
pirms 11 gadiem
Benjamin ‘Touky’ Huet
e4cf8211e4
Added VertexDictionnary object to manage vertices with same coord && connected vertices.
Added UVs system with and UVs generation test (not very conclusive)
pirms 11 gadiem
jeunathe
3e4469007a
added GetPos method to get text position
pirms 11 gadiem
Sam Hocevar
b221629ae0
base: start being more aggressive in the error reportings; most error
messages in the Ticker class are now full asserts.
pirms 11 gadiem
Sam Hocevar
3662281116
gpu: avoid using glIsEnabled() if we can cache the data.
pirms 11 gadiem
Sam Hocevar
9b61e11eed
gpu: disable glPolygonMode calls on OpenGL ES.
pirms 11 gadiem
Sam Hocevar
d6121b4651
build: add shiny_SK.lolfx to Makefile.am.
pirms 11 gadiem
Benjamin ‘Touky’ Huet
bb0051ae8e
render : Added DebugRenderMode & corresponding shaders. naive (VERY) implementation in MeshViewer.
pirms 11 gadiem
Sam Hocevar
29ce2e2619
build: update project filters for lolcore.
pirms 11 gadiem
Sam Hocevar
b1dcd100a2
meshviewer: use our File class to read the mesh data.
pirms 11 gadiem
Sam Hocevar
b67441babb
sys: be more resilient if the file we try to read doesn’t exist.
pirms 11 gadiem
Sam Hocevar
03d135f06d
sys: don’t use fopen on the PS3.
pirms 11 gadiem
Sam Hocevar
2932b55556
sys: prototype for the file reading functions.
pirms 11 gadiem
Sam Hocevar
ff32da97ad
test: add missing unit tests for the Atomic template class.
pirms 11 gadiem
Sam Hocevar
32e3cff46a
sys: Atomic template class for thread-safe and potentially lockless
structures.
pirms 11 gadiem
Sam Hocevar
c7767c6c64
sys: create an empty File class.
pirms 11 gadiem
Sam Hocevar
886173c3cc
build: add a few missing files to make dist.
pirms 11 gadiem
Lolbot
1dc9139c69
fixed 17 files out of 2363:
- removed 55 CR characters
- removed 80 trailing whitespaces
- replaced 1236 tabs with spaces
pirms 11 gadiem
Benjamin ‘Touky’ Huet
028bd24017
Added MeshViewerBuffer.txt in vcproj.
pirms 11 gadiem
Sam Hocevar
06c4ec01c3
base: move headers around and promote gpu/ to lol/gpu/.
pirms 11 gadiem
Benjamin ‘Touky’ Huet
157e67c2be
MeshViewer :
- Added file handling with new mesh generation each time the buffer file is updated (that's not very pretty, but it works).
- Added multiple mesh viewing with "history" and some basic camera movement (it uses the keypad for now, not very sam friendly, I know).
pirms 11 gadiem
Benjamin ‘Touky’ Huet
c759348569
BtPhysTest : at last, a CIS FAIL !
pirms 11 gadiem
Benjamin ‘Touky’ Huet
96f3044ef0
BtPhysTest : added lights
pirms 11 gadiem
Benjamin ‘Touky’ Huet
7f5c20238b
easymesh : CSG operation is now handled with a safe enum.
pirms 11 gadiem
Sam Hocevar
01693351a0
build: define HAVE_STDIO_H on Windows desktop.
pirms 11 gadiem
Sam Hocevar
eead925c59
math: use "degrees" as the variable name for rotations for clarity.
pirms 11 gadiem
Benjamin ‘Touky’ Huet
23c13f6c4b
comment : //Angle in degree
Because goldfishes have no memory.
pirms 11 gadiem
Sam Hocevar
eaf115a379
people: reorganise user directories to allow for private/ subdirectories.
pirms 11 gadiem
Sam Hocevar
4678b4cb75
math: fix a signed integer overflow issue in the fast factorial
computation function.
pirms 11 gadiem
Sam Hocevar
4ee0f5e29e
math: friend declarations aren’t proper declarations; add the
required declarations for real free functions.
pirms 11 gadiem
Sam Hocevar
d4766d410f
build: fix all vector/scalar type mismatches such as "vec2 * double"
instead of "vec2 * float".
pirms 11 gadiem
Sam Hocevar
16d53895fa
math: remove coercion rules in the vector classes, they increase the
compilation time for very little benefit and maybe even confusion.
pirms 11 gadiem
Sam Hocevar
a4608bb51b
ps3: fix typo in ps3app.cpp.
pirms 11 gadiem
Sam Hocevar
1f487e5e6f
gpu: OpenGL ES compilation fix: GL_RGB8 is desktop OpenGL only.
pirms 11 gadiem
Sam Hocevar
8fd2ac17ba
ps3: compilation for old GCC complaining about non-trivial designated
initalisers.
pirms 11 gadiem
Sam Hocevar
29d5bb3b96
gpu: fix compilation on GL ES platforms.
pirms 11 gadiem
Sam Hocevar
42fb9b6853
gpu: support 1-component (luminance) textures.
pirms 11 gadiem
Sam Hocevar
51f08bfc87
tutorial: HLSL version of the graph plotting shader.
pirms 11 gadiem
Sam Hocevar
456f5e8892
ps3: add support for resolution selection.
pirms 11 gadiem
Sam Hocevar
bd6510ec45
color: fix a logic error in RGBToHSL.
pirms 11 gadiem
Sam Hocevar
2ef61862d8
math: implement clamp() for base C++ types and add more safeguards
to the RGB to HSV conversion.
pirms 11 gadiem
Sam Hocevar
e14a8d68a2
color: slightly tweak the RGB to HSV and HSL conversions for
improved numerical stability on i386.
pirms 11 gadiem
Sam Hocevar
4be5ebd8b3
ps3: use network fallback for image files.
pirms 11 gadiem
Sam Hocevar
32753fa130
build: fix a few macro logic issues in SDL.h inclusion.
pirms 11 gadiem
Sam Hocevar
1e973c81bd
build: add SDL detection code in new file lol-sdl.m4. The SDL2 version is
disabled until the engine code itself is ported to SDL2.
pirms 11 gadiem
Sam Hocevar
9d06eb6503
meshviewer: add two lights.
pirms 12 gadiem