|
|
@ -1176,7 +1176,7 @@ void AiL::RenderWorld(float fElapsedTime){ |
|
|
|
m.strategyDraw(this,m,MONSTER_DATA[m.GetName()].GetAIStrategy()); |
|
|
|
m.strategyDraw(this,m,MONSTER_DATA[m.GetName()].GetAIStrategy()); |
|
|
|
it=monstersBeforeLower.erase(it); |
|
|
|
it=monstersBeforeLower.erase(it); |
|
|
|
if(it==monstersBeforeLower.end())break; |
|
|
|
if(it==monstersBeforeLower.end())break; |
|
|
|
--it; |
|
|
|
if(it!=monstersBeforeLower.begin())--it; |
|
|
|
continue; |
|
|
|
continue; |
|
|
|
} |
|
|
|
} |
|
|
|
break; |
|
|
|
break; |
|
|
@ -1187,7 +1187,7 @@ void AiL::RenderWorld(float fElapsedTime){ |
|
|
|
b.Draw(); |
|
|
|
b.Draw(); |
|
|
|
it=bulletsLower.erase(it); |
|
|
|
it=bulletsLower.erase(it); |
|
|
|
if(it==bulletsLower.end())break; |
|
|
|
if(it==bulletsLower.end())break; |
|
|
|
--it; |
|
|
|
if(it!=bulletsLower.begin())--it; |
|
|
|
continue; |
|
|
|
continue; |
|
|
|
} |
|
|
|
} |
|
|
|
break; |
|
|
|
break; |
|
|
@ -1198,7 +1198,7 @@ void AiL::RenderWorld(float fElapsedTime){ |
|
|
|
e.Draw(); |
|
|
|
e.Draw(); |
|
|
|
it=backgroundEffectsLower.erase(it); |
|
|
|
it=backgroundEffectsLower.erase(it); |
|
|
|
if(it==backgroundEffectsLower.end())break; |
|
|
|
if(it==backgroundEffectsLower.end())break; |
|
|
|
--it; |
|
|
|
if(it!=backgroundEffectsLower.begin())--it; |
|
|
|
continue; |
|
|
|
continue; |
|
|
|
} |
|
|
|
} |
|
|
|
break; |
|
|
|
break; |
|
|
@ -1209,7 +1209,7 @@ void AiL::RenderWorld(float fElapsedTime){ |
|
|
|
drop.Draw(); |
|
|
|
drop.Draw(); |
|
|
|
it=dropsBeforeLower.erase(it); |
|
|
|
it=dropsBeforeLower.erase(it); |
|
|
|
if(it==dropsBeforeLower.end())break; |
|
|
|
if(it==dropsBeforeLower.end())break; |
|
|
|
--it; |
|
|
|
if(it!=dropsBeforeLower.begin())--it; |
|
|
|
continue; |
|
|
|
continue; |
|
|
|
} |
|
|
|
} |
|
|
|
break; |
|
|
|
break; |
|
|
@ -1229,7 +1229,7 @@ void AiL::RenderWorld(float fElapsedTime){ |
|
|
|
m.strategyDraw(this,m,MONSTER_DATA[m.GetName()].GetAIStrategy()); |
|
|
|
m.strategyDraw(this,m,MONSTER_DATA[m.GetName()].GetAIStrategy()); |
|
|
|
it=monstersAfterLower.erase(it); |
|
|
|
it=monstersAfterLower.erase(it); |
|
|
|
if(it==monstersAfterLower.end())break; |
|
|
|
if(it==monstersAfterLower.end())break; |
|
|
|
--it; |
|
|
|
if(it!=monstersAfterLower.begin())--it; |
|
|
|
continue; |
|
|
|
continue; |
|
|
|
} |
|
|
|
} |
|
|
|
break; |
|
|
|
break; |
|
|
@ -1240,7 +1240,7 @@ void AiL::RenderWorld(float fElapsedTime){ |
|
|
|
drop.Draw(); |
|
|
|
drop.Draw(); |
|
|
|
it=dropsAfterLower.erase(it); |
|
|
|
it=dropsAfterLower.erase(it); |
|
|
|
if(it==dropsAfterLower.end())break; |
|
|
|
if(it==dropsAfterLower.end())break; |
|
|
|
--it; |
|
|
|
if(it!=dropsAfterLower.begin())--it; |
|
|
|
continue; |
|
|
|
continue; |
|
|
|
} |
|
|
|
} |
|
|
|
break; |
|
|
|
break; |
|
|
@ -1251,7 +1251,7 @@ void AiL::RenderWorld(float fElapsedTime){ |
|
|
|
e.Draw(); |
|
|
|
e.Draw(); |
|
|
|
it=foregroundEffectsLower.erase(it); |
|
|
|
it=foregroundEffectsLower.erase(it); |
|
|
|
if(it==foregroundEffectsLower.end())break; |
|
|
|
if(it==foregroundEffectsLower.end())break; |
|
|
|
--it; |
|
|
|
if(it!=foregroundEffectsLower.begin())--it; |
|
|
|
continue; |
|
|
|
continue; |
|
|
|
} |
|
|
|
} |
|
|
|
break; |
|
|
|
break; |
|
|
@ -1423,7 +1423,7 @@ void AiL::RenderWorld(float fElapsedTime){ |
|
|
|
m.strategyDraw(this,m,MONSTER_DATA[m.GetName()].GetAIStrategy()); |
|
|
|
m.strategyDraw(this,m,MONSTER_DATA[m.GetName()].GetAIStrategy()); |
|
|
|
it=monstersBeforeUpper.erase(it); |
|
|
|
it=monstersBeforeUpper.erase(it); |
|
|
|
if(it==monstersBeforeUpper.end())break; |
|
|
|
if(it==monstersBeforeUpper.end())break; |
|
|
|
--it; |
|
|
|
if(it!=monstersBeforeUpper.begin())--it; |
|
|
|
continue; |
|
|
|
continue; |
|
|
|
} |
|
|
|
} |
|
|
|
break; |
|
|
|
break; |
|
|
@ -1434,7 +1434,7 @@ void AiL::RenderWorld(float fElapsedTime){ |
|
|
|
b.Draw(); |
|
|
|
b.Draw(); |
|
|
|
it=bulletsUpper.erase(it); |
|
|
|
it=bulletsUpper.erase(it); |
|
|
|
if(it==bulletsUpper.end())break; |
|
|
|
if(it==bulletsUpper.end())break; |
|
|
|
--it; |
|
|
|
if(it!=bulletsUpper.begin())--it; |
|
|
|
continue; |
|
|
|
continue; |
|
|
|
} |
|
|
|
} |
|
|
|
break; |
|
|
|
break; |
|
|
@ -1445,7 +1445,7 @@ void AiL::RenderWorld(float fElapsedTime){ |
|
|
|
e.Draw(); |
|
|
|
e.Draw(); |
|
|
|
it=backgroundEffectsUpper.erase(it); |
|
|
|
it=backgroundEffectsUpper.erase(it); |
|
|
|
if(it==backgroundEffectsUpper.end())break; |
|
|
|
if(it==backgroundEffectsUpper.end())break; |
|
|
|
--it; |
|
|
|
if(it!=backgroundEffectsUpper.begin())--it; |
|
|
|
continue; |
|
|
|
continue; |
|
|
|
} |
|
|
|
} |
|
|
|
break; |
|
|
|
break; |
|
|
@ -1456,7 +1456,7 @@ void AiL::RenderWorld(float fElapsedTime){ |
|
|
|
drop.Draw(); |
|
|
|
drop.Draw(); |
|
|
|
it=dropsBeforeUpper.erase(it); |
|
|
|
it=dropsBeforeUpper.erase(it); |
|
|
|
if(it==dropsBeforeUpper.end())break; |
|
|
|
if(it==dropsBeforeUpper.end())break; |
|
|
|
--it; |
|
|
|
if(it!=dropsBeforeUpper.begin())--it; |
|
|
|
continue; |
|
|
|
continue; |
|
|
|
} |
|
|
|
} |
|
|
|
break; |
|
|
|
break; |
|
|
@ -1476,7 +1476,7 @@ void AiL::RenderWorld(float fElapsedTime){ |
|
|
|
m.strategyDraw(this,m,MONSTER_DATA[m.GetName()].GetAIStrategy()); |
|
|
|
m.strategyDraw(this,m,MONSTER_DATA[m.GetName()].GetAIStrategy()); |
|
|
|
it=monstersAfterUpper.erase(it); |
|
|
|
it=monstersAfterUpper.erase(it); |
|
|
|
if(it==monstersAfterUpper.end())break; |
|
|
|
if(it==monstersAfterUpper.end())break; |
|
|
|
--it; |
|
|
|
if(it!=monstersAfterUpper.begin())--it; |
|
|
|
continue; |
|
|
|
continue; |
|
|
|
} |
|
|
|
} |
|
|
|
break; |
|
|
|
break; |
|
|
@ -1487,7 +1487,7 @@ void AiL::RenderWorld(float fElapsedTime){ |
|
|
|
drop.Draw(); |
|
|
|
drop.Draw(); |
|
|
|
it=dropsAfterUpper.erase(it); |
|
|
|
it=dropsAfterUpper.erase(it); |
|
|
|
if(it==dropsAfterUpper.end())break; |
|
|
|
if(it==dropsAfterUpper.end())break; |
|
|
|
--it; |
|
|
|
if(it!=dropsAfterUpper.begin())--it; |
|
|
|
continue; |
|
|
|
continue; |
|
|
|
} |
|
|
|
} |
|
|
|
break; |
|
|
|
break; |
|
|
@ -1498,7 +1498,7 @@ void AiL::RenderWorld(float fElapsedTime){ |
|
|
|
e.Draw(); |
|
|
|
e.Draw(); |
|
|
|
it=foregroundEffectsUpper.erase(it); |
|
|
|
it=foregroundEffectsUpper.erase(it); |
|
|
|
if(it==foregroundEffectsUpper.end())break; |
|
|
|
if(it==foregroundEffectsUpper.end())break; |
|
|
|
--it; |
|
|
|
if(it!=foregroundEffectsUpper.begin())--it; |
|
|
|
continue; |
|
|
|
continue; |
|
|
|
} |
|
|
|
} |
|
|
|
break; |
|
|
|
break; |
|
|
|