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

@@ -63,7 +63,7 @@ Error FileAccessUnix::_open(const String& p_path, int p_mode_flags) {
fclose(f);
f=NULL;
String path=fix_path(p_path);
path=fix_path(p_path);
//printf("opening %ls, %i\n", path.c_str(), Memory::get_static_mem_usage());
ERR_FAIL_COND_V(f,ERR_ALREADY_IN_USE);
@@ -114,6 +114,9 @@ void FileAccessUnix::close() {
return;
fclose(f);
f = NULL;
if (close_notification_func) {
close_notification_func(path,flags);
}
if (save_path!="") {
//unlink(save_path.utf8().get_data());
@@ -240,6 +243,7 @@ FileAccess * FileAccessUnix::create_libc() {
return memnew( FileAccessUnix );
}
CloseNotificationFunc FileAccessUnix::close_notification_func=NULL;
FileAccessUnix::FileAccessUnix() {