Commit Graph

37 Commits

Author SHA1 Message Date
Steffen Fündgens
c569e5099d 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
a20a55dc79 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
77d6e16db8 made some extreme level-layout improvements (putting walls properly together etc) 2015-02-13 18:17:47 +01:00
Steffen Fündgens
47fded52ce Code rework. Basically cleaned up a mess of tabs and whitespaces. 2015-02-13 13:46:41 +01:00
Steffen Fündgens
8be350c713 Added terrain parameters to the xml. 2015-02-06 12:37:00 +01:00
Steffen Fündgens
bb57eb2263 Added status prints to the converter. 2015-02-02 13:37:58 +01:00
Steffen Fündgens
0ce663a592 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
01a9126b0a Improved user interaction and a little code rework. 2015-01-27 11:50:51 +01:00
Steffen Fündgens
2dee196307 Converter can now reuse IDs of deleted compositions. 2015-01-23 16:02:50 +01:00
Steffen Fündgens
4fa28b2088 Added more error checking to the converter. 2015-01-19 11:15:41 +01:00
Steffen Fündgens
60f24c762f Fixed the bug that caused the duplicate marble lately. 2015-01-19 11:15:06 +01:00
Steffen
36ea806c4f Added the option to define initial position constraints in the Level.xml file. 2015-01-17 14:07:12 +01:00
Steffen Fündgens
5ce1b3a86d 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
76b8b3bc03 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
3560957d67 Moved friction and player strength to Level.xml. 2015-01-06 13:14:30 +01:00
Steffen Fündgens
6bec8fc01d 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
f8215284af 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
053c645012 Moved triggers into compositions. 2014-12-16 13:46:49 +01:00
Steffen Fündgens
94b122d220 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
80f90175eb Changed fogColor to fogColour. Moved some global Parameters to the xml. 2014-12-12 15:41:17 +01:00
Steffen Fündgens
18c374c46a Changed errorChecking in the converter. 2014-12-12 12:31:24 +01:00
Steffen Fündgens
7279dc66bd Converting unsigned ints to regular ints again, undid that while merging. 2014-12-08 14:24:26 +01:00
Steffen Fündgens
3e205b4157 merging 2014-12-08 14:19:23 +01:00
Steffen Fündgens
ff16297a63 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
b2cf138d5a 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
d2358579e1 One exclamation mark is enough. 2014-12-08 13:28:50 +01:00
Steffen Fündgens
13f8800785 Fixed the filesytem for the converter. 2014-12-05 16:18:48 +01:00
Steffen Fündgens
56c2655b34 integrating tinyxml into level, adding lights to compositions 2014-12-05 12:47:02 +01:00
Faerbit
6400c0ccc7 Exiting converter if no input file is given. 2014-12-03 11:09:37 +01:00
Steffen Fündgens
8fe985a41b adjusting converter to work with black and white image backgrounds 2014-12-02 13:37:31 +01:00
Steffen Fündgens
74c05cb7ed implemented all methods of the converter class, needs testing 2014-12-01 14:09:55 +01:00
Steffen Fündgens
2ed33268cb added example Compositions.xml, implemented most of newComposition() method 2014-11-28 17:05:49 +01:00
Steffen Fündgens
3de10e73ae skeleton runs now, only xml read/write missing 2014-11-25 13:51:25 +01:00
Steffen Fündgens
a4fc18f944 converter now takes the Level to convert as input 2014-11-24 13:21:52 +01:00
Steffen Fündgens
89a31c62b3 added tinyxml2 for xml conversion 2014-11-24 13:03:55 +01:00
Steffen Fündgens
e74c48f39f Modifying CMakes files to get convert to compile. 2014-11-21 16:07:13 +01:00
Steffen Fündgens
f1f3825f07 created skeletal implementation of png to xml converter 2014-11-21 15:43:27 +01:00