]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - server.h
fix external model skins (they weren't rendering)
[xonotic/darkplaces.git] / server.h
index dd0bc421c07d1e89a98de3f6fee2a22a62eb8709..459a0ec58c042d71ce755cb45b6010ff50093bd5 100644 (file)
--- a/server.h
+++ b/server.h
@@ -69,6 +69,12 @@ typedef struct
        int max_edicts;
        // can NOT be array indexed, because edict_t is variable sized, but can be used to reference the world ent
        edict_t *edicts;
+       // can be array indexed
+       edict_t **edictstable;
+       // array of QC edict field variables
+       void *edictsfields;
+       // PushMove sometimes has to move entities back from a failed move
+       edict_t **moved_edicts;
        // some actions are only valid during load
        server_state_t state;
 
@@ -120,7 +126,7 @@ typedef struct client_s
 
        // can be added to at any time, copied and clear once per frame
        sizebuf_t message;
-       qbyte msgbuf[MAX_MSGLEN];
+       qbyte msgbuf[MAX_DATAGRAM];
        // EDICT_NUM(clientnum+1)
        edict_t *edict;
        // for printing to other people