mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
36 lines
837 B
C++
36 lines
837 B
C++
// DR. ROBOTNIK'S RING RACERS
|
|
//-----------------------------------------------------------------------------
|
|
// Copyright (C) 2024 by James Robert Roman
|
|
// Copyright (C) 2024 by Kart Krew
|
|
//
|
|
// 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);
|
|
boolean M_TryExactPassword(const char *password, const char *encodedhash);
|
|
|
|
#ifdef __cplusplus
|
|
} // extern "C"
|
|
#endif
|
|
|
|
#endif/*m_pw_H*/
|