qzdoom/src/m_cheat.h

23 lines
668 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
2018-12-01 07:44:14 +00:00
class FString;
2016-03-01 15:47:10 +00:00
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);
FString cht_Morph (player_t *player, PClassActor *morphclass, bool quickundo);
2018-11-25 00:26:19 +00:00
void cht_Takeweaps(player_t *player);
2016-03-01 15:47:10 +00:00
#endif