diff options
| author | Franklin Wei <franklin@fwei.tk> | 2014-06-22 16:47:24 -0400 |
|---|---|---|
| committer | Franklin Wei <franklin@fwei.tk> | 2014-06-22 16:47:24 -0400 |
| commit | 314aa1044b78ad58e0a9e53b38c91de8714b5922 (patch) | |
| tree | 86c776eb080e882903df4a723e3be8daa786bc67 /util.c | |
| parent | cdbad1c7e4d89d8d11b34f625905b6949bba3fe7 (diff) | |
| download | wargames-server-314aa1044b78ad58e0a9e53b38c91de8714b5922.zip wargames-server-314aa1044b78ad58e0a9e53b38c91de8714b5922.tar.gz wargames-server-314aa1044b78ad58e0a9e53b38c91de8714b5922.tar.bz2 wargames-server-314aa1044b78ad58e0a9e53b38c91de8714b5922.tar.xz | |
Added map, improved logon garbage
Diffstat (limited to 'util.c')
| -rw-r--r-- | util.c | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -0,0 +1,13 @@ +#include <util.h> +#include <curses.h> +void print_string(const char* str) /* print string, slowly */ +{ + int i=0; + while(str[i]) + { + addch(str[i]); + usleep(SLEEP_TIME); + refresh(); + ++i; + } +} |