helapordo 1.4.12
Loading...
Searching...
No Matches
game_core.h File Reference
#include "../../ringabuf/src/ringabuf.h"
#include "../../koliseo/src/koliseo.h"
#include "../palette.h"
Include dependency graph for game_core.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  HLPD_Key
 Holds info about a keybind for the game. More...
 
struct  HLPD_DirectionalKeys
 Holds a set of HLPD_Key to use for cardinal direction movement. More...
 
struct  GameOptions
 Holds options useful for user runtime preferences. More...
 
struct  Saveslot
 Holds arguments for a saveslot. More...
 
struct  Consumable
 Holds a certain qty of a consumableClass. More...
 
struct  Artifact
 Represents the entity initialised from a artifactClass. More...
 
struct  BaseStats
 Holds the base stats for a fighterClass. More...
 
struct  EnemyBaseStats
 Holds the base stats for a enemyClass. More...
 
struct  BossBaseStats
 Holds the base stats for a bossClass. More...
 
struct  countStats
 Holds the lifetime stats of the player. More...
 
struct  Specialslot
 Holds state for a Fighter specials. More...
 
struct  Skillslot
 Holds state for a skillType. More...
 
struct  Perk
 Represents the entity initialised from a perkClass. More...
 
struct  Fighter
 Represents the entity initialised from a fighterClass. More...
 
struct  Enemy
 Represents the entity initialised from a enemyClass. More...
 
struct  Boss
 Represents the entity initialised from a bossClass. More...
 
struct  Turncounter
 Represents the entity initialised from a CounterType. More...
 
struct  Wincon
 Defines the entity initialised from a winconClass. More...
 
struct  Path
 Holds the state of game progression. More...
 
struct  Equip
 Represents the entity initialised from a equipClass. More...
 
struct  Equipslot
 Represents the entity containing an Equip instance. More...
 
struct  Shop
 Represents a shop instance. More...
 
struct  Chest
 Represents the entity initialised from a chestClass. More...
 
struct  Treasure
 Represents the entity initialised from a treasureClass. More...
 
struct  Roadfork
 Represents the entity initialised from a roadforkClass. More...
 
struct  FoeParty
 Represents the entity initialised from a foePartyClass. More...
 
struct  FoePartyBaseStats
 Holds the base stats for a foePartyClass. More...
 
struct  Room
 Represents the entity initialised from a roomClass. More...
 
struct  Floor
 Represents the entity initialised from a floorClass. More...
 
struct  loadInfo
 Contains loaded values to pass to initRoom(). More...
 
struct  Gamestate
 Holds arguments for a game. More...
 
struct  turnOP_args
 Holds arguments for a turnOption_OP. More...
 
struct  Notification
 Holds text for a notification. More...
 

Macros

#define HELAPORDO_OS   "unknown"
 
#define HELAPORDO_MACHINE   "unknown"
 
#define HLPD_KEYCLASS_MAX   8
 Maximum index of HLPD_KeyClass, so that the size has to add 1 for the 0th index.
 
#define HLPD_DIRECTIONALKEYS_SCHEMAS_MAX   2
 Maximum index of HLPD_DirectionalKeys_Schema, so that the size has to add 1 for the 0th index.
 
#define HLP_MAX_INDEX   (HR_loadInfo-100+KLS_REGIONTYPE_MAX)
 Defines max index for an HLP_Region_Type value.
 
#define HELAPORDO_MAJOR_VERSION   1
 Current major release.
 
#define HELAPORDO_MINOR_VERSION   4
 Current minor release.
 
#define HELAPORDO_PATCH_VERSION   12
 Current patch release.
 
#define VERSION   "1.4.12"
 Current version string identifier, with MAJOR.MINOR.PATCH format.
 
#define HELAPORDO_BINSAVEFILE_VERSION   "0.0.6"
 
#define EXPECTED_NCURSES_VERSION_MAJOR   6
 Defines min expected major ncurses version.
 
#define EXPECTED_NCURSES_VERSION_MINOR   4
 Defines min expected minor ncurses version.
 
#define EXPECTED_NCURSES_VERSION_PATCH   20230520
 Defines min expected patch ncurses version.
 
#define EXPECTED_RAYLIB_VERSION_MAJOR   4
 Defines min expected major ncurses version.
 
#define EXPECTED_RAYLIB_VERSION_MINOR   5
 Defines min expected minor ncurses version.
 
#define EXPECTED_RAYLIB_VERSION_PATCH   0
 Defines min expected patch ncurses version.
 
#define MAX_SAVESLOTS   3
 Total number of Saveslot for the game.
 
#define MAXPLAYERLUCK   30
 Ceiling for Fighter luck.
 
#define MAXLENGTH   100
 Ceiling for Path length.
 
#define MAXLUCK   50
 Ceiling for Path luck.
 
#define GAMEMODE_MAX   0
 Maximum index of Gamemode, so that the size has to add 1 for the 0th index.
 
#define LORES_MAX   2
 Maximum number of lores.
 
#define CONSUMABLESMAX   5
 Maximum index of consumableClass, so that the size has to add 1 for the 0th index.
 
#define ARTIFACTSMAX   6
 Maximum index of artifactClass, so that the size has to add 1 for the 0th index.
 
#define ENEMY_ARTIFACTDROP_CHANCE   1001
 Defines rare Artifact drop chance for normal enemies (e->beast == 0)
 
#define STATUSMAX   5
 Maximum index of fighterStatus, so that the size has to add 1 for the 0th index.
 
#define CLASSESMAX   3
 Maximum index of fighterClass, so that the size has to add 1 for the 0th index.
 
#define STATMAX   3
 Maximum index of Stat, so that the size has to add 1 for the 0th index.
 
#define ENEMYCLASSESMAX   7
 Maximum index of enemyClass, so that the size has to add 1 for the 0th index.
 
#define BOSSCLASSESMAX   4
 Maximum index of bossClass, so that the size has to add 1 for the 0th index.
 
#define SPECIALSMAX   3
 Maximum index of specialMove per class, so that the size for each Fighter has to add 1 for the 0th index.
 
#define SKILLSTOTAL   SKILL_TYPE_MAX
 
#define FIGHTER_SKILL_SLOTS   SKILLSTOTAL
 
#define ENEMY_SKILL_SLOTS   SKILLSTOTAL
 
#define BOSS_SKILL_SLOTS   SKILLSTOTAL
 
#define COUNTERSMAX   9
 Maximum index of counterIndexes, so that the size has to add 1 for the 0th index.
 
#define EQUIPZONES   2
 Maximum index of Equipzone, so that the size has to add 1 for the 0th index.
 
#define EQUIPSBAGSIZE   20
 
#define PERKSMAX   8
 Maximum index of perkClass, so that the size has to add 1 for the 0th index.
 
#define EQUIPPERKSMAX   2
 Maximum number of Perk per Equip.
 
#define ARRAY_SIZE(a)
 
#define FIGHTER_NAME_BUFSIZE   50
 
#define WINCON_CLASS_MAX   2
 Maximum index of winconClass, so that the size has to add 1 for the 0th index.
 
#define PATH_SEED_BUFSIZE   20
 
#define EQUIPSMAX   5
 Maximum index of equipClass, so that the size has to add 1 for the 0th index.
 
#define QUALITIESMAX   2
 Maximum index of quality, so that the size has to add 1 for the 0th index.
 
#define ITEM_SHOP_MAX   20
 Maximum number of total items sold in a shop.
 
#define EQUIP_SHOP_MAX   2
 Maximum number of equips sold in a shop.
 
#define CONSUMABLE_SHOP_MAX   3
 Maximum number of total consumables sold in a shop.
 
#define SINGLE_CONSUMABLE_SHOP_MAX   3
 Maximum number of single consumables sold in a shop.
 
#define CHEST_CLASS_MAX   1
 Maximum index of chestClass, so that the size has to add 1 for the 0th index.
 
#define CHEST_CONSUMABLES_MAX   5
 Maximum number of Consumable held in a chest.
 
#define CHEST_EQUIPS_MAX   5
 Maximum number of Equip held in a chest.
 
#define TREASURE_CLASS_MAX   3
 Maximum index of treasureClass, so that the size has to add 1 for the 0th index.
 
#define ROADFORK_OPTIONS_MAX   4
 Maximum index of roadforkOption, so that the size has to add 1 for the 0th index.
 
#define ROOM_CLASS_MAX   7
 Maximum index of roomClass, so that the size has to add 1 for the 0th index.
 
#define ROOM_ENEMIES_MAX   4
 Maximum number of enemies in a room.
 
#define FOES_BOSSES_MAX   2
 Maximum number of bosses when in a FoeParty.
 
#define FOEPARTY_CLASS_MAX   1
 Maximum index of foePartyClass, so that the size has to add 1 for the 0th index.
 
#define FLOOR_CLASS_MAX   1
 Maximum index of floorClass, so that the size has to add 1 for the 0th index.
 
#define FLOOR_MAX_COLS   24
 Maximum value of cells in a Floor matrix column.
 
#define FLOOR_MAX_ROWS   24
 Maximum value of cells in a Floor matrix row.
 
#define MAX_ROGUE_FLOORS   17
 Maximum number of floors to beat in Rogue mode.
 
#define SAVETYPE_MAX   2
 Maximum value of saveType values.
 
#define TURNOP_MAX   17
 Maximum value for turnOption_OP.
 
#define FOETURNOP_MAX   3
 Maximum value for foeTurnOption_OP.
 
#define OPS_LOGFILE   "OPS_log.txt"
 Filename for OPS log.
 
#define OP_RES_MAX   10
 Maximum value of OP_res values.
 
#define SHOPROOM   4
 Ratio of shop rooms.
 
#define BOSSROOM   5
 Ratio of boss rooms.
 
#define HOMEROOM   6
 Ratio of home rooms.
 
#define BEASTROOM   3
 Ratio of beast rooms to normal ones.
 
#define BSTFACTOR   1.5
 Factor for stat boost to beast enemies.
 
#define ENEMYLVLRATIO   2
 Ratio of Fighter levels to Enemy levels.
 
