Sam Hocevar
|
34d5feaac8
|
build: fix all vector/scalar type mismatches such as "vec2 * double"
instead of "vec2 * float".
|
11 years ago |
Sam Hocevar
|
88075b5aba
|
math: remove coercion rules in the vector classes, they increase the
compilation time for very little benefit and maybe even confusion.
|
11 years ago |
Sam Hocevar
|
7894b2e483
|
build: hide LolFx external declarations behind macros.
|
12 years ago |
Sam Hocevar
|
e6931215fb
|
neercs: fix resource path.
|
12 years ago |
Sam Hocevar
|
037ebfd425
|
core: pass the project directory to the binary build and get rid of
that 2-year old "temporary Win32 hack".
|
12 years ago |
Sam Hocevar
|
27e5ce7bef
|
system: try to autodetect the data directory from the executable path;
currently works for images (SDL and GDI+ loaders) and sound samples.
|
12 years ago |
Lolbot
|
24843956d2
|
fixed 27 files out of 2315:
- removed 0 CR characters
- removed 188 trailing whitespaces
- replaced 537 tabs with spaces
|
12 years ago |
Benjamin ‘Touky’ Huet
|
4cb8f416f7
|
New year copyright update.
|
12 years ago |
Sam Hocevar
|
19c2103dcf
|
build: fix the WTFPL site URL in all code comments.
|
12 years ago |
rez
|
fbf5b9d866
|
NEERCS: fixed color matching for copper
|
12 years ago |
Sam Hocevar
|
5a87d20e6e
|
neercs: fix background colour computations with shader model 3.
|
12 years ago |
rez
|
114f4b439d
|
NEERCS: changed copper base color to do not disturb sam white terminal :)
|
12 years ago |
Sam Hocevar
|
6b983dc32f
|
neercs: fix rendering issues and tweak timings so that large fullscreen
apps such as cacademo no longer appear to lag.
|
12 years ago |
Sam Hocevar
|
0d23d51361
|
neercs: fix a compilation error in text.lolfx.
|
12 years ago |
Sam Hocevar
|
9bf9e7fe44
|
neercs: more pre-shader4 compatibility tweaks.
|
12 years ago |
Sam Hocevar
|
f4e7b8f5c0
|
build: renormalise a lot of files.
|
12 years ago |
Sam Hocevar
|
f7bf988fa6
|
neercs: disable the copperbars because they're not very nice, lol.
|
12 years ago |
Sam Hocevar
|
1986f05954
|
neercs: fix our unread() function so that it stops losing characters.
|
12 years ago |
Sam Hocevar
|
de6d6a45a7
|
neercs: initialise POD types in TextRender.
|
12 years ago |
Sam Hocevar
|
b0fc415aef
|
neercs: some fallback code when shader model 4 isn’t available.
|
12 years ago |
Sam Hocevar
|
5e0461ffc5
|
neercs: if shaders don't support integer attributes, pass them as vectors
of ubytes; foreground colour already works.
|
12 years ago |
Sam Hocevar
|
7620ada012
|
neercs: slightly optimise postfx shader.
|
12 years ago |
Sam Hocevar
|
ff6bded2d1
|
neercs: do not include "config.h" more than once.
|
12 years ago |
Sam Hocevar
|
a6f357679a
|
neercs: remove deprecated GLSL constructs in text shader.
|
12 years ago |
Sam Hocevar
|
8e2afeba55
|
neercs: deactivate OpenGL code when we build for OpenGL ES.
|
12 years ago |
Sam Hocevar
|
804e386ca4
|
neercs: do not pass the texture coordinates from the application to
the GL server; instead, simply deduce them from the vertex coordinates
and interpolate them in the fragment shader.
|
12 years ago |
Sam Hocevar
|
6b32f0755c
|
neercs: use gl_VertexID instead of sending a whole new vertex array.
|
12 years ago |
Sam Hocevar
|
d8ef25c9ce
|
neercs: added a better check for forkpty(), and moved the GL_POINTS
size and texture logic to the vertex shader.
|
12 years ago |
Sam Hocevar
|
9e5cd7a539
|
build: fixes for out-of-tree builds, and get rid of
some deprecated stuff.
|
12 years ago |
rez
|
58e53cae99
|
neercs: updated "granpa tv" theme
|
12 years ago |
Sam Hocevar
|
de5f587e43
|
build: fix minor build issues with Clang.
|
12 years ago |
rez
|
1f8f743e24
|
neercs: fixed scanline, added a new theme
|
12 years ago |
rez
|
6cf8b7327b
|
neercs: removed flags from setup, butchered scanline postfx
|
12 years ago |
rez
|
95b0e29241
|
neercs: added theme support + 2 new themes [F4/F5 to switch]
|
12 years ago |
rez
|
ee78ae8c28
|
neercs: fixed theme_var[] values
|
12 years ago |
rez
|
3f0e8c718e
|
neercs: theme support again (not really working yet)
|
12 years ago |
rez
|
40cb5bc496
|
neercs: early integration of theme support
|
12 years ago |
rez
|
25d8e339e8
|
neercs: moved some init variable, removed useless iborder init
|
12 years ago |
rez
|
8b9b07f593
|
neercs: added a protection glass above the monitor
|
12 years ago |
rez
|
b717b0c1f7
|
neercs: scanline auto-resize
|
12 years ago |
Sam Hocevar
|
a1df6fe36a
|
neercs: F3 toggles fancy shit drawing.
|
12 years ago |
rez
|
789ada7c2b
|
neercs: added bending to mirror
|
12 years ago |
rez
|
fb92ec6d46
|
neercs: better reflection gradient (to finetune again)
|
12 years ago |
rez
|
4ebf04f4b8
|
neercs: MOAR radial blur, less iteration
|
12 years ago |
rez
|
8abcdd40cd
|
neercs: added radial blur! FUCK YEAH \:D/
|
12 years ago |
Sam Hocevar
|
71da6d07f9
|
neercs: ESC no longer quits; but closing the shell does.
|
12 years ago |
rez
|
9fdf190a6b
|
neercs: lowered noise effect
|
12 years ago |
Sam Hocevar
|
01f7b1a3de
|
neercs: add missing "loldebug.h" include.
|
12 years ago |
Sam Hocevar
|
20b291c48b
|
neercs: don't show the FPS information unless the setup is open.
|
12 years ago |
rez
|
6dbdf91b5e
|
neercs: added all mirror side & finetuned default theme
|
12 years ago |