mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 14:11:15 +00:00
-Changed bootsplash option to use a file, fixes #1539
-Added OS.get_splash_tick_msec() to query when splash appeared
This commit is contained in:
parent
2dfa1279ea
commit
3e20391bf6
9 changed files with 51 additions and 10 deletions
|
|
@ -500,6 +500,10 @@ uint32_t _OS::get_ticks_msec() const {
|
|||
return OS::get_singleton()->get_ticks_msec();
|
||||
}
|
||||
|
||||
uint32_t _OS::get_splash_tick_msec() const {
|
||||
|
||||
return OS::get_singleton()->get_splash_tick_msec();
|
||||
}
|
||||
|
||||
bool _OS::can_use_threads() const {
|
||||
|
||||
|
|
@ -765,6 +769,7 @@ void _OS::_bind_methods() {
|
|||
ObjectTypeDB::bind_method(_MD("delay_usec","usec"),&_OS::delay_usec);
|
||||
ObjectTypeDB::bind_method(_MD("delay_msec","msec"),&_OS::delay_msec);
|
||||
ObjectTypeDB::bind_method(_MD("get_ticks_msec"),&_OS::get_ticks_msec);
|
||||
ObjectTypeDB::bind_method(_MD("get_splash_tick_msec"),&_OS::get_splash_tick_msec);
|
||||
ObjectTypeDB::bind_method(_MD("get_locale"),&_OS::get_locale);
|
||||
ObjectTypeDB::bind_method(_MD("get_model_name"),&_OS::get_model_name);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue