Permalink
Browse files

Added SVN repository contents.

  • Loading branch information...
0 parents commit eb2e77130ed45a1402fe13b3742e666979832526 @idmillington committed Mar 6, 2010
Showing with 13,402 additions and 0 deletions.
  1. +21 −0 LICENSE
  2. +104 −0 README
  3. BIN bin/c03_flocking.exe
  4. BIN bin/c03_kinematic.exe
  5. BIN bin/c03_pipeline.exe
  6. BIN bin/c03_priority.exe
  7. BIN bin/c03_steering.exe
  8. BIN bin/c05_action.exe
  9. BIN bin/c05_dectree.exe
  10. BIN bin/c05_markovsm.exe
  11. BIN bin/c05_randectree.exe
  12. BIN bin/c05_sm.exe
  13. BIN bin/c07_simpleq.exe
  14. BIN bin/glut.dll
  15. BIN bin/glut32.dll
  16. +119 −0 build/aicore_vc8.sln
  17. +283 −0 build/aicore_vc8.vcproj
  18. +199 −0 build/c03_flocking_vc8.vcproj
  19. +191 −0 build/c03_kinematic_vc8.vcproj
  20. +192 −0 build/c03_pipeline_vc8.vcproj
  21. +191 −0 build/c03_priority_vc8.vcproj
  22. +191 −0 build/c03_steering_vc8.vcproj
  23. +173 −0 build/c05_action_vc8.vcproj
  24. +173 −0 build/c05_dectree_vc8.vcproj
  25. +173 −0 build/c05_markovsm_vc8.vcproj
  26. +173 −0 build/c05_randectree_vc8.vcproj
  27. +173 −0 build/c05_sm_vc8.vcproj
  28. +173 −0 build/c07_simpleq_vc8.vcproj
  29. +472 −0 doc/GLUT.README
  30. +144 −0 doc/build/doxygen/aicore.config
  31. +7 −0 doc/build/doxygen/footer.html
  32. +13 −0 doc/build/doxygen/header.html
  33. +190 −0 doc/media/aicore.css
  34. BIN doc/media/icon.png
  35. +239 −0 include/aicore/action.h
  36. +88 −0 include/aicore/aicore.h
  37. +369 −0 include/aicore/aimath.h
  38. +134 −0 include/aicore/basesm.h
  39. +91 −0 include/aicore/core.h
  40. +144 −0 include/aicore/dectree.h
  41. +27 −0 include/aicore/fuzzysm.h
  42. +144 −0 include/aicore/kinematic.h
  43. +211 −0 include/aicore/learning.h
  44. +515 −0 include/aicore/location.h
  45. +127 −0 include/aicore/markovsm.h
  46. +165 −0 include/aicore/precision.h
  47. +54 −0 include/aicore/primitives.h
  48. +121 −0 include/aicore/qlearning.h
  49. +487 −0 include/aicore/rules.h
  50. +134 −0 include/aicore/sm.h
  51. +243 −0 include/aicore/steering.h
  52. +323 −0 include/aicore/steerpipe.h
  53. +121 −0 include/aicore/timing.h
  54. +486 −0 include/gl/glut.h
  55. BIN lib/aicore.lib
  56. BIN lib/glut.lib
  57. BIN lib/glut32.lib
  58. +90 −0 scripts/new_demo.py
  59. +303 −0 src/action.cpp
  60. +24 −0 src/aimath.cpp
  61. +26 −0 src/basesm.cpp
  62. +47 −0 src/core.cpp
  63. +84 −0 src/dectree.cpp
  64. +164 −0 src/demos/c03_flocking/flock_steer.cpp
  65. +84 −0 src/demos/c03_flocking/flock_steer.h
  66. +274 −0 src/demos/c03_flocking/flocking_demo.cpp
  67. +294 −0 src/demos/c03_kinematic/kinematic_demo.cpp
  68. +356 −0 src/demos/c03_pipeline/pipeline_demo.cpp
  69. +318 −0 src/demos/c03_priority/priority_demo.cpp
  70. +279 −0 src/demos/c03_steering/steering_demo.cpp
  71. +237 −0 src/demos/c05_action/action_demo.cpp
  72. +113 −0 src/demos/c05_dectree/dectree_demo.cpp
  73. +296 −0 src/demos/c05_hsm/hsm_demo.cpp
  74. +194 −0 src/demos/c05_markovsm/markovsm_demo.cpp
  75. +206 −0 src/demos/c05_randectree/randectree_demo.cpp
  76. +297 −0 src/demos/c05_sm/sm_demo.cpp
  77. +121 −0 src/demos/c07_simpleq/simpleq_demo.cpp
  78. +200 −0 src/demos/common/gl/app.cpp
  79. +186 −0 src/demos/common/gl/app.h
  80. +119 −0 src/demos/common/gl/main.cpp
  81. +81 −0 src/kinematic.cpp
  82. +127 −0 src/learning.cpp
  83. +155 −0 src/location.cpp
  84. +96 −0 src/markovsm.cpp
  85. +143 −0 src/qlearning.cpp
  86. +175 −0 src/rules.cpp
  87. +111 −0 src/sm.cpp
  88. +186 −0 src/steering.cpp
  89. +285 −0 src/steerpipe.cpp
  90. +153 −0 src/timing.cpp
