[colobot] 67/390: Removed more unused variables

Didier Raboud odyx at moszumanska.debian.org
Fri Jun 12 14:21:29 UTC 2015


This is an automated email from the git hooks/post-receive script.

odyx pushed a commit to branch upstream/latest
in repository colobot.

commit 8fab044bcdafa0637c8a9b824f9ac81ea95db7ec
Author: krzys-h <krzys_h at interia.pl>
Date:   Sat Sep 27 17:16:58 2014 +0200

    Removed more unused variables
---
 src/object/robotmain.cpp | 13 -------------
 src/object/robotmain.h   |  7 -------
 2 files changed, 20 deletions(-)

diff --git a/src/object/robotmain.cpp b/src/object/robotmain.cpp
index 0fa9b0d..8496d7d 100644
--- a/src/object/robotmain.cpp
+++ b/src/object/robotmain.cpp
@@ -658,12 +658,6 @@ CRobotMain::CRobotMain(CApplication* app, bool loadProfile)
     m_selectObject = 0;
     m_infoUsed     = 0;
 
-    m_beginObject         = false;
-    m_terrainGenerate     = false;
-    m_terrainInit         = false;
-    m_terrainInitTextures = false;
-    m_terrainCreate       = false;
-
     m_version      = 1;
     m_controller   = nullptr;
     m_retroStyle   = false;
@@ -3945,12 +3939,6 @@ void CRobotMain::CreateScene(bool soluce, bool fixScene, bool resetObject)
         strcpy(m_scriptName, scriptNameStr.c_str());
         m_scriptFile[0] = 0;
 
-        m_beginObject         = false;
-        m_terrainGenerate     = false;
-        m_terrainInit         = false;
-        m_terrainInitTextures = false;
-        m_terrainCreate       = false;
-
         m_version             = 1;
         m_retroStyle          = false;
 
@@ -4336,7 +4324,6 @@ void CRobotMain::CreateScene(bool soluce, bool fixScene, bool resetObject)
         if (line->GetCommand() == "TerrainInit" && !resetObject)
         {
             m_terrain->InitMaterials(line->GetParam("id")->AsInt(1));
-            m_terrainInit = true;
             continue;
         }
         
diff --git a/src/object/robotmain.h b/src/object/robotmain.h
index 466c47d..2c173fb 100644
--- a/src/object/robotmain.h
+++ b/src/object/robotmain.h
@@ -491,13 +491,6 @@ protected:
 
     CObject*        m_controller;
 
-    // Level Checker flags
-    bool            m_beginObject;
-    bool            m_terrainGenerate;
-    bool            m_terrainInitTextures;
-    bool            m_terrainInit;
-    bool            m_terrainCreate;
-
     int             m_version;         // Mission file version
     bool            m_retroStyle;      // Retro
     bool            m_immediatSatCom;  // SatCom immediately?

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/colobot.git



More information about the Pkg-games-commits mailing list