/**************************************************************
 * FFTacticsMUD : battle.h                                    *
 **************************************************************
 * (c) 2002 Damien Dailidenas (Trenton). All rights reserved. *
 **************************************************************/

#define DECLARE_BATTLE_FUN(fun) BATTLE_FUN fun
typedef bool BATTLE_FUN args((CH *ch, const short phase=1));

#define PULSE_BATTLE	4

#define TRIG_HPDAMAGE   1
#define TRIG_ATTACK     2

#define BATTLE_ORBONNE_MONASTERY	0

typedef class BATTLE BATTLE;

class BATTLE {
public:
  BATTLE_AREA *area;
  BATTLE *next;  
  CH *people, *turn, *winner;
  short gil;

  BATTLE();
  ~BATTLE();

  void echo(string str);
  void echo(CH *ch, char *txt, ...);
};

extern  BATTLE *battle_list;

DECLARE_BATTLE_FUN(battle_orbonne_monastery);