99 lines of documentation (#2058)
This commit is contained in:
parent
9821ff72d1
commit
31ac716c3d
12 changed files with 106 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue