projects
/
csrpg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfc73e2
)
removed extranious draw_borders function
author
matthew
<matthew@owens.tech>
Wed, 8 Aug 2018 19:12:30 +0000
(19:12 +0000)
committer
matthew
<matthew@owens.tech>
Wed, 8 Aug 2018 19:12:30 +0000
(19:12 +0000)
nogl/main.c
patch
|
blob
|
history
diff --git
a/nogl/main.c
b/nogl/main.c
index
a6fb1dc
..
01ad530
100644
(file)
--- a/
nogl/main.c
+++ b/
nogl/main.c
@@
-23,25
+23,6
@@
bool init()
return true;
}
-void draw_borders()
-{
- char c = 'X';
-
- for(int i = 0; i < 80; ++i){
- mvaddch(0, i, c);
- mvaddch(22, i, c);
- mvaddch(24, i, c);
- }
-
- for(int i = 0; i < 25; ++i){
- mvaddch(i, 0, c);
- mvaddch(i, 79, c);
- }
-
- // updating the screen
- refresh();
-}
-
int main()
{
int layer = 0;