Changeset 1957


Ignore:
Timestamp:
Sep 27, 2012, 1:40:50 AM (5 years ago)
Author:
rez
Message:

NEERCS: tried to make copper working

Location:
trunk/tools/neercs/video
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/neercs/video/copper.lolfx

    r1928 r1957  
    3434    color.z = float(int(color.z*8.0)*32)/256.0;
    3535
     36    color = vec3(1.0,0.0,0.0);
     37
    3638    gl_FragColor = vec4((color==1.0)?color:source,1.0);
    3739}
  • trunk/tools/neercs/video/render.cpp

    r1922 r1957  
    667667    /* draw LOL */
    668668    caca_set_color_argb(m_caca, 0xfff, 0x000);
    669     caca_put_str(m_caca, canvas_char.x - 11, canvas_char.y - 3,"█   ███ █");
    670     caca_put_str(m_caca, canvas_char.x - 11, canvas_char.y - 2,"█   █ █ █");
    671     caca_put_str(m_caca, canvas_char.x - 11, canvas_char.y - 1,"███ ███ ███");
     669    caca_put_str(m_caca, canvas_char.x - 9 , canvas_char.y - 6, "_______");
     670    caca_put_str(m_caca, canvas_char.x - 10, canvas_char.y - 5, "/      /|");
     671    caca_put_str(m_caca, canvas_char.x - 11, canvas_char.y - 4, "/______/ |");
     672    caca_put_str(m_caca, canvas_char.x - 11, canvas_char.y - 3, "|      | |");
     673    caca_put_str(m_caca, canvas_char.x - 11, canvas_char.y - 2, "|  :D  | /");
     674    caca_put_str(m_caca, canvas_char.x - 11, canvas_char.y - 1, "|______|/");
     675
    672676}
    673677
Note: See TracChangeset for help on using the changeset viewer.