From aa120266d79b87b39bf80f3f7aaca8970447bde1 Mon Sep 17 00:00:00 2001 From: MW Date: Thu, 8 Mar 2007 18:07:53 +0000 Subject: Primitive's shape and scale are now saved into database and reloaded. New ServerConsole command: regenerate - will regenerate the terrain of the whole sim. --- src/GridInterfaces/ILocalStorage.cs | 31 +++++++++++++++---------------- 1 file changed, 15 insertions(+), 16 deletions(-) (limited to 'src/GridInterfaces/ILocalStorage.cs') diff --git a/src/GridInterfaces/ILocalStorage.cs b/src/GridInterfaces/ILocalStorage.cs index 5d6b9b1..6b7ded6 100644 --- a/src/GridInterfaces/ILocalStorage.cs +++ b/src/GridInterfaces/ILocalStorage.cs @@ -35,7 +35,7 @@ namespace GridInterfaces /// public interface ILocalStorage { - void StorePrim(PrimStorage prim); + void StorePrim(PrimData prim); void RemovePrim(LLUUID primID); void LoadPrimitives(ILocalStorageReceiver receiver); void ShutDown(); @@ -43,23 +43,10 @@ namespace GridInterfaces public interface ILocalStorageReceiver { - void PrimFromStorage(PrimStorage prim); + void PrimFromStorage(PrimData prim); } - public class PrimStorage - { - public PrimData Data; - public LLVector3 Position; - public LLQuaternion Rotation; - public uint LocalID; - public LLUUID FullID; - - public PrimStorage() - { - - } - - } + public class PrimData { public LLUUID OwnerID; @@ -78,6 +65,18 @@ namespace GridInterfaces public byte ProfileCurve; public uint ParentID=0; public byte ProfileHollow; + public sbyte PathRadiusOffset; + public byte PathRevolutions; + public sbyte PathTaperX; + public sbyte PathTaperY; + public sbyte PathTwist; + public sbyte PathTwistBegin; + + //following only used during prim storage + public LLVector3 Position; + public LLQuaternion Rotation; + public uint LocalID; + public LLUUID FullID; public PrimData() { -- cgit v1.1