Batch #1714 by ragnarok-clanker: 0 byte-identical, 1 confirmed by peer review. - fn_06623 BuildReplayTaggedRecord: logic confirmed by peer review (annotation added to existing code) Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
32 lines
839 B
C++
32 lines
839 B
C++
#ifndef RAGNAROK_SOURCE_CONTENTS_JOBS_JOBINHERITANCE_H
|
|
#define RAGNAROK_SOURCE_CONTENTS_JOBS_JOBINHERITANCE_H
|
|
|
|
class LuaScript;
|
|
class CPlayerSkillBundle;
|
|
|
|
struct JobInheritance {
|
|
LuaScript& script;
|
|
|
|
int Lookup(int job);
|
|
|
|
void InitializeSkillTree(CPlayerSkillBundle& bundle, int job);
|
|
};
|
|
|
|
#include <cstdint>
|
|
#include <string>
|
|
|
|
bool __stdcall IsVisibleJob(int job);
|
|
int __stdcall GetWeaponViewValue(int weapon);
|
|
int __stdcall GetDualWieldWeaponType(int first, int second);
|
|
bool __stdcall IsJobWeaponAllowed(int job, int slot, std::int64_t weapon);
|
|
int __stdcall GetRealWeaponId(int weapon);
|
|
std::string GetJobTitleString(int job);
|
|
bool ResetHotkeySlots();
|
|
bool IsScreenShakeActive();
|
|
|
|
extern int g_screenShakeDuration;
|
|
extern char g_screenShakeMode;
|
|
extern const char g_playerNameKeyData[];
|
|
extern const char* g_playerNameKey;
|
|
|
|
#endif
|