1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

HTML5 exporter seems to be fully functional

-user:// filesystem implemented
-default template page could look prettier, help appreciated
This commit is contained in:
Juan Linietsky
2015-09-12 10:54:47 -03:00
parent 56c907ad04
commit a88f67821c
6 changed files with 113 additions and 13 deletions

View File

@@ -38,6 +38,10 @@
/**
@author Juan Linietsky <reduzio@gmail.com>
*/
typedef void (*CloseNotificationFunc)(const String& p_file,int p_flags);
class FileAccessUnix : public FileAccess {
FILE *f;
@@ -45,10 +49,13 @@ class FileAccessUnix : public FileAccess {
void check_errors() const;
mutable Error last_error;
String save_path;
String path;
static FileAccess* create_libc();
static FileAccess* create_libc();
public:
static CloseNotificationFunc close_notification_func;
virtual Error _open(const String& p_path, int p_mode_flags); ///< open a file
virtual void close(); ///< close a file
virtual bool is_open() const; ///< true when file is open