Project Alice
|
Functions | |
int32_t | get_level (sys::state &state, dcon::nation_id gp, dcon::nation_id target) |
uint8_t | increase_level (uint8_t v) |
uint8_t | decrease_level (uint8_t v) |
uint8_t | increase_priority (uint8_t v) |
uint8_t | decrease_priority (uint8_t v) |
bool | is_influence_level_greater (int32_t l, int32_t r) |
bool | is_influence_level_greater_or_equal (int32_t l, int32_t r) |
Variables | |
constexpr uint8_t | level_mask = uint8_t(0x07) |
constexpr uint8_t | level_neutral = uint8_t(0x00) |
constexpr uint8_t | level_opposed = uint8_t(0x01) |
constexpr uint8_t | level_hostile = uint8_t(0x02) |
constexpr uint8_t | level_cordial = uint8_t(0x03) |
constexpr uint8_t | level_friendly = uint8_t(0x04) |
constexpr uint8_t | level_in_sphere = uint8_t(0x05) |
constexpr uint8_t | priority_mask = uint8_t(0x18) |
constexpr uint8_t | priority_zero = uint8_t(0x00) |
constexpr uint8_t | priority_one = uint8_t(0x08) |
constexpr uint8_t | priority_two = uint8_t(0x10) |
constexpr uint8_t | priority_three = uint8_t(0x18) |
constexpr uint8_t | is_discredited = uint8_t(0x40) |
constexpr uint8_t | is_banned = uint8_t(0x80) |
Definition at line 228 of file nations.hpp.
int32_t nations::influence::get_level | ( | sys::state & | state, |
dcon::nation_id | gp, | ||
dcon::nation_id | target | ||
) |
Definition at line 221 of file nations.hpp.
|
inline |
|
inline |
Definition at line 253 of file nations.hpp.
Definition at line 183 of file nations.hpp.
Definition at line 182 of file nations.hpp.
Definition at line 171 of file nations.hpp.
Definition at line 172 of file nations.hpp.
Definition at line 170 of file nations.hpp.
Definition at line 173 of file nations.hpp.
Definition at line 167 of file nations.hpp.
Definition at line 168 of file nations.hpp.
Definition at line 169 of file nations.hpp.
Definition at line 175 of file nations.hpp.
Definition at line 177 of file nations.hpp.
Definition at line 179 of file nations.hpp.
Definition at line 178 of file nations.hpp.
Definition at line 176 of file nations.hpp.