0
Commit Graph

30 Commits

Author SHA1 Message Date
Andrew Brown
0d229a3888 don't complain if crop values go from high-low, just swap them 2012-03-01 22:05:17 -05:00
Andrew Brown
eede25d2e1 apparently xmin,zmin,xmax,zmax is more intuitive than xmin,zmin,xmax,zmax for some people 2012-02-26 21:08:03 -05:00
Andrew Brown
f43498d033 Added a "crop" feature to render subsets of worlds 2012-02-26 20:19:26 -05:00
Andrew Brown
6d19ada4e4 accept ~ in paths by calling os.path.expanduser() 2012-02-25 21:37:58 -05:00
Andrew Chin
1a1e975793 Detect poorly escaped paths 2012-02-20 21:38:00 -05:00
Andrew Brown
f8769c0a0d --forcerender, --check-tiles, and --no-tile-checks now work 2012-02-16 11:36:31 -05:00
Andrew Brown
2c412c3917 Added global defaults to config file which set renderdict defaults 2012-02-15 22:07:36 -05:00
Andrew Brown
9c0a8c01ee re-arranged config docs, relaxed validator for north direction 2012-02-15 19:18:51 -05:00
Andrew Brown
6b449da966 added int array support to nbt.py
(untested) Also removed an extra import that I forgot about earlier.
2012-02-15 18:20:57 -05:00
Andrew Brown
f5d07fa597 Added a "did you mean" feature for config parsing 2012-02-14 21:12:15 -05:00
Andrew Brown
aaf8e1d7cb Changed "worldname" to "world" in configfile
Also brought tests up to date. All tests pass now.
2012-02-14 20:39:05 -05:00
Andrew Brown
e7995e19b2 config parser ignores extra items in config files now 2012-02-11 16:02:15 -05:00
Andrew Brown
50ebdd7f2c clarified some comments and conformed some function names 2012-02-05 00:20:58 -05:00
Andrew Brown
324100206b changed the semantics of required and default in settings definitions.
I think it makes more logical sense now. Essentially, the default is
always used if the user doesn't specify a value. If there is no user
specified value and the default is None, then the action depends on the
value of required. required=True means raise an error. required=False
means silently omit that setting.
2012-02-04 22:06:29 -05:00
Andrew Brown
6d95d80a73 overhaul to configParser. Parsing config works now. 2012-02-04 21:23:44 -05:00
Aaron Griffith
6c647f3161 texturepath setting now works 2012-01-29 17:33:21 -05:00
Aaron Griffith
b88e636728 changed settings to emit correct north values, north values now represent rotations
each north value is an integer representing how many times to rotate
the map by 90 degrees counterclockwise.
2012-01-29 16:45:23 -05:00
Andrew Chin
2497a8a806 Part of an attempt to make config parser a little more generic 2012-01-28 18:57:12 -05:00
Andrew Chin
1297385148 Validate the rendermode option as a list of primitives 2012-01-27 19:36:55 -05:00
Andrew Chin
163dd66a38 Create RegionSets via the World object 2012-01-21 19:04:21 -05:00
Andrew Chin
514e99dcd2 overviewer.js now uses backbone.js for much of it's multiworld handling 2012-01-14 23:33:34 -05:00
Andrew Chin
cb2f0129bc Allow regionsets to be named in a settings.py file 2012-01-07 15:11:19 -05:00
Andrew Chin
c14cd1a66f Fixed/added some config parsing tests 2012-01-02 01:13:29 -05:00
Aaron Griffith
a1dc392526 c_overviewer is now auto-initialized, and some other minor fixes 2012-01-02 00:40:56 -05:00
Andrew Chin
287b16fd13 Fixing some settings stuff 2012-01-02 00:03:10 -05:00
Andrew Chin
c2a1d8487a Start of the new rewrite code flow. TileSet still needs work 2012-01-01 16:12:10 -05:00
Andrew Chin
c17fb351f0 Removing more stuff that we will not support just yet 2012-01-01 14:31:38 -05:00
Andrew Chin
0a23187f51 Removed ConfigOptionParser usaged
Command line args are now parsed with the vanilla OptParser.  This
paves the way for a new settings.py parser
2012-01-01 14:05:51 -05:00
Andrew Chin
c7ee75d68d Started work on a MultiWorldParser to replace ConfigOptionParser 2011-12-24 01:10:58 -05:00
Andrew Chin
579e82e2af New settings definitions and validators.
Will be used by a new settings.py parser.  In progress
2011-12-24 00:22:45 -05:00