/* $Id: war.h,v 1.666 2004/09/20 10:49:54 shrike Exp $ */ /************************************************************************************ * Copyright 2004 Astrum Metaphora consortium * * * * Licensed under the Apache License, Version 2.0 (the "License"); * * you may not use this file except in compliance with the License. * * You may obtain a copy of the License at * * * * http://www.apache.org/licenses/LICENSE-2.0 * * * * Unless required by applicable law or agreed to in writing, software * * distributed under the License is distributed on an "AS IS" BASIS, * * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * * See the License for the specific language governing permissions and * * limitations under the License. * * * ************************************************************************************/ #ifndef _WAR_H_ #define _WAR_H_ // war types // see #define WAR_MAX_TYPE in merc.h !!! #define WAR_TYPE_GENOCID 0 #define WAR_TYPE_CLAN 1 #define WAR_TYPE_RACE 2 #define WAR_TYPE_RELIGION 3 #define WAR_TYPE_CLASS 4 #define WAR_TYPE_TEAM 5 #define WAR_TYPE_ALIGN 6 // NB! Duel is the special case and for correct work it MUST // be greater or equal WAR_MAX_TYPE #define WAR_TYPE_DUEL 10 // player war status #define PS_NONE 0 #define PS_ALIVE 1 #define PS_KILLED 2 #define PS_DEAD_WINNER 3 #define PS_LIVE_WINNER 4 // war status flags #define WS_PREPARING (K) #define WS_NEED_CANCEL (L) #define WS_SET_PARMS (M) #endif