RingRacers/src/m_pw.h
James R acbb7eb463 Add password checking system
Co-authored-by: toaster <rollerorbital@gmail.com>
2024-03-28 00:09:11 -07:00

34 lines
727 B
C++

// DR. ROBOTNIK'S RING RACERS
//-----------------------------------------------------------------------------
// Copyright (C) 2024 by James Robert Roman
//
// This program is free software distributed under the
// terms of the GNU General Public License, version 2.
// See the 'LICENSE' file for more details.
//-----------------------------------------------------------------------------
#ifndef m_pw_H
#define m_pw_H
#include "doomtype.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef enum
{
M_PW_INVALID,
M_PW_EXTRAS,
M_PW_CHALLENGES,
}
try_password_e;
void M_PasswordInit(void);
try_password_e M_TryPassword(const char *password, boolean challenges);
#ifdef __cplusplus
} // extern "C"
#endif
#endif/*m_pw_H*/