Archived

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

WitchLord

AngelScript 1.7.1a released

Recommended Posts

I've finished yet another version of AngelScript. This one brings quite a few novelties, and also bug fixes:
  • It is now less work to register functions that need to use the flags asCALL_RETURNBYREF and asCALL_RETURNBYVAL, since they can now be set directly when registering the type.
  • Script functions can also use function overloads and GetFunctionIDByDecl() is now supported. With that it is no longer necessary to call GetFunctionDeclaration() to verify the parameters and return type.
  • ExecuteStep() with asEXEC_STEP_OVER is now supported.
  • The indexing operator [] can now be registered for objects so that arrays can be created.
  • The library has been ported to the Dreamcast console by Fredrik Ehnbom. Note: If your scripts are using the bstr length property, you will have to change it to use the length() method (just add the paranthesis). This change was an unfortunate necessity as the bstr type was not following the rules and had to be disciplined. The AngelScript page has also had its layout changed and will hopefully provide easier navigation. Regards, Andreas Jönsson __________________________________________________________ www.AngelCode.com - game development and more... AngelScript - free scripting library - Tower - free puzzle game [edited by - WitchLord on June 10, 2004 5:40:56 PM]

    Share this post


    Link to post
    Share on other sites
    I''ve just released 1.7.1a with a few bug fixes:


    • bug fix: Arguments received by reference was erronously destroyed (thanks Peter Marshall)
    • bug fix: MSVC++.Net 2003 crashed when compiling scripts. (thanks Fredrik Malmer)
    • bug fix: Unnamed parameters wasn''t treated by the exception handler
    • bug fix: Some temporary variables wasn''t correctly freed, leading to memory leakage




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

    Share this post


    Link to post
    Share on other sites
    I think there is an angelscript.rc file missing from the dll folder of 1.7.1a and 1.7.1 in the projects, prevents .NET from compiling the dll. i think this might be a problem with .NET alone or you would have found the bug. i borrowed the .rc file from a previous project and changed the version number and it seemed to work fine. i dumped the file in the dll foiler under projects / msvc6

    Later

    Jayanth.K
    Raptor Entertainment Pvt. Ltd.
    http://www.raptorentertainment.com

    Share this post


    Link to post
    Share on other sites
    apart from the missing .rc file i was able to successfully link 1.7.1a to the game. it was a silly mistake by me, i was using the export lib and it was referencing the older dll file caused some unpredictable conflicts..........anyway.......its fixed and i am happy!!!!

    Jayanth.K
    Raptor Entertainment Pvt. Ltd.
    http://www.raptorentertainment.com

    Share this post


    Link to post
    Share on other sites
    Congratulations

    The .rc file only holds the version number for the DLL. I would prefer leaving it out as I never remember updating it anyway. Is it really required by .NET?

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

    Share this post


    Link to post
    Share on other sites
    Hi

    I have just succeeded in compiling AngelScript in VC7 (VisualStudio .Net 2003), hm... this sounds really a bit high fetched
    In fact it was no problem at all (no .rc file needed) only double klick the .dsp for the lib and converted it to .net 2003

    Keep up the good work WitchLord, can''t wait to have object methods for behaviour functions. (and maybe ''index_behaviour'' that allows for more than one index )

    cheers
    Tom

    Share this post


    Link to post
    Share on other sites