Changed to slightly better textures for the map: a blue one for the sea and one that if you stand at least 10 feet away from the screen and strain your eyes a bit and have really bad vision could maybe look like a island.
parent
05d9593198
commit
98705e6211
|
@ -209,6 +209,28 @@ namespace OpenSim.GridInterfaces.Local
|
||||||
db.Set(store);
|
db.Set(store);
|
||||||
db.Commit();
|
db.Commit();
|
||||||
|
|
||||||
|
Image = new AssetBase();
|
||||||
|
Image.FullID = new LLUUID("00000000-0000-0000-9999-000000000006");
|
||||||
|
Image.Name = "Map Base Texture";
|
||||||
|
this.LoadAsset(Image, true, "map_base.jp2");
|
||||||
|
store = new AssetStorage();
|
||||||
|
store.Data = Image.Data;
|
||||||
|
store.Name = Image.Name;
|
||||||
|
store.UUID = Image.FullID;
|
||||||
|
db.Set(store);
|
||||||
|
db.Commit();
|
||||||
|
|
||||||
|
Image = new AssetBase();
|
||||||
|
Image.FullID = new LLUUID("00000000-0000-0000-9999-000000000007");
|
||||||
|
Image.Name = "Map Texture";
|
||||||
|
this.LoadAsset(Image, true, "map1.jp2");
|
||||||
|
store = new AssetStorage();
|
||||||
|
store.Data = Image.Data;
|
||||||
|
store.Name = Image.Name;
|
||||||
|
store.UUID = Image.FullID;
|
||||||
|
db.Set(store);
|
||||||
|
db.Commit();
|
||||||
|
|
||||||
Image = new AssetBase();
|
Image = new AssetBase();
|
||||||
Image.FullID = new LLUUID("66c41e39-38f9-f75a-024e-585989bfab73");
|
Image.FullID = new LLUUID("66c41e39-38f9-f75a-024e-585989bfab73");
|
||||||
Image.Name = "Shape";
|
Image.Name = "Shape";
|
||||||
|
|
|
@ -1136,7 +1136,7 @@ namespace OpenSim
|
||||||
mapReply.LayerData[0].Left = 800;
|
mapReply.LayerData[0].Left = 800;
|
||||||
mapReply.LayerData[0].Top = 1200;
|
mapReply.LayerData[0].Top = 1200;
|
||||||
mapReply.LayerData[0].Right = 1200;
|
mapReply.LayerData[0].Right = 1200;
|
||||||
mapReply.LayerData[0].ImageID = new LLUUID("00000000-0000-0000-9999-000000000001");
|
mapReply.LayerData[0].ImageID = new LLUUID("00000000-0000-0000-9999-000000000006");
|
||||||
this.OutPacket(mapReply);
|
this.OutPacket(mapReply);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -213,7 +213,7 @@ namespace OpenSim.world
|
||||||
mapReply.AgentData.Flags = 0;
|
mapReply.AgentData.Flags = 0;
|
||||||
mapReply.Data = new MapBlockReplyPacket.DataBlock[1];
|
mapReply.Data = new MapBlockReplyPacket.DataBlock[1];
|
||||||
mapReply.Data[0] = new MapBlockReplyPacket.DataBlock();
|
mapReply.Data[0] = new MapBlockReplyPacket.DataBlock();
|
||||||
mapReply.Data[0].MapImageID = new LLUUID("00000000-0000-0000-9999-000000000002");
|
mapReply.Data[0].MapImageID = new LLUUID("00000000-0000-0000-9999-000000000007");
|
||||||
mapReply.Data[0].X = (ushort)m_regInfo.RegionLocX;
|
mapReply.Data[0].X = (ushort)m_regInfo.RegionLocX;
|
||||||
mapReply.Data[0].Y = (ushort)m_regInfo.RegionLocY;
|
mapReply.Data[0].Y = (ushort)m_regInfo.RegionLocY;
|
||||||
mapReply.Data[0].WaterHeight =(byte) m_regInfo.RegionWaterHeight;
|
mapReply.Data[0].WaterHeight =(byte) m_regInfo.RegionWaterHeight;
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue