use C++ style structs everywhere

This commit is contained in:
RSDuck
2021-01-02 11:38:06 +01:00
parent e2c61b28e0
commit 7d448d911d
10 changed files with 28 additions and 39 deletions

View File

@ -26,7 +26,7 @@
namespace Config
{
typedef struct
struct ConfigEntry
{
char Name[32];
int Type;
@ -34,8 +34,7 @@ typedef struct
int DefaultInt;
const char* DefaultStr;
int StrLength; // should be set to actual array length minus one
} ConfigEntry;
};
FILE* GetConfigFile(const char* fileName, const char* permissions);
bool HasConfigFile(const char* fileName);