diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2019-01-21 20:09:31 +0100 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2019-01-21 20:09:31 +0100 |
commit | c1186bf65902f47a2d618280384bce700a688ec1 (patch) | |
tree | 929874db6fc5f74af1c607a2bceec9a3e056ed6b | |
parent | 57c9687d64a6e4f90276e93797758a875555a401 (diff) | |
download | termgl-c1186bf65902f47a2d618280384bce700a688ec1.tar.gz |
a
-rw-r--r-- | cRender.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/cRender.cpp b/cRender.cpp index 1b3b08d..293901b 100644 --- a/cRender.cpp +++ b/cRender.cpp @@ -124,13 +124,14 @@ int cRender::drawLine(char _c, sPos _pos1, sPos _pos2, bool _overrideCollision, sPos{i + _pos1.x, (int)(i * fGradient + _pos1.y + 0.5)}, sPos{i + _pos1.x, (int)(i * fGradient + _pos1.y + 0.5) + dy}, _overrideCollision, _color); - } - } - } - } + }//if + }//if + + }//for + }//else return 0; -} +}//drawLine int cRender::drawText(string _s, sPos _pos, WORD _color) { |