diff options
author | neoraider <devnull@localhost> | 2008-05-20 11:55:04 +0200 |
---|---|---|
committer | neoraider <devnull@localhost> | 2008-05-20 11:55:04 +0200 |
commit | 5bb27d2b6d7915f03fd7e39444a2ff0fac537672 (patch) | |
tree | 16504dbcadf71afd3be79977d3eda2e0a562ed79 /src/Instance.cpp | |
parent | 094c72221ea15615b4bcdc31a4acbb4e5c67817a (diff) | |
download | zoomedit-5bb27d2b6d7915f03fd7e39444a2ff0fac537672.tar zoomedit-5bb27d2b6d7915f03fd7e39444a2ff0fac537672.zip |
zoomedit:
* Added 2D vector maths
* Made rooms selectable
Diffstat (limited to 'src/Instance.cpp')
-rw-r--r-- | src/Instance.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Instance.cpp b/src/Instance.cpp index a6346ad..351a6d7 100644 --- a/src/Instance.cpp +++ b/src/Instance.cpp @@ -129,7 +129,9 @@ void Instance::createLevel() { start->set_attribute("y", "0"); start->set_attribute("z", "0"); - root->add_child("rooms"); + xmlpp::Element *rooms = root->add_child("rooms"); + rooms->add_child("floor"); + root->add_child("gates"); root->add_child("textures"); |