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;
|
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);
|
2018-11-24 07:39:35 +00:00
|
|
|
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
|