mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-07-17 17:28:07 +00:00
fix: unglob everything else and make it build
This commit is contained in:
@@ -1380,7 +1380,7 @@ void Tutorial::tick()
|
||||
while(itCon != constraintsToRemove[m_CurrentState].end() )
|
||||
{
|
||||
constraints[e_Tutorial_State_Gameplay].push_back(itCon->first);
|
||||
constraintsToRemove[e_Tutorial_State_Gameplay].push_back( pair<TutorialConstraint *, unsigned char>(itCon->first, itCon->second) );
|
||||
constraintsToRemove[e_Tutorial_State_Gameplay].push_back( std::pair<TutorialConstraint *, unsigned char>(itCon->first, itCon->second) );
|
||||
|
||||
constraints[m_CurrentState].erase( find( constraints[m_CurrentState].begin(), constraints[m_CurrentState].end(), itCon->first) );
|
||||
itCon = constraintsToRemove[m_CurrentState].erase(itCon);
|
||||
@@ -2024,7 +2024,7 @@ void Tutorial::RemoveConstraint(TutorialConstraint *c, bool delayedRemove /*= fa
|
||||
else if(delayedRemove)
|
||||
{
|
||||
c->setQueuedForRemoval(true);
|
||||
constraintsToRemove[m_CurrentState].push_back( pair<TutorialConstraint *, unsigned char>(c, 0) );
|
||||
constraintsToRemove[m_CurrentState].push_back( std::pair<TutorialConstraint *, unsigned char>(c, 0) );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -81,7 +81,7 @@ protected:
|
||||
std::unordered_map<int, TutorialMessage *> messages;
|
||||
std::vector<TutorialConstraint *> m_globalConstraints;
|
||||
std::vector<TutorialConstraint *> constraints[e_Tutorial_State_Max];
|
||||
std::vector< pair<TutorialConstraint *, unsigned char> > constraintsToRemove[e_Tutorial_State_Max];
|
||||
std::vector< std::pair<TutorialConstraint *, unsigned char> > constraintsToRemove[e_Tutorial_State_Max];
|
||||
std::vector<TutorialTask *> tasks; // We store a copy of the tasks for the main gameplay tutorial so that we could display an overview menu
|
||||
std::vector<TutorialTask *> activeTasks[e_Tutorial_State_Max];
|
||||
std::vector<TutorialHint *> hints[e_Tutorial_State_Max];
|
||||
|
||||
Reference in New Issue
Block a user