Jump to content

  • Log In with Google      Sign In   
  • Create Account

Interested in a FREE copy of HTML5 game maker Construct 2?

We'll be giving away three Personal Edition licences in next Tuesday's GDNet Direct email newsletter!

Sign up from the right-hand sidebar on our homepage and read Tuesday's newsletter for details!


We're also offering banner ads on our site from just $5! 1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


- - - - -

AngelScript 1.7.1a released


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
5 replies to this topic

#1 Andreas Jonsson   Moderators   -  Reputation: 3414

Like
Likes
Like

Posted 27 May 2004 - 01:10 PM

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]

  • Sponsor:

    #2 Andreas Jonsson   Moderators   -  Reputation: 3414

    Like
    Likes
    Like

    Posted 10 June 2004 - 10:41 AM

    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

    #3 EddHead   Members   -  Reputation: 140

    Like
    Likes
    Like

    Posted 10 June 2004 - 08:12 PM

    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

    #4 EddHead   Members   -  Reputation: 140

    Like
    Likes
    Like

    Posted 10 June 2004 - 09:13 PM

    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

    #5 Andreas Jonsson   Moderators   -  Reputation: 3414

    Like
    Likes
    Like

    Posted 11 June 2004 - 04:10 AM

    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

    #6 zola   Members   -  Reputation: 122

    Like
    Likes
    Like

    Posted 11 June 2004 - 08:03 AM

    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




    Old topic!
    Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



    PARTNERS