AngelScript 2.1.0 WIP 6 (RC1) (2005/03/17)
Yesterday, I uploaded the 6th WIP of 2.1.0. I consider this version feature complete and is as far as I know bug free. The reason I didn't release it as the final version is that I didn't have the time to update all the documentation (though most is finished). I also want to let this version mature a little before having it replace the current 2.0.0a version as the official stable version.
I will try to update my texture generator with this latest version of AngelScript so that I can test the library in a real-world application. Later on I will make the texture generator open-source so that you all can see how I use the library. I know many of you've been asking for code samples that shows how to use the library, and this will be the first one.
The changes for this latest WIP include:
- bug fixes
- The support for const on objects again. Including const overloading for class methods and behaviours.
- The method AddScriptSection() has a new parameter that can be used to tell the library not to make a copy of the script string. The library will then share the memory with the application.
- A new method ResetModule() can be used to reinitialize global variables declared in the module.
Because of the inclusion of const, you may have situations where it will be necessary to change the way methods and functions are registered. Generally you will want to use const for parameters marked as &in. Also for methods that do not change an object you'll want to add the keyword const after the parameter list, so that the method can be called even for constant objects.
I will be on vacation during the next week, so I won't be able to respond any e-mails or fix any bugs that might show up. But feel free to e-mail me or post in the forums, and I'll be sure to read everything when I come home again.
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
Will check it out soon.
Jayanth.KRaptor Entertainment Pvt. Ltd.http://www.raptorentertainment.com---------------------------------------------------------Why Mr. Anderson? Why? ...Why keep fighting? Do you think you're fighting for something - for more than your survival? Can you tell me what it is? Do you even know? Is it freedom, or truth, perhaps peace, could it be for love? Illusions Mr. Anderson, vagaries of perception. Temporary constructs of a feeble human intellect trying desperately to justify an existence without meaning or purpose.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement