shithub: choc

ref: da6a260461920d4cafd4c6d1d624aebf2d9b975c
dir: /src/strife/p_inter.h/

View raw version
// Emacs style mode select   -*- C++ -*- 
//-----------------------------------------------------------------------------
//
// Copyright(C) 1993-1996 Id Software, Inc.
// Copyright(C) 2005 Simon Howard
//
// 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.
//
// DESCRIPTION:
//
//
//-----------------------------------------------------------------------------


#ifndef __P_INTER__
#define __P_INTER__

// haleyjd [STRIFE]: Multiple externals added
boolean P_GiveCard(player_t* player, card_t card);
boolean P_GiveBody(player_t* player, int num);
boolean P_GiveArmor(player_t* player, int armortype);
boolean P_GivePower(player_t* player, powertype_t power);
boolean P_GiveAmmo(player_t* player, ammotype_t ammo, int num);
boolean P_GiveWeapon(player_t* player, weapontype_t weapon, boolean dropped);
void    P_KillMobj(mobj_t* source, mobj_t* target);

#endif