mirror of
https://github.com/Relintai/pandemonium_engine_minimal.git
synced 2024-11-17 22:17:19 +01:00
Treat the entire scene folder as one unit in the scu build.
This commit is contained in:
parent
fb24aad9be
commit
0e3293ef1b
@ -136,7 +136,7 @@ void SyntaxHighlighter::_bind_methods() {
|
|||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
static bool _is_char(CharType c) {
|
static bool _is_char_syntax_highlighter(CharType c) {
|
||||||
return (c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z') || c == '_';
|
return (c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z') || c == '_';
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -317,7 +317,7 @@ Dictionary CodeHighlighter::_get_line_syntax_highlighting(int p_line) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!in_word && _is_char(str[j]) && !is_number) {
|
if (!in_word && _is_char_syntax_highlighter(str[j]) && !is_number) {
|
||||||
in_word = true;
|
in_word = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -306,14 +306,16 @@ def generate_scu_files(verbose, is_release_build):
|
|||||||
|
|
||||||
process_folder(["modules/mbedtls"])
|
process_folder(["modules/mbedtls"])
|
||||||
|
|
||||||
process_folder(["scene"])
|
#process_folder(["scene"])
|
||||||
process_folder(["scene/audio"])
|
#process_folder(["scene/audio"])
|
||||||
process_folder(["scene/debugger"])
|
#process_folder(["scene/debugger"])
|
||||||
process_folder(["scene/2d"])
|
#process_folder(["scene/2d"])
|
||||||
process_folder(["scene/animation"])
|
#process_folder(["scene/animation"])
|
||||||
process_folder(["scene/gui"])
|
#process_folder(["scene/gui"])
|
||||||
process_folder(["scene/main"])
|
#process_folder(["scene/main"])
|
||||||
process_folder(["scene/resources"])
|
#process_folder(["scene/resources"])
|
||||||
|
|
||||||
|
process_folder(["scene", "audio", "debugger", "2d", "animation", "gui", "gui/resources", "main", "resources", "resources/default_theme", "resources/font", "resources/material", "resources/mesh", "resources/shapes_2d" ])
|
||||||
|
|
||||||
process_folder(["servers"])
|
process_folder(["servers"])
|
||||||
process_folder(["servers/rendering"])
|
process_folder(["servers/rendering"])
|
||||||
|
Loading…
Reference in New Issue
Block a user