#define SPECIALLVLRATIO   2
 Ratio of Fighter levels to unlock a new special move.
 
#define EQUIPLVLBOOSTRATIO   3
 Ratio of Fighter levels to Equip levels.
 
#define FIGHT_RES_TOT   7
 Total number of defined fightResult values.
 
#define CHEST_FRAMES   25
 Defines the number of frames for the chest animation.
 
#define CHEST_ROWS   18
 Defines the number of rows for the chest animation.
 
#define CHEST_COLS   18
 Defines the number of cols for the chest animation.
 
#define CHEST_FRAMETIME   67
 Defines for how many millisecs a sprite should stay on screen for the chest animation.
 
#define CURSES_BINSAVE_NAME   "save-nc.bin"
 Defines file name used for saveheader binary save.
 
#define RL_BINSAVE_NAME   "save-rl.bin"
 Defines file name used for saveheader binary save.
 
#define CURSES_GMSTSAVE_NAME   "run-nc.bin"
 Defines file name used for gamestate binary save.
 
#define RL_GMSTSAVE_NAME   "run-rl.bin"
 Defines file name used for gamestate binary save.
 
#define CURSES_SETTINGS_SAVE_NAME   "settings-nc.bin"
 Defines file name used for game options binary save.
 
#define RL_SETTINGS_SAVE_NAME   "settings-rl.bin"
 Defines file name used for game options binary save.
 
#define NOTIFICATION_BUFFER_SIZE   200
 Defines message buffer size for Notification.
 
#define NOTIFICATIONS_RINGBUFFER_SIZE   7
 Defines the size for notifications ringbuffer.
 

Typedefs

typedef enum HLPD_KeyClass HLPD_KeyClass
 The different kinds of HLPD_Key.
 
typedef struct HLPD_Key HLPD_Key
 Holds info about a keybind for the game.
 
typedef enum HLPD_DirectionalKeys_Schema HLPD_DirectionalKeys_Schema
 The different kinds of schemas available for directional keys.
 
typedef struct HLPD_DirectionalKeys HLPD_DirectionalKeys
 Holds a set of HLPD_Key to use for cardinal direction movement.
 
typedef struct GameOptions GameOptions
 Holds options useful for user runtime preferences.
 
typedef enum HLP_Region_Type HLP_Region_Type
 Defines indexes for all types that are allocated with Koliseo.
 
typedef struct Artifact Artifact
 Represents the entity initialised from a artifactClass.
 
typedef struct BaseStats BaseStats
 Holds the base stats for a fighterClass.
 
typedef struct EnemyBaseStats EnemyBaseStats
 Holds the base stats for a enemyClass.
 
typedef struct BossBaseStats BossBaseStats
 Holds the base stats for a bossClass.
 
typedef void(* callback_turncounter_fighter_t) (struct Fighter *)
 Defines a function pointer returning void and taking a Fighter pointer.
 
typedef void(* callback_turncounter_enemy_t) (struct Enemy *)
 Defines a function pointer returning void and taking a Enemy pointer.
 
typedef void(* callback_artifact_t) (struct Fighter *, struct Enemy *, struct Boss *, int isBoss)
 Defines a function pointer returning void and taking a WINDOW, a Fighter, a Enemy, a Boss and a Path pointers, along with three ints.
 
typedef void(* callback_void_t) (void)
 Defines a function pointer returning void and taking NO parameters (different than saying just (), unspecified parameters).
 
typedef struct Fighter Fighter
 Represents the entity initialised from a fighterClass.
 
typedef struct Enemy Enemy
 Represents the entity initialised from a enemyClass.
 
typedef struct Boss Boss
 Represents the entity initialised from a bossClass.
 
typedef void(* effect_fun) (Fighter *)
 Defines a function pointer returning void and taking a Fighter pointer.
 
typedef void(* effect_e_fun) (Enemy *)
 Defines a function pointer returning void and taking a Enemy pointer.
 
typedef void(* effect_b_fun) (Boss *)
 Defines a function pointer returning void and taking a Boss pointer.
 
typedef void(* effect_fp_fun) (struct FoeParty *)
 Defines a function pointer returning void and taking a FoeParty pointer.
 
typedef void(* boost_fun) (Fighter *, int boost)
 Defines a function pointer returning void and taking a Fighter pointer and an integer.
 
typedef void(* boost_e_fun) (Enemy *, int boost)
 Defines a function pointer returning void and taking a Enemy pointer and an integer.
 
typedef void(* boost_b_fun) (Boss *, int boost)
 Defines a function pointer returning void and taking a Boss pointer and an integer.
 
typedef void(* boost_fp_fun) (struct FoeParty *, int boost)
 Defines a function pointer returning void and taking a FoeParty pointer and an integer.
 
typedef struct Turncounter Turncounter
 Represents the entity initialised from a CounterType.
 
typedef struct Wincon Wincon
 Defines the entity initialised from a winconClass.
 
typedef struct Path Path
 Holds the state of game progression.
 
typedef struct Equip Equip
 Represents the entity initialised from a equipClass.
 
typedef void(* equip_fun) (Fighter *, Enemy *)
 Defines a function pointer returning void and taking a Fighter and a Enemy pointers.
 
typedef struct Equipslot Equipslot
 Represents the entity containing an Equip instance.
 
typedef struct Shop Shop
 Represents a shop instance.
 
typedef struct Chest Chest
 Represents the entity initialised from a chestClass.
 
typedef struct Treasure Treasure
 Represents the entity initialised from a treasureClass.
 
typedef struct Roadfork Roadfork
 Represents the entity initialised from a roadforkClass.
 
typedef struct FoeParty FoeParty
 Represents the entity initialised from a foePartyClass.
 
typedef struct FoePartyBaseStats FoePartyBaseStats
 Holds the base stats for a foePartyClass.
 
typedef struct Room Room
 Represents the entity initialised from a roomClass.
 
typedef struct Floor Floor
 Represents the entity initialised from a floorClass.
 
typedef enum saveType saveType
 The different kinds of saveType.
 
typedef struct loadInfo loadInfo
 Contains loaded values to pass to initRoom().
 
typedef enum turnOption turnOption
 The different kinds of turnOption.
 
typedef enum turnOption_OP turnOption_OP
 The different kinds of turnOption_OP.
 
typedef enum foeTurnOption foeTurnOption
 The different kinds of foeTurnOption.
 
typedef enum foeTurnOption_OP foeTurnOption_OP
 The different kinds of foeTurnOption_OP.
 
typedef enum OP_res OP_res
 The different kinds of OP_res.
 
typedef struct Notification Notification
 Holds text for a notification.
 

Enumerations

enum  HLPD_KeyClass {
  HLPD_KEY_UP = 0 , HLPD_KEY_RIGHT , HLPD_KEY_DOWN , HLPD_KEY_LEFT ,
  HLPD_KEY_DWNPAGE , HLPD_KEY_UPPAGE , HLPD_KEY_CONFIRM , HLPD_KEY_QUIT ,
  HLPD_KEY_MENU
}
 The different kinds of HLPD_Key. More...
 
enum  HLPD_DirectionalKeys_Schema { HLPD_ARROW_KEYS =0 , HLPD_VIM_KEYS , HLPD_WASD_KEYS }
 The different kinds of schemas available for directional keys. More...
 
enum  HLP_Region_Type {
  HR_Path = KLS_REGIONTYPE_MAX + 100 , HR_Wincon , HR_Room , HR_Floor ,
  HR_turnOP_args , HR_Fighter , HR_Enemy , HR_Boss ,
  HR_FoeParty , HR_Equip , HR_Equipslot , HR_Specialslot ,
  HR_Skillslot , HR_Turncounter , HR_Perk , HR_Consumable ,
  HR_Artifact , HR_Chest , HR_Treasure , HR_Shop ,
  HR_Roadfork , HR_Turncounter_desc , HR_Room_desc , HR_countStats ,
  HR_Saveslot , HR_Gamestate , HR_Gamescreen , HR_GameOptions ,
  HR_BSP_Room , HR_Notification , HR_RingaBuf , HR_loadInfo
}
 Defines indexes for all types that are allocated with Koliseo. More...
 
enum  Gamemode { Rogue = 0 }
 The different kinds of Gamemode. More...
 
enum  consumableClass {
  Potion = 0 , Rock = 1 , Bread = 2 , Coffee = 3 ,
  Powergem = 4 , Magicbean = 5
}
 The different kinds of Consumable. More...
 
enum  artifactClass {
  THKSKULL = 0 , TWINKIE = 1 , WRISTBAND = 2 , BOARTAIL = 3 ,
  CHAOSORB = 4 , POWERSYPHON = 5 , GIANTFOSSILE = 6
}
 The different kinds of artifactClass. More...
 
enum  fighterStatus {
  Normal , Poison , Frozen , Burned ,
  Weak , Strong
}
 The different kinds of fighterStatus. More...
 
enum  fighterClass { Knight = 0 , Archer = 1 , Mage = 2 , Assassin = 3 }
 The different kinds of Fighter. More...
 
enum  Stat { ATK , DEF , VEL , ENR }
 The different kinds of Stat. More...
 
enum  enemyClass {
  Mummy = 0 , Ghost = 1 , Zombie = 2 , Goblin = 3 ,
  Imp = 4 , Troll = 5 , Boar = 6 , Werewolf = 7
}
 The different kinds of Enemy. More...
 
enum  bossClass {
  Blue_Troll = 0 , Headless_Ninja = 1 , Crawling_Dude = 2 , Sr_Warthog = 3 ,
  Doppelganger = 4
}
 The different kinds of Boss. More...
 
enum  specialMove {
  KSlash = 0 , KCover = 1 , KArmordrop = 2 , KBerserk = 3 ,
  AHeadshot = 4 , AQuivercheck = 5 , APoisonshot = 6 , AFireshot = 7 ,
  MFatewarp = 8 , MPowerup = 9 , MSpellstrike = 10 , MFlamering = 11 ,
  XGrimdagger = 12 , XLeechknife = 13 , XDisguise = 14 , XVenomblade = 15
}
 The different kinds of special moves. More...
 
