0
Commit Graph

38 Commits

Author SHA1 Message Date
Andrew Brown
866b499142 Lots of rearranging and comments touchups
fixes progress updates for first level tiles
fixed long-standing typo inntertile -> innertile
2011-11-13 09:22:19 -05:00
Andrew Brown
3cc22bc13c Two chunkscan optimizations implemented
Checks a path in the tree to see if it's already dirty before
calculating its filepath and checking its mtime

Changed Tile.get_filepath() to use str.join instead of os.path.join
2011-11-11 17:44:16 -05:00
Andrew Brown
b9bca19cda fixed auto-detection for forcerender on empty maps
also re-arranged code so scan_chunks() returns the tree object
2011-11-09 23:17:27 -05:00
Andrew Brown
f6b7e1b501 implemented forcerender and auto-detection of empty tiledirs
Also added a few debug lines during chunkscanning with timing info
2011-11-08 16:02:15 -05:00
Andrew Brown
14ed48f975 misc cleanup and minor optimizations 2011-11-08 15:31:01 -05:00
Andrew Brown
75070f817f fixes so the last commit runs on maps that need work 2011-11-07 23:18:38 -05:00
Andrew Brown
13f3ba90ab preliminary chunk-scan algorithm activated.
forcerender and stochastic are currently broken.
2011-11-07 22:18:51 -05:00
Andrew Brown
636913af57 Merge remote-tracking branch 'origin/master' into brownan-chunkscan
Conflicts:
	overviewer.py
	overviewer_core/quadtree.py
2011-11-07 21:04:01 -05:00
Andrew Brown
b1c38a56f2 scan_chunks() works according to preliminary tests \o/ 2011-11-06 23:25:47 -05:00
Andrew Brown
6c0ab7e48c moved tile filepath calculation to Tile object 2011-11-06 21:12:11 -05:00
Andrew Brown
2e28375786 damn semicolons! 2011-11-06 20:58:50 -05:00
Andrew Brown
33667093a3 added the default value for bgcolor and imgformat in QuadtreeGen constructor 2011-11-06 20:46:05 -05:00
Andrew Brown
30e7083cd0 Tile.compute_path implemented and exhaustively tested 2011-11-06 10:01:44 -05:00
Andrew Brown
5d8daabe05 re-named variables for increased accuracy 2011-11-04 18:34:08 -04:00
Andrew Brown
5d26d3e5f6 added repr, eq, neq methods to Tile class 2011-11-04 18:33:27 -04:00
Aaron Griffith
cc4877f149 fixed stochastic_render and regionlists working together 2011-11-01 23:43:05 -04:00
Andrew Brown
72681a36cb re-factored the way tiles are passed from quadtree through rendernode 2011-11-01 22:32:34 -04:00
Andrew Brown
ab53a9bd3e added a tree class to keep track of dirty tiles 2011-11-01 17:10:41 -04:00
Andrew Brown
96cf62bd14 changed "go" methods in world and quadtree to something more descriptive 2011-11-01 17:10:41 -04:00
Andrew Brown
996b299c79 On map shrink, delete top files to ensure they get regen'd 2011-11-01 17:10:41 -04:00
Andrew Brown
55adc75d31 minor cleanup, comments/docstring adjustment 2011-11-01 17:10:41 -04:00
Aaron Griffith
03ce98df29 added stochastic render option for incrementally updating maps 2011-10-30 00:09:57 -04:00
Aaron Griffith
f8d43ca470 region file mtimes are no longer used, to fix a bug on windows 2011-10-24 23:14:23 -04:00
Aaron Griffith
79a3e0d795 the "waay to big" error now gives an upper bound on zoom level 2011-10-24 07:52:02 -04:00
Thomas Lake
1db010a8aa Add --changelist and --changelist-format
Allow output of changed tiles to a file specified with --changelist. The
file contains the name of each tile on a line. The path can be relative
or absolute, chosen using --changelist-format.

The code assumes that all innertiles will have been updated when a
worldtile changes, and prints the corresponding filenames to the list
directly, rather than add message passing to the innertile methods.
2011-09-17 11:37:04 +01:00
Aaron Griffith
79680203a5 fixed forcerender not being used while rendering innertiles 2011-08-16 15:02:09 -04:00
but2002
5e10ff1a30 Fixed indentation style to match the rest of the code. 2011-07-31 17:41:57 -05:00
but2002
3ccb188a11 Fixed an error in my original change, moved code to original location. 2011-07-31 17:39:56 -05:00
but2002
f36cb98911 Fixed undefined variable. 2011-07-31 17:37:59 -05:00
Aaron Griffith
30a8b851b6 added separate 'zoomLevels' JS config var for marker positioning use (closes #401) 2011-07-31 12:50:41 -04:00
Aaron Griffith
ebd3497a5f made forcerender and regionlist work together (closes #444) 2011-07-31 12:50:41 -04:00
Aaron Griffith
fde647bfdf Merge branch 'py-package'
Conflicts:
	setup.py
2011-07-10 18:14:20 -04:00
Aaron Griffith
c10074e87f Merge branch 'master' into py-package 2011-06-04 20:05:31 -04:00
Aaron Griffith
2b7fce9bce Merge branch 'master' into py-package 2011-05-28 15:15:06 -04:00
Aaron Griffith
383b01859f Merge branch 'master' into py-package
Conflicts:
	overviewer_core/data/config.js
	overviewer_core/data/web_assets/functions.js
	overviewer_core/data/web_assets/style.css
	setup.py
	web_assets/overviewer.css
	web_assets/style.css
2011-05-10 20:19:10 -04:00
Aaron Griffith
299f15a312 Merge branch 'dtt-c-render' into py-package 2011-04-13 02:42:22 -04:00
Aaron Griffith
115c36ad5e Merge branch 'dtt-c-render' into py-package
Conflicts:
	overviewer.py
2011-04-01 22:00:45 -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