- Removed the old meta data system. All meta data is now stored in subclasses of PClass. This
should simplify scripting, since it means that meta fields can be treated (mostly) the same as normal fields. SVN r2242 (scripting)
This commit is contained in:
parent
f88f601230
commit
604b5ef673
62 changed files with 902 additions and 802 deletions
|
|
@ -29,11 +29,12 @@
|
|||
|
||||
// [RH] Functions that actually perform the cheating
|
||||
class player_t;
|
||||
class PClass;
|
||||
class PClassPlayerPawn;
|
||||
|
||||
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);
|
||||
void cht_Suicide (player_t *player);
|
||||
const char *cht_Morph (player_t *player, const PClass *morphclass, bool quickundo);
|
||||
const char *cht_Morph (player_t *player, PClassPlayerPawn *morphclass, bool quickundo);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue