aboutsummaryrefslogtreecommitdiff
path: root/dat.h
diff options
context:
space:
mode:
authorrodri <rgl@antares-labs.eu>2021-07-29 14:56:10 +0000
committerrodri <rgl@antares-labs.eu>2021-07-29 14:56:10 +0000
commit3241d4b8c80f9424a3f725b5905def22916fc854 (patch)
tree2240ce49ee442db534161f8cf4de1640e3dd0408 /dat.h
parent9942eb201a657640cf244b261008b850352a29f3 (diff)
downloadmusw-3241d4b8c80f9424a3f725b5905def22916fc854.tar.gz
musw-3241d4b8c80f9424a3f725b5905def22916fc854.tar.bz2
musw-3241d4b8c80f9424a3f725b5905def22916fc854.zip
made the client window size immutable.
added some dev notes to a file. renamed Lobby.healthcheck to Lobby.purge, which makes more sense.
Diffstat (limited to 'dat.h')
-rw-r--r--dat.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/dat.h b/dat.h
index 33c4607..9290562 100644
--- a/dat.h
+++ b/dat.h
@@ -16,6 +16,13 @@ typedef enum
WEDGE
} Kind;
+enum {
+ SCRW = 640,
+ SCRH = 480,
+ SCRWB = SCRW+2*Borderwidth,
+ SCRHB = SCRH+2*Borderwidth
+};
+
typedef struct Vector Vector;
typedef struct VModel VModel;
typedef struct Sprite Sprite;
@@ -126,7 +133,7 @@ struct Lobby
int (*takeseat)(Lobby*, char*, int, int);
int (*leaveseat)(Lobby*, ulong);
int (*getcouple)(Lobby*, Player*);
- void (*healthcheck)(Lobby*);
+ void (*purge)(Lobby*);
};
struct Party