home
·
contact
·
privacy
projects
/
plomrogue
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
e2788e0
)
Client: Rename read_outfile() to more precise read_queue().
author
Christian Heller
<c.heller@plomlompom.de>
Fri, 14 Nov 2014 12:59:46 +0000
(13:59 +0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Fri, 14 Nov 2014 12:59:46 +0000
(13:59 +0100)
src/client/io.c
patch
|
blob
|
history
diff --git
a/src/client/io.c
b/src/client/io.c
index 35e42e77c2340f3088ce9ea374c40d97a16962a0..233a60c78043bd8e6c7de7e54c0e98eed511bcdf 100644
(file)
--- a/
src/client/io.c
+++ b/
src/client/io.c
@@
-80,8
+80,8
@@
static uint8_t read_worldstate();
*/
static void test_and_poll_server();
*/
static void test_and_poll_server();
-/* Read
server out file for messages, act on them (i.e.
derive log messages). */
-static uint8_t read_
outfil
e();
+/* Read
queue, act on them (as of right now only:
derive log messages). */
+static uint8_t read_
queu
e();
@@
-230,7
+230,7
@@
static void test_and_poll_server()
-static uint8_t read_
outfil
e()
+static uint8_t read_
queu
e()
{
uint8_t ret = 0;
char * msg;
{
uint8_t ret = 0;
char * msg;
@@
-288,7
+288,7
@@
extern char * io_loop()
world.winch = 0;
change_in_client++;
}
world.winch = 0;
change_in_client++;
}
- if (change_in_client || read_worldstate() || read_
outfil
e())
+ if (change_in_client || read_worldstate() || read_
queu
e())
{
if (world.turn != last_focused_turn && world.focus_each_turn)
{
{
if (world.turn != last_focused_turn && world.focus_each_turn)
{