]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - server.h
fixed bug with effectinfo.txt loading so that it now loads the proper
[xonotic/darkplaces.git] / server.h
index ad15e21f0bb0feeef21c85df66a0e41b786bdabd..fdea10760234675d7e8d8c8b9e98105893f865da 100644 (file)
--- a/server.h
+++ b/server.h
@@ -98,9 +98,12 @@ typedef struct server_s
        world_t world;
 
        /// map name
-       char name[64];
-       /// maps/<name>.bsp, for model_precache[0]
-       char modelname[64];
+       char name[64]; // %s followed by entrance name
+       // variants of map name
+       char worldmessage[40]; // map title (not related to filename)
+       char worldbasename[MAX_QPATH]; // %s
+       char worldname[MAX_QPATH]; // maps/%s.bsp
+       char worldnamenoextension[MAX_QPATH]; // maps/%s
        struct model_s *worldmodel;
        // NULL terminated
        // LordHavoc: precaches are now MAX_QPATH rather than a pointer