1
0
Fork 0
mirror of https://github.com/galaxyhaxz/devilution synced 2025-02-22 12:34:59 +00:00
devilution/2020_03_31/DiabloUI/creastat.cpp
PrisonOfMirrors b720183846 initial up
2020-11-28 18:24:54 -06:00

19 lines
517 B
C++

// ref: 0x1000523E
BOOL __stdcall UiGetDefaultStats(int pclass, _uidefaultstats *pStats)
{
if ( !pStats )
return 0;
pStats->strength = defstats[pclass][0];
pStats->magic = defstats[pclass][1];
pStats->dexterity = defstats[pclass][2];
pStats->vitality = defstats[pclass][3];
return 1;
}
// ref: 0x10005287
void __cdecl CreaStat_cpp_init()
{
CreaStat_cpp_float = CreaStat_cpp_float_value;
}
// 1001F404: using guessed type int CreaStat_cpp_float_value;
// 100296E0: using guessed type int CreaStat_cpp_float;