0
Commit Graph

191 Commits

Author SHA1 Message Date
Andrew Brown
bd08dbc955 Minor comments adjustments 2011-11-15 13:56:39 -05:00
Andrew Brown
04a2f05d1c implemented stochhastic check with chunk scanning
Also changed uniform(0,1) to random()
2011-11-13 09:39:49 -05:00
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
Aaron Griffith
acbf87db3f bumped extension version for new smooth-lighting mode 2011-11-07 19:50:55 -05:00
Aaron Griffith
9b39a96fef Merge branch 'smooth-lighting' 2011-11-07 19:46:10 -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
6e2d52ceee This should really raise an error if file not found 2011-11-06 20:35:11 -05:00
Andrew Brown
3f54347735 cleaned up some mess, clarified some things in comments 2011-11-06 18:27:37 -05:00
Andrew Brown
30e7083cd0 Tile.compute_path implemented and exhaustively tested 2011-11-06 10:01:44 -05:00
Aaron Griffith
53dbdc98c6 added special smooth-lighting exception for water 2011-11-05 23:29:51 -04: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
Andrew Chin
42593bab58 Use a terse logging line if --verbose is not specified 2011-11-03 21:29:27 -04:00
Aaron Griffith
cc4877f149 fixed stochastic_render and regionlists working together 2011-11-01 23:43:05 -04:00
Aaron Griffith
4d5f19b081 Merge branch 'agrif-stochastic' 2011-11-01 23:20: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
670a458ec1 made sure smooth-lighting honors the shade_strength option 2011-11-01 15:59:03 -04:00
Andrew Brown
bcec6529d5 Merge pull request #524 from overviewer/fancylogging
Fancylogging for all!
2011-11-01 11:23:35 -07:00
Andrew Chin
1b9a40e183 Removed extra newline 2011-11-01 10:29:58 -04:00
Andrew Brown
470440563c changed windows logging to be a special output stream 2011-11-01 00:11:13 -04:00
Andrew Chin
6a67841b44 Windows code for fancy colors 2011-10-31 22:38:11 -04:00
Andrew Brown
1d077fe34e better logging formatter with support for color 2011-10-31 19:01:39 -04:00
Aaron Griffith
64e67cc827 fixed crash when SpawnY wasn't in [0, 128) 2011-10-30 18:06:28 -04:00
Aaron Griffith
03ce98df29 added stochastic render option for incrementally updating maps 2011-10-30 00:09:57 -04:00
Aaron Griffith
a3653d429f fixed typo in configParser.py when parsing float values 2011-10-30 00:08:48 -04:00
Aaron Griffith
92b8cd33ed Merge branch 'master' into smooth-lighting 2011-10-28 13:07:01 -04:00
Andrew Chin
02c30c6f8e Update URL hash on double-click 2011-10-26 23:06:52 -04:00
Andrew Brown
f5ae4b3451 changed bare exceptions to except Exception 2011-10-26 22:36:23 -04:00
Aaron Griffith
85da19b1a0 turned night into a lighting mode option, added 'night' builtin custom mode 2011-10-26 22:19:27 -04:00
Aaron Griffith
00f06e0499 last of the obvious smooth-lighting render issues fixed 2011-10-26 21:50:23 -04:00
Aaron Griffith
4fb0dac3fd the position anchor tag now uses rendermode name, not label 2011-10-26 17:08:35 -04:00
Aaron Griffith
aa7a837043 fixed segfault involving redstone on the edge of the map (Issue #519) 2011-10-26 15:14:48 -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
a8d5fd829e Merge branch 'master' into smooth-lighting 2011-10-24 21:03:31 -04:00
Zach McCullough
d77673f406 Fixed the tabbing in overviewerConfig.js 2011-10-24 19:16:03 -05:00
Andrew Brown
420e784451 added some comments 2011-10-24 18:17:13 -04:00