[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