99 lines of documentation (#2058)

This commit is contained in:
Anders Jenbo 2020-07-07 19:36:18 +02:00 committed by GitHub
commit 31ac716c3d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 106 additions and 1 deletions

View file

@ -5,6 +5,10 @@
*/
#include "all.h"
/**
* @brief Check that the OS version is the minimum required by the game
* @return True if suported
*/
BOOL SystemSupported()
{
OSVERSIONINFO VersionInformation;
@ -20,6 +24,11 @@ BOOL SystemSupported()
return ret;
}
/**
* @brief Check that we have write access to the Windows install folder
* @return False if we have write access
*/
BOOL RestrictedTest()
{
FILE *f;
@ -39,6 +48,11 @@ BOOL RestrictedTest()
return ret;
}
/**
* @brief Check that we have write access to the game install folder
* @return False if we have write access
*/
BOOL ReadOnlyTest()
{
char *c;