diff options
author | gareth | 2007-03-26 01:08:10 +0000 |
---|---|---|
committer | gareth | 2007-03-26 01:08:10 +0000 |
commit | abd45596a7c5bf8533de7492fd97e536f9c04e91 (patch) | |
tree | 19605fce73ff72e6221d83e40c3fec610a62e59a /OpenSim | |
parent | Brought in ODE native binaries (diff) | |
download | opensim-SC_OLD-abd45596a7c5bf8533de7492fd97e536f9c04e91.zip opensim-SC_OLD-abd45596a7c5bf8533de7492fd97e536f9c04e91.tar.gz opensim-SC_OLD-abd45596a7c5bf8533de7492fd97e536f9c04e91.tar.bz2 opensim-SC_OLD-abd45596a7c5bf8533de7492fd97e536f9c04e91.tar.xz |
Added -ode parameter
Updated buildscripts (to fix ODE references)
Fixed up ODE plugin to the point of being able to login and get weird bugs (no real movement code yet)
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/OpenSim.exe.build | 94 | ||||
-rw-r--r-- | OpenSim/RegionServer.cs | 7 |
2 files changed, 53 insertions, 48 deletions
diff --git a/OpenSim/OpenSim.exe.build b/OpenSim/OpenSim.exe.build index 7d69d90..fc516df 100644 --- a/OpenSim/OpenSim.exe.build +++ b/OpenSim/OpenSim.exe.build | |||
@@ -1,47 +1,47 @@ | |||
1 | <?xml version="1.0" ?> | 1 | <?xml version="1.0" ?> |
2 | <project name="OpenSim" default="build"> | 2 | <project name="OpenSim" default="build"> |
3 | <target name="build"> | 3 | <target name="build"> |
4 | <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> | 4 | <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> |
5 | <mkdir dir="${project::get-base-directory()}/${build.dir}" /> | 5 | <mkdir dir="${project::get-base-directory()}/${build.dir}" /> |
6 | <copy todir="${project::get-base-directory()}/${build.dir}"> | 6 | <copy todir="${project::get-base-directory()}/${build.dir}"> |
7 | <fileset basedir="${project::get-base-directory()}"> | 7 | <fileset basedir="${project::get-base-directory()}"> |
8 | </fileset> | 8 | </fileset> |
9 | </copy> | 9 | </copy> |
10 | <csc target="exe" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.exe"> | 10 | <csc target="exe" debug="${build.debug}" unsafe="False" define="TRACE" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.exe"> |
11 | <resources prefix="OpenSim" dynamicprefix="true" > | 11 | <resources prefix="OpenSim" dynamicprefix="true" > |
12 | </resources> | 12 | </resources> |
13 | <sources failonempty="true"> | 13 | <sources failonempty="true"> |
14 | <include name="RegionServer.cs" /> | 14 | <include name="RegionServer.cs" /> |
15 | </sources> | 15 | </sources> |
16 | <references basedir="${project::get-base-directory()}"> | 16 | <references basedir="${project::get-base-directory()}"> |
17 | <lib> | 17 | <lib> |
18 | <include name="${project::get-base-directory()}" /> | 18 | <include name="${project::get-base-directory()}" /> |
19 | <include name="${project::get-base-directory()}/${build.dir}" /> | 19 | <include name="${project::get-base-directory()}/${build.dir}" /> |
20 | </lib> | 20 | </lib> |
21 | <include name="System.dll" /> | 21 | <include name="System.dll" /> |
22 | <include name="System.Xml.dll" /> | 22 | <include name="System.Xml.dll" /> |
23 | <include name="../bin/libsecondlife.dll" /> | 23 | <include name="../bin/libsecondlife.dll" /> |
24 | <include name="../bin/Axiom.MathLib.dll" /> | 24 | <include name="../bin/Axiom.MathLib.dll" /> |
25 | <include name="../bin/Db4objects.Db4o.dll" /> | 25 | <include name="../bin/Db4objects.Db4o.dll" /> |
26 | <include name="../OpenSim.Framework/${build.dir}/OpenSim.Framework.dll" /> | 26 | <include name="../OpenSim.Framework/${build.dir}/OpenSim.Framework.dll" /> |
27 | <include name="../OpenSim.Framework.Console/${build.dir}/OpenSim.Framework.Console.dll" /> | 27 | <include name="../OpenSim.Framework.Console/${build.dir}/OpenSim.Framework.Console.dll" /> |
28 | <include name="../OpenSim.Physics/Manager/${build.dir}/OpenSim.Physics.Manager.dll" /> | 28 | <include name="../OpenSim.Physics/Manager/${build.dir}/OpenSim.Physics.Manager.dll" /> |
29 | <include name="../OpenSim.RegionServer/${build.dir}/OpenSim.RegionServer.dll" /> | 29 | <include name="../OpenSim.RegionServer/${build.dir}/OpenSim.RegionServer.dll" /> |
30 | </references> | 30 | </references> |
31 | </csc> | 31 | </csc> |
32 | <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../bin/" /> | 32 | <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../bin/" /> |
33 | <mkdir dir="${project::get-base-directory()}/../bin/"/> | 33 | <mkdir dir="${project::get-base-directory()}/../bin/"/> |
34 | <copy todir="${project::get-base-directory()}/../bin/"> | 34 | <copy todir="${project::get-base-directory()}/../bin/"> |
35 | <fileset basedir="${project::get-base-directory()}/${build.dir}/" > | 35 | <fileset basedir="${project::get-base-directory()}/${build.dir}/" > |
36 | <include name="*.dll"/> | 36 | <include name="*.dll"/> |
37 | <include name="*.exe"/> | 37 | <include name="*.exe"/> |
38 | </fileset> | 38 | </fileset> |
39 | </copy> | 39 | </copy> |
40 | </target> | 40 | </target> |
41 | <target name="clean"> | 41 | <target name="clean"> |
42 | <delete dir="${bin.dir}" failonerror="false" /> | 42 | <delete dir="${bin.dir}" failonerror="false" /> |
43 | <delete dir="${obj.dir}" failonerror="false" /> | 43 | <delete dir="${obj.dir}" failonerror="false" /> |
44 | </target> | 44 | </target> |
45 | <target name="doc" description="Creates documentation."> | 45 | <target name="doc" description="Creates documentation."> |
46 | </target> | 46 | </target> |
47 | </project> | 47 | </project> |
diff --git a/OpenSim/RegionServer.cs b/OpenSim/RegionServer.cs index 6fabe3f..725a7cf 100644 --- a/OpenSim/RegionServer.cs +++ b/OpenSim/RegionServer.cs | |||
@@ -39,7 +39,12 @@ namespace OpenSim | |||
39 | sim._physicsEngine = "RealPhysX"; | 39 | sim._physicsEngine = "RealPhysX"; |
40 | OpenSim.world.Avatar.PhysicsEngineFlying = true; | 40 | OpenSim.world.Avatar.PhysicsEngineFlying = true; |
41 | } | 41 | } |
42 | } | 42 | if (args[i] == "-ode") |
43 | { | ||
44 | sim._physicsEngine = "OpenDynamicsEngine"; | ||
45 | OpenSim.world.Avatar.PhysicsEngineFlying = true; | ||
46 | } | ||
47 | } | ||
43 | 48 | ||
44 | 49 | ||
45 | OpenSimRoot.Instance.GridServers = new Grid(); | 50 | OpenSimRoot.Instance.GridServers = new Grid(); |