29#ifndef HORIZON_HORIZON_HPP
30#define HORIZON_HORIZON_HPP
43#define CLIENT_TYPE 'M'
46#define PACKET_VERSION 20190530
49#define MAX_STATUS_POINTS 400
50#define MAX_ATTACK_SPEED 199
52#define MAX_STATUS_EFFECT_BONUSES 10
53#define MAX_PC_BONUSES_PER_GROUP 10
54#define MAX_AUTOSPELL 16
57#define MAX_CHARACTER_SLOTS 9
58#define DEFAULT_MOVEMENT_SPEED 150
59#define MAX_VIEW_RANGE 14
60#define MAX_NPC_TRIGGER_RANGE 5
63#define MAX_CORE_UPDATE_INTERVAL 500
66#define ACTIVE_PATH_SEARCH 1
69 "MAX_LEVEL should be greater than 0.");
71 "MAX_CHARACTER_SLOTS must be in multiples of 3!");
73 "DEFAULT_MOVEMENT_SPEED must be greater than 0 and less than 1000.");
75 "View range affects visibility range for players and should not be 0.");
77 "MAX_NPC_TRIGGER_RANGE must be less than MAX_VIEW_RANGE and greater than 0.");
79 "MAX_CORE_UPDATE_INTERVAL should be greater than or equal to 500 microseconds (µs).");
#define MAX_CHARACTER_SLOTS
Definition: Horizon.hpp:57
#define MAX_LEVEL
Definition: Horizon.hpp:48
#define MAX_NPC_TRIGGER_RANGE
Definition: Horizon.hpp:60
#define MAX_CORE_UPDATE_INTERVAL
Definition: Horizon.hpp:63
#define DEFAULT_MOVEMENT_SPEED
Definition: Horizon.hpp:58
#define MAX_VIEW_RANGE
Definition: Horizon.hpp:59
Definition: Horizon.hpp:84
s_min_max(int min, int max)
Definition: Horizon.hpp:85
int max
Definition: Horizon.hpp:94
void set_min(int min)
Definition: Horizon.hpp:87
int min
Definition: Horizon.hpp:93
int get_max()
Definition: Horizon.hpp:91
int get_min()
Definition: Horizon.hpp:90
void set_max(int max)
Definition: Horizon.hpp:88