- UFO:Alien Invasion Plugin (mattn2)
authornamespace <namespace>
Fri, 5 Jan 2007 21:59:07 +0000 (21:59 +0000)
committernamespace <namespace>
Fri, 5 Jan 2007 21:59:07 +0000 (21:59 +0000)
- Fix: Filtering models in ET doesn't filter misc_gamemodels (Shaderman)

git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@131 8a3a26a2-13c4-0310-b231-cf6edde360e5

CHANGES
GtkRadiant.sln
SConscript
plugins/entity/entity.cpp
setup/win32/components/ufoai.xml [new file with mode: 0644]
setup/win32/components/ufoaiplug.xml [new file with mode: 0644]
setup/win32/gtkradiant-1.5.0.xml

diff --git a/CHANGES b/CHANGES
index 9afc4b2..801e148 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,11 @@
 This is the changelog for developers, != changelog for the end user 
 that we distribute with the binaries. (see changelog)
 
+05/01/2007
+namespace
+- UFO:Alien Invasion Plugin (mattn2)
+- Fix: Filtering models in ET doesn't filter misc_gamemodels (Shaderman)
+
 25/12/2006
 namespace
  - Brushplugin Version 2.0, supports multiple collapse modes and a materialignore list (namespace)
index c923533..bd54ae7 100644 (file)
@@ -164,11 +164,17 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "shaderplug", "contrib\shade
                {1C785349-866D-447D-8C55-8A51E5CA0E87} = {1C785349-866D-447D-8C55-8A51E5CA0E87}\r
        EndProjectSection\r
 EndProject\r
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ufoai", "contrib\ufoaiplug\ufoai.vcproj", "{46B36F0C-5E17-458E-AE6F-AECE52F66EDE}"\r
+       ProjectSection(ProjectDependencies) = postProject\r
+       EndProjectSection\r
+EndProject\r
 Global\r
        GlobalSection(SolutionConfiguration) = preSolution\r
                Debug = Debug\r
                Release = Release\r
        EndGlobalSection\r
+       GlobalSection(ProjectDependencies) = postSolution\r
+       EndGlobalSection\r
        GlobalSection(ProjectConfiguration) = postSolution\r
                {49C5823A-5E50-4029-ACEE-1627EBB79E47}.Debug.ActiveCfg = Debug|Win32\r
                {49C5823A-5E50-4029-ACEE-1627EBB79E47}.Debug.Build.0 = Debug|Win32\r
@@ -306,6 +312,10 @@ Global
                {46B36F0C-5E17-458E-AE6F-AECE52F66EDE}.Debug.Build.0 = Debug|Win32\r
                {46B36F0C-5E17-458E-AE6F-AECE52F66EDE}.Release.ActiveCfg = Release|Win32\r
                {46B36F0C-5E17-458E-AE6F-AECE52F66EDE}.Release.Build.0 = Release|Win32\r
+               {46B36F0C-5E17-458E-AE6F-AECE52F66EDE}.Debug.ActiveCfg = Debug|Win32\r
+               {46B36F0C-5E17-458E-AE6F-AECE52F66EDE}.Debug.Build.0 = Debug|Win32\r
+               {46B36F0C-5E17-458E-AE6F-AECE52F66EDE}.Release.ActiveCfg = Release|Win32\r
+               {46B36F0C-5E17-458E-AE6F-AECE52F66EDE}.Release.Build.0 = Release|Win32\r
        EndGlobalSection\r
        GlobalSection(ExtensibilityGlobals) = postSolution\r
        EndGlobalSection\r
index f4738ed..f63531f 100644 (file)
@@ -493,6 +493,13 @@ sunplug_env.useGtk2()
 sunplug_lib = sunplug_env.SharedLibrarySafe(target='sunplug', source=sunplug_lst, LIBPATH='libs')
 sunplug_env.Install(INSTALL + '/plugins', sunplug_lib)
 
+ufoai_env = module_env.Copy()
+ufoai_lst = build_list('contrib/ufoai', 'ufoai.cpp ufoai_filters.cpp ufoai_gtk.cpp ufoai_level.cpp')
+ufoai_env.useGlib2()
+ufoai_env.useGtk2()
+ufoai_lib = ufoai_env.SharedLibrarySafe(target='ufoai', source=ufoai_lst, LIBPATH='libs')
+ufoai_env.Install(INSTALL + '/plugins', ufoai_lib)
+
 shaderplug_env = module_env.Copy()
 shaderplug_lst = build_list('contrib/shaderplug', 'shaderplug.cpp')
 shaderplug_env.useGlib2()
index 5866934..441481d 100644 (file)
@@ -305,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_");
 
@@ -326,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);
diff --git a/setup/win32/components/ufoai.xml b/setup/win32/components/ufoai.xml
new file mode 100644 (file)
index 0000000..7acb9fc
--- /dev/null
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<component>
+  <dir name="games">
+    <file name="ufoai.game"/>
+  </dir>
+  <dir name="ufoai.game">
+    <file name="default_build_menu.xml"/>
+    <file name="game.xlink"/>
+    <dir name="base">
+      <file name="entities.def"/>
+    </dir>
+ </dir>
+</component>
diff --git a/setup/win32/components/ufoaiplug.xml b/setup/win32/components/ufoaiplug.xml
new file mode 100644 (file)
index 0000000..aad3a79
--- /dev/null
@@ -0,0 +1,17 @@
+<component name="ufoaiplug">
+  <dir name="plugins">
+    <file name="ufoai.dll"/>
+      <dir name="bitmaps">
+        <file name="ufoai_actorclip.bmp"/>
+        <file name="ufoai_level1.bmp"/>
+        <file name="ufoai_level2.bmp"/>
+        <file name="ufoai_level3.bmp"/>
+        <file name="ufoai_level4.bmp"/>
+        <file name="ufoai_level5.bmp"/>
+        <file name="ufoai_level6.bmp"/>
+        <file name="ufoai_level7.bmp"/>
+        <file name="ufoai_level8.bmp"/>
+        <file name="ufoai_stepon.bmp"/>
+      </dir>
+  </dir>
+</component>
index 9d673c0..941e6d2 100644 (file)
@@ -52,6 +52,9 @@
       <feature name="Shaderplug Plugin" desc="Shaderman's plugin for creating shader tag files">
         <component name=".\components\shaderplug.xml" root="..\..\install" />
       </feature>
+      <feature name="UFO:Alien Invasion Plugin" desc="UFO:AI plugin to cycle through the different levels without compiling">
+        <component name=".\components\ufoaiplug.xml" root="..\..\install" />
+      </feature>
     </feature>
     <feature name="GtkRadiant Editor Manual" desc="Documentation for GtkRadiant users.">
       <component name=".\components\radiant_manual.xml" root="..\..\docs\manual" />
         <component name=".\components\warsow.xml" root="..\..\games\WarsowPack\tools" />
         <component name=".\components\warsow_docs.xml" root="..\..\games\WarsowPack\docs" />
       </feature>
+      <feature name="UFO:AI Support" desc="Support for UFO:Alien Invasion.">
+        <component name=".\components\ufoai.xml" root="..\..\games\UFOAIPack" />
+      </feature>
     </feature>
 
   </feature>