enum  skillType { SKILL_TYPE_ATKBOOST =0 , SKILL_TYPE_LAST_UNLOCKABLE , SKILL_TYPE_IDLE , SKILL_TYPE_MAX }
 
enum  counterIndexes {
  NORMAL = 0 , POISON = 1 , BURNED = 2 , FROZEN = 3 ,
  WEAK = 4 , STRONG = 5 , TURNBOOST_ATK = 6 , TURNBOOST_DEF = 7 ,
  TURNBOOST_VEL = 8 , TURNBOOST_ENR = 9
}
 The different indexes for Fighter->counters. More...
 
enum  Equipzone { HEAD = 0 , TORSO = 1 , LEGS = 2 }
 The different kinds of equip zones. More...
 
enum  perkClass {
  CRITBOOST_DMG = 0 , CRITBOOST_CHANCE = 1 , VAMPIRISM = 2 , RUNIC_MAGNET = 3 ,
  HARVESTER = 4 , HOT_BODY = 5 , BIOHAZARD = 6 , ORACLE_GIFT = 7 ,
  PENICILLIN = 8
}
 The different kinds of perks. More...
 
enum  Countertype {
  CNT_STATUS , CNT_ATKBOOST , CNT_DEFBOOST , CNT_VELBOOST ,
  CNT_ENRBOOST
}
 The different kinds of Countertype. More...
 
enum  winconClass { ALL_ARTIFACTS = 0 , FULL_PATH = 1 , ALL_BOSSES = 2 }
 The different kinds of Wincon. More...
 
enum  equipClass {
  Vest = 0 , Helmet = 1 , Boots = 2 , Cape = 3 ,
  Tophat = 4 , Loafers = 5
}
 The different kinds of Equip. More...
 
enum  quality { Bad = 0 , Average = 1 , Good = 2 }
 The different grades of Equip. More...
 
enum  chestClass { CHEST_BASE = 0 , CHEST_BEAST = 1 }
 The different kinds of Chest. More...
 
enum  treasureClass { TREASURE_CHEST = 0 , TREASURE_CONSUMABLE = 1 , TREASURE_ARTIFACT = 2 }
 The different kinds of Treasure. More...
 
enum  roadforkOption {
  ROADFORK_BOSS = 0 , ROADFORK_SHOP = 1 , ROADFORK_TREASURE = 2 , ROADFORK_ENEMIES = 3 ,
  ROADFORK_ROADFORK = 4
}
 The different kinds of Roadfork. More...
 
enum  roomClass {
  ENEMIES = 0 , SHOP = 1 , BOSS = 2 , TREASURE = 3 ,
  ROADFORK = 4 , HOME = 5 , WALL = 6 , BASIC = 7
}
 The different kinds of Room. More...
 
enum  foePartyClass { Enemies = 0 , Bosses = 1 }
 The different kinds of FoeParty. More...
 
enum  floorClass { STD_FLOOR = 0 , DBG_FLOOR = 1 }
 The different kinds of Floor. More...
 
enum  saveType { HOME_SAVE = 0 , ENEMIES_SAVE = 1 , FLOORMENU_SAVE = 2 }
 The different kinds of saveType. More...
 
enum  turnOption {
  NEW_GAME = 0 , LOAD_GAME = 1 , INVALID = 69 , FIGHT = 100 ,
  SPECIAL = 101 , QUIT = 102 , CONSUMABLE = 103 , ARTIFACTS = 104 ,
  EQUIPS = 105 , PERKS = 106 , STATS = 107 , SAVE = 108 ,
  EXPLORE = 109 , DEBUG = 1337 , TUTORIAL = 777 , CLOSE_MENU = 110 ,
  SKILL = 111 , GAME_OPTIONS = 112
}
 The different kinds of turnOption. More...
 
enum  turnOption_OP {
  OP_NEW_GAME = 0 , OP_LOAD_GAME = 1 , OP_INVALID = 2 , OP_FIGHT = 3 ,
  OP_SPECIAL = 4 , OP_QUIT = 5 , OP_CONSUMABLE = 6 , OP_ARTIFACTS = 7 ,
  OP_EQUIPS = 8 , OP_PERKS = 9 , OP_STATS = 10 , OP_SAVE = 11 ,
  OP_EXPLORE = 12 , OP_DEBUG = 13 , OP_LOAD_ENEMYROOM = 14 , OP_LOAD_HOMEROOM = 15 ,
  OP_SKILL = 16 , OP_CHANGE_OPTIONS = 17
}
 The different kinds of turnOption_OP. More...
 
enum  foeTurnOption { FOE_INVALID = 0 , FOE_IDLE = 1 , FOE_FIGHT = 2 , FOE_SPECIAL = 3 }
 The different kinds of foeTurnOption. More...
 
enum  foeTurnOption_OP { FOE_OP_INVALID = 0 , FOE_OP_IDLE = 1 , FOE_OP_FIGHT = 2 , FOE_OP_SPECIAL = 3 }
 The different kinds of foeTurnOption_OP. More...
 
enum  OP_res {
  OP_OK = 0 , INVALID_OP = 1 , NO_OP = 2 , OP_CANNOT_OPEN_SAVEFILE = 3 ,
  OP_RES_KILL_DONE = 4 , OP_RES_DMG_DEALT = 5 , OP_RES_DMG_TAKEN = 6 , OP_RES_DEATH = 7 ,
  OP_RES_NO_DMG = 8 , OP_RES_CLASH = 9 , OP_RES_LOADED_ENEMYROOM = 10
}
 The different kinds of OP_res. More...
 
enum  fightResult {
  FIGHTRES_INVALID = 0 , FIGHTRES_KILL_DONE = 1 , FIGHTRES_DMG_DEALT = 2 , FIGHTRES_DMG_TAKEN = 3 ,
  FIGHTRES_DEATH = 4 , FIGHTRES_NO_DMG = 5 , FIGHTRES_CLASH = 6
}
 The different kinds of fightResult. More...
 

Functions

turnOption_OP turnOP_from_turnOption (turnOption t)
 Returns a turnOption_OP from a turnOption.
 
foeTurnOption_OP foeTurnOP_from_foeTurnOption (foeTurnOption ft)
 Returns a foeTurnOption_OP from a foeTurnOption.
 
OP_res OP_res_from_fightResult (fightResult fr)
 Returns a OP_res from a fightResult fr.
 

Variables

const char * helapordo_title_string
 We need to undef these macros if they exist, since windows.h may declare them (and here we inherit that from koliseo.h).
 
const char * helapordo_build_string
 
char * hlpd_keyclass_strings [HLPD_KEYCLASS_MAX+1]
 Array with the name strings for Gamemode.
 
HLPD_Key hlpd_default_keybinds [HLPD_KEYCLASS_MAX+1]
 Array with the keybinds for the game.
 
char * hlpd_directionalkeyschemas_strings [HLPD_DIRECTIONALKEYS_SCHEMAS_MAX+1]
 Array with the name strings for HLPD_DirectionalKeys_Schema.
 
HLPD_DirectionalKeys hlpd_default_directional_keys [HLPD_DIRECTIONALKEYS_SCHEMAS_MAX+1]
 Array with the default directional keys for all schemas defined as HLPD_DirectionalKeys_Schema.
 
const GameOptions default_GameOptions
 
char * hlp_regiontype_strings [HLP_MAX_INDEX+1]
 Array with the name strings for HLP_Region_Type values.
 
Koliseo * default_kls
 Global variable for default Koliseo.
 
Koliseo * temporary_kls
 Global variable for temporary Koliseo.
 
Koliseo * support_kls
 Global variable for support Koliseo.
 
int G_PRELOAD_ANIMATIONS_ON
 TODO Remove mentions of this.
 
int G_DEBUG_ON
 Global variable for debug flag.
 
int G_LOG_ON
 Global variable for debug logging flag.
 
int G_EXPERIMENTAL_ON
 Global variable for experimental features flag.
 
int G_FASTQUIT_ON
 Global variable for fast quit flag.
 
int G_GODMODE_ON
 Global variable for godmode flag.
 
int G_DEBUG_ROOMTYPE
 Global variable for debug roomtype flag.
 
int G_DEBUG_ROOMTYPE_ON
 Global variable for debug room flag.
 
char * G_DEBUG_ROOMTYPE_ARG
 Global variable for debug room flag, set to the passed string argument.
 
int G_DEBUG_ENEMYTYPE
 Global variable for debug enemy in ENEMIES roomtype flag.
 
int G_DEBUG_ENEMYTYPE_ON
 Global variable for debug enemy flag.
 
char * G_DEBUG_ENEMYTYPE_ARG
 Global variable for debug enemy flag, set to the passed string argument.
 
int GS_AUTOSAVE_ON
 Global variable for autosave setting.
 
int G_DOTUTORIAL_ON
 Global variable for a tutorial launch.
 
int G_USE_CURRENTDIR
 Global variable for using current directory to store game run files.
 
int G_USE_DEFAULT_BACKGROUND
 Global variable for using terminal default color.
 
int G_USE_VIM_DIRECTIONAL_KEYS
 Global variable for using vim-like directional keys.
 
int G_USE_WASD_DIRECTIONAL_KEYS
 Global variable for using WASD directional keys.
 
int64_t G_RNG_ADVANCEMENTS
 Global variable used to count advancements of the rng.
 
int G_SEEDED_RUN_ON
 Global variable for seeded run flag.
 
char * G_SEEDED_RUN_ARG
 Global variable for seeded run flag, set to the passed string argument.
 
Saveslot default_saveslots [MAX_SAVESLOTS+1]
 Array with the default saveslots for a game.
 
char * gamemodenamestrings [GAMEMODE_MAX+1]
 Array with the name strings for Gamemode.
 
Gamemode GAMEMODE
 Global variable for gamemode flag.
 
char * consumablestrings [CONSUMABLESMAX+1]
 Array with the name strings for Consumable.
 
Consumable consumablesBase [CONSUMABLESMAX+1]
 Array containing all Consumable instances.
 
