]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Objects/Weapons.cpp
Removed unused defines, changed method names case
[lugaru.git] / Source / Objects / Weapons.cpp
index 31ea8c16f4f76edcb3c8bb2948183ed14cb23baa..1cd4cea3f93c21ed6f77eac182afbc06b9354226 100644 (file)
@@ -134,7 +134,7 @@ void Weapon::Load()
     staffmodel.CalculateNormals(1);
 }
 
-void Weapon::DoStuff(int i)
+void Weapon::doStuff(int i)
 {
     static int whichpatchx, whichpatchz, whichhit;
     static XYZ start, end, colpoint, normalrot, footvel, footpoint;
@@ -957,11 +957,11 @@ void Weapons::DoStuff()
     //Move
     int i = 0;
     for (std::vector<Weapon>::iterator weapon = begin(); weapon != end(); ++weapon) {
-        weapon->DoStuff(i++);
+        weapon->doStuff(i++);
     }
 }
 
-void Weapon::Draw()
+void Weapon::draw()
 {
     static XYZ terrainlight;
     static GLfloat M[16];
@@ -1140,7 +1140,7 @@ int Weapons::Draw()
     glDepthMask(1);
 
     for (std::vector<Weapon>::iterator weapon = begin(); weapon != end(); ++weapon) {
-        weapon->Draw();
+        weapon->draw();
     }
     return 0;
 }