This week was pretty uneventful. The Fourth of July ended up taking a lot of time, both before and after, so it turned out to be a bit of a holiday week. The things that I accomplished were:
- Fixed deletion behavior. Objects that are deleted now propagate the event to all other objects so that they can remove associations to it.
- Changed the method for loading edit panels, a new wxPanel isn't generated every new selection, a pre-existing one is simply filled with new data (thanks mithro)
- Refactored the code to separate GUI stuff from the guts. Also separated the various representations of game objects a bit. More work needs to be done on the XML view, but it's better than it was. This was fairly easy to do since there was already a lot of separation and decoupling between different elements of the program.
- Started work on adding icons to the tree control - this allows immediate feedback for modification events and allows more expressive visual elements to be incorporated into the RDE.
In the coming week I hope to produce something that someone can simply get started running and see immediate benefits from doing so. This means that I want to finish fleshing out the UI and adding functionality. This includes:
- Adding support for other object types, perhaps resources, solar systems and planets.
- Doing basic error checking on game objects to ensure that all fields are filled in before allowing code to be generated, I may also incorporate Scheme syntax checking as well if it isn't all too difficult.
- Allowing for the renaming of objects (this will likely involve extracting the object save routine from the individual objects and making it a general method)
- Finally talking to llnz to get his ideas on the generated code for tpserver-cpp
- Getting back to mithro about the interactions between the RDE and tpserver-py
-Fro
No comments:
Post a Comment