diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2019-03-16 20:30:33 +0100 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2019-03-16 20:30:33 +0100 |
commit | 4ed209d756c3cf719d8255c698d7988e85aa746a (patch) | |
tree | 0e596acc2904bcb76820ccc173283c3d716ba2b6 /src/cRender.h | |
parent | ed1837b54a35191a238703e73fd711a0995ff242 (diff) | |
download | termgl-4ed209d756c3cf719d8255c698d7988e85aa746a.tar.gz |
Removed collision detection in Framebuffer #4
Diffstat (limited to 'src/cRender.h')
-rw-r--r-- | src/cRender.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/cRender.h b/src/cRender.h index d262791..6dd75fb 100644 --- a/src/cRender.h +++ b/src/cRender.h @@ -24,7 +24,6 @@ #define _ERR_RENDER_BLOCKED_BY_CHILD_ 3 #define _ERR_SCREEN_TOO_SMALL_ 4 -#define _COLLISION_ 255 //Colors #ifdef _WIN32 @@ -79,14 +78,14 @@ public: virtual ~cRender(); /** Draws _c @ _pos in screenbuffer - * Returns _COLLOSION_ if _pos is already set to !cBackround && _overrideCollision isnt set + * Returns _COLLOSION_ if _pos is already set to !cBackround */ - int drawPoint(char _c, sPos _pos, bool _overrideCollision, WORD _color); + int drawPoint(char _c, sPos _pos, WORD _color); /** draws Line from _pos1 to _pos2 in screenbuffer * x Value of pos1 MUSTNT exceed the x value of pos2! */ - int drawLine(char _c, sPos _pos1, sPos _pos2, bool _overrideCollision, WORD _color); + int drawLine(char _c, sPos _pos1, sPos _pos2, WORD _color); /** Draws Text _s @ _pos in screenbuffer * First char is @ _pos |