aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tools/pCampBot/BotManager.cs
diff options
context:
space:
mode:
authorAdam Frisby2008-04-21 07:09:17 +0000
committerAdam Frisby2008-04-21 07:09:17 +0000
commitfef3b3689492dea63693c964bcdbec9f5137eb5e (patch)
tree7791eef001d85d3e1de863a68f26ff9434d062ca /OpenSim/Tools/pCampBot/BotManager.cs
parent* Terrain Module code has been reformatted to comply with guidelines. (diff)
downloadopensim-SC_OLD-fef3b3689492dea63693c964bcdbec9f5137eb5e.zip
opensim-SC_OLD-fef3b3689492dea63693c964bcdbec9f5137eb5e.tar.gz
opensim-SC_OLD-fef3b3689492dea63693c964bcdbec9f5137eb5e.tar.bz2
opensim-SC_OLD-fef3b3689492dea63693c964bcdbec9f5137eb5e.tar.xz
* Optimised using statements and namespace references across entire project (this took a while to run).
Diffstat (limited to '')
-rw-r--r--OpenSim/Tools/pCampBot/BotManager.cs13
1 files changed, 6 insertions, 7 deletions
diff --git a/OpenSim/Tools/pCampBot/BotManager.cs b/OpenSim/Tools/pCampBot/BotManager.cs
index a18fa1b..df06f47 100644
--- a/OpenSim/Tools/pCampBot/BotManager.cs
+++ b/OpenSim/Tools/pCampBot/BotManager.cs
@@ -27,12 +27,11 @@
27 27
28using System; 28using System;
29using System.Collections.Generic; 29using System.Collections.Generic;
30using System.Text; 30using System.Reflection;
31using System.IO; 31using System.Threading;
32using libsecondlife; 32using libsecondlife;
33using libsecondlife.Packets; 33using log4net;
34using Nini.Config; 34using Nini.Config;
35using System.Threading;
36using OpenSim.Framework; 35using OpenSim.Framework;
37using OpenSim.Framework.Console; 36using OpenSim.Framework.Console;
38 37
@@ -43,13 +42,13 @@ namespace pCampBot
43 /// </summary> 42 /// </summary>
44 public class BotManager : conscmd_callback 43 public class BotManager : conscmd_callback
45 { 44 {
46 private static readonly log4net.ILog m_log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); 45 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
47 46
48 protected ConsoleBase m_console; 47 protected ConsoleBase m_console;
49 protected List<PhysicsBot> m_lBot; 48 protected List<PhysicsBot> m_lBot;
50 protected Thread[] m_td; 49 protected Thread[] m_td;
51 protected bool m_verbose = true; 50 protected bool m_verbose = true;
52 protected Random somthing = new Random(System.Environment.TickCount); 51 protected Random somthing = new Random(Environment.TickCount);
53 protected int numbots = 0; 52 protected int numbots = 0;
54 protected IConfig Previous_config; 53 protected IConfig Previous_config;
55 54
@@ -117,7 +116,7 @@ namespace pCampBot
117 m_td[pos].IsBackground = true; 116 m_td[pos].IsBackground = true;
118 m_td[pos].Start(); 117 m_td[pos].Start();
119 m_lBot.Add(pb); 118 m_lBot.Add(pb);
120 OpenSim.Framework.ThreadTracker.Add(m_td[pos]); 119 ThreadTracker.Add(m_td[pos]);
121 } 120 }
122 121
123 /// <summary> 122 /// <summary>