Ignore:
Timestamp:
Oct 23, 2012, 1:10:22 AM (8 years ago)
Author:
rez
Message:

neercs: added a protection glass above the monitor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/neercs/term/term.cpp

    r2020 r2039  
    150150    if (m_debug)
    151151    {
    152         m_time += seconds;
    153152        DrawFancyShit();
    154153    }
     
    187186{
    188187    /* draw something awesome */
    189     int bg_color = 0x222;
     188    int bg_color = 0x000;
    190189    int w = caca_get_canvas_width(m_caca);
    191190    int h = caca_get_canvas_height(m_caca);
     
    222221
    223222    caca_set_color_argb(m_caca, 0xbac, bg_color);
    224     //caca_set_color_argb(m_caca, hex_color(0.5f + 0.5f * lol::cos(m_time * 3               ), 0.5f, 0.5f + 0.25f * lol::sin(m_time * 3               )), bg_color);
    225223    caca_put_str(m_caca, logo_x + 3, logo_y    ,"__  _________ ______ ______ ______ ______");
    226     //caca_set_color_argb(m_caca, hex_color(0.5f + 0.5f * lol::cos(m_time * 3 + M_PI / 4 * 1), 0.5f, 0.5f + 0.25f * lol::sin(m_time * 3 + M_PI / 4 * 1)), bg_color);
    227224    caca_put_str(m_caca, logo_x + 2, logo_y + 1, "/  \\/  /  __  >  __  >  __  >  ___//  ___/ \x0a9");
    228     //caca_set_color_argb(m_caca, hex_color(0.5f + 0.5f * lol::cos(m_time * 3 + M_PI / 4 * 2), 0.5f, 0.5f + 0.25f * lol::sin(m_time * 3 + M_PI / 4 * 2)), bg_color);
    229225    caca_put_str(m_caca, logo_x + 1, logo_y + 2, "/      /  ____/  ____/  __  <  <____\\___  \\");
    230     //caca_set_color_argb(m_caca, hex_color(0.5f + 0.5f * lol::cos(m_time * 3 + M_PI / 4 * 3), 0.5f, 0.5f + 0.25f * lol::sin(m_time * 3 + M_PI / 4 * 3)), bg_color);
    231226    caca_put_str(m_caca, logo_x    , logo_y + 3, "/__/\\__/\\_______________/  \\________________\\");
    232227    caca_set_color_argb(m_caca, 0x269, bg_color);
     
    247242|______|/
    248243*/
    249 
    250     int lolcube_x = w / 2 - 5 + (w - 10) * lol::cos(m_time / 2);
    251     int lolcube_y = h - 5 - abs ((h - 5) * lol::sin(m_time * 4));
    252 
    253     caca_set_color_argb(m_caca, hex_color(0.5f + 0.5f * lol::sin(m_time * 2), 0.5f + 0.5f * lol::cos(m_time * 3), 0.5f + 0.5f * lol::sin(m_time * 5)), bg_color);
     244/*
     245    int lolcube_x = w - 12;
     246    int lolcube_y = h - 8;
     247
     248    caca_set_color_argb(m_caca, 0x777, bg_color);
    254249    caca_put_str(m_caca, lolcube_x + 2, lolcube_y    , "_______");
    255250    caca_put_str(m_caca, lolcube_x + 1, lolcube_y + 1, "/      /|");
     
    258253    caca_put_str(m_caca, lolcube_x    , lolcube_y + 4, "|  :D  | /");
    259254    caca_put_str(m_caca, lolcube_x    , lolcube_y + 5, "|______|/");
     255*/
    260256
    261257    caca_set_color_argb(m_caca, 0x777, bg_color);
    262     caca_put_str(m_caca, 0, 0, "rez@lol:~/ sudo -s");
    263     caca_put_str(m_caca, 0, 1, "[sudo] password for rez:");
    264     caca_put_str(m_caca, 0, 2, "root@lol:~/ echo LOL");
    265     caca_put_str(m_caca, 0, 3, "LOL");
    266     caca_put_str(m_caca, 0, 4, "root@lol:~/");
    267 }
     258    caca_put_str(m_caca, 0, 0, "rez@lol:~/code/neercs/");
     259}
Note: See TracChangeset for help on using the changeset viewer.