char * artifactstrings [ARTIFACTSMAX+1]
 Array with the name strings for artifactClass.
 
Artifact artifactsBase [ARTIFACTSMAX+1]
 Array with all the Artifact found.
 
char * classesstrings [CLASSESMAX+1]
 Array with the name strings for fighterClass.
 
BaseStats basestats [CLASSESMAX+1]
 Array containing all BaseStats instances.
 
char * classenemystrings [ENEMYCLASSESMAX+1]
 Array with the name strings for enemyClass.
 
EnemyBaseStats baseenemystats [ENEMYCLASSESMAX+1]
 Array containing all EnemyBaseStats instances.
 
char * classbossstrings [BOSSCLASSESMAX+1]
 Array with the name strings for bossClass.
 
BossBaseStats basebossstats [BOSSCLASSESMAX+1]
 Array containing all BossBaseStats instances.
 
char * specialsnamestrings [CLASSESMAX+1][SPECIALSMAX+1]
 Array with the name strings for special moves.
 
char * specialsdescstrings [CLASSESMAX+1][SPECIALSMAX+1]
 Array with the desc strings for special moves.
 
int specialscosts [CLASSESMAX+1][SPECIALSMAX+1]
 Array with the cost integer values for special moves.
 
char * skillsnamestrings [SKILLSTOTAL+1]
 Array with the name strings for skills.
 
char * skillsdescstrings [SKILLSTOTAL+1]
 Array with the desc strings for skills.
 
int skillscosts [SKILLSTOTAL+1]
 Array with the cost integer values for skills.
 
char * equipzonestrings [EQUIPZONES+1]
 Array with the name strings for equip zones.
 
char * perksnamestrings [PERKSMAX+1]
 Array with the name strings for perkClass.
 
char * perksdescstrings [PERKSMAX+1]
 Array with the desc strings for perkClass.
 
char * winconstrings [WINCON_CLASS_MAX+1]
 Array with the desc strings for winconClass.
 
char * qualitytrings [QUALITIESMAX+1]
 Array with the name strings for quality.
 
char * equipstrings [EQUIPSMAX+1]
 Array with the name strings for equipClass.
 
Equip equips [EQUIPSMAX+1]
 Array containing all Equip instances.
 
char * chestdescstrings [CHEST_CLASS_MAX+1]
 Array with the desc strings for chestClass.
 
char * treasuredescstrings [TREASURE_CLASS_MAX+1]
 Array with the name strings for treasureClass.
 
char * roadforkoptionstrings [ROADFORK_OPTIONS_MAX+1]
 Array with the name strings for roadforkClass.
 
char * roomnamestrings [ROOM_CLASS_MAX+1]
 Array with the name strings for roomClass.
 
char * foepartystrings [FOEPARTY_CLASS_MAX+1]
 Array with the name strings for foePartyClass.
 
FoePartyBaseStats basefoepartystats [FOEPARTY_CLASS_MAX+1]
 Array containing all FoePartyBaseStats instances.
 
char * floornamestrings [FLOOR_CLASS_MAX+1]
 Array with the name strings for floorClass.
 
char * savetypestrings [SAVETYPE_MAX+1]
 Array with the name strings for saveType.
 
GamestateG_GAMESTATE
 Global variable used to store Gamestate address when KLS_Region is not available.
 
char * turnopstrings [TURNOP_MAX+1]
 Array with the name strings for turnOption.
 
char * foeturnopstrings [FOETURNOP_MAX+1]
 Array with the name strings for foeTurnOption.
 
char * opresstrings [OP_RES_MAX+1]
 Array with the name strings for OP_res.
 
char * fightresultstrings [FIGHT_RES_TOT+1]
 Array with the name strings for fightResult.
 
const wchar_t HEAD_CHAR_ICON
 
const wchar_t TORSO_CHAR_ICON
 
const wchar_t LEGS_CHAR_ICON
 

Macro Definition Documentation

◆ ARRAY_SIZE

#define ARRAY_SIZE ( a)
Value:
(sizeof(a) / sizeof(a[0]))

◆ ARTIFACTSMAX

#define ARTIFACTSMAX   6

Maximum index of artifactClass, so that the size has to add 1 for the 0th index.

See also
Equipzone

◆ BEASTROOM

#define BEASTROOM   3

Ratio of beast rooms to normal ones.

Every Xth room will have a beast.

See also
initEnemyStats()

◆ BOSS_SKILL_SLOTS

#define BOSS_SKILL_SLOTS   SKILLSTOTAL

◆ BOSSCLASSESMAX

#define BOSSCLASSESMAX   4

Maximum index of bossClass, so that the size has to add 1 for the 0th index.

See also
bossClass

◆ BOSSROOM

#define BOSSROOM   5

Ratio of boss rooms.

Every Xth room will have a boss.

See also
initRoom()

◆ BSTFACTOR

#define BSTFACTOR   1.5

Factor for stat boost to beast enemies.

See also
initEnemyStats()

◆ CHEST_CLASS_MAX

#define CHEST_CLASS_MAX   1

Maximum index of chestClass, so that the size has to add 1 for the 0th index.

See also
chestClass

◆ CHEST_COLS

#define CHEST_COLS   18

Defines the number of cols for the chest animation.

◆ CHEST_CONSUMABLES_MAX

#define CHEST_CONSUMABLES_MAX   5

Maximum number of Consumable held in a chest.

See also
Chest

◆ CHEST_EQUIPS_MAX

#define CHEST_EQUIPS_MAX   5

Maximum number of Equip held in a chest.

See also
Chest

◆ CHEST_FRAMES

#define CHEST_FRAMES   25

Defines the number of frames for the chest animation.

◆ CHEST_FRAMETIME

#define CHEST_FRAMETIME   67

Defines for how many millisecs a sprite should stay on screen for the chest animation.

◆ CHEST_ROWS

#define CHEST_ROWS   18

Defines the number of rows for the chest animation.

◆ CLASSESMAX

#define CLASSESMAX   3

Maximum index of fighterClass, so that the size has to add 1 for the 0th index.

See also
fighterClass

◆ CONSUMABLE_SHOP_MAX

#define CONSUMABLE_SHOP_MAX   3

Maximum number of total consumables sold in a shop.

See also
Shop

◆ CONSUMABLESMAX

#define CONSUMABLESMAX   5

Maximum index of consumableClass, so that the size has to add 1 for the 0th index.

See also
consumableClass

◆ COUNTERSMAX

#define COUNTERSMAX   9

Maximum index of counterIndexes, so that the size has to add 1 for the 0th index.

See also
counterIndexes

◆ CURSES_BINSAVE_NAME

#define CURSES_BINSAVE_NAME   "save-nc.bin"

Defines file name used for saveheader binary save.

◆ CURSES_GMSTSAVE_NAME

#define CURSES_GMSTSAVE_NAME   "run-nc.bin"

Defines file name used for gamestate binary save.

◆ CURSES_SETTINGS_SAVE_NAME

#define CURSES_SETTINGS_SAVE_NAME   "settings-nc.bin"

Defines file name used for game options binary save.

◆ ENEMY_ARTIFACTDROP_CHANCE

#define ENEMY_ARTIFACTDROP_CHANCE   1001

Defines rare Artifact drop chance for normal enemies (e->beast == 0)

◆ ENEMY_SKILL_SLOTS

#define ENEMY_SKILL_SLOTS   SKILLSTOTAL

◆ ENEMYCLASSESMAX

#define ENEMYCLASSESMAX   7

Maximum index of enemyClass, so that the size has to add 1 for the 0th index.

See also
enemyClass

◆ ENEMYLVLRATIO

#define ENEMYLVLRATIO   2

Ratio of Fighter levels to Enemy levels.

Every Xth level up will apply to enemies.

See also
initEnemyStats()

◆ EQUIP_SHOP_MAX

#define EQUIP_SHOP_MAX   2

Maximum number of equips sold in a shop.

See also
Shop

◆ EQUIPLVLBOOSTRATIO

#define EQUIPLVLBOOSTRATIO   3

Ratio of Fighter levels to Equip levels.

Every Xth level up will apply to equips.

See also
dropEquip()

◆ EQUIPPERKSMAX

#define EQUIPPERKSMAX   2

Maximum number of Perk per Equip.

See also
Perk
Equip

◆ EQUIPSBAGSIZE

#define EQUIPSBAGSIZE   20

◆ EQUIPSMAX

#define EQUIPSMAX   5

Maximum index of equipClass, so that the size has to add 1 for the 0th index.

See also
equipClass

◆ EQUIPZONES

#define EQUIPZONES   2

Maximum index of Equipzone, so that the size has to add 1 for the 0th index.

See also
Equipzone

◆ EXPECTED_NCURSES_VERSION_MAJOR

#define EXPECTED_NCURSES_VERSION_MAJOR   6

Defines min expected major ncurses version.

◆ EXPECTED_NCURSES_VERSION_MINOR

#define EXPECTED_NCURSES_VERSION_MINOR   4

Defines min expected minor ncurses version.

◆ EXPECTED_NCURSES_VERSION_PATCH

#define EXPECTED_NCURSES_VERSION_PATCH   20230520

Defines min expected patch ncurses version.

◆ EXPECTED_RAYLIB_VERSION_MAJOR

#define EXPECTED_RAYLIB_VERSION_MAJOR   4

Defines min expected major ncurses version.

◆ EXPECTED_RAYLIB_VERSION_MINOR

#define EXPECTED_RAYLIB_VERSION_MINOR   5

Defines min expected minor ncurses version.

◆ EXPECTED_RAYLIB_VERSION_PATCH

#define EXPECTED_RAYLIB_VERSION_PATCH   0

Defines min expected patch ncurses version.

◆ FIGHT_RES_TOT

#define FIGHT_RES_TOT   7

Total number of defined fightResult values.

See also
fightResult

◆ FIGHTER_NAME_BUFSIZE

#define FIGHTER_NAME_BUFSIZE   50

◆ FIGHTER_SKILL_SLOTS

#define FIGHTER_SKILL_SLOTS   SKILLSTOTAL

◆ FLOOR_CLASS_MAX

