Bläddra i källkod

NEERCS: changed copper base color to do not disturb sam white terminal :)

master
förälder
incheckning
114f4b439d
3 ändrade filer med 7 tillägg och 9 borttagningar
  1. +1
    -1
      neercs/term/term.cpp
  2. +1
    -3
      neercs/video/copper.lolfx
  3. +5
    -5
      neercs/video/render.cpp

+ 1
- 1
neercs/term/term.cpp Visa fil

@@ -204,7 +204,7 @@ void Term::DrawFancyShit()
caca_set_color_argb(m_caca, 0xfff, bg_color);
caca_clear_canvas(m_caca);

caca_set_color_argb(m_caca, 0xfff, bg_color);
caca_set_color_argb(m_caca, 0x0f0, bg_color);
for(int i = 0; i < h; i++)
{
float a = M_PI / 180 * i * 16 + m_time * 4;


+ 1
- 3
neercs/video/copper.lolfx Visa fil

@@ -38,7 +38,5 @@ void main(void)
color.y = float(int(color.y * 8.0) * 32) / 256.0;
color.z = float(int(color.z * 8.0) * 32) / 256.0;

// XXX: copper disabled because it's not very nice, lol
//gl_FragColor = vec4((source == mask_color) ? color : source, 1.0);
gl_FragColor = vec4(source, 1.0);
gl_FragColor = vec4((source == mask_color) ? color : source, 1.0);
}

+ 5
- 5
neercs/video/render.cpp Visa fil

@@ -454,7 +454,7 @@ float theme_var[]={
0,0,
0,
0.75f,0.25f,0.42f,4.0f, // copper_copper
4.0f,4.0f,4.0f, // copper_mask_color
0.0f,4.0f,0.0f, // copper_mask_color
0,
0,
1.0f,1.0f,1.0f, // color_filter
@@ -511,7 +511,7 @@ float theme_var[]={
0,0,
0,
0.75f,0.25f,0.42f,4.0f, // copper_copper
4.0f,4.0f,4.0f, // copper_mask_color
0.0f,4.0f,0.0f, // copper_mask_color
0,
0,
0.9f,0.95f,0.85f, // color_filter
@@ -568,7 +568,7 @@ float theme_var[]={
0,0,
0,
0.75f,0.25f,0.42f,4.0f, // copper_copper
4.0f,4.0f,4.0f, // copper_mask_color
0.0f,4.0f,0.0f, // copper_mask_color
0,
0,
1.0f,0.7f,0.0f, // color_filter
@@ -625,7 +625,7 @@ float theme_var[]={
0,0,
0,
0.75f,0.25f,0.42f,4.0f, // copper_copper
4.0f,4.0f,4.0f, // copper_mask_color
0.0f,4.0f,0.0f, // copper_mask_color
0,
0,
1.0f,1.0f,0.9f, // color_filter
@@ -682,7 +682,7 @@ float theme_var[]={
0,0,
0,
0.75f,0.25f,0.42f,4.0f, // copper_copper
4.0f,4.0f,4.0f, // copper_mask_color
0.0f,4.0f,0.0f, // copper_mask_color
0,
0,
0.7f,0.8f,1.0f, // color_filter


Laddar…
Avbryt
Spara