21 LICENSE
@@ -0,0 +1,21 @@
+The MIT License
+
+Copyright (c) 2003-2009 Ian Millington
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
104 README
@@ -0,0 +1,104 @@
+The Artificial Intelligence for Games system.
+
+Copyright (c) Ian Millington 2003-2006. All Rights Reserved.
+
+This software is distributed under licence. Use of this software
+implies agreement with all terms and conditions of the accompanying
+software licence.
+
+This code also contains portions of the AI Core engine.
+
+Copyright (c) Icosagon Limited 2003-2007. All Rights Reserved.
+
+Please see accompanying LICENSE file.
+
+
+
+Installation
+============
+
+The code can be extracted to any directory.
+
+
+Platform Compatibility
+======================
+
+The software has been designed for platform indepedence as much as
+possible. The only file that may need altering for your platform is
+./src/timing.cpp which currently wraps the windows multimedia timer.
+
+
+Building
+========
+
+Building with Scons
+-------------------
+
+The code can be built using SCONS, available from
+http://www.scons.org/. Simply cd (change directory) into the build
+directory and type scons.
+
+> cd build
+> scons
+
+To remove intermediate files after building (but leaving the library
+and demos):
+
+> scons -c ../src
+
+
+Building with Microsoft Visual Studio 8 Professional
+----------------------------------------------------
+
+Solution and project files are included for use with Microsoft visual
+studio 8 professional. They may also work with Express edition, but
+I've not tested that.
+
+
+Documentation
+-------------
+
+To build the documentation (see below) you must have doxygen
+installed (it is available from http://www.stack.nl/~dimitri/doxygen/
+Simply cd into the ./doc/build/doxygen directory, then type:
+
+> doxygen aicore.config
+
+to build the documentation.
+
+
+Layout
+======
+
+The build process creates a statically linked library in ./lib which
+can be used with the include headers in ./include. The demo programs
+are built and placed in the ./bin directory.
+
+Source code is contained in the ./src directory, and documentation
+is in the ./doc directory, in particular the reference documentation
+is in the ./doc/ref directory.
+
+
+Documentation
+=============
+
+The source code is heavily documented, and the contents correspond to
+the discussion in the "Artificial Intelligence for Games" book.
+
+It is possible to create 'doxygen' documentation with the tags in the
+source code files, and a configuration for building the documentation
+is provided in the ./doc/build/doxygen directory. The doxygen
+configuration supplied provides only html output, since other output
+formats depend on how your machine is configured.
+
+This is not currently targeted from the scons configuration, because
+scons suport for doxygen depends on where doxygen is installed on your
+machine.
+
+
+Demos
+=====
+
+To run the demos you will require OpenGL and GLUT installed on your
+machine, and the relevant DLLs or shared objects on the path.
+
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,119 @@
+
+Microsoft Visual Studio Solution File, Format Version 9.00
+# Visual Studio 2005
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "aicore", "aicore_vc8.vcproj", "{35CF1901-4202-444B-9811-F98711648A90}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "c03_steering", "c03_steering_vc8.vcproj", "{051529D5-B411-490C-833C-32B654AB1381}"
+ ProjectSection(ProjectDependencies) = postProject
+ {35CF1901-4202-444B-9811-F98711648A90} = {35CF1901-4202-444B-9811-F98711648A90}
+ EndProjectSection
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "c03_flocking", "c03_flocking_vc8.vcproj", "{3265A4A5-0D40-4E72-998A-06354C59E777}"
+ ProjectSection(ProjectDependencies) = postProject
+ {35CF1901-4202-444B-9811-F98711648A90} = {35CF1901-4202-444B-9811-F98711648A90}
+ EndProjectSection
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "c03_kinematic", "c03_kinematic_vc8.vcproj", "{20AAA1FD-6FEA-434A-AA2B-ADA3B0EACED6}"
+ ProjectSection(ProjectDependencies) = postProject
+ {35CF1901-4202-444B-9811-F98711648A90} = {35CF1901-4202-444B-9811-F98711648A90}
+ EndProjectSection
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "c03_pipeline", "c03_pipeline_vc8.vcproj", "{DB9C60A1-71ED-4852-8256-18CE70D680E4}"
+ ProjectSection(ProjectDependencies) = postProject
+ {35CF1901-4202-444B-9811-F98711648A90} = {35CF1901-4202-444B-9811-F98711648A90}
+ EndProjectSection
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "c03_priority", "c03_priority_vc8.vcproj", "{B12DEEA3-08EA-495E-9378-68CDABBC0CDF}"
+ ProjectSection(ProjectDependencies) = postProject
+ {35CF1901-4202-444B-9811-F98711648A90} = {35CF1901-4202-444B-9811-F98711648A90}
+ EndProjectSection
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "c05_dectree", "c05_dectree_vc8.vcproj", "{C11BA889-A937-439D-B096-D12CDBEBBD8A}"
+ ProjectSection(ProjectDependencies) = postProject
+ {35CF1901-4202-444B-9811-F98711648A90} = {35CF1901-4202-444B-9811-F98711648A90}
+ EndProjectSection
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "c05_action", "c05_action_vc8.vcproj", "{44CA0CBB-53E9-4F67-88FE-89837B4C49EA}"
+ ProjectSection(ProjectDependencies) = postProject
+ {35CF1901-4202-444B-9811-F98711648A90} = {35CF1901-4202-444B-9811-F98711648A90}
+ EndProjectSection
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "c05_markovsm", "c05_markovsm_vc8.vcproj", "{9FE849B5-C172-45F3-AED5-E25CFBE5C67D}"
+ ProjectSection(ProjectDependencies) = postProject
+ {35CF1901-4202-444B-9811-F98711648A90} = {35CF1901-4202-444B-9811-F98711648A90}
+ EndProjectSection
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "c05_randectree", "c05_randectree_vc8.vcproj", "{2CFE40E7-7D30-4CB1-8685-08A0BCAEC85E}"
+ ProjectSection(ProjectDependencies) = postProject
+ {35CF1901-4202-444B-9811-F98711648A90} = {35CF1901-4202-444B-9811-F98711648A90}
+ EndProjectSection
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "c05_sm", "c05_sm_vc8.vcproj", "{8E83A291-9D32-46B1-AF43-3FEE11C7F41D}"
+ ProjectSection(ProjectDependencies) = postProject
+ {35CF1901-4202-444B-9811-F98711648A90} = {35CF1901-4202-444B-9811-F98711648A90}
+ EndProjectSection
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "c07_simpleq", "c07_simpleq_vc8.vcproj", "{2704927A-9CA6-46DB-A806-74F405EB2B49}"
+ ProjectSection(ProjectDependencies) = postProject
+ {35CF1901-4202-444B-9811-F98711648A90} = {35CF1901-4202-444B-9811-F98711648A90}
+ EndProjectSection
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Win32 = Debug|Win32
+ Release|Win32 = Release|Win32
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {35CF1901-4202-444B-9811-F98711648A90}.Debug|Win32.ActiveCfg = Debug|Win32
+ {35CF1901-4202-444B-9811-F98711648A90}.Debug|Win32.Build.0 = Debug|Win32
+ {35CF1901-4202-444B-9811-F98711648A90}.Release|Win32.ActiveCfg = Release|Win32
+ {35CF1901-4202-444B-9811-F98711648A90}.Release|Win32.Build.0 = Release|Win32
+ {051529D5-B411-490C-833C-32B654AB1381}.Debug|Win32.ActiveCfg = Debug|Win32
+ {051529D5-B411-490C-833C-32B654AB1381}.Debug|Win32.Build.0 = Debug|Win32
+ {051529D5-B411-490C-833C-32B654AB1381}.Release|Win32.ActiveCfg = Release|Win32
+ {051529D5-B411-490C-833C-32B654AB1381}.Release|Win32.Build.0 = Release|Win32
+ {3265A4A5-0D40-4E72-998A-06354C59E777}.Debug|Win32.ActiveCfg = Debug|Win32
+ {3265A4A5-0D40-4E72-998A-06354C59E777}.Debug|Win32.Build.0 = Debug|Win32
+ {3265A4A5-0D40-4E72-998A-06354C59E777}.Release|Win32.ActiveCfg = Release|Win32
+ {3265A4A5-0D40-4E72-998A-06354C59E777}.Release|Win32.Build.0 = Release|Win32
+ {20AAA1FD-6FEA-434A-AA2B-ADA3B0EACED6}.Debug|Win32.ActiveCfg = Debug|Win32
+ {20AAA1FD-6FEA-434A-AA2B-ADA3B0EACED6}.Debug|Win32.Build.0 = Debug|Win32
+ {20AAA1FD-6FEA-434A-AA2B-ADA3B0EACED6}.Release|Win32.ActiveCfg = Release|Win32
+ {20AAA1FD-6FEA-434A-AA2B-ADA3B0EACED6}.Release|Win32.Build.0 = Release|Win32
+ {DB9C60A1-71ED-4852-8256-18CE70D680E4}.Debug|Win32.ActiveCfg = Debug|Win32
+ {DB9C60A1-71ED-4852-8256-18CE70D680E4}.Debug|Win32.Build.0 = Debug|Win32
+ {DB9C60A1-71ED-4852-8256-18CE70D680E4}.Release|Win32.ActiveCfg = Release|Win32
+ {DB9C60A1-71ED-4852-8256-18CE70D680E4}.Release|Win32.Build.0 = Release|Win32
+ {B12DEEA3-08EA-495E-9378-68CDABBC0CDF}.Debug|Win32.ActiveCfg = Debug|Win32
+ {B12DEEA3-08EA-495E-9378-68CDABBC0CDF}.Debug|Win32.Build.0 = Debug|Win32
+ {B12DEEA3-08EA-495E-9378-68CDABBC0CDF}.Release|Win32.ActiveCfg = Release|Win32
+ {B12DEEA3-08EA-495E-9378-68CDABBC0CDF}.Release|Win32.Build.0 = Release|Win32
+ {C11BA889-A937-439D-B096-D12CDBEBBD8A}.Debug|Win32.ActiveCfg = Debug|Win32
+ {C11BA889-A937-439D-B096-D12CDBEBBD8A}.Debug|Win32.Build.0 = Debug|Win32
+ {C11BA889-A937-439D-B096-D12CDBEBBD8A}.Release|Win32.ActiveCfg = Release|Win32
+ {C11BA889-A937-439D-B096-D12CDBEBBD8A}.Release|Win32.Build.0 = Release|Win32
+ {44CA0CBB-53E9-4F67-88FE-89837B4C49EA}.Debug|Win32.ActiveCfg = Debug|Win32
+ {44CA0CBB-53E9-4F67-88FE-89837B4C49EA}.Debug|Win32.Build.0 = Debug|Win32
+ {44CA0CBB-53E9-4F67-88FE-89837B4C49EA}.Release|Win32.ActiveCfg = Release|Win32
+ {44CA0CBB-53E9-4F67-88FE-89837B4C49EA}.Release|Win32.Build.0 = Release|Win32
+ {9FE849B5-C172-45F3-AED5-E25CFBE5C67D}.Debug|Win32.ActiveCfg = Debug|Win32
+ {9FE849B5-C172-45F3-AED5-E25CFBE5C67D}.Debug|Win32.Build.0 = Debug|Win32
+ {9FE849B5-C172-45F3-AED5-E25CFBE5C67D}.Release|Win32.ActiveCfg = Release|Win32
+ {9FE849B5-C172-45F3-AED5-E25CFBE5C67D}.Release|Win32.Build.0 = Release|Win32
+ {2CFE40E7-7D30-4CB1-8685-08A0BCAEC85E}.Debug|Win32.ActiveCfg = Debug|Win32
+ {2CFE40E7-7D30-4CB1-8685-08A0BCAEC85E}.Debug|Win32.Build.0 = Debug|Win32
+ {2CFE40E7-7D30-4CB1-8685-08A0BCAEC85E}.Release|Win32.ActiveCfg = Release|Win32
+ {2CFE40E7-7D30-4CB1-8685-08A0BCAEC85E}.Release|Win32.Build.0 = Release|Win32
+ {8E83A291-9D32-46B1-AF43-3FEE11C7F41D}.Debug|Win32.ActiveCfg = Debug|Win32
+ {8E83A291-9D32-46B1-AF43-3FEE11C7F41D}.Debug|Win32.Build.0 = Debug|Win32
+ {8E83A291-9D32-46B1-AF43-3FEE11C7F41D}.Release|Win32.ActiveCfg = Release|Win32
+ {8E83A291-9D32-46B1-AF43-3FEE11C7F41D}.Release|Win32.Build.0 = Release|Win32
+ {2704927A-9CA6-46DB-A806-74F405EB2B49}.Debug|Win32.ActiveCfg = Debug|Win32
+ {2704927A-9CA6-46DB-A806-74F405EB2B49}.Debug|Win32.Build.0 = Debug|Win32
+ {2704927A-9CA6-46DB-A806-74F405EB2B49}.Release|Win32.ActiveCfg = Release|Win32
+ {2704927A-9CA6-46DB-A806-74F405EB2B49}.Release|Win32.Build.0 = Release|Win32
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
Oops, something went wrong.

0 comments on commit eb2e771

Please sign in to comment.