1
0
forked from metin2/server

Rewrote network stack, started working on porting to 64-bit

This commit is contained in:
2022-03-12 11:39:41 +02:00
parent 64596d344c
commit a056345a7b
167 changed files with 1388 additions and 3085 deletions

View File

@@ -22,7 +22,7 @@ extern bool battle_is_attackable(LPCHARACTER ch, LPCHARACTER victim);
extern int battle_melee_attack(LPCHARACTER ch, LPCHARACTER victim);
extern void battle_end(LPCHARACTER ch);
extern bool battle_distance_valid_by_xy(long x, long y, long tx, long ty);
extern bool battle_distance_valid_by_xy(int x, int y, int tx, int ty);
extern bool battle_distance_valid(LPCHARACTER ch, LPCHARACTER victim);
extern int battle_count_attackers(LPCHARACTER ch);
@@ -35,7 +35,7 @@ inline void AttackAffect(LPCHARACTER pkAttacker,
DWORD immune_flag,
DWORD affect_idx,
BYTE affect_point,
long affect_amount,
int affect_amount,
DWORD affect_flag,
int time,
const char* name)
@@ -63,7 +63,7 @@ inline void SkillAttackAffect(LPCHARACTER pkVictim,
DWORD immune_flag,
DWORD affect_idx,
BYTE affect_point,
long affect_amount,
int affect_amount,
DWORD affect_flag,
int time,
const char* name)