0
Commit Graph

235 Commits

Author SHA1 Message Date
Andrew Chin
51babfef02 More work on RegionSet and World
Rewrite Tracking Issue: #568
2011-12-19 22:42:28 -05:00
Andrew Chin
a9dafa0d05 Moved some more stuff from World to RegionSet
Also, fixed some syntax errors and other minor issues

Rewrite Tracking Issue: #568
2011-12-19 22:10:46 -05:00
Andrew Chin
ad2399165a Scan the FS to find RegionSets
Rewrite Tracking Issue: #568
2011-12-19 21:25:24 -05:00
Andrew Chin
d332554ec2 Initial commit of the AssetManager
Mostly a blind copy/past from world.py and googlemap.py.  Not runnable

Rewrite Tracking Issue: #565
2011-12-19 19:48:27 -05:00
Andrew Brown
a078b46274 comments clarifications and whitespace adjustments 2011-12-17 21:51:32 -05:00
Alex Headley
350cc70749 add proper title to generated html 2011-12-07 11:17:39 -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
2e28375786 damn semicolons! 2011-11-06 20:58:50 -05:00
Andrew Brown
3f54347735 cleaned up some mess, clarified some things in comments 2011-11-06 18:27:37 -05: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
55adc75d31 minor cleanup, comments/docstring adjustment 2011-11-01 17:10:41 -04:00
Aaron Griffith
64e67cc827 fixed crash when SpawnY wasn't in [0, 128) 2011-10-30 18:06:28 -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
Andrew Chin
e4af304e60 Another fix for #481 2011-09-15 13:13:22 -04:00
Andrew Chin
571ca49c18 Partial fix for #481
Fixed the try/except block in findTrueSpawn
2011-09-14 17:57:53 -04:00
Aaron Griffith
5c37bf1801 having both a world/overviewer.dat and a output/overviewer.dat now warns about the world version
old behaviour was to replace the output dat with the world dat
2011-08-18 11:24:06 -04:00
Andrew Chin
01bba80c54 If overviewer.dat doesn't exist, don't give a north-direction warning 2011-08-17 20:04:25 -04:00
Aaron Griffith
60649c85fd now defaults to the map's current north direction unless otherwise specified 2011-08-17 18:22:50 -04:00
Thomas Lake
3e1ae9dd17 Store north-direction in overviewer.dat
Check stored value at render time and abort if direction has changed and
--forcerender not specified.
Addresses concerns from pull request #458
2011-08-17 17:49:22 -04:00
Aaron Griffith
087d597ed0 Merge remote branch 'rmrector/configurable-north' into configurable-north
Conflicts:
	overviewer.py
	overviewer_core/world.py
2011-08-17 17:35:37 -04:00
Aaron Griffith
3e2828a3d9 fixed bug when overviewer.dat exists in world dir, but output dir does not exist 2011-08-16 15:07:21 -04:00
Thomas Lake
19f83a4a16 Edit scripts to move overviewer.dat to render dir
Overviewer.dat is moved on first run and a warning is issued
2011-08-16 13:02:09 +01:00
Ryan Rector
b442e7704e Merge remote-tracking branch 'upstream/master' into configurable-north 2011-08-13 10:58:22 -06:00
Thomas Lake
d767eb9d00 Explicitly pass regionlist to _iterate_regionfiles() in world.py 2011-08-11 19:02:02 +01:00
Ryan Rector
4ee15e8f44 Code cleanup to simplify upstream merge 2011-08-04 12:49:49 -06:00
Ryan Rector
9af931b4a3 Super performance fixer!
Rotations no longer have any significant performance hit.
Allocate rotated array once during rotation instead of
during every chunk render.
2011-08-03 22:47:25 -06:00
Ryan Rector
1b25f187ff Merge remote-tracking branch 'upstream/master' into configurable-north 2011-08-03 20:41:09 -06:00
Xon
c5ba5edbcc Permit overviewer to keep running even if the chunk the spawn is in is corrupt. 2011-07-15 21:50:18 +08:00
Aaron Griffith
fde647bfdf Merge branch 'py-package'
Conflicts:
	setup.py
2011-07-10 18:14:20 -04:00
Aaron Griffith
317f7794fe Merge branch 'master' into py-package 2011-05-31 20:26:00 -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
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