qzdoom/src/m_cheat.h

21 lines
619 B
C
Raw Normal View History

2016-03-01 15:47:10 +00:00
#ifndef __M_CHEAT_H__
#define __M_CHEAT_H__
//
// CHEAT SEQUENCE PACKAGE
//
// [RH] Functions that actually perform the cheating
class player_t;
class PClassActor;
2016-03-01 15:47:10 +00:00
void cht_DoMDK(player_t *player, const char *mod);
2016-03-01 15:47:10 +00:00
void cht_DoCheat (player_t *player, int cheat);
void cht_Give (player_t *player, const char *item, int amount=1);
void cht_Take (player_t *player, const char *item, int amount=1);
2017-03-14 10:44:21 +00:00
void cht_SetInv(player_t *player, const char *item, int amount = 1, bool beyondMax = false);
2016-03-01 15:47:10 +00:00
void cht_Suicide (player_t *player);
const char *cht_Morph (player_t *player, PClassActor *morphclass, bool quickundo);
2016-03-01 15:47:10 +00:00
#endif