mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-12-15 06:51:36 +00:00
24 lines
447 B
C++
24 lines
447 B
C++
#ifndef A_KEYS_H
|
|
#define A_KEYS_H
|
|
|
|
#include "a_pickups.h"
|
|
|
|
class AKey : public AInventory
|
|
{
|
|
DECLARE_CLASS (AKey, AInventory)
|
|
public:
|
|
virtual bool HandlePickup (AInventory *item);
|
|
|
|
BYTE KeyNumber;
|
|
|
|
protected:
|
|
virtual bool ShouldStay ();
|
|
};
|
|
|
|
bool P_CheckKeys (AActor *owner, int keynum, bool remote);
|
|
void P_InitKeyMessages ();
|
|
void P_DeinitKeyMessages ();
|
|
int P_GetMapColorForLock (int lock);
|
|
int P_GetMapColorForKey (AInventory *key);
|
|
|
|
#endif
|