* Spring cleaning.

* Added new generic "Location" class to handle 2D integer locations. Going to use it to replace all RegionHandle and X,Y coordinate references throughout the entire project. You have been warned.
This commit is contained in:
Adam Frisby
2008-04-29 14:04:55 +00:00
parent 9907c0fd10
commit 375163a6fe
64 changed files with 1283 additions and 1475 deletions

View File

@@ -31,8 +31,14 @@ namespace OpenSim.Framework
{
public class ConfigurationOption
{
#region Delegates
public delegate bool ConfigurationOptionShouldBeAsked(string configuration_key);
#endregion
#region ConfigurationTypes enum
public enum ConfigurationTypes
{
TYPE_STRING,
@@ -53,12 +59,15 @@ namespace OpenSim.Framework
TYPE_DOUBLE
} ;
#endregion
public string configurationDefault = String.Empty;
public string configurationKey = String.Empty;
public string configurationQuestion = String.Empty;
public string configurationDefault = String.Empty;
public ConfigurationTypes configurationType = ConfigurationTypes.TYPE_STRING;
public bool configurationUseDefaultNoPrompt = false;
public ConfigurationOptionShouldBeAsked shouldIBeAsked; //Should I be asked now? Based on previous answers
}
}
}