Skip to content

Commit

Permalink
begin new serialization framework
Browse files Browse the repository at this point in the history
also got rid of STL dependency on triangulator
  • Loading branch information
reduz committed Feb 15, 2015
1 parent 7ebb224 commit 2185c01
Show file tree
Hide file tree
Showing 13 changed files with 729 additions and 206 deletions.
7 changes: 7 additions & 0 deletions core/bind/core_bind.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,11 @@ float _OS::get_time_scale() {
return OS::get_singleton()->get_time_scale();
}

bool _OS::is_ok_left_and_cancel_right() const {

return OS::get_singleton()->get_swap_ok_cancel();
}

/*
enum Weekday {
DAY_SUNDAY,
Expand Down Expand Up @@ -699,6 +704,8 @@ void _OS::_bind_methods() {
ObjectTypeDB::bind_method(_MD("get_system_dir","dir"),&_OS::get_system_dir);
ObjectTypeDB::bind_method(_MD("get_unique_ID"),&_OS::get_unique_ID);

ObjectTypeDB::bind_method(_MD("is_ok_left_and_cancel_right"),&_OS::is_ok_left_and_cancel_right);

ObjectTypeDB::bind_method(_MD("get_frames_per_second"),&_OS::get_frames_per_second);

ObjectTypeDB::bind_method(_MD("print_all_textures_by_size"),&_OS::print_all_textures_by_size);
Expand Down
2 changes: 2 additions & 0 deletions core/bind/core_bind.h
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,8 @@ class _OS : public Object {
void set_time_scale(float p_scale);
float get_time_scale();

bool is_ok_left_and_cancel_right() const;

static _OS *get_singleton() { return singleton; }

_OS();
Expand Down
Loading

0 comments on commit 2185c01

Please sign in to comment.