mirror of
https://github.com/halpz/re3.git
synced 2025-05-11 15:16:39 +03:00
implemented CFileMgr (barf)
This commit is contained in:
parent
8384815dad
commit
886633293d
4 changed files with 330 additions and 1 deletions
13
src/main.cpp
13
src/main.cpp
|
@ -1,5 +1,6 @@
|
|||
#include "common.h"
|
||||
#include <direct.h>
|
||||
#include <Windows.h>
|
||||
#include "common.h"
|
||||
#include "patcher.h"
|
||||
#include "Renderer.h"
|
||||
#include "debugmenu_public.h"
|
||||
|
@ -36,6 +37,16 @@ mysrand(unsigned int seed)
|
|||
myrand_seed = seed;
|
||||
}
|
||||
|
||||
// platform stuff
|
||||
char*
|
||||
GetUserDirectory(void)
|
||||
{
|
||||
static char path[MAX_PATH];
|
||||
strcpy(path, "userfiles");
|
||||
mkdir(path);
|
||||
return path;
|
||||
}
|
||||
|
||||
|
||||
int (*open_script_orig)(const char *path, const char *mode);
|
||||
int
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue