40 Koliseo_Temp * t_kls);
56 Koliseo_Temp * t_kls);
60 int enemyindex, Koliseo_Temp * t_kls);
Equip equips[EQUIPSMAX+1]
Array containing all Equip instances.
Definition game_core.c:559
void(*) effect_fp_fun(struct FoeParty *)
Defines a function pointer returning void and taking a FoeParty pointer.
Definition game_core.h:1259
void(*) effect_fun(Fighter *)
Defines a function pointer returning void and taking a Fighter pointer.
Definition game_core.h:1241
void(*) effect_e_fun(Enemy *)
Defines a function pointer returning void and taking a Enemy pointer.
Definition game_core.h:1247
void(*) boost_e_fun(Enemy *, int boost)
Defines a function pointer returning void and taking a Enemy pointer and an integer.
Definition game_core.h:1272
Stat
The different kinds of Stat.
Definition game_core.h:618
fighterClass
The different kinds of Fighter.
Definition game_core.h:597
void(*) boost_fun(Fighter *, int boost)
Defines a function pointer returning void and taking a Fighter pointer and an integer.
Definition game_core.h:1266
void(*) boost_b_fun(Boss *, int boost)
Defines a function pointer returning void and taking a Boss pointer and an integer.
Definition game_core.h:1278
void(*) boost_fp_fun(struct FoeParty *, int boost)
Defines a function pointer returning void and taking a FoeParty pointer and an integer.
Definition game_core.h:1284
specialMove
The different kinds of special moves.
Definition game_core.h:805
fighterStatus
The different kinds of fighterStatus.
Definition game_core.h:577
skillType
Definition game_core.h:860
void(*) effect_b_fun(Boss *)
Defines a function pointer returning void and taking a Boss pointer.
Definition game_core.h:1253
void set_foeparty_turnboost_vel(FoeParty *fp, int boost)
Takes a FoeParty pointer and an integer, used to set the turnboost_vel value at the pointer.
Definition game_init.c:2292
void set_boss_turnboost_enr(Boss *b, int boost)
Takes a Boss pointer and an integer, used to set the turnboost_enr value at the pointer.
Definition game_init.c:2253
void initEquipsBag(Fighter *f, Koliseo *kls)
Takes a Fighter pointer and prepares its equipsBag field by allocating an Equip for each array slot.
Definition game_init.c:744
void setBossSkills(Boss *b, Koliseo_Temp *t_kls)
Takes a Boss pointer and prepares its skillSlot fields by allocating BOSS_SKILL_SLOTS slots.
Definition game_init.c:1880
effect_fun getStatusCounterFun(fighterStatus status)
Takes a fighterStatus and returns the corresponding effect_fun pointer for the function relating to t...
Definition game_init.c:1908
void set_foeparty_turnboost_enr(FoeParty *fp, int boost)
Takes a FoeParty pointer and an integer, used to set the turnboost_enr value at the pointer.
Definition game_init.c:2305
void prepareBoss(Boss *b, Koliseo_Temp *t_kls)
Takes a Boss pointer and initialises all the fields making it ready for use in battle.
Definition game_init.c:1683
boost_fp_fun get_StatBoostCounter_FoeParty_Fun(Stat s)
Takes a Stat and returns the corresponding boost_fp_fun pointer for the function relating to the stat...
Definition game_init.c:2072
void initEquipSlots(Fighter *f, Koliseo *kls)
Takes a Fighter pointer and prepares its equipslots field by allocating an Equipslot for each Equipzo...
Definition game_init.c:691
effect_e_fun getStatusCounterEnemyFun(fighterStatus status)
Takes a fighterStatus and returns the corresponding effect_e_fun pointer for the function relating to...
Definition game_init.c:1926
void setEquipPrices(int size, int *equipPrices, Equip *equips[])
Takes a size int and a pointer to integer array, initialises all the prices, depending on stats from ...
Definition game_init.c:1088
void prepareChest(Chest *c, Fighter *f, Koliseo_Temp *t_kls)
Takes a Chest and Fighter pointers and initialises all the fields in chest making it ready for use in...
Definition game_init.c:1657
void set_enemy_turnboost_def(Enemy *e, int boost)
Takes a Enemy pointer and an integer, used to set the turnboost_def value at the pointer.
Definition game_init.c:2175
void set_enemy_turnboost_vel(Enemy *e, int boost)
Takes a Enemy pointer and an integer, used to set the turnboost_vel value at the pointer.
Definition game_init.c:2188
void set_enemy_turnboost_enr(Enemy *e, int boost)
Takes a Enemy pointer and an integer, used to set the turnboost_enr value at the pointer.
Definition game_init.c:2201
void set_foeparty_turnboost_def(FoeParty *fp, int boost)
Takes a FoeParty pointer and an integer, used to set the turnboost_def value at the pointer.
Definition game_init.c:2279
void setEnemySkills(Enemy *e, Koliseo_Temp *t_kls)
Takes a Enemy pointer and prepares its skillSlot fields by allocating ENEMY_SKILL_SLOTS slots.
Definition game_init.c:1847
void set_enemy_turnboost_atk(Enemy *e, int boost)
Takes a Enemy pointer and an integer, used to set the turnboost_atk value at the pointer.
Definition game_init.c:2162
void initPlayerStats(Fighter *player, Path *path, Koliseo *kls)
Takes one Fighter and one Path pointers and initialises the fighter fields.
Definition game_init.c:785
void initChest(Chest *c, Fighter *f, Koliseo_Temp *t_kls)
Takes a Chest and Fighter pointers and initialises all the fields in chest based on chest class and f...
Definition game_init.c:1166
void initEnemyStats(Enemy *e, Koliseo_Temp *t_kls)
Takes one Enemy pointer and initialises the enemy fields.
Definition game_init.c:883
void set_turnboost_vel(Fighter *f, int boost)
Takes a Fighter pointer and an integer, used to set the turnboost_vel value at the pointer.
Definition game_init.c:2136
void resetEnemyStatus(Enemy *e)
Takes a Enemy pointer and resets its status value to Normal.
Definition game_init.c:2330
void initArtifactsBag(Fighter *f, Koliseo *kls)
Takes a Fighter pointer and prepares its artifactsBag field by allocating a Artifact for each artifac...
Definition game_init.c:714
void initConsumableBag(Fighter *f, Koliseo *kls)
Takes a Fighter pointer and prepares its consumablesBag field by allocating a Consumable for each con...
Definition game_init.c:64
void prepareRoadfork(Roadfork *r)
Takes a Roadfork pointer and initialises all the fields making it ready for use in battle.
Definition game_init.c:1817
void set_turnboost_enr(Fighter *f, int boost)
Takes a Fighter pointer and an integer, used to set the turnboost_enr value at the pointer.
Definition game_init.c:2149
void setSkills(Fighter *f, Koliseo *kls)
Takes a Fighter pointer and prepares its skillSlot fields by allocating FIGHTER_SKILL_SLOTS slots.
Definition game_init.c:1138
void initBossStats(Boss *b, Koliseo_Temp *t_kls)
Takes one Boss pointer and initialises the boss fields.
Definition game_init.c:939
void initTreasure(Treasure *t, Fighter *f, Koliseo_Temp *t_kls)
Takes a Treasure and Fighter pointers and initialises all the treasure fields based on its class and ...
Definition game_init.c:1570
void initFoePartyStats(FoeParty *fp, Koliseo_Temp *t_kls)
Takes one FoeParty pointer and initialises the party fields.
Definition game_init.c:990
void set_foeparty_turnboost_atk(FoeParty *fp, int boost)
Takes a FoeParty pointer and an integer, used to set the turnboost_atk value at the pointer.
Definition game_init.c:2266
void initFoePartyCounters(FoeParty *fp, Koliseo_Temp *t_kls)
Takes a FoeParty pointer and prepares its counters field by allocating all the Turncounter accounted ...
Definition game_init.c:547
void initECounters(Enemy *e, Koliseo_Temp *t_kls)
Takes a Enemy pointer and prepares its counters field by allocating all the Turncounter accounted in ...
Definition game_init.c:250
boost_fun getStatBoostCounterFun(Stat s)
Takes a Stat and returns the corresponding boost_fun pointer for the function relating to the stat.
Definition game_init.c:1964
void initPerks(Fighter *f, Koliseo *kls)
Takes a Fighter pointer and prepares its perks field by allocating all the Perk accounted in perkClas...
Definition game_init.c:30
boost_e_fun getStatBoostCounterEnemyFun(Stat s)
Takes a Stat and returns the corresponding boost_e_fun pointer for the function relating to the stat.
Definition game_init.c:2000
void set_turnboost_def(Fighter *f, int boost)
Takes a Fighter pointer and an integer, used to set the turnboost_def value at the pointer.
Definition game_init.c:2123
void initShop(Shop *s, int indexWeight, Fighter *player, Koliseo_Temp *t_kls)
Takes one Shop pointer and initialises all the fields, depeding on stats from the Fighter pointer pas...
Definition game_init.c:1371
void prepareRoomEnemy(Enemy *e, int roomindex, int enemiesInRoom, int enemyindex, Koliseo_Temp *t_kls)
Takes a Enemy and three integers denoting current room index, how many enemies are in the room and cu...
Definition game_init.c:1729
void resetFighterStatus(Fighter *f)
Takes a Fighter pointer and resets its status value to Normal.
Definition game_init.c:2319
int costFromSkill(skillType class)
Takes a skillType and returns the corresponding cost by the inner array position, as an integer.
Definition game_init.c:2368
void initCounters(Fighter *f, Koliseo *kls)
Takes a Fighter pointer and prepares its counters field by allocating all the Turncounter accounted i...
Definition game_init.c:102
void resetBossStatus(Boss *b)
Takes a Boss pointer and resets its status value to Normal.
Definition game_init.c:2341
void set_boss_turnboost_atk(Boss *b, int boost)
Takes a Boss pointer and an integer, used to set the turnboost_atk value at the pointer.
Definition game_init.c:2214
boost_b_fun getStatBoostCounterBossFun(Stat s)
Takes a Stat and returns the corresponding boost_b_fun pointer for the function relating to the stat.
Definition game_init.c:2036
int costFromSpecial(fighterClass class, specialMove move)
Takes a fighterClass and a specialMove and returns the corresponding cost by the inner array position...
Definition game_init.c:2355
void setConsumablePrices(int size, int *consumablePrices, Consumable **consumables)
Takes a size int and a pointer to integer array, initialises all the prices.
Definition game_init.c:1110
effect_b_fun getStatusCounterBossFun(fighterStatus status)
Takes a fighterStatus and returns the corresponding effect_e_fun pointer for the function relating to...
Definition game_init.c:1944
void set_turnboost_atk(Fighter *f, int boost)
Takes a Fighter pointer and an integer, used to set the turnboost_atk value at the pointer.
Definition game_init.c:2110
void prepareFoeParty(FoeParty *fp, int partysize, int roomindex, Koliseo_Temp *t_kls)
Takes a FoeParty pointer, a size for complete party, and an integer for the current room index,...
Definition game_init.c:1057
void initBCounters(Boss *b, Koliseo_Temp *t_kls)
Takes a Boss pointer and prepares its counters field by allocating all the Turncounter accounted in c...
Definition game_init.c:399
void prepareTreasure(Treasure *t, Fighter *f, Koliseo_Temp *t_kls)
Takes a Treasure and Fighter pointer and initialises all the treasure fields making it ready for use ...
Definition game_init.c:1790
void set_boss_turnboost_vel(Boss *b, int boost)
Takes a Boss pointer and an integer, used to set the turnboost_vel value at the pointer.
Definition game_init.c:2240
void set_boss_turnboost_def(Boss *b, int boost)
Takes a Boss pointer and an integer, used to set the turnboost_def value at the pointer.
Definition game_init.c:2227
effect_fp_fun get_StatusCounter_FoeParty_Fun(fighterStatus status)
Represents the entity initialised from a bossClass.
Definition game_core.h:1205
Represents the entity initialised from a chestClass.
Definition game_core.h:1558
Holds a certain qty of a consumableClass.
Definition game_core.h:501
Represents the entity initialised from a enemyClass.
Definition game_core.h:1164
Represents the entity initialised from a equipClass.
Definition game_core.h:1417
Represents the entity initialised from a fighterClass.
Definition game_core.h:1094
Represents the entity initialised from a foePartyClass.
Definition game_core.h:1726
Holds the state of game progression.
Definition game_core.h:1358
Represents the entity initialised from a roadforkClass.
Definition game_core.h:1648
Represents a shop instance.
Definition game_core.h:1504
Represents the entity initialised from a treasureClass.
Definition game_core.h:1604