git.shiar.nl
/
netris.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
all in-game messages in include
[netris.git]
/
curses.c
diff --git
a/curses.c
b/curses.c
index 4d350fd6e2cf301ba197a9fe4df63b441413586b..b60433e97e86134e402444fb5dc8cc8518a7453c 100644
(file)
--- a/
curses.c
+++ b/
curses.c
@@
-599,24
+599,24
@@
void window_msg_status(int player)
if (Players[player].alive > 0)
if (Players[player].flags & SCF_paused)
if (Game.started > 1)
if (Players[player].alive > 0)
if (Players[player].flags & SCF_paused)
if (Game.started > 1)
- window_msg_wide(player,
"PAUSED"
);
+ window_msg_wide(player,
MSG_PLAYER_PAUSE
);
else
else
- window_msg_wide(player,
"NOT READY"
);
+ window_msg_wide(player,
MSG_PLAYER_JOIN
);
else
if (Game.started > 1)
window_msg(player, NULL);
else
else
if (Game.started > 1)
window_msg(player, NULL);
else
- window_msg_wide(player,
"READY"
);
+ window_msg_wide(player,
MSG_PLAYER_START
);
else if (!Players[player].alive)
else if (!Players[player].alive)
- window_msg_wide(player,
"GAME OVER"
);
+ window_msg_wide(player,
MSG_PLAYER_STOP
);
else
else
- window_msg_wide(player,
"EMPTY"
);
+ window_msg_wide(player,
MSG_PLAYER_PART
);
}
void status_tick(void)
{ //display timer
}
void status_tick(void)
{ //display timer
- mvprintw(statusYPos, statusXPos,
"timer %7.0f "
, CurTimeval() / 1e6);
+ mvprintw(statusYPos, statusXPos,
MSG_TIME
, CurTimeval() / 1e6);
}
void ScheduleFullRedraw(void)
}
void ScheduleFullRedraw(void)