You either did not define the functions, "bool playerLevelStart2()", "bool playerDie()" and "void playerAnimate()", or you defined them after where you called them.
#include "DarkGDK.h"
void DarkGDK() {
dbSyncOn();
dbSyncRate(0);
while(LoopGDK()) {
Game(); // Calling the function before it is defined. Compiler has no idea what you mean.
}
}
void Game() { /*...*/ } // Definition
#include "DarkGDK.h"
void Game(); // Prototype of the function. You can also define it here if you want.
void DarkGDK() {
dbSyncOn();
dbSyncRate(0);
while(LoopGDK()) {
Game(); // Compiler know what you're talking about here.
dbSync();
}
}
void Game() { /*...*/ }
Your_Health = (My_Mood == HAPPY) ? 100 : NULL;