From b3844c1f7348b4296b5ab1df258935d7f971e412 Mon Sep 17 00:00:00 2001 From: gareth Date: Wed, 7 Mar 2007 18:48:38 +0000 Subject: Deleted old trunk code --- src/world/PhysicsEngine.cs | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 src/world/PhysicsEngine.cs (limited to 'src/world/PhysicsEngine.cs') diff --git a/src/world/PhysicsEngine.cs b/src/world/PhysicsEngine.cs deleted file mode 100644 index b237f5e..0000000 --- a/src/world/PhysicsEngine.cs +++ /dev/null @@ -1,32 +0,0 @@ -using System; -using System.Threading; -using libsecondlife; -using libsecondlife.Packets; -using System.Collections.Generic; -using System.Text; - -namespace OpenSim.world -{ - public class PhysicsEngine - { - - public PhysicsEngine() { - } - - public void Startup() { - OpenSim_Main.localcons.WriteLine("PhysicsEngine.cs:Startup() - DOING NOTHING, DUMMY FUNCTION!"); - } - - public void DoStuff(World simworld) { - foreach (libsecondlife.LLUUID UUID in simworld.Entities.Keys) - { - simworld.Entities[UUID].position += simworld.Entities[UUID].velocity; - simworld.Entities[UUID].position.Z = simworld.LandMap[(int)simworld.Entities[UUID].position.Y * 256 + (int)simworld.Entities[UUID].position.X]+1; - if(simworld.Entities[UUID].position.X<0) simworld.Entities[UUID].position.X=0; - if(simworld.Entities[UUID].position.Y<0) simworld.Entities[UUID].position.Y=0; - if(simworld.Entities[UUID].position.X>255) simworld.Entities[UUID].position.X=255; - if(simworld.Entities[UUID].position.Y>255) simworld.Entities[UUID].position.Y=255; - } - } - } -} -- cgit v1.1