Jump to content

Warning! Massive simulation templates changes


Recommended Posts

I'm going to run utility for templates sorting: http://trac.wildfiregames.com/ticket/801 and commit sorted simulation templates.

Philip proposed to post a warning "saying that if anyone has uncommitted changes to templates then they should probably commit them now else they'll get nasty SVN merge conflicts".

This is how diff for templates looks like for current revision (9928):

sorted_templates.patch

Link to post
Share on other sites

What changes are happening? :)

EDIT: Oh, I see... the elements within template entities are being reordered alphabetically. Not a bad thing per se. Wish we had an entity editor so such a thing would be irrelevant. :) But we still don't know all the elements we will add to the entity code when it's all said and done. But then again, if such an editor was extensible that wouldn't matter either. Then again, creating such an editor would take time and effort away from more worthwhile pursuits. But then again...

Link to post
Share on other sites
if such an editor was extensible

My current vague plan is that the editor UI would be generated automatically based on the definitions of XML structure which we currently use for validating correctness of templates (like here), so it will always be up-to-date with the latest structure and won't need any extra manual work as the components are extended. (Going to take some effort to get it set up in the first place, though...)

Link to post
Share on other sites

Rather than re-inventing the wheel for the proposed entity editor (though it would be nice to have it integrated into atlas and works on all OSs), isn't there software out there (perhaps even open source) that is capable of generating forms that can open/save xml file? After doing a quick google search... for example something like this:

http://www.orbeon.com/forms/orbeon-form-builder

or

http://en.wikipedia.org/wiki/Microsoft_InfoPath

or

http://wiki.services.openoffice.org/wiki/Documentation/OOo3_User_Guides/Writer_Guide/XForms

Would that be worth looking into?

Link to post
Share on other sites

The summary screen changes introduced a new element. The patch is currently up for review.

There is only two lines, so this is easy to merge.

After discussion in IRC I committed changes to templates, so if someone wants to change something in simulation templates, please update first to latest version.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...