summaryrefslogtreecommitdiff
path: root/opengl/config.cpp
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2005-04-24 01:44:48 +0000
committerIan C <ianc@noddybox.co.uk>2005-04-24 01:44:48 +0000
commit105edbd5028399f9cd180ca5674a92edb1fb6efb (patch)
tree0935e33dde0701684d1a0dd5e29a77803838897a /opengl/config.cpp
parent540a3ffe4a9be39c346973e1f958c02398ce3f8a (diff)
Fixed texture mapping and added generation of materials for lighting
Diffstat (limited to 'opengl/config.cpp')
-rw-r--r--opengl/config.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/opengl/config.cpp b/opengl/config.cpp
index 0cbb488..3f9dcee 100644
--- a/opengl/config.cpp
+++ b/opengl/config.cpp
@@ -31,6 +31,7 @@ bool Config::m_useTexture=false;
bool Config::m_useInfo=false;
bool Config::m_forceCOG=false;
bool Config::m_blitzMax=false;
+bool Config::m_normals=false;
void Config::Load()
{
@@ -57,6 +58,7 @@ void Config::Load()
r.Read("info",m_useInfo);
r.Read("cog",m_forceCOG);
r.Read("bmx",m_blitzMax);
+ r.Read("normals",m_normals);
#endif
@@ -74,6 +76,7 @@ void Config::Save()
r.Write("info",m_useInfo);
r.Write("cog",m_forceCOG);
r.Write("bmx",m_blitzMax);
+ r.Write("normals",m_normals);
#endif
}
@@ -92,3 +95,6 @@ void Config::ForceCOG(bool flag) {m_forceCOG=flag;}
bool Config::BlitzMax() {return m_blitzMax;}
void Config::BlitzMax(bool flag) {m_blitzMax=flag;}
+
+bool Config::OutputNormals() {return m_normals;}
+void Config::OutputNormals(bool flag) {m_normals=flag;}