Store kmatrix_result in a uint8_t size enum

This commit is contained in:
Kp 2020-09-21 03:18:12 +00:00
parent b9f3e8a40a
commit 08701ca190

View file

@ -27,9 +27,9 @@ COPYRIGHT 1993-1999 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED.
#include "maths.h"
#ifdef __cplusplus
namespace dcx {
enum class kmatrix_result
enum class kmatrix_result : uint8_t
{
abort,
proceed,
@ -44,11 +44,11 @@ enum class kmatrix_network : uint8_t
multiplayer = 4,
};
}
#ifdef dsx
namespace dsx {
kmatrix_result kmatrix_view(kmatrix_network network); // shows matrix screen. Retruns 0 if aborted (quitting game) and 1 if proceeding to next level if applicable.
kmatrix_result multi_endlevel_score();
}
#endif
#endif