summaryrefslogtreecommitdiff
path: root/NET/worlds/core/IniFile.java
diff options
context:
space:
mode:
Diffstat (limited to 'NET/worlds/core/IniFile.java')
-rw-r--r--NET/worlds/core/IniFile.java83
1 files changed, 83 insertions, 0 deletions
diff --git a/NET/worlds/core/IniFile.java b/NET/worlds/core/IniFile.java
new file mode 100644
index 0000000..44a3e74
--- /dev/null
+++ b/NET/worlds/core/IniFile.java
@@ -0,0 +1,83 @@
+/* */ package NET.worlds.core;
+/* */
+/* */
+/* */
+/* */
+/* */
+/* */
+/* */
+/* */ public class IniFile
+/* */ {
+/* */ String file;
+/* */
+/* */
+/* */
+/* */
+/* */
+/* */
+/* */ String section;
+/* */
+/* */
+/* */
+/* */
+/* */
+/* */
+/* */ public IniFile(String section)
+/* */ {
+/* 27 */ this.file = null;
+/* 28 */ this.section = section;
+/* */ }
+/* */
+/* */ public IniFile(String inifileName, String section)
+/* */ {
+/* 33 */ this.file = inifileName;
+/* 34 */ this.section = section;
+/* */ }
+/* */
+/* 37 */ static boolean initialized = false;
+/* */
+/* 39 */ private static IniFile gamma_ = null;
+/* 40 */ private static IniFile override_ = null;
+/* */
+/* */ public static IniFile gamma()
+/* */ {
+/* 44 */ if (gamma_ == null) {
+/* 45 */ gamma_ = new IniFile("Gamma");
+/* */ }
+/* 47 */ if (!initialized) {
+/* 48 */ nativeInit();
+/* 49 */ initialized = true;
+/* */ }
+/* 51 */ return gamma_;
+/* */ }
+/* */
+/* */ public static IniFile override()
+/* */ {
+/* 56 */ if (!initialized) {
+/* 57 */ nativeInit();
+/* 58 */ initialized = true;
+/* */ }
+/* */
+/* 61 */ if (override_ == null) {
+/* 62 */ override_ = new IniFile(".\\override.ini", "Runtime");
+/* */ }
+/* */
+/* 65 */ return override_;
+/* */ }
+/* */
+/* */ public native int getIniInt(String paramString, int paramInt);
+/* */
+/* */ public native void setIniInt(String paramString, int paramInt);
+/* */
+/* */ public native String getIniString(String paramString1, String paramString2);
+/* */
+/* */ public native void setIniString(String paramString1, String paramString2);
+/* */
+/* */ public static native void nativeInit();
+/* */ }
+
+
+/* Location: C:\Program Files (x86)\Worlds Inc\WorldsPlayer - Win7\lib\worlds.jar!\NET\worlds\core\IniFile.class
+ * Java compiler version: 6 (50.0)
+ * JD-Core Version: 0.7.1
+ */ \ No newline at end of file