diff options
author | MW | 2007-03-08 18:07:53 +0000 |
---|---|---|
committer | MW | 2007-03-08 18:07:53 +0000 |
commit | aa120266d79b87b39bf80f3f7aaca8970447bde1 (patch) | |
tree | cecae22f2d8b2fc7541a011d2db86f819901c51f /src/GridInterfaces/ILocalStorage.cs | |
parent | Changed water height to default of 20 (diff) | |
download | opensim-SC_OLD-aa120266d79b87b39bf80f3f7aaca8970447bde1.zip opensim-SC_OLD-aa120266d79b87b39bf80f3f7aaca8970447bde1.tar.gz opensim-SC_OLD-aa120266d79b87b39bf80f3f7aaca8970447bde1.tar.bz2 opensim-SC_OLD-aa120266d79b87b39bf80f3f7aaca8970447bde1.tar.xz |
Primitive's shape and scale are now saved into database and reloaded.
New ServerConsole command: regenerate - will regenerate the terrain of the whole sim.
Diffstat (limited to 'src/GridInterfaces/ILocalStorage.cs')
-rw-r--r-- | src/GridInterfaces/ILocalStorage.cs | 31 |
1 files changed, 15 insertions, 16 deletions
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 | |||
35 | /// </summary> | 35 | /// </summary> |
36 | public interface ILocalStorage | 36 | public interface ILocalStorage |
37 | { | 37 | { |
38 | void StorePrim(PrimStorage prim); | 38 | void StorePrim(PrimData prim); |
39 | void RemovePrim(LLUUID primID); | 39 | void RemovePrim(LLUUID primID); |
40 | void LoadPrimitives(ILocalStorageReceiver receiver); | 40 | void LoadPrimitives(ILocalStorageReceiver receiver); |
41 | void ShutDown(); | 41 | void ShutDown(); |
@@ -43,23 +43,10 @@ namespace GridInterfaces | |||
43 | 43 | ||
44 | public interface ILocalStorageReceiver | 44 | public interface ILocalStorageReceiver |
45 | { | 45 | { |
46 | void PrimFromStorage(PrimStorage prim); | 46 | void PrimFromStorage(PrimData prim); |
47 | } | 47 | } |
48 | 48 | ||
49 | public class PrimStorage | 49 | |
50 | { | ||
51 | public PrimData Data; | ||
52 | public LLVector3 Position; | ||
53 | public LLQuaternion Rotation; | ||
54 | public uint LocalID; | ||
55 | public LLUUID FullID; | ||
56 | |||
57 | public PrimStorage() | ||
58 | { | ||
59 | |||
60 | } | ||
61 | |||
62 | } | ||
63 | public class PrimData | 50 | public class PrimData |
64 | { | 51 | { |
65 | public LLUUID OwnerID; | 52 | public LLUUID OwnerID; |
@@ -78,6 +65,18 @@ namespace GridInterfaces | |||
78 | public byte ProfileCurve; | 65 | public byte ProfileCurve; |
79 | public uint ParentID=0; | 66 | public uint ParentID=0; |
80 | public byte ProfileHollow; | 67 | public byte ProfileHollow; |
68 | public sbyte PathRadiusOffset; | ||
69 | public byte PathRevolutions; | ||
70 | public sbyte PathTaperX; | ||
71 | public sbyte PathTaperY; | ||
72 | public sbyte PathTwist; | ||
73 | public sbyte PathTwistBegin; | ||
74 | |||
75 | //following only used during prim storage | ||
76 | public LLVector3 Position; | ||
77 | public LLQuaternion Rotation; | ||
78 | public uint LocalID; | ||
79 | public LLUUID FullID; | ||
81 | 80 | ||
82 | public PrimData() | 81 | public PrimData() |
83 | { | 82 | { |