diff --git a/editor/editor_vs2005.vcproj b/editor/editor_vs2005.vcproj
index 17ab2a5..7b23fcf 100644
--- a/editor/editor_vs2005.vcproj
+++ b/editor/editor_vs2005.vcproj
@@ -184,10 +184,6 @@
>
-
-
diff --git a/editor/inifile.cpp b/editor/inifile.cpp
deleted file mode 100644
index d504eec..0000000
--- a/editor/inifile.cpp
+++ /dev/null
@@ -1,4 +0,0 @@
-#include "inifile.h"
-
-std::string IniFile::filename;
-std::string IniFile::section;
\ No newline at end of file
diff --git a/editor/inifile.h b/editor/inifile.h
deleted file mode 100644
index 75d01c0..0000000
--- a/editor/inifile.h
+++ /dev/null
@@ -1,62 +0,0 @@
-#pragma once
-
-#include
-#include
-
-class IniFile
-{
-protected:
- static std::string filename;
- static std::string section;
-public:
-
- static std::string getFullPath(std::string filename)
- {
- char fullpath[100];
- char* dummy;
- GetFullPathName(filename.c_str(), 100, fullpath, &dummy);
- return std::string(fullpath);
- }
- static void load(std::string filename)
- {
- IniFile::filename = getFullPath(filename);
- }
- static void load(std::string filename, std::string section)
- {
- load(filename);
- setSection(section);
- }
- static void setSection(std::string section)
- {
- IniFile::section = section;
- }
- static bool check()
- {
- char buf[10];
- return (GetPrivateProfileSectionNames( buf, 10, filename.c_str() )) ? true : false;
- }
- static int get(std::string filename, std::string section, std::string key, int defaultValue=INT_MAX)
- {
- return GetPrivateProfileInt(section.c_str(), key.c_str(), defaultValue, filename.c_str());
- }
- static int get(std::string section, std::string key, int defaultValue=INT_MAX)
- {
- return get(filename, section, key, defaultValue);
- }
- static int get(std::string key, int defaultValue=INT_MAX)
- {
- return get(filename, section, key, defaultValue);
- }
- static void read(int &var, std::string filename, std::string section, std::string key)
- {
- var = get(filename, section, key, var);
- }
- static void read(int &var, std::string section, std::string key)
- {
- var = get(filename, section, key, var);
- }
- static void read(int &var, std::string key)
- {
- var = get(filename, section, key, var);
- }
-};
diff --git a/editor/syncdocument.h b/editor/syncdocument.h
index 7d5bb4e..3d75c2e 100644
--- a/editor/syncdocument.h
+++ b/editor/syncdocument.h
@@ -6,7 +6,6 @@
#include "../sync/network.h"
#include "../sync/data.h"
-#include "inifile.h"
#include
#include
#include
diff --git a/editor/trackview.cpp b/editor/trackview.cpp
index 850127b..c83690c 100644
--- a/editor/trackview.cpp
+++ b/editor/trackview.cpp
@@ -51,16 +51,6 @@ void TrackView::setFont(HFONT font)
TrackView::TrackView()
{
- IniFile::load("rocket.ini", "GUI");
-
- if(IniFile::check())
- {
- //read directly into variables, using their current values
- //as defaults in case the ini file or the keys are not found.
- IniFile::read(rowHeight, "fontHeight");
- IniFile::read(fontWidth, "fontWidth");
- }
-
scrollPosX = 0;
scrollPosY = 0;
windowWidth = -1;