AngelScript 1.7.1a released

Started by
4 comments, last by WitchLord 19 years, 10 months ago
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]
  • AngelCode.com - game development and more - Reference DB - game developer references
    AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

    Advertisement
    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

    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 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
    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.
    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
    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.
    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

    AngelCode.com - game development and more - Reference DB - game developer references
    AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

    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

    This topic is closed to new replies.

    Advertisement