L3DT users' community
Large 3D terrain generator

ZeoScript syntax change

Correspondence concerning plugins and scripts; development, use, bugs and ideas.

ZeoScript syntax change

Postby Aaron » Tue May 05, 2009 10:42 am

Hi All,

A small note to script writers: I've updated the ZeoScript plugin (download from here), with the effect of making variable declarations more C-like.

Whereas before you had to write:

Code: Select all
new int "a"
new int "b"
new float "c"


You can now write:

Code: Select all
int a b
float c


I have updated the example scripts accordingly, and will include the updated ZeoScript plugin in the next developmental build of L3DT.

For the sake of backwards compatibility, the old-style declaration syntax (using the 'new' function) is deprecated but not removed, which means that will continue to be supported for the next few releases only.

Cheerio,
Aaron.
User avatar
Aaron
Site Admin
 
Posts: 3696
Joined: Sun Nov 20, 2005 2:41 pm
Location: Melbourne, Australia

Return to Plugins and scripts

Who is online

Users browsing this forum: No registered users and 3 guests

cron