#define FLOOR_CLASS_MAX   1

Maximum index of floorClass, so that the size has to add 1 for the 0th index.

See also
floorClass

◆ FLOOR_MAX_COLS

#define FLOOR_MAX_COLS   24

Maximum value of cells in a Floor matrix column.

See also
Floor

◆ FLOOR_MAX_ROWS

#define FLOOR_MAX_ROWS   24

Maximum value of cells in a Floor matrix row.

See also
Floor

◆ FOEPARTY_CLASS_MAX

#define FOEPARTY_CLASS_MAX   1

Maximum index of foePartyClass, so that the size has to add 1 for the 0th index.

See also
foePartyClass

◆ FOES_BOSSES_MAX

#define FOES_BOSSES_MAX   2

Maximum number of bosses when in a FoeParty.

Can be confusing to name it ROOM_BOSSES_MAX since a Room only has one boss pointer.

See also
FoeParty
prepareBoss()FoeParty

◆ FOETURNOP_MAX

#define FOETURNOP_MAX   3

Maximum value for foeTurnOption_OP.

At runtime, not all of them are valid options.

See also
foeTurnOption_OP
stringFromFoeTurnOP()

◆ GAMEMODE_MAX

#define GAMEMODE_MAX   0

Maximum index of Gamemode, so that the size has to add 1 for the 0th index.

See also
roomClass

◆ HELAPORDO_BINSAVEFILE_VERSION

#define HELAPORDO_BINSAVEFILE_VERSION   "0.0.6"

◆ HELAPORDO_MACHINE

#define HELAPORDO_MACHINE   "unknown"

◆ HELAPORDO_MAJOR_VERSION

#define HELAPORDO_MAJOR_VERSION   1

Current major release.

◆ HELAPORDO_MINOR_VERSION

#define HELAPORDO_MINOR_VERSION   4

Current minor release.

◆ HELAPORDO_OS

#define HELAPORDO_OS   "unknown"

◆ HELAPORDO_PATCH_VERSION

#define HELAPORDO_PATCH_VERSION   12

Current patch release.

◆ HLP_MAX_INDEX

#define HLP_MAX_INDEX   (HR_loadInfo-100+KLS_REGIONTYPE_MAX)

Defines max index for an HLP_Region_Type value.

◆ HLPD_DIRECTIONALKEYS_SCHEMAS_MAX

#define HLPD_DIRECTIONALKEYS_SCHEMAS_MAX   2

Maximum index of HLPD_DirectionalKeys_Schema, so that the size has to add 1 for the 0th index.

See also
HLPD_DirectionalKeys_Schema

◆ HLPD_KEYCLASS_MAX

#define HLPD_KEYCLASS_MAX   8

Maximum index of HLPD_KeyClass, so that the size has to add 1 for the 0th index.

See also
HLPD_KeyClass

◆ HOMEROOM

#define HOMEROOM   6

Ratio of home rooms.

Every Xth room will be a Home room.

See also
initRoom()

◆ ITEM_SHOP_MAX

#define ITEM_SHOP_MAX   20

Maximum number of total items sold in a shop.

Must be at least equal to CONSUMABLE_SHOP_MAX + EQUIP_SHOP_MAX.

See also
Shop

◆ LORES_MAX

#define LORES_MAX   2

Maximum number of lores.

See also
gameloop()
Gamemode

◆ MAX_ROGUE_FLOORS

#define MAX_ROGUE_FLOORS   17

Maximum number of floors to beat in Rogue mode.

See also
Floor

◆ MAX_SAVESLOTS

#define MAX_SAVESLOTS   3

Total number of Saveslot for the game.

See also
Saveslot

◆ MAXLENGTH

#define MAXLENGTH   100

Ceiling for Path length.

See also
Path

◆ MAXLUCK

#define MAXLUCK   50

Ceiling for Path luck.

See also
Path

◆ MAXPLAYERLUCK

#define MAXPLAYERLUCK   30

Ceiling for Fighter luck.

See also
Fighter

◆ NOTIFICATION_BUFFER_SIZE

#define NOTIFICATION_BUFFER_SIZE   200

Defines message buffer size for Notification.

◆ NOTIFICATIONS_RINGBUFFER_SIZE

#define NOTIFICATIONS_RINGBUFFER_SIZE   7

Defines the size for notifications ringbuffer.

◆ OP_RES_MAX

#define OP_RES_MAX   10

Maximum value of OP_res values.

See also
OP_res
turnOP()

◆ OPS_LOGFILE

#define OPS_LOGFILE   "OPS_log.txt"

Filename for OPS log.

See also
turnOP()
turnOption_OP

◆ PATH_SEED_BUFSIZE

#define PATH_SEED_BUFSIZE   20

◆ PERKSMAX

#define PERKSMAX   8

Maximum index of perkClass, so that the size has to add 1 for the 0th index.

See also
perkClass

◆ QUALITIESMAX

#define QUALITIESMAX   2

Maximum index of quality, so that the size has to add 1 for the 0th index.

See also
quality

◆ RL_BINSAVE_NAME

#define RL_BINSAVE_NAME   "save-rl.bin"

Defines file name used for saveheader binary save.

◆ RL_GMSTSAVE_NAME

#define RL_GMSTSAVE_NAME   "run-rl.bin"

Defines file name used for gamestate binary save.

◆ RL_SETTINGS_SAVE_NAME

#define RL_SETTINGS_SAVE_NAME   "settings-rl.bin"

Defines file name used for game options binary save.

◆ ROADFORK_OPTIONS_MAX

#define ROADFORK_OPTIONS_MAX   4

Maximum index of roadforkOption, so that the size has to add 1 for the 0th index.

See also
roadforkClass

◆ ROOM_CLASS_MAX

#define ROOM_CLASS_MAX   7

Maximum index of roomClass, so that the size has to add 1 for the 0th index.

See also
roomClass

◆ ROOM_ENEMIES_MAX

#define ROOM_ENEMIES_MAX   4

Maximum number of enemies in a room.

See also
initRoom_Enemies()

◆ SAVETYPE_MAX

#define SAVETYPE_MAX   2

Maximum value of saveType values.

See also
saveType

◆ SHOPROOM

#define SHOPROOM   4

Ratio of shop rooms.

Every Xth room will have a shop.

See also
initRoom()

◆ SINGLE_CONSUMABLE_SHOP_MAX

#define SINGLE_CONSUMABLE_SHOP_MAX   3

Maximum number of single consumables sold in a shop.

See also
Shop

◆ SKILLSTOTAL

#define SKILLSTOTAL   SKILL_TYPE_MAX

◆ SPECIALLVLRATIO

#define SPECIALLVLRATIO   2

Ratio of Fighter levels to unlock a new special move.

Every Xth level up will unlock one.

See also
unlockSpecial()

◆ SPECIALSMAX

#define SPECIALSMAX   3

Maximum index of specialMove per class, so that the size for each Fighter has to add 1 for the 0th index.

See also
specialMove

◆ STATMAX

#define STATMAX   3

Maximum index of Stat, so that the size has to add 1 for the 0th index.

See also
Stat

◆ STATUSMAX

#define STATUSMAX   5

Maximum index of fighterStatus, so that the size has to add 1 for the 0th index.

See also
fighterStatus

◆ TREASURE_CLASS_MAX

#define TREASURE_CLASS_MAX   3

Maximum index of treasureClass, so that the size has to add 1 for the 0th index.

See also
treasureClass

◆ TURNOP_MAX

#define TURNOP_MAX   17

Maximum value for turnOption_OP.

At runtime, not all of them are valid options.

See also
turnOption_OP
stringFromTurnOP()

◆ VERSION

#define VERSION   "1.4.12"

Current version string identifier, with MAJOR.MINOR.PATCH format.

◆ WINCON_CLASS_MAX

#define WINCON_CLASS_MAX   2

Maximum index of winconClass, so that the size has to add 1 for the 0th index.

See also
winconClass

Typedef Documentation

◆ Artifact

typedef struct Artifact Artifact

Represents the entity initialised from a artifactClass.

See also
artifactClass

◆ BaseStats

typedef struct BaseStats BaseStats

Holds the base stats for a fighterClass.

See also
Fighter
fighterClass
initStats()

◆ boost_b_fun

typedef void(* boost_b_fun) (Boss *, int boost)

Defines a function pointer returning void and taking a Boss pointer and an integer.

See also
Boss
Turncounter

◆ boost_e_fun

typedef void(* boost_e_fun) (Enemy *, int boost)

Defines a function pointer returning void and taking a Enemy pointer and an integer.

See also
Enemy
Turncounter

◆ boost_fp_fun

typedef void(* boost_fp_fun) (struct FoeParty *, int boost)

Defines a function pointer returning void and taking a FoeParty pointer and an integer.

See also
FoeParty
Turncounter

◆ boost_fun

typedef void(* boost_fun) (Fighter *, int boost)

Defines a function pointer returning void and taking a Fighter pointer and an integer.

See also
Fighter
Turncounter

◆ Boss

typedef struct Boss Boss

Represents the entity initialised from a bossClass.

See also
bossClass
fighterStatus
initBossStats()
Turncounter
counterIndexes

◆ BossBaseStats

typedef struct BossBaseStats BossBaseStats

Holds the base stats for a bossClass.

See also
Boss
bossClass
initBossStats()

◆ callback_artifact_t

typedef void(* callback_artifact_t) (struct Fighter *, struct Enemy *, struct Boss *, int isBoss)

Defines a function pointer returning void and taking a WINDOW, a Fighter, a Enemy, a Boss and a Path pointers, along with three ints.

See also
Fighter
Enemy
Path
SpecialSlot Defines a function pointer returning void and taking a Fighter, Enemy and Boss pointers; plus as int.
Fighter
Enemy
Boss
Artifact

◆ callback_turncounter_enemy_t

typedef void(* callback_turncounter_enemy_t) (struct Enemy *)

Defines a function pointer returning void and taking a Enemy pointer.

See also
Enemy
Turncounter

◆ callback_turncounter_fighter_t

typedef void(* callback_turncounter_fighter_t) (struct Fighter *)

