Hello! Thanks for this great library. But I have some request.
1. I want to use floating constant in script as my original type directly.
For example, "0.1" in script can be regarded as of my type, such as fixed-point number, not float or double.
I now use my special type "dec", fixed-point number, storeing 2^16times of original value to the primitive type "int".
Flags are asOBJ_VALUE | asOBJ_POD | asOBJ_APP_PRIMITIVE.
When register my function "func(dec, ...)", "func(double, ...)" is needed for convenience.
It is verbose, so I want not to do so.
Is it possible that embedded constants in binary code is of original type?
In other words, converting string to original type is done while Build().
2. I want to use hexadecimal floating constants in script, which is seen in C99 feature, etc.
I hope hex float could be also regarded as my own type.
Thank you. I wish you understand me.
Feature Request about floating constants
Hi,
thank you for these suggestions. I'll analyse the possibility of adding support for this.
Regards,
Andreas
thank you for these suggestions. I'll analyse the possibility of adding support for this.
Regards,
Andreas
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement