mirror of
https://github.com/opensim/opensim.git
synced 2026-08-13 05:05:43 +08:00
Moved the WindModule and its own plugins out of .addin.xml
This commit is contained in:
@@ -31,12 +31,14 @@ using System.Reflection;
|
||||
|
||||
using log4net;
|
||||
using OpenMetaverse;
|
||||
using Mono.Addins;
|
||||
|
||||
using OpenSim.Region.Framework.Interfaces;
|
||||
using OpenSim.Region.CoreModules.World.Wind;
|
||||
|
||||
namespace OpenSim.Region.CoreModules.World.Wind.Plugins
|
||||
{
|
||||
[Extension(Path = "/OpenSim/WindModule", NodeName = "WindModel", Id = "ConfigurableWind")]
|
||||
class ConfigurableWind : Mono.Addins.TypeExtensionNode, IWindModelPlugin
|
||||
{
|
||||
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||
|
||||
@@ -29,11 +29,13 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
using OpenMetaverse;
|
||||
using Mono.Addins;
|
||||
|
||||
using OpenSim.Region.Framework.Interfaces;
|
||||
|
||||
namespace OpenSim.Region.CoreModules.World.Wind.Plugins
|
||||
{
|
||||
[Extension(Path = "/OpenSim/WindModule", NodeName = "WindModel", Id = "SimpleRandomWind")]
|
||||
class SimpleRandomWind : Mono.Addins.TypeExtensionNode, IWindModelPlugin
|
||||
{
|
||||
private Vector2[] m_windSpeeds = new Vector2[16 * 16];
|
||||
|
||||
@@ -40,6 +40,7 @@ using OpenSim.Region.CoreModules.World.Wind;
|
||||
|
||||
namespace OpenSim.Region.CoreModules
|
||||
{
|
||||
[Extension(Path = "/OpenSim/RegionModules", NodeName = "RegionModule", Id = "WindModule")]
|
||||
public class WindModule : IWindModule
|
||||
{
|
||||
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||
|
||||
Reference in New Issue
Block a user