39 lines
1.2 KiB
C
39 lines
1.2 KiB
C
/*
|
|||
|
|
* Copyright (C) 2008-2009 Trinity <http://www.trinitycore.org/>
|
||
|
|
*
|
||
|
|
* This program is free software; you can redistribute it and/or modify
|
||
|
|
* it under the terms of the GNU General Public License as published by
|
||
|
|
* the Free Software Foundation; either version 2 of the License, or
|
||
|
|
* (at your option) any later version.
|
||
|
|
*
|
||
|
|
* This program is distributed in the hope that it will be useful,
|
||
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
|
|
* GNU General Public License for more details.
|
||
|
|
*
|
||
|
|
* You should have received a copy of the GNU General Public License
|
||
|
|
* along with this program; if not, write to the Free Software
|
||
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||
|
|
*/
|
||
|
|
#ifndef OUTDOORPVP_IMPL_H
|
||
|
|
#define OUTDOORPVP_IMPL_H
|
||
|
|
|
||
|
|
#include "SharedDefines.h"
|
||
|
|
#include "OutdoorPvP.h"
|
||
|
|
#include "Player.h"
|
||
|
|
|
||
|
|
#define TEAM_ID(a) (a == ALLIANCE ? 0 : 1)
|
||
|
|
|
||
|
|
enum ObjectiveStates
|
||
|
|
{
|
||
|
|
OBJECTIVESTATE_NEUTRAL = 0,
|
||
|
|
OBJECTIVESTATE_ALLIANCE,
|
||
|
|
OBJECTIVESTATE_HORDE,
|
||
|
|
OBJECTIVESTATE_NEUTRAL_ALLIANCE_CHALLENGE,
|
||
|
|
OBJECTIVESTATE_NEUTRAL_HORDE_CHALLENGE,
|
||
|
|
OBJECTIVESTATE_ALLIANCE_HORDE_CHALLENGE,
|
||
|
|
OBJECTIVESTATE_HORDE_ALLIANCE_CHALLENGE,
|
||
|
|
};
|
||
|
|
|
||
|
|
#endif
|