aboutsummaryrefslogtreecommitdiff
path: root/dat.h
diff options
context:
space:
mode:
authorrodri <rgl@antares-labs.eu>2023-09-01 21:41:09 +0000
committerrodri <rgl@antares-labs.eu>2023-09-01 21:41:09 +0000
commit2723bb6ff3e339f7f56a6276fa1c7c9f28d63871 (patch)
tree5398980304f82a0332fb7f846a4d9f9e90785f5a /dat.h
parenta764a5069421930c9261f87f02b0b4db3e80783b (diff)
downloadbattleship-2723bb6ff3e339f7f56a6276fa1c7c9f28d63871.tar.gz
battleship-2723bb6ff3e339f7f56a6276fa1c7c9f28d63871.tar.bz2
battleship-2723bb6ff3e339f7f56a6276fa1c7c9f28d63871.zip
obtain each player's username and show it during battle.
Diffstat (limited to 'dat.h')
-rw-r--r--dat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/dat.h b/dat.h
index 6c443c0..a4a5df3 100644
--- a/dat.h
+++ b/dat.h
@@ -71,6 +71,7 @@ struct Board
struct Player
{
Map;
+ char name[8+1];
int fd;
int sfd;
int state;