mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-22 20:06:49 +01:00
Fixed remaining issues and added cscript to the build.
This commit is contained in:
parent
6b2db83031
commit
73ac91dc86
@ -30,25 +30,25 @@
|
||||
|
||||
#include "script_create_dialog.h"
|
||||
|
||||
#include "core/io/resource_saver.h"
|
||||
#include "core/project_settings.h"
|
||||
#include "core/script_language.h"
|
||||
#include "core/string_builder.h"
|
||||
#include "editor/create_dialog.h"
|
||||
#include "editor/editor_scale.h"
|
||||
#include "core/class_db.h"
|
||||
#include "core/color.h"
|
||||
#include "core/error_list.h"
|
||||
#include "core/io/resource_loader.h"
|
||||
#include "core/io/resource_saver.h"
|
||||
#include "core/list.h"
|
||||
#include "core/math/vector2.h"
|
||||
#include "core/os/dir_access.h"
|
||||
#include "core/os/memory.h"
|
||||
#include "core/project_settings.h"
|
||||
#include "core/reference.h"
|
||||
#include "core/resource.h"
|
||||
#include "core/script_language.h"
|
||||
#include "core/string_builder.h"
|
||||
#include "core/typedefs.h"
|
||||
#include "core/variant.h"
|
||||
#include "editor/create_dialog.h"
|
||||
#include "editor/editor_file_dialog.h"
|
||||
#include "editor/editor_scale.h"
|
||||
#include "editor/editor_settings.h"
|
||||
#include "scene/gui/box_container.h"
|
||||
#include "scene/gui/button.h"
|
||||
@ -221,7 +221,7 @@ String ScriptCreateDialog::_validate_path(const String &p_path, bool p_file_must
|
||||
List<String> extensions;
|
||||
|
||||
// get all possible extensions for script
|
||||
for (int l = 0; l < language_menu->get_item_count(); l++) {
|
||||
for (int l = 0; l < ScriptServer::get_language_count(); l++) {
|
||||
ScriptServer::get_language(l)->get_recognized_extensions(&extensions);
|
||||
}
|
||||
|
||||
|
@ -1,9 +1,6 @@
|
||||
|
||||
def can_build(env, platform):
|
||||
#return True
|
||||
#not yet
|
||||
return False
|
||||
|
||||
return True
|
||||
|
||||
def configure(env):
|
||||
pass
|
||||
@ -13,7 +10,6 @@ def get_doc_classes():
|
||||
return [
|
||||
"@CScript",
|
||||
"CScript",
|
||||
"CScriptFunctionState",
|
||||
]
|
||||
|
||||
|
||||
|
@ -375,7 +375,7 @@ String CScriptLanguage::debug_parse_stack_level_expression(int p_level, const St
|
||||
}
|
||||
|
||||
void CScriptLanguage::get_recognized_extensions(List<String> *p_extensions) const {
|
||||
p_extensions->push_back("gd");
|
||||
p_extensions->push_back("cpps");
|
||||
}
|
||||
|
||||
void CScriptLanguage::get_public_functions(List<MethodInfo> *p_functions) const {
|
||||
|
Loading…
Reference in New Issue
Block a user