OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Functions | Variables
Monsters.cpp File Reference
#include "Monsters.h"
#include <cstring>
#include <string>
#include <utility>
#include "Engine/Tables/FrameTableInc.h"
#include "Library/Logger/Logger.h"
#include "Library/Serialization/Serialization.h"
#include "Utility/Memory/Blob.h"
#include "Utility/String/Ascii.h"
#include "Utility/Exception.h"
#include "Utility/String/Transformations.h"

Functions

void ParseDamage (char *damage_str, uint8_t *dice_rolls, uint8_t *dice_sides, uint8_t *dmg_bonus)
 
int ParseMissleAttackType (const char *missle_attack_str)
 
int ParseSpecialAttack (const char *spec_att_str)
 
SpellId ParseSpellType (FrameTableTxtLine *tbl, int *next_token)
 
CombinedSkillValue ParseSkillValue (std::string_view skillString, std::string_view masteryString)
 
static DamageType ParseAttackType (const char *damage_type_str)
 
int ParseSpecialAttack (char *spec_att_str)
 

Variables

MonsterStatspMonsterStats
 
MonsterListpMonsterList
 

Function Documentation

◆ ParseAttackType()

static DamageType ParseAttackType ( const char *  damage_type_str)
static

◆ ParseDamage()

void ParseDamage ( char *  damage_str,
uint8_t *  dice_rolls,
uint8_t *  dice_sides,
uint8_t *  dmg_bonus 
)

◆ ParseMissleAttackType()

int ParseMissleAttackType ( const char *  missle_attack_str)

◆ ParseSkillValue()

CombinedSkillValue ParseSkillValue ( std::string_view  skillString,
std::string_view  masteryString 
)

◆ ParseSpecialAttack() [1/2]

int ParseSpecialAttack ( char *  spec_att_str)

◆ ParseSpecialAttack() [2/2]

int ParseSpecialAttack ( const char *  spec_att_str)

◆ ParseSpellType()

SpellId ParseSpellType ( FrameTableTxtLine tbl,
int *  next_token 
)

Variable Documentation

◆ pMonsterList

MonsterList* pMonsterList

◆ pMonsterStats

MonsterStats* pMonsterStats