Defines a function pointer returning void and taking a Fighter pointer.

See also
Fighter
Turncounter

◆ callback_void_t

typedef void(* callback_void_t) (void)

Defines a function pointer returning void and taking NO parameters (different than saying just (), unspecified parameters).

◆ Chest

typedef struct Chest Chest

Represents the entity initialised from a chestClass.

See also
chestClass
Chest
Consumable
Equip

◆ effect_b_fun

typedef void(* effect_b_fun) (Boss *)

Defines a function pointer returning void and taking a Boss pointer.

See also
Boss
Turncounter

◆ effect_e_fun

typedef void(* effect_e_fun) (Enemy *)

Defines a function pointer returning void and taking a Enemy pointer.

See also
Enemy
Turncounter

◆ effect_fp_fun

typedef void(* effect_fp_fun) (struct FoeParty *)

Defines a function pointer returning void and taking a FoeParty pointer.

See also
FoeParty
Turncounter

◆ effect_fun

typedef void(* effect_fun) (Fighter *)

Defines a function pointer returning void and taking a Fighter pointer.

See also
Fighter
Turncounter

◆ Enemy

typedef struct Enemy Enemy

Represents the entity initialised from a enemyClass.

See also
enemyClass
fighterStatus
initEnemyStats()
Turncounter
counterIndexes

◆ EnemyBaseStats

typedef struct EnemyBaseStats EnemyBaseStats

Holds the base stats for a enemyClass.

See also
Enemy
enemyClass
initEnemyStats()

◆ Equip

typedef struct Equip Equip

Represents the entity initialised from a equipClass.

See also
equipClass
Equipzone
quality

◆ equip_fun

typedef void(* equip_fun) (Fighter *, Enemy *)

Defines a function pointer returning void and taking a Fighter and a Enemy pointers.

See also
Equip
Fighter
equipClass

◆ Equipslot

typedef struct Equipslot Equipslot

Represents the entity containing an Equip instance.

See also
Equip
Equipzone

◆ Fighter

typedef struct Fighter Fighter

Represents the entity initialised from a fighterClass.

See also
fighterClass
fighterStatus
initStats()
Specialslot
Turncounter
Equipslot
countStats

◆ Floor

typedef struct Floor Floor

Represents the entity initialised from a floorClass.

See also
floorClass
Room

◆ FoeParty

typedef struct FoeParty FoeParty

Represents the entity initialised from a foePartyClass.

See also
foePartyClass
Turncounter
counterIndexes

◆ FoePartyBaseStats

typedef struct FoePartyBaseStats FoePartyBaseStats

Holds the base stats for a foePartyClass.

See also
FoeParty
foePartyClass
initFoePartyStats()

◆ foeTurnOption

The different kinds of foeTurnOption.

◆ foeTurnOption_OP

The different kinds of foeTurnOption_OP.

See also
stringFromFoeTurnOP()

◆ GameOptions

typedef struct GameOptions GameOptions

Holds options useful for user runtime preferences.

◆ HLP_Region_Type

Defines indexes for all types that are allocated with Koliseo.

◆ HLPD_DirectionalKeys

typedef struct HLPD_DirectionalKeys HLPD_DirectionalKeys

Holds a set of HLPD_Key to use for cardinal direction movement.

See also
HLPD_Key

◆ HLPD_DirectionalKeys_Schema

The different kinds of schemas available for directional keys.

Ordering is directly related to hlpd_directionalkeyschema_strings.

See also
hlpd_directionalkeyschema_strings

◆ HLPD_Key

typedef struct HLPD_Key HLPD_Key

Holds info about a keybind for the game.

See also
HLPD_KeyClass

◆ HLPD_KeyClass

The different kinds of HLPD_Key.

Ordering is directly related to hlpd_keyclass_strings.

See also
hlpd_keyclass_strings

◆ loadInfo

typedef struct loadInfo loadInfo

Contains loaded values to pass to initRoom().

See also
initRoom()
gameloop()
handleLoadgame()
Enemy

◆ Notification

typedef struct Notification Notification

Holds text for a notification.

◆ OP_res

typedef enum OP_res OP_res

The different kinds of OP_res.

See also
turnOP()

◆ Path

typedef struct Path Path

Holds the state of game progression.

See also
Wincon
Saveslot

◆ Roadfork

typedef struct Roadfork Roadfork

Represents the entity initialised from a roadforkClass.

See also
roadforkClass
Boss
Shop
Treasure

◆ Room

typedef struct Room Room

Represents the entity initialised from a roomClass.

See also
roomClass
Shop
Enemy

◆ saveType

typedef enum saveType saveType

The different kinds of saveType.

See also
loadInfo

◆ Shop

typedef struct Shop Shop

Represents a shop instance.

◆ Treasure

typedef struct Treasure Treasure

Represents the entity initialised from a treasureClass.

See also
treasureClass
Chest
Consumable
Equip
Artifact

◆ Turncounter

typedef struct Turncounter Turncounter

Represents the entity initialised from a CounterType.

See also
Countertype
Fighter
Enemy

◆ turnOption

typedef enum turnOption turnOption

The different kinds of turnOption.

See also
getTurnChoice()
fight()
quit()
debug()

◆ turnOption_OP

The different kinds of turnOption_OP.

See also
stringFromTurnOP()

◆ Wincon

typedef struct Wincon Wincon

Defines the entity initialised from a winconClass.

Enumeration Type Documentation

◆ artifactClass

The different kinds of artifactClass.

Ordering is directly related to artifactstrings. There must always be exactly ARTIFACTSMAX +1 values.

See also
artifactstrings
Artifact
Enumerator
THKSKULL 
TWINKIE 
WRISTBAND 
BOARTAIL 
CHAOSORB 
POWERSYPHON 
GIANTFOSSILE 

◆ bossClass

enum bossClass

The different kinds of Boss.

Ordering is directly related to classbossstrings

See also
classbossstrings
Boss
Enumerator
Blue_Troll 
Headless_Ninja 
Crawling_Dude 
Sr_Warthog 
Doppelganger 

◆ chestClass

enum chestClass

The different kinds of Chest.

Ordering is directly related to chestnamestrings. There must always be exactly CHEST_CLASS_MAX +1 values.

See also
CHEST_CLASS_MAX
Enumerator
CHEST_BASE 
CHEST_BEAST 

◆ consumableClass

The different kinds of Consumable.

Ordering is directly related to consumablestrings

See also
consumablestrings
Consumable
Enumerator
Potion 
Rock 
Bread 
Coffee 
Powergem 
Magicbean 

◆ counterIndexes

The different indexes for Fighter->counters.

Ordering is directly related to Fighter->counters. There must always be exactly COUNTERSMAX +1 values.

See also
Turncounter
Fighter
Enumerator
NORMAL 
POISON 
BURNED 
FROZEN 
WEAK 
STRONG 
TURNBOOST_ATK 
TURNBOOST_DEF 
TURNBOOST_VEL 
TURNBOOST_ENR 

◆ Countertype

The different kinds of Countertype.

See also
Turncounter
Enumerator
CNT_STATUS 

Counter for a fighterStatus.

CNT_ATKBOOST 

Counter for a temp boost on atk.

CNT_DEFBOOST 

Counter for a temp boost on def.

CNT_VELBOOST 

Counter for a temp boost on vel.

CNT_ENRBOOST 

Counter for a temp boost on enr.

◆ enemyClass

enum enemyClass

The different kinds of Enemy.

Ordering is directly related to classenemystrings

See also
classenemystrings
Enemy
Enumerator
Mummy 
Ghost 
Zombie 
Goblin 
Imp 
Troll 
Boar 
Werewolf 

◆ equipClass

enum equipClass

The different kinds of Equip.

Ordering is directly related to equipstring. There must always be exactly EQUIPSMAX +1 values.

See also
equipstrings
Enumerator
Vest 
Helmet 
Boots 
Cape 
Tophat 
Loafers 

◆ Equipzone

enum Equipzone

The different kinds of equip zones.

Ordering is directly related to equipzonestrings. There must always be exactly EQUIPZONES +1 values.

See also
equipzonestrings
Enumerator
HEAD 
TORSO 
LEGS 

◆ fighterClass

The different kinds of Fighter.

Ordering is directly related to classesstrings

See also
classesstrings
Fighter
Enumerator
Knight 
Archer 
Mage 
Assassin 

◆ fighterStatus

The different kinds of fighterStatus.

Enumerator
Normal 
Poison 
Frozen 
Burned 
Weak 
Strong 

◆ fightResult

The different kinds of fightResult.

Enumerator
FIGHTRES_INVALID 

Value of fight status indicating errors in the fight call.

FIGHTRES_KILL_DONE 

Value of fight status indicating the enemy died.

FIGHTRES_DMG_DEALT 

Value of fight status indicating the enemy was damaded.

FIGHTRES_DMG_TAKEN 

Value of fight status indicating the fighter was damaded.

FIGHTRES_DEATH 

Value of fight status indicating the fighter died.

FIGHTRES_NO_DMG 

Value of fight status indicating no damage occurred.

Used to reset the fight status to neutral after the end of a combat.

FIGHTRES_CLASH 

Value of fight status indicating damage on both sides occurred.

◆ floorClass

enum floorClass

The different kinds of Floor.

Ordering is directly related to floornamestrings. There must always be exactly FLOOR_CLASS_MAX +1 values.

See also
floornamestrings
Enumerator
STD_FLOOR 
DBG_FLOOR 

◆ foePartyClass

The different kinds of FoeParty.

Ordering is directly related to foepartystrings

See also
foepartystrings
Enemy
Boss
Enumerator
Enemies 
Bosses 

◆ foeTurnOption

The different kinds of foeTurnOption.

Enumerator
FOE_INVALID 
FOE_IDLE 
FOE_FIGHT 
FOE_SPECIAL 

◆ foeTurnOption_OP

The different kinds of foeTurnOption_OP.

See also
stringFromFoeTurnOP()
Enumerator
FOE_OP_INVALID 
FOE_OP_IDLE 
FOE_OP_FIGHT 
FOE_OP_SPECIAL 

