1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
|
int main()
{
/// Declare Objects:
const int MaxActors = 6;
Actor ACT[MaxActors];
// Name (14 chars) , HP , AP, AT, DE, MA, SP, HI, EV, SP, LU, Job, JobName
ACT[0].set_Stats("Character ", 999, 99, 25, 25, 25, 25, 25, 25, 25, 25, MAR, "");
ACT[1].set_Stats("Character ", 999, 99, 25, 25, 25, 25, 25, 25, 25, 25, MAR, "");
ACT[2].set_Stats("Character ", 999, 99, 25, 25, 25, 25, 25, 25, 25, 25, MAR, "");
ACT[3].set_Stats("Character ", 999, 99, 25, 25, 25, 25, 25, 25, 25, 25, MAR, "");
ACT[4].set_Stats("Character ", 999, 99, 25, 25, 25, 25, 25, 25, 25, 25, MAR, "");
ACT[5].set_Stats("Character ", 999, 99, 25, 25, 25, 25, 25, 25, 25, 25, MAR, "");
const int MaxSkills = 2;
Skill SK[3][MaxSkills];
// Name (14 chars) , L, TYP, VAL, LP , LPM, StEfct
SK[0][0].set_Skill("Skill ", 1, ATK, 255, 0, 999, None);
SK[0][1].set_Skill("Skill ", 1, ATK, 255, 0, 999, None);
SK[1][0].set_Skill("Skill ", 1, ATK, 255, 0, 999, None);
SK[1][1].set_Skill("Skill ", 1, ATK, 255, 0, 999, None);
SK[2][0].set_Skill("Skill ", 1, ATK, 255, 0, 999, None);
SK[2][1].set_Skill("Skill ", 1, ATK, 255, 0, 999, None);
const int ItemTotal = 18;
Items ITEM[ItemTotal+1];
// Q, TYP, Name (14 chars) , Selct.
ITEM[ 0].set_Items(0, NON, "--------------", false);
ITEM[ 1].set_Items(0, USE, "AnItem ", false);
ITEM[ 2].set_Items(0, USE, "AnItem ", false);
ITEM[ 3].set_Items(0, USE, "AnItem ", false);
ITEM[ 4].set_Items(0, USE, "AnItem ", false);
ITEM[ 5].set_Items(0, EQU, "AnItem ", false);
ITEM[ 6].set_Items(0, EQU, "AnItem ", false);
ITEM[ 7].set_Items(0, EQU, "AnItem ", false);
ITEM[ 8].set_Items(0, EQU, "AnItem ", false);
ITEM[ 9].set_Items(0, GEM, "AnItem ", false);
ITEM[10].set_Items(0, GEM, "AnItem ", false);
ITEM[11].set_Items(0, GEM, "AnItem ", false);
ITEM[12].set_Items(0, GEM, "AnItem ", false);
ITEM[13].set_Items(0, MAT, "AnItem ", false);
ITEM[14].set_Items(0, MAT, "AnItem ", false);
ITEM[15].set_Items(0, KEY, "AnItem ", false);
ITEM[16].set_Items(0, KEY, "AnItem ", false);
ITEM[17].set_Items(0, KEY, "AnItem ", false);
ITEM[18].set_Items(0, KEY, "AnItem ", false);
}
|