<snip>
After much discussion on IRC, here is what we came up with.
Logs can be found at http://www.thousandparsec.net/~irc/logs/%
23tp.2007-11-20.log.html#t2007-11-20T20:06:44
The object order parameter will be modified by adding a list of UInt32's
which describe the valid types of objects. This allows a very coarse
grain of control over what can be selected.
This means that the object selection order parameter structure will look
like,
Object - An object's ID number.
* a UInt32, read write, objects id
* a list of, read only,
* a UInt32, the valid types of objects
For a finer level of control the list order parameter should be used
instead. This will let the server list exactly the objects which can be
selected.
To make a list which can only have one item selected, a "total maximum"
argument will be added (got no idea why we left that off the first
time).
To make this list parameter more friendly to both clients and AI it will
be modified by adding a Generic Reference System references to each
possible selection item. This connects the items with in-game objects.
A good example of where this would be really useful is the Build Fleet
order. Currently there is no defined way to map the items which appear
in the Build Fleet order with designs. By adding a reference to the
design a client could provide a "show this design" button on the items.
It also gives a better understanding to an AI of what is going on.
This means that the list order parameter structure will look like,
List - A list in which one or more items can be selected
The possible selections,
* A list of:
* a UInt32, read only, id of what can be selected
* a String, read only, String Name of can be
selected
* a SInt32, read only, maximum number of can to be
selected, -1 means no limit
* a GRS list, read only, What this item refers too
* a SInt32, read only, the total maximum number of things
which can be selected, -1 means no limit.
The selection, A list of:
* a UInt32, read write, id of the selection
* a UInt32, read write, number of the selection
What do people think?
Tim 'Mithro' Ansell
_______________________________________________
tp-devel mailing list
[email protected]
http://www.thousandparsec.net/tp/mailman.php/listinfo/tp-devel