]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - world.h
new flag CACHEPICFLAG_NOCLAMP; use it for R_PolygonBegin polygons
[xonotic/darkplaces.git] / world.h
diff --git a/world.h b/world.h
index 1d16b74882c553172ce165d7f308eb185b43b36f..216e67c9c4e7e9a90d587319dec910b7035ed3a4 100644 (file)
--- a/world.h
+++ b/world.h
@@ -41,6 +41,11 @@ typedef struct link_s
 
 typedef struct world_s
 {
+       // convenient fields
+       char filename[MAX_QPATH];
+       vec3_t mins;
+       vec3_t maxs;
+
        int areagrid_stats_calls;
        int areagrid_stats_nodechecks;
        int areagrid_stats_entitychecks;
@@ -66,7 +71,7 @@ void World_InsertLinkBefore(link_t *l, link_t *before, int entitynumber);
 void World_Init(void);
 
 // called after the world model has been loaded, before linking any entities
-void World_SetSize(world_t *world, const vec3_t mins, const vec3_t maxs);
+void World_SetSize(world_t *world, const char *filename, const vec3_t mins, const vec3_t maxs);
 // unlinks all entities (used before reallocation of edicts)
 void World_UnlinkAll(world_t *world);