Commit Graph

43 Commits

Author SHA1 Message Date
Faerbit
c091c3fd38 Adding hint to progress report of converter. 2015-03-15 21:14:21 +01:00
Faerbit
dfaf8c0965 Updating converter with needed default values. 2015-03-14 14:54:43 +01:00
Faerbit
41eed47edb Moving tinyxml to extern folder. 2015-03-12 14:40:14 +01:00
Faerbit
3a0ec498ae Only using the lodepng files in extern. 2015-03-12 11:41:19 +01:00
Steffen Fündgens
e14a2305a0 Added new undo parameter for triggers to the converter. 2015-03-04 15:45:48 +01:00
Steffen Fündgens
eab9270b94 Turned the heightmap loading around so the level now is like the png. The wall backsides dont seem to have textures... 2015-02-27 16:53:46 +01:00
Steffen Fündgens
320b765951 Adjusted the converter to be robust against IDs being overwritten with zeros in the png. Sucessfully ran it. 2015-02-20 15:06:43 +01:00
Steffen Fündgens
563bde0616 Now using xml query functions in the converter. Also adjusted the converter to use config.xml. Running the converter would delete all triggers and position constraints though, because the IDs in the png were manually overwritten with zeros. 2015-02-20 13:11:05 +01:00
sfroitzheim
1adb8f1d80 made some extreme level-layout improvements (putting walls properly together etc) 2015-02-13 18:17:47 +01:00
Steffen Fündgens
e91d045a37 Code rework. Basically cleaned up a mess of tabs and whitespaces. 2015-02-13 13:46:41 +01:00
Steffen Fündgens
5c2491557b Added terrain parameters to the xml. 2015-02-06 12:37:00 +01:00
Steffen Fündgens
5c1a342cdb Added status prints to the converter. 2015-02-02 13:37:58 +01:00
Steffen Fündgens
d6ed98b992 Fixed a bug i created in my previous commit. Made output in case of errors more informative. 2015-01-27 12:21:30 +01:00
Steffen Fündgens
ba0677adde Improved user interaction and a little code rework. 2015-01-27 11:50:51 +01:00
Steffen Fündgens
a9ab76ea51 Converter can now reuse IDs of deleted compositions. 2015-01-23 16:02:50 +01:00
Steffen Fündgens
ba14a492f1 Added more error checking to the converter. 2015-01-19 11:15:41 +01:00
Steffen Fündgens
70dc3f1450 Fixed the bug that caused the duplicate marble lately. 2015-01-19 11:15:06 +01:00
Steffen
75440f919f Added the option to define initial position constraints in the Level.xml file. 2015-01-17 14:07:12 +01:00
Steffen Fündgens
a137d2544a Triggers now adapt if the object they want to do something with gets deleted or changes its index. 2015-01-13 18:18:13 +01:00
Steffen Fündgens
fe58023458 Moved triggering to lua, got a strange bug with the const char* holding the name of the lua script. 2015-01-13 13:52:22 +01:00
Steffen Fündgens
76b6be0beb Moved friction and player strength to Level.xml. 2015-01-06 13:14:30 +01:00
Steffen Fündgens
36c42123b8 Added the option to give a trigger a target composition. The position the trigger activates at is the old manually set position + the position of the target composition. 2014-12-19 16:15:29 +01:00
Steffen Fündgens
136e4d07f0 Changed the default objectNum for triggers from 1 to 0. Moved blocks up so they dont spawn in the heightmap. 2014-12-19 13:35:17 +01:00
Steffen Fündgens
ba847c80f0 Moved triggers into compositions. 2014-12-16 13:46:49 +01:00
Steffen Fündgens
b4e9218e95 Converter now adds a Dummy-Trigger to the xml. Copy and customize it in the Levelx.xml to create actual triggers. 2014-12-12 17:18:31 +01:00
Steffen Fündgens
9764bc9d0b Changed fogColor to fogColour. Moved some global Parameters to the xml. 2014-12-12 15:41:17 +01:00
Steffen Fündgens
8c7648a51e Changed errorChecking in the converter. 2014-12-12 12:31:24 +01:00
Steffen Fündgens
7f20ef3ec5 Converting unsigned ints to regular ints again, undid that while merging. 2014-12-08 14:24:26 +01:00
Steffen Fündgens
4ad1f0607d merging 2014-12-08 14:19:23 +01:00
Steffen Fündgens
db1092be44 Added error checking for all XML Queries, fixed bugs and continued to implement loading from xml. 2014-12-08 14:10:08 +01:00
Faerbit
03e94f0bb0 Converting unsinged ints to regular ints, because tinyxml cannot query for unsigned ones and thus negates the purpose of using unsigned ones. This also causes compiler errors. 2014-12-08 13:33:38 +01:00
Faerbit
3bb584631c One exclamation mark is enough. 2014-12-08 13:28:50 +01:00
Steffen Fündgens
cfe29d2830 Fixed the filesytem for the converter. 2014-12-05 16:18:48 +01:00
Steffen Fündgens
086e13ac8e integrating tinyxml into level, adding lights to compositions 2014-12-05 12:47:02 +01:00
Faerbit
af8f85c3c4 Exiting converter if no input file is given. 2014-12-03 11:09:37 +01:00
Steffen Fündgens
98e78b915e adjusting converter to work with black and white image backgrounds 2014-12-02 13:37:31 +01:00
Steffen Fündgens
9f4071cef7 implemented all methods of the converter class, needs testing 2014-12-01 14:09:55 +01:00
Steffen Fündgens
f6bdf5dc32 added example Compositions.xml, implemented most of newComposition() method 2014-11-28 17:05:49 +01:00
Steffen Fündgens
20e7c732e2 skeleton runs now, only xml read/write missing 2014-11-25 13:51:25 +01:00
Steffen Fündgens
91099d91a0 converter now takes the Level to convert as input 2014-11-24 13:21:52 +01:00
Steffen Fündgens
088ae1d494 added tinyxml2 for xml conversion 2014-11-24 13:03:55 +01:00
Steffen Fündgens
ad874a9204 Modifying CMakes files to get convert to compile. 2014-11-21 16:07:13 +01:00
Steffen Fündgens
b7834b08a5 created skeletal implementation of png to xml converter 2014-11-21 15:43:27 +01:00