◆ Gamemode

enum Gamemode

The different kinds of Gamemode.

Ordering is directly related to gamemodeStrings

See also
gamemodeStrings
Enumerator
Rogue 

◆ HLP_Region_Type

Defines indexes for all types that are allocated with Koliseo.

Enumerator
HR_Path 
HR_Wincon 
HR_Room 
HR_Floor 
HR_turnOP_args 
HR_Fighter 
HR_Enemy 
HR_Boss 
HR_FoeParty 
HR_Equip 
HR_Equipslot 
HR_Specialslot 
HR_Skillslot 
HR_Turncounter 
HR_Perk 
HR_Consumable 
HR_Artifact 
HR_Chest 
HR_Treasure 
HR_Shop 
HR_Roadfork 
HR_Turncounter_desc 
HR_Room_desc 
HR_countStats 
HR_Saveslot 
HR_Gamestate 
HR_Gamescreen 
HR_GameOptions 
HR_BSP_Room 
HR_Notification 
HR_RingaBuf 
HR_loadInfo 

◆ HLPD_DirectionalKeys_Schema

The different kinds of schemas available for directional keys.

Ordering is directly related to hlpd_directionalkeyschema_strings.

See also
hlpd_directionalkeyschema_strings
Enumerator
HLPD_ARROW_KEYS 
HLPD_VIM_KEYS 
HLPD_WASD_KEYS 

◆ HLPD_KeyClass

The different kinds of HLPD_Key.

Ordering is directly related to hlpd_keyclass_strings.

See also
hlpd_keyclass_strings
Enumerator
HLPD_KEY_UP 
HLPD_KEY_RIGHT 
HLPD_KEY_DOWN 
HLPD_KEY_LEFT 
HLPD_KEY_DWNPAGE 
HLPD_KEY_UPPAGE 
HLPD_KEY_CONFIRM 
HLPD_KEY_QUIT 
HLPD_KEY_MENU 

◆ OP_res

enum OP_res

The different kinds of OP_res.

See also
turnOP()
Enumerator
OP_OK 
INVALID_OP 
NO_OP 
OP_CANNOT_OPEN_SAVEFILE 
OP_RES_KILL_DONE 

Value of fight status indicating the enemy died.

OP_RES_DMG_DEALT 

Value of fight status indicating the enemy was damaged.

OP_RES_DMG_TAKEN 

Value of fight status indicating the fighter was damaged.

OP_RES_DEATH 

Value of fight status indicating the fighter died.

OP_RES_NO_DMG 

Value of fight status indicating no damage occurred.

Used to reset the fight status to neutral after the end of a combat.

OP_RES_CLASH 

Value of fight status indicating damage on both sides occurred.

OP_RES_LOADED_ENEMYROOM 

Value of OP_res indicating success in loading a enemyroom.

◆ perkClass

enum perkClass

The different kinds of perks.

Ordering is directly related to perksstrings. There must always be exactly PERKSMAX +1 values.

See also
perksstrings
Enumerator
CRITBOOST_DMG 
CRITBOOST_CHANCE 
VAMPIRISM 
RUNIC_MAGNET 
HARVESTER 
HOT_BODY 
BIOHAZARD 
ORACLE_GIFT 
PENICILLIN 

◆ quality

enum quality

The different grades of Equip.

Ordering is directly related to qualitytrings. There must always be exactly QUALITIESMAX +1 values.

See also
qualitytrings
Enumerator
Bad 
Average 
Good 

◆ roadforkOption

The different kinds of Roadfork.

Ordering is directly related to roadforknamestrings. There must always be exactly ROADFORK_CLASS_MAX +1 values.

See also
ROADFORK_CLASS_MAX
Enumerator
ROADFORK_BOSS 
ROADFORK_SHOP 
ROADFORK_TREASURE 
ROADFORK_ENEMIES 
ROADFORK_ROADFORK 

◆ roomClass

enum roomClass

The different kinds of Room.

Ordering is directly related to roomnamestrings. There must always be exactly ROOM_CLASS_MAX +1 values.

See also
roomnamestrings
Enumerator
ENEMIES 
SHOP 
BOSS 
TREASURE 
ROADFORK 
HOME 
WALL 
BASIC 

◆ saveType

enum saveType

The different kinds of saveType.

See also
loadInfo
Enumerator
HOME_SAVE 
ENEMIES_SAVE 
FLOORMENU_SAVE 

◆ skillType

enum skillType
Enumerator
SKILL_TYPE_ATKBOOST 
SKILL_TYPE_LAST_UNLOCKABLE 
SKILL_TYPE_IDLE 
SKILL_TYPE_MAX 

◆ specialMove

The different kinds of special moves.

Ordering is directly related to specialsstrings and specialscosts. There must always be exactly SPECIALSMAX +1 values for each fighterClass.

See also
specialsstrings
specialscosts
Enumerator
KSlash 
KCover 
KArmordrop 
KBerserk 
AHeadshot 
AQuivercheck 
APoisonshot 
AFireshot 
MFatewarp 
MPowerup 
MSpellstrike 
MFlamering 
XGrimdagger 
XLeechknife 
XDisguise 
XVenomblade 

◆ Stat

enum Stat

The different kinds of Stat.

Enumerator
ATK 
DEF 
VEL 
ENR 

◆ treasureClass

The different kinds of Treasure.

Ordering is directly related to treasuredescstrings. There must always be exactly TREASURE_CLASS_MAX +1 values.

See also
TREASURE_CLASS_MAX
Enumerator
TREASURE_CHEST 
TREASURE_CONSUMABLE 
TREASURE_ARTIFACT 

◆ turnOption

enum turnOption

The different kinds of turnOption.

See also
getTurnChoice()
fight()
quit()
debug()
Enumerator
NEW_GAME 
LOAD_GAME 
INVALID 
FIGHT 
SPECIAL 
QUIT 
CONSUMABLE 
ARTIFACTS 
EQUIPS 
PERKS 
STATS 
SAVE 
EXPLORE 
DEBUG 
TUTORIAL 
CLOSE_MENU 
SKILL 
GAME_OPTIONS 

◆ turnOption_OP

The different kinds of turnOption_OP.

See also
stringFromTurnOP()
Enumerator
OP_NEW_GAME 
OP_LOAD_GAME 
OP_INVALID 
OP_FIGHT 
OP_SPECIAL 
OP_QUIT 
OP_CONSUMABLE 
OP_ARTIFACTS 
OP_EQUIPS 
OP_PERKS 
OP_STATS 
OP_SAVE 
OP_EXPLORE 
OP_DEBUG 
OP_LOAD_ENEMYROOM 
OP_LOAD_HOMEROOM 
OP_SKILL 
OP_CHANGE_OPTIONS 

◆ winconClass

The different kinds of Wincon.

Ordering is directly related to winconstrings. There must always be exactly WINCON_CLASS_MAX +1 values.

See also
Wincon
Enumerator
ALL_ARTIFACTS 

Collect all the artifacts.

FULL_PATH 

Finish all the room in your path.

ALL_BOSSES 

Kill all the bosses once.

Function Documentation

◆ foeTurnOP_from_foeTurnOption()

foeTurnOption_OP foeTurnOP_from_foeTurnOption ( foeTurnOption ft)

Returns a foeTurnOption_OP from a foeTurnOption.

Parameters
ftThe foeTurnOption to convert.
Returns
The corresponding foeTurnOption_OP

◆ OP_res_from_fightResult()

OP_res OP_res_from_fightResult ( fightResult fr)

Returns a OP_res from a fightResult fr.

Parameters
frThe fightResult to convert.
Returns
The corresponding OP_res

◆ turnOP_from_turnOption()

turnOption_OP turnOP_from_turnOption ( turnOption t)

Returns a turnOption_OP from a turnOption.

Parameters
tThe turnOption to convert.
Returns
The corresponding turnOption_OP

Variable Documentation

◆ artifactsBase

Artifact artifactsBase[ARTIFACTSMAX+1]
extern

Array with all the Artifact found.

See also
Artifact

◆ artifactstrings

char* artifactstrings[ARTIFACTSMAX+1]
extern

Array with the name strings for artifactClass.

See also
artifactClass

◆ basebossstats

BossBaseStats basebossstats[BOSSCLASSESMAX+1]
extern

Array containing all BossBaseStats instances.

All the classes get their starting stats from here. Ordering of parameters is: hp, atk, def, vel, level, xp, totalhp, beast(0), totalenergy

See also
Boss
bossClass
initBossStats()

◆ baseenemystats

EnemyBaseStats baseenemystats[ENEMYCLASSESMAX+1]
extern

Array containing all EnemyBaseStats instances.

All the classes get their starting stats from here. Ordering of parameters is: hp, atk, def, vel, level, xp, totalhp, beast(0), totalenergy

See also
Enemy
enemyClass
initEnemyStats()

◆ basefoepartystats

FoePartyBaseStats basefoepartystats[FOEPARTY_CLASS_MAX+1]
extern

Array containing all FoePartyBaseStats instances.

All the classes get their starting stats from here. Ordering of parameters is: class, level

See also
FoeParty
foePartyClass
initFoePartyStats()

◆ basestats

BaseStats basestats[CLASSESMAX+1]
extern

Array containing all BaseStats instances.

All the classes get their starting stats from here. Ordering of parameters is: hp, atk, def, vel, level, totalxp (0), totallevelxp (1), currentlevelxp (0), totalhp, totalenergy

See also
Fighter
fighterClass
initStats()

◆ chestdescstrings

char* chestdescstrings[CHEST_CLASS_MAX+1]
extern

Array with the desc strings for chestClass.

See also
chestClass

◆ classbossstrings

char* classbossstrings[BOSSCLASSESMAX+1]
extern

Array with the name strings for bossClass.

See also
bossClass
printStringFromBossClass()

◆ classenemystrings

char* classenemystrings[ENEMYCLASSESMAX+1]
extern

Array with the name strings for enemyClass.

See also
enemyClass
printStringFromEClass()

◆ classesstrings

char* classesstrings[CLASSESMAX+1]
extern

