* Terrain modification more robust, uses area sizes matching those employed by the client display.

* Terrain tools now account for the duration the cursor was held for.
* Terrain tools now support new brushes (completing the common set)
** Smooth brush
** Flatten brush
** Revert brush
** Noise brush
This commit is contained in:
Adam Frisby
2007-06-20 21:57:22 +00:00
parent e4c915eebc
commit 8194d82230
6 changed files with 246 additions and 203 deletions

View File

@@ -19,13 +19,13 @@ namespace SimpleApp
{
class Program : IAssetReceiver, conscmd_callback
{
private LogBase m_console;
private LogBase m_log;
AuthenticateSessionsBase m_circuitManager;
private void Run()
{
m_console = new LogBase(null, "SimpleApp", this, false);
MainLog.Instance = m_console;
m_log = new LogBase(null, "SimpleApp", this, false);
MainLog.Instance = m_log;
CheckSumServer checksumServer = new CheckSumServer(12036);
checksumServer.ServerListener();
@@ -47,7 +47,7 @@ namespace SimpleApp
AssetCache assetCache = new AssetCache(assetServer);
UDPServer udpServer = new UDPServer(simPort, assetCache, inventoryCache, m_console, m_circuitManager );
UDPServer udpServer = new UDPServer(simPort, assetCache, inventoryCache, m_log, m_circuitManager );
PacketServer packetServer = new PacketServer( udpServer, (uint) simPort );
udpServer.ServerListener();
@@ -68,13 +68,13 @@ namespace SimpleApp
httpServer.AddXmlRPCHandler( "login_to_simulator", loginServer.XmlRpcLoginMethod );
httpServer.Start();
m_console.WriteLine( LogPriority.NORMAL, "Press enter to quit.");
m_console.ReadLine();
m_log.WriteLine( LogPriority.NORMAL, "Press enter to quit.");
m_log.ReadLine();
}
private bool AddNewSessionHandler(ulong regionHandle, Login loginData)
{
m_console.WriteLine(LogPriority.NORMAL, "Region [{0}] recieved Login from [{1}] [{2}]", regionHandle, loginData.First, loginData.Last);
m_log.WriteLine(LogPriority.NORMAL, "Region [{0}] recieved Login from [{1}] [{2}]", regionHandle, loginData.First, loginData.Last);
AgentCircuitData agent = new AgentCircuitData();
agent.AgentID = loginData.Agent;