-Renamed GlobalConfig to ProjectSettings, makes more sense.
-Added system for feature overrides, it's pretty cool :)
This commit is contained in:
parent
89588d4334
commit
25678b1876
162 changed files with 1296 additions and 831 deletions
|
|
@ -29,7 +29,7 @@
|
|||
/*************************************************************************/
|
||||
#include "file_access_memory.h"
|
||||
|
||||
#include "global_config.h"
|
||||
#include "project_settings.h"
|
||||
#include "map.h"
|
||||
#include "os/copymem.h"
|
||||
#include "os/dir_access.h"
|
||||
|
|
@ -43,8 +43,8 @@ void FileAccessMemory::register_file(String p_name, Vector<uint8_t> p_data) {
|
|||
}
|
||||
|
||||
String name;
|
||||
if (GlobalConfig::get_singleton())
|
||||
name = GlobalConfig::get_singleton()->globalize_path(p_name);
|
||||
if (ProjectSettings::get_singleton())
|
||||
name = ProjectSettings::get_singleton()->globalize_path(p_name);
|
||||
else
|
||||
name = p_name;
|
||||
//name = DirAccess::normalize_path(name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue