• Advertisement

Archived

This topic is now archived and is closed to further replies.

AngelScript 1.6.1 beta 4 has been released

This topic is 5063 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I''ve just released the 1.6.1 beta 4. This new versions brings the support for operator overloading, partly at least. The operators that can be overloaded are all the binary operators, except compound assignments. The unary operators and the compound assignments will be supported in the next versions to come soon. I''m a bit pressed on time right now and I don''t know how much you all know about AngelScript already, so instead of me trying to explain what''s new to someone that has never heard of AngelScript before I''ll just open this thread for questions. So, any questions you have, about new or old features, just fire away. www.AngelCode.com

Share this post


Link to post
Share on other sites
Advertisement
I saw in your mailing list that single line console command mode on your TO-DO list. I used a cheap trick to do that. each time a console command is executed, I dump it in a function and recompile/execute.

void console()
{
------line here--------
}

:D

Jayanth.K
Raptor Entertainment Pvt. Ltd.

Share this post


Link to post
Share on other sites
Yes, that is what I currently recommend. Others do the same thing already. But it is not very efficient, and hopefully the scripting engine will soon have native support for one-liners

It would basically do what you''re doing now, put the line in a script function, compile it (without removing the old code) and then run the function. All before returning from the method call. I''m just thinking about how I should do about any return value.

www.AngelCode.com - game development and more...
AngelScript - free scripting library

Share this post


Link to post
Share on other sites

  • Advertisement