projects
/
rogue-pphs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
718e275
)
Sleep after refreshing the window, animations are too fast for modern terminals.
author
Joe Wreschnig
<joe.wreschnig@gmail.com>
Fri, 5 Apr 2013 09:12:17 +0000
(11:12 +0200)
committer
Joe Wreschnig
<joe.wreschnig@gmail.com>
Fri, 5 Apr 2013 09:12:17 +0000
(11:12 +0200)
rogue.h
patch
|
blob
|
history
diff --git
a/rogue.h
b/rogue.h
index 6ca801a0afe3b8f9796eb7ed292fe96d1903ea44..0281b1d78b06f83e1f0969accbcac7798c6e3889 100644
(file)
--- a/
rogue.h
+++ b/
rogue.h
@@
-48,7
+48,7
@@
#define otherwise break;default
\r
#define until(expr) while(!(expr))
\r
#define ce(a, b) ((a).x == (b).x && (a).y == (b).y)
\r
-#define draw(window)
wrefresh(window
)
\r
+#define draw(window)
(wrefresh(window),usleep(50000)
)
\r
#define hero player.t_pos
\r
#define pstats player.t_stats
\r
#define pack player.t_pack
\r