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;
|
2017-02-08 18:42:24 +00:00
|
|
|
class PClassActor;
|
2016-03-01 15:47:10 +00:00
|
|
|
|
2017-02-27 19:07:21 +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);
|
2017-02-08 18:42:24 +00:00
|
|
|
const char *cht_Morph (player_t *player, PClassActor *morphclass, bool quickundo);
|
2016-03-01 15:47:10 +00:00
|
|
|
|
|
|
|
#endif
|