- Test suite "fixed". Tests involving combat (almost all of them) fail. Also 4 tests generate segfaults
This commit is contained in:
wagic.the.homebrew@gmail.com
2009-08-22 23:57:14 +00:00
parent 61ebbbe497
commit f988ff04cb
2 changed files with 10 additions and 6 deletions
+6 -2
View File
@@ -74,16 +74,20 @@ void GameStateOptions::Render()
JRenderer::GetInstance()->ClearScreen(ARGB(0,0,0,0)); JRenderer::GetInstance()->ClearScreen(ARGB(0,0,0,0));
const char * const CreditsText[] = { const char * const CreditsText[] = {
"Wagic, The Homebrew?! by WilLoW", "Wagic, The Homebrew?! by wololo",
"", "",
"updates, new cards, and more on http://wololo.net/wagic", "updates, new cards, and more on http://wololo.net/wagic",
"Many thanks to the devs and card creators who help this project", "Many thanks to the devs and card creators who help this project",
"", "",
"Developped with the JGE++ Library (http://jge.khors.com)", "Developped with the JGE++ Library (http://jge.khors.com)",
"",
"==Design & Art==",
"Shop, phase icons: Jhotun, http://www.jhotun.com/",
"Card back: Jeck",
"UI and some art by J",
"Player's avatar from http://mathieuchoinet.blogspot.com, under CC License", "Player's avatar from http://mathieuchoinet.blogspot.com, under CC License",
"Background picture and some art from the KDE project, www.kde.org", "Background picture and some art from the KDE project, www.kde.org",
"SFX From www.soundsnap.com", "SFX From www.soundsnap.com",
"",
"Music by Celestial Aeon Project, http://www.jamendo.com", "Music by Celestial Aeon Project, http://www.jamendo.com",
"", "",
"", "",
+4 -4
View File
@@ -98,9 +98,9 @@ int TestSuiteAI::Act(float dt){
OutputDebugString("End of combat damage!\n"); OutputDebugString("End of combat damage!\n");
drl->nextPlayer(); drl->nextPlayer();
g->userRequestNextGamePhase(); g->userRequestNextGamePhase();
}else{ }else{ */
g->userRequestNextGamePhase(); g->userRequestNextGamePhase();
} /*}
*/ */
}else if (action.compare("yes")==0){ }else if (action.compare("yes")==0){
g->mLayers->stackLayer()->setIsInterrupting(this); g->mLayers->stackLayer()->setIsInterrupting(this);
@@ -149,9 +149,9 @@ int TestSuiteAI::Act(float dt){
OutputDebugString(" Damaging Card\n"); OutputDebugString(" Damaging Card\n");
drl->clickDamage(card); drl->clickDamage(card);
} }
}else{ }else{*/
g->cardClick(card,card); g->cardClick(card,card);
} /* }
*/ */
} }
} }