QTfrontend/team.cpp
branchflibqtfrontend
changeset 8128 ebef2de30c18
parent 8126 5bfa1b2025d6
child 8130 4cab13c82b4e
equal deleted inserted replaced
8126:5bfa1b2025d6 8128:ebef2de30c18
    62     }
    62     }
    63     team.bindings = binds.data();
    63     team.bindings = binds.data();
    64     team.bindingCount = binds.size();
    64     team.bindingCount = binds.size();
    65 
    65 
    66     m_team = flib_team_copy(&team);
    66     m_team = flib_team_copy(&team);
    67 
       
    68     m_team->remoteDriven = false;
       
    69     m_team->hogsInGame = 4;
       
    70 }
    67 }
    71 
    68 
    72 HWTeam::HWTeam(const QStringList& strLst, QObject *parent) :
    69 HWTeam::HWTeam(const QStringList& strLst, QObject *parent) :
    73     QObject(parent)
    70     QObject(parent)
    74 {
    71 {
   119     }
   116     }
   120     team.bindings = binds.data();
   117     team.bindings = binds.data();
   121     team.bindingCount = binds.size();
   118     team.bindingCount = binds.size();
   122 
   119 
   123     m_team = flib_team_copy(&team);
   120     m_team = flib_team_copy(&team);
   124     m_team->remoteDriven = true;
       
   125     m_team->hogsInGame = 4;
       
   126 }
   121 }
   127 
   122 
   128 
   123 
   129 HWTeam::HWTeam(const HWTeam & other) :
   124 HWTeam::HWTeam(const HWTeam & other) :
   130     QObject(other.parent())
   125     QObject(other.parent())