Array with the name strings for fighterClass.

See also
fighterClass

◆ consumablesBase

Consumable consumablesBase[CONSUMABLESMAX+1]
extern

Array containing all Consumable instances.

All the Consumable->qty values are initialised to 0

See also
Consumables
consumableClass

◆ consumablestrings

char* consumablestrings[CONSUMABLESMAX+1]
extern

Array with the name strings for Consumable.

See also
consumableClass
Consumable

◆ default_GameOptions

const GameOptions default_GameOptions
extern

◆ default_kls

Koliseo* default_kls
extern

Global variable for default Koliseo.

◆ default_saveslots

Saveslot default_saveslots[MAX_SAVESLOTS+1]
extern

Array with the default saveslots for a game.

See also
Saveslot
Path

◆ equips

Equip equips[EQUIPSMAX+1]
extern

Array containing all Equip instances.

All the Equip->qty values are initialised to 0

See also
Equip
equipClass

◆ equipstrings

char* equipstrings[EQUIPSMAX+1]
extern

Array with the name strings for equipClass.

See also
equipClass

◆ equipzonestrings

char* equipzonestrings[EQUIPZONES+1]
extern

Array with the name strings for equip zones.

See also
Equipzone

◆ fightresultstrings

char* fightresultstrings[FIGHT_RES_TOT+1]
extern

Array with the name strings for fightResult.

See also
fightResult
stringFrom_fightResult()

◆ floornamestrings

char* floornamestrings[FLOOR_CLASS_MAX+1]
extern

Array with the name strings for floorClass.

See also
floorClass

◆ foepartystrings

char* foepartystrings[FOEPARTY_CLASS_MAX+1]
extern

Array with the name strings for foePartyClass.

See also
foePartyClass
printStringFromFoePartyClass()

◆ foeturnopstrings

char* foeturnopstrings[FOETURNOP_MAX+1]
extern

Array with the name strings for foeTurnOption.

See also
foeTurnOption
stringFromFoeTurnOption()

◆ G_DEBUG_ENEMYTYPE

int G_DEBUG_ENEMYTYPE
extern

Global variable for debug enemy in ENEMIES roomtype flag.

◆ G_DEBUG_ENEMYTYPE_ARG

char* G_DEBUG_ENEMYTYPE_ARG
extern

Global variable for debug enemy flag, set to the passed string argument.

◆ G_DEBUG_ENEMYTYPE_ON

int G_DEBUG_ENEMYTYPE_ON
extern

Global variable for debug enemy flag.

◆ G_DEBUG_ON

int G_DEBUG_ON
extern

Global variable for debug flag.

◆ G_DEBUG_ROOMTYPE

int G_DEBUG_ROOMTYPE
extern

Global variable for debug roomtype flag.

◆ G_DEBUG_ROOMTYPE_ARG

char* G_DEBUG_ROOMTYPE_ARG
extern

Global variable for debug room flag, set to the passed string argument.

◆ G_DEBUG_ROOMTYPE_ON

int G_DEBUG_ROOMTYPE_ON
extern

Global variable for debug room flag.

◆ G_DOTUTORIAL_ON

int G_DOTUTORIAL_ON
extern

Global variable for a tutorial launch.

◆ G_EXPERIMENTAL_ON

int G_EXPERIMENTAL_ON
extern

Global variable for experimental features flag.

◆ G_FASTQUIT_ON

int G_FASTQUIT_ON
extern

Global variable for fast quit flag.

◆ G_GAMESTATE

Gamestate* G_GAMESTATE
extern

Global variable used to store Gamestate address when KLS_Region is not available.

Could be used even with it. Useful to save the game in a pinch, like when receiving SIGINT.

◆ G_GODMODE_ON

int G_GODMODE_ON
extern

Global variable for godmode flag.

◆ G_LOG_ON

int G_LOG_ON
extern

Global variable for debug logging flag.

◆ G_PRELOAD_ANIMATIONS_ON

int G_PRELOAD_ANIMATIONS_ON
extern

TODO Remove mentions of this.

Global variable for load animations flag. Legacy.

◆ G_RNG_ADVANCEMENTS

int64_t G_RNG_ADVANCEMENTS
extern

Global variable used to count advancements of the rng.

◆ G_SEEDED_RUN_ARG

char* G_SEEDED_RUN_ARG
extern

Global variable for seeded run flag, set to the passed string argument.

◆ G_SEEDED_RUN_ON

int G_SEEDED_RUN_ON
extern

Global variable for seeded run flag.

◆ G_USE_CURRENTDIR

int G_USE_CURRENTDIR
extern

Global variable for using current directory to store game run files.

◆ G_USE_DEFAULT_BACKGROUND

int G_USE_DEFAULT_BACKGROUND
extern

Global variable for using terminal default color.

◆ G_USE_VIM_DIRECTIONAL_KEYS

int G_USE_VIM_DIRECTIONAL_KEYS
extern

Global variable for using vim-like directional keys.

◆ G_USE_WASD_DIRECTIONAL_KEYS

int G_USE_WASD_DIRECTIONAL_KEYS
extern

Global variable for using WASD directional keys.

◆ GAMEMODE

Gamemode GAMEMODE
extern

Global variable for gamemode flag.

◆ gamemodenamestrings

char* gamemodenamestrings[GAMEMODE_MAX+1]
extern

Array with the name strings for Gamemode.

See also
Gamemode

◆ GS_AUTOSAVE_ON

int GS_AUTOSAVE_ON
extern

Global variable for autosave setting.

◆ HEAD_CHAR_ICON

const wchar_t HEAD_CHAR_ICON
extern

◆ helapordo_build_string

const char* helapordo_build_string
extern

◆ helapordo_title_string

const char* helapordo_title_string
extern

We need to undef these macros if they exist, since windows.h may declare them (and here we inherit that from koliseo.h).

< Defines the color palette used for the s4c functions, includes s4c.h. Defines a formatted string for title output to FILE.

◆ hlp_regiontype_strings

char* hlp_regiontype_strings[HLP_MAX_INDEX+1]
extern

Array with the name strings for HLP_Region_Type values.

See also
HLP_Region_Type

◆ hlpd_default_directional_keys

HLPD_DirectionalKeys hlpd_default_directional_keys[HLPD_DIRECTIONALKEYS_SCHEMAS_MAX+1]
extern

Array with the default directional keys for all schemas defined as HLPD_DirectionalKeys_Schema.

See also
HLPD_DirectionalKeys_Schema
HLPD_DirectionalKeys

◆ hlpd_default_keybinds

HLPD_Key hlpd_default_keybinds[HLPD_KEYCLASS_MAX+1]
extern

Array with the keybinds for the game.

See also
HLPD_Key

◆ hlpd_directionalkeyschemas_strings

char* hlpd_directionalkeyschemas_strings[HLPD_DIRECTIONALKEYS_SCHEMAS_MAX+1]
extern

Array with the name strings for HLPD_DirectionalKeys_Schema.

See also
HLPD_DirectionalKeys_Schema

◆ hlpd_keyclass_strings

char* hlpd_keyclass_strings[HLPD_KEYCLASS_MAX+1]
extern

Array with the name strings for Gamemode.

See also
Gamemode

◆ LEGS_CHAR_ICON

const wchar_t LEGS_CHAR_ICON
extern

◆ opresstrings

char* opresstrings[OP_RES_MAX+1]
extern

Array with the name strings for OP_res.

See also
turnOption_OP
turnOP()
stringFrom_OP_res()

◆ perksdescstrings

char* perksdescstrings[PERKSMAX+1]
extern

Array with the desc strings for perkClass.

See also
perkClass

◆ perksnamestrings

char* perksnamestrings[PERKSMAX+1]
extern

Array with the name strings for perkClass.

See also
perkClass

◆ qualitytrings

char* qualitytrings[QUALITIESMAX+1]
extern

Array with the name strings for quality.

See also
quality

◆ roadforkoptionstrings

char* roadforkoptionstrings[ROADFORK_OPTIONS_MAX+1]
extern

Array with the name strings for roadforkClass.

See also
roadforkClass

◆ roomnamestrings

char* roomnamestrings[ROOM_CLASS_MAX+1]
extern

Array with the name strings for roomClass.

See also
roomClass

◆ savetypestrings

char* savetypestrings[SAVETYPE_MAX+1]
extern

Array with the name strings for saveType.

See also
saveType
stringFrom_saveType()

◆ skillscosts

int skillscosts[SKILLSTOTAL+1]
extern

Array with the cost integer values for skills.

See also
skillType

◆ skillsdescstrings

char* skillsdescstrings[SKILLSTOTAL+1]
extern

Array with the desc strings for skills.

See also
skillType

◆ skillsnamestrings

char* skillsnamestrings[SKILLSTOTAL+1]
extern

Array with the name strings for skills.

See also
skillType

◆ specialscosts

int specialscosts[CLASSESMAX+1][SPECIALSMAX+1]
extern

Array with the cost integer values for special moves.

See also
specialMove

◆ specialsdescstrings

char* specialsdescstrings[CLASSESMAX+1][SPECIALSMAX+1]
extern

Array with the desc strings for special moves.

See also
specialMove

◆ specialsnamestrings

char* specialsnamestrings[CLASSESMAX+1][SPECIALSMAX+1]
extern

Array with the name strings for special moves.

See also
specialMove

◆ support_kls

Koliseo* support_kls
extern

Global variable for support Koliseo.

◆ temporary_kls

Koliseo* temporary_kls
extern

Global variable for temporary Koliseo.

◆ TORSO_CHAR_ICON

const wchar_t TORSO_CHAR_ICON
extern

◆ treasuredescstrings

char* treasuredescstrings[TREASURE_CLASS_MAX+1]
extern

Array with the name strings for treasureClass.

See also
treasureClass

◆ turnopstrings

char* turnopstrings[TURNOP_MAX+1]
extern

Array with the name strings for turnOption.

See also
turnOption
stringFromTurnOption()

◆ winconstrings

char* winconstrings[WINCON_CLASS_MAX+1]
extern

Array with the desc strings for winconClass.

See also
winconClass