mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
-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 "input_map.h"
|
||||
|
||||
#include "global_config.h"
|
||||
#include "project_settings.h"
|
||||
#include "os/keyboard.h"
|
||||
|
||||
InputMap *InputMap::singleton = NULL;
|
||||
|
@ -189,7 +189,7 @@ void InputMap::load_from_globals() {
|
|||
input_map.clear();
|
||||
|
||||
List<PropertyInfo> pinfo;
|
||||
GlobalConfig::get_singleton()->get_property_list(&pinfo);
|
||||
ProjectSettings::get_singleton()->get_property_list(&pinfo);
|
||||
|
||||
for (List<PropertyInfo>::Element *E = pinfo.front(); E; E = E->next()) {
|
||||
const PropertyInfo &pi = E->get();
|
||||
|
@ -201,7 +201,7 @@ void InputMap::load_from_globals() {
|
|||
|
||||
add_action(name);
|
||||
|
||||
Array va = GlobalConfig::get_singleton()->get(pi.name);
|
||||
Array va = ProjectSettings::get_singleton()->get(pi.name);
|
||||
|
||||
for (int i = 0; i < va.size(); i++) {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue