forked from mirrors/kolyah35-minecraft-pe-0.6.1
the whole game
This commit is contained in:
parent
816e9060b4
commit
f0617a5d22
2069 changed files with 581500 additions and 0 deletions
22
src/world/level/storage/FolderMethods.h
Executable file
22
src/world/level/storage/FolderMethods.h
Executable file
|
|
@ -0,0 +1,22 @@
|
|||
#ifndef _MINECRAFT_FOLDERMETHODS_H_
|
||||
#define _MINECRAFT_FOLDERMETHODS_H_
|
||||
|
||||
#include "../../../platform/log.h"
|
||||
|
||||
#ifdef WIN32
|
||||
#include <io.h>
|
||||
#else
|
||||
int _mkdir(const char* name);
|
||||
int _access(const char* name, int mode);
|
||||
int _errno();
|
||||
#endif
|
||||
|
||||
bool exists(const char* name);
|
||||
bool createFolderIfNotExists(const char* name);
|
||||
|
||||
int getRemainingFileSize(FILE* fp);
|
||||
int getFileSize(const char* filename);
|
||||
|
||||
bool createTree(const char* base, const char* tree[], int treeLength);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue