- UFO:Alien Invasion Plugin (mattn2)
[xonotic/netradiant.git] / plugins / entity / entity.cpp
index 06f91737acd037fced016618afca303297542e68..441481d9fb8d141672c4ad4634b6e14c2df5e62e 100644 (file)
@@ -258,6 +258,11 @@ public:
   {
     return g_showAngles;
   }
+
+  void printStatistics() const
+  {
+    StringPool_analyse(EntityKeyValues::getPool());
+  }
 };
 
 Quake3EntityCreator g_Quake3EntityCreator;
@@ -300,6 +305,7 @@ filter_entity_classname g_filter_entity_world("worldspawn");
 filter_entity_classname g_filter_entity_func_group("func_group");
 filter_entity_classname g_filter_entity_light("light");
 filter_entity_classname g_filter_entity_misc_model("misc_model");
+filter_entity_classname g_filter_entity_misc_gamemodel("misc_gamemodel");
 filter_entity_classgroup g_filter_entity_trigger("trigger_");
 filter_entity_classgroup g_filter_entity_path("path_");
 
@@ -321,8 +327,9 @@ void Entity_InitFilters()
        add_entity_filter(g_filter_entity_world, EXCLUDE_WORLD);
        add_entity_filter(g_filter_entity_func_group, EXCLUDE_WORLD);
        add_entity_filter(g_filter_entity_world, EXCLUDE_ENT, true);
-  add_entity_filter(g_filter_entity_trigger, EXCLUDE_TRIGGERS);
+    add_entity_filter(g_filter_entity_trigger, EXCLUDE_TRIGGERS);
        add_entity_filter(g_filter_entity_misc_model, EXCLUDE_MODELS);
+    add_entity_filter(g_filter_entity_misc_gamemodel, EXCLUDE_MODELS);
        add_entity_filter(g_filter_entity_doom3model, EXCLUDE_MODELS);
        add_entity_filter(g_filter_entity_light, EXCLUDE_LIGHTS);
        add_entity_filter(g_filter_entity_path, EXCLUDE_PATHS);