Re: [warzone2100-dev] Intent to merge, intent to destroy

2011-04-01 Thread Per Inge Mathisen
On Fri, Apr 1, 2011 at 1:50 AM, buginator buginato...@gmail.com wrote: If you think it is ready, and the old scripts still work as before, then I have no real objections. Will this always be the case though ?  Will the old scripts still be supported after  Qtscript is finished ? That is up to

Re: [warzone2100-dev] Intent to merge, intent to destroy

2011-03-31 Thread Per Inge Mathisen
On Thu, Mar 31, 2011 at 5:08 AM, Safety0ff safety0ff@gmail.com wrote: PS The new javascript scavenger script is attached as an example for those too lazy to look in the qtscript branch. From the script: And we can use the built-in Math library  switch (Math.random() * 10) How does that

Re: [warzone2100-dev] Intent to merge, intent to destroy

2011-03-31 Thread buginator
On 3/30/11, Per Inge Mathisen per.mathi...@gmail.com wrote: The QtScript branch (perim/qtscript) now has a working implementation of javascript for scavengers. The old scripting system runs fine side by side with it. Saving and loading works as well. The code should be short and easy to

[warzone2100-dev] Intent to merge, intent to destroy

2011-03-30 Thread Per Inge Mathisen
The QtScript branch (perim/qtscript) now has a working implementation of javascript for scavengers. The old scripting system runs fine side by side with it. Saving and loading works as well. The code should be short and easy to understand, but I have been writing it incrementally by myself, so it

Re: [warzone2100-dev] Intent to merge, intent to destroy

2011-03-30 Thread Safety0ff
On 11-03-30 03:23 PM, Per Inge Mathisen wrote: PS The new javascript scavenger script is attached as an example for those too lazy to look in the qtscript branch. From the script: And we can use the built-in Math library switch (Math.random() * 10) How does that work with Cyp's determinism

Re: [warzone2100-dev] Intent to merge, intent to destroy

2011-03-30 Thread dak180
On Mar 30, 2011, at 3:23 PM, Per Inge Mathisen wrote: And if the above is approved, lua branch will no longer be needed. So once qtscript is merged, I intend to remove the lua branch. Any objections to this should also be voiced now. Instead of deleting or freezing lua as a tag, after having