- moved Exhumed's cheat bits back into the game module.

They are no longer part of the packet interface.
This commit is contained in:
Christoph Oelckers 2020-08-29 02:17:28 +02:00
parent dc1f56e8f9
commit 3a9bcb0b64
2 changed files with 7 additions and 15 deletions

View File

@ -103,7 +103,6 @@ union SYNCFLAGS
unsigned int lookDown : 1;
unsigned int jab : 1;
unsigned int lookLeft : 1;
unsigned int lookRight : 1;
};
@ -129,20 +128,6 @@ union SYNCFLAGS
#define SK_SPACE_BAR 31
// Exhumed
enum {
kButtonCheatGuns = 0x20,
kButtonCheatGodMode = 0x40,
kButtonCheatKeys = 0x80,
kButtonCheatItems = 0x100,
};
struct InputPacket
{
int16_t svel;

View File

@ -24,6 +24,13 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
BEGIN_PS_NS
enum {
kButtonCheatGuns = 0x20,
kButtonCheatGodMode = 0x40,
kButtonCheatKeys = 0x80,
kButtonCheatItems = 0x100,
};
// 32 bytes
struct PlayerInput
{