virtualx-engine/modules/gdscript
Hein-Pieter van Braam 3e5743ca36 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
2017-02-16 14:29:18 +01:00
..
config.py style: Fix PEP8 blank lines issues in Python files 2016-11-01 00:35:16 +01:00
gd_compiler.cpp Style: Fix statements ending with ';;' 2017-01-16 08:49:52 +01:00
gd_compiler.h -GDScript support for accessing properties directly 2017-01-04 17:37:45 -03:00
gd_editor.cpp Style: Fix statements ending with ';;' 2017-01-16 08:49:52 +01:00
gd_function.cpp Remove bounds check when resuming from yield. 2017-02-13 21:59:05 +01:00
gd_function.h -GDScript support for accessing properties directly 2017-01-04 17:37:45 -03:00
gd_functions.cpp Overloaded basic math funcs (double and float variants). Use real_t rather than float or double in generic functions (core/math) whenever possible. 2017-01-16 13:36:33 -06:00
gd_functions.h Merge pull request #7093 from bojidar-bg/named-colors 2017-01-11 10:36:15 +01:00
gd_parser.cpp Allow preload to accept a const string. 2017-02-16 14:29:18 +01:00
gd_parser.h Merge pull request #6845 from karroffel/master 2017-01-14 17:08:10 -03:00
gd_script.cpp Rename the _MD macro to D_METHOD 2017-02-13 12:50:02 +01:00
gd_script.h Style: Fix whole-line commented code 2017-01-14 14:52:23 +01:00
gd_tokenizer.cpp made _ a special token in GDScript 2017-01-20 09:26:55 +01:00
gd_tokenizer.h made _ a special token in GDScript 2017-01-20 09:26:55 +01:00
register_types.cpp Removed import/export system, will start new one from scratch. 2017-01-25 21:57:08 -03:00
register_types.h Welcome in 2017, dear changelog reader! 2017-01-01 22:03:33 +01:00
SCsub SCsub: Add python shebang as a hint for syntax highlighting 2016-10-17 20:10:46 +02:00