-
Notifications
You must be signed in to change notification settings - Fork 0
Re-introduce build-in type code for core types #16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Re-introduce build-in type code for core types #16
Conversation
|
Only thing left to do is fixing issues around missing index operators on the arrays |
| ] | ||
|
|
||
| def is_included_type(type_name): | ||
| """ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I could use a better name for this method :)
| #endif | ||
|
|
||
| #ifdef REAL_T_IS_DOUBLE | ||
| typedef double real_t; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unavoidable to re-introduce this. @reduz said something about when methods are called over the GD extension bridge doubles are always used even if members are defined as a float (where we do have a bug I think because it failed for me), in this case however we're re-implementing everything on our side so we need the right typing to be binary compatible.
a0e4ee8 to
84ae645
Compare
|
We need a String constructor that takes a int64_t, disabled some string formatting code that relies on it for now, everything else is there, just needs testing. |
84ae645 to
a388155
Compare
a388155 to
c9dca8b
Compare
This PR re-introduced the native source code for build in types such as
Vector3andRect3so we regain the ability of having full member access to these low level classes.Depends on godotengine/godot#52309