AngelScript 2.15.1 available for download
I've uploaded version 2.15.1 of AngelScript. This is a maintenance release with no new functionality. It brings several bug fixes and performance improvements in multithreaded applications.
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
Thanks for the update dude.
If you say "pls", because it is shorter than "please", I will say "no", because it is shorter than "yes"
http://nightlight2d.de/
http://nightlight2d.de/
You're welcome [wink]
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game
I found a bug in this version. It looks like i cannot do this.
class Jerome
{
string a;
string b;
string c;
Jerome(string A,string B,string C)
{
a = A;
b = B;
c = C;
}
}
Jerome cc("Hello","Hi","SS");
It crash everytime on
CScriptString &CScriptString::operator=(const CScriptString &other)
with an Access violation reading location error
class Jerome
{
string a;
string b;
string c;
Jerome(string A,string B,string C)
{
a = A;
b = B;
c = C;
}
}
Jerome cc("Hello","Hi","SS");
It crash everytime on
CScriptString &CScriptString::operator=(const CScriptString &other)
with an Access violation reading location error
Thanks for the report. I've reproduced the problem and should be able to have a fix for it soon.
Regards,
Andreas
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
The fix for this bug is just to add a minus in the method asCCompiler::CompileFactory:
as_compiler.cpp, line 186:
I'll check in the fix as soon as I can.
Thanks,
Andreas
as_compiler.cpp, line 186:
int asCCompiler::CompileFactory(asCBuilder *builder, asCScriptCode *script, asCScriptFunction *outFunc){ ... // Copy all arguments to the top of the stack unsigned int argDwords = outFunc->GetSpaceNeededForArguments(); for( n = 0; n < argDwords; n++ ) byteCode.InstrSHORT(BC_PshV4, (short)-n); // <-- Add the minus to negate n ...}
I'll check in the fix as soon as I can.
Thanks,
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