From 45e25f482b1303fef8f14bbf6cf7d5f8d016c7ab Mon Sep 17 00:00:00 2001 From: rez Date: Wed, 26 Sep 2012 23:40:50 +0000 Subject: [PATCH] NEERCS: tried to make copper working --- neercs/video/copper.lolfx | 2 ++ neercs/video/render.cpp | 10 +++++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/neercs/video/copper.lolfx b/neercs/video/copper.lolfx index 2021666..645d951 100644 --- a/neercs/video/copper.lolfx +++ b/neercs/video/copper.lolfx @@ -33,6 +33,8 @@ 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; + color = vec3(1.0,0.0,0.0); + gl_FragColor = vec4((color==1.0)?color:source,1.0); } diff --git a/neercs/video/render.cpp b/neercs/video/render.cpp index adf6801..0a00571 100644 --- a/neercs/video/render.cpp +++ b/neercs/video/render.cpp @@ -666,9 +666,13 @@ void Render::TickGame(float seconds) } /* draw LOL */ caca_set_color_argb(m_caca, 0xfff, 0x000); - caca_put_str(m_caca, canvas_char.x - 11, canvas_char.y - 3,"█ ███ █"); - caca_put_str(m_caca, canvas_char.x - 11, canvas_char.y - 2,"█ █ █ █"); - caca_put_str(m_caca, canvas_char.x - 11, canvas_char.y - 1,"███ ███ ███"); + caca_put_str(m_caca, canvas_char.x - 9 , canvas_char.y - 6, "_______"); + caca_put_str(m_caca, canvas_char.x - 10, canvas_char.y - 5, "/ /|"); + caca_put_str(m_caca, canvas_char.x - 11, canvas_char.y - 4, "/______/ |"); + caca_put_str(m_caca, canvas_char.x - 11, canvas_char.y - 3, "| | |"); + caca_put_str(m_caca, canvas_char.x - 11, canvas_char.y - 2, "| :D | /"); + caca_put_str(m_caca, canvas_char.x - 11, canvas_char.y - 1, "|______|/"); + } void Render::Pause()