0
Commit Graph

177 Commits

Author SHA1 Message Date
Aaron Griffith
4a82e749ca added imgquality config file option for setting JPG quality
Original code by alexjurkiewicz, ported to new DTT code.
This closes #83.
2011-05-02 18:02:46 -04:00
Aaron Griffith
2d25d74bd7 moved quadtree preprocessing out of RenderNode, fixes issue #326 2011-04-18 20:16:06 -04:00
Andrew Chin
ed5f3eaad4 Stronger support for setting a background color
Works by setting "bg_color='#rrggbb'" in settings.py.  Works for both
png and jpg imgformats
2011-04-17 14:10:27 -04:00
Aaron Griffith
115c36ad5e Merge branch 'dtt-c-render' into py-package
Conflicts:
	overviewer.py
2011-04-01 22:00:45 -04:00
Andrew Chin
dcdd2a9590 Merge branch 'import_help' into dtt-c-render
Conflicts:
	src/main.c
2011-03-30 21:48:36 -04:00
Andrew Chin
744a65f1e2 Provide some better errors messages to the user.
If the c_overviewer module is present but will not import, provide a
different error than if the modules doesn't exist at all.

Also, added a new mechanism to force users to re-build their extension
if needed (see the top of overviewer.h)
2011-03-30 21:47:06 -04:00
Andrew Chin
3f62beb1b0 Converted some print statements to logging statments 2011-03-30 20:49:27 -04:00
Andrew Chin
5e4383cd66 Print out the tilesets being rendered 2011-03-30 20:38:02 -04:00
Aaron Griffith
42596416d9 sdist and install now work
next step is using a custom data dir, and falling back on the package
data dir. Also, fixing --version.
2011-03-29 13:49:50 -04:00
Aaron Griffith
3fa54aff26 initial work at reorganizing source tree 2011-03-29 11:10:24 -04:00
Aaron Griffith
88d4ebe5ae added --list-rendermodes option 2011-03-29 05:24:25 -04:00
Xon
0caa033292 Made rendernode.py POI queue world independant 2011-03-29 07:38:49 +08:00
Andrew Chin
d2252acfe6 Signs should be working again 2011-03-28 15:07:49 -04:00
Xon
729141d426 Initial chunk cache commit mk2 2011-03-26 13:27:33 +08:00
Aaron Griffith
3c51253eba Merge commit 'xon/dtt-c-render' into dtt-c-render
Conflicts:
	nbt.py
	overviewer.py
2011-03-25 22:44:50 -04:00
Andrew Chin
82e0bf53b9 Added a new 'listify' parameter to the config file parser
Specifying listify on an option will cause it to be parsed as a list.
Use listdelim to specify the delimiter (defaults to ',')

Examples, assuming you had the following option:
add_option("--test","test", type="int", listify=True)

Command line:
  --test 1          results in [1]
  --test 1,2,3      results in [1,2,3]

Config file:
  test=1            results in [1]
  test="1,2,3"      results in [1,2,3]
  test=[1,4,9]      results in [1,4,9]
2011-03-25 20:42:05 -04:00
Xon
af3278e3cc Merge fix ups 2011-03-26 02:37:12 +08:00
Xon
21d04cd3fb Better error messages, removed import which triggered a failure 2011-03-26 02:37:11 +08:00
Xon
01790913b3 Check PyImport_ImportModule return result 2011-03-26 02:37:11 +08:00
Xon
ca36c98641 Initial commit for multi-layer rendering.
Hardwired to use all 4 render modes at once. Todo: add config file/commandline argument support.
2011-03-26 02:37:11 +08:00
Xon
6c9bbc25da Better error messages, removed import which triggered a failure 2011-03-25 21:42:18 +08:00
Xon
1d5b338d56 Check PyImport_ImportModule return result 2011-03-25 21:34:06 +08:00
Andrew Chin
172198558a Moved helper function out of overviewer.py and into util.py
Solves a dependency problem where you can't import overviewer unless the extension is built
2011-03-24 22:45:26 -04:00
Andrew Chin
c25e2cce0f Implement a --version option to overviewer
Should also work with py2exe binary kits
2011-03-24 22:27:50 -04:00
Aaron Griffith
fd0924a93b moved lighting check from world object to quadtree object, where it should be now 2011-03-21 05:35:11 -04:00
Aaron Griffith
c603f2344f Merge branch 'dtt-c-render' into lighting 2011-03-21 05:32:10 -04:00
Aaron Griffith
04ef95e4d6 renamed gmap.py to overviewer.py 2011-03-20 21:43:18 -04:00