virtualx-engine/modules/gdscript
Hein-Pieter van Braam 4cf49bb6f4 Allow preload to accept a const string.
In preload() parsing this code will lookup the identifier in the local
constant database. If the identifier corresponds to a string constant
it is used as the path for preload().

Currently this does not work for global constants, only constants
declared in the same class as the preload is happening. We can implement
a full fix too. Maybe we can use this PR to discuss the possibilities.

This (partially) fixes #6798

(cherry picked from commit 3e5743ca36)
2017-03-18 20:10:36 +01:00
..
config.py
gd_compiler.cpp Skip asserts on non-debug builds at compiler level 2017-03-13 00:23:42 +01:00
gd_compiler.h Welcome in 2017, dear changelog reader! 2017-01-12 19:15:30 +01:00
gd_editor.cpp Welcome in 2017, dear changelog reader! 2017-01-12 19:15:30 +01:00
gd_function.cpp Remove bounds check when resuming from yield. 2017-03-18 20:09:45 +01:00
gd_function.h
gd_functions.cpp Welcome in 2017, dear changelog reader! 2017-01-12 19:15:30 +01:00
gd_functions.h Welcome in 2017, dear changelog reader! 2017-01-12 19:15:30 +01:00
gd_parser.cpp Allow preload to accept a const string. 2017-03-18 20:10:36 +01:00
gd_parser.h Welcome in 2017, dear changelog reader! 2017-01-12 19:15:30 +01:00
gd_script.cpp Welcome in 2017, dear changelog reader! 2017-01-12 19:15:30 +01:00
gd_script.h Welcome in 2017, dear changelog reader! 2017-01-12 19:15:30 +01:00
gd_tokenizer.cpp Welcome in 2017, dear changelog reader! 2017-01-12 19:15:30 +01:00
gd_tokenizer.h Welcome in 2017, dear changelog reader! 2017-01-12 19:15:30 +01:00
register_types.cpp Welcome in 2017, dear changelog reader! 2017-01-12 19:15:30 +01:00
register_types.h Welcome in 2017, dear changelog reader! 2017-01-12 19:15:30 +01:00
SCsub