Nicolas F
c53268e8fe
assetmanager: don't choke on existing icons dir
...
Fixes #1789 .
2020-06-25 00:17:12 +02:00
Nicolas F
cadb24a015
assetmanager: rename icons dir to markers, symlink
...
This fixes a name collision with Apache's default config.
Closes #1773 . Install nginx already.
2020-06-24 17:57:12 +02:00
Nicolas F
0bb823599d
assetmanager: code style fixes
2019-07-24 09:49:25 +02:00
Nicolas F
a422270666
Add force_writable argument to mirror_dir
...
Fixes #1611 .
2019-07-12 23:37:35 +02:00
Nicolas F
204bcd0310
Add "center" config option
...
This option allows you to specify your own initial center for a
tileset, which is useful if your map is extremely asymmetric or
you don't really care about what's around the spawn.
Future work needs to be done on the JS side in order to fix the
fromWorldToLatLng and friends, as they're currently off by -24 in X
and +24 in Z direction.
Closes #1350 .
2019-07-06 19:06:15 +02:00
Nicolas F
e348a548b6
Initial Python 3 port
...
Many things work, some don't. Notably, genPOI doesn't work, and
there's some signedness comparison stuff going on in the C extension.
This also completely drops support for Python 2, as maintaining a C
extension for both Python 2 and 3 is a pain and not worth it for the
9 months that Python 2 is still going to be supported upstream.
The documentation needs to be adjusted as well.
All of the few tests we have pass, and rendering a map works, both
with a configuration file and without. We can also use optimizeimages.
Concerns #1528 .
2019-03-17 17:57:07 +01:00
Andrew Chin
753191f68e
Merge #1311 into master
2018-05-06 13:47:17 -04:00
Kevin Chang
e996bd1e47
fix pillow no longer allowing RGBA JPEG
2018-02-22 15:38:29 -08:00
Nicolas F
843d9ddb00
Carpet-bombing code style fixes
2017-02-19 11:36:46 -05:00
Nicolas F
99817f786f
Re-implement map compass
2017-02-19 11:36:37 -05:00
Nicolas F
6426182c1e
Add retina size icons for spawn and location
...
Unfortunately we need to explicitly tell leaflet not to scale them
weirdly but to make them perceptually equivalent to the normal ones,
which means we have hardcoded icon sizes for those two right now.
2017-02-19 11:36:15 -05:00
Nicolas F
cfa2a9f39b
Re-implement spawn marker
...
Let's hope this works, any bugs are totally my fault.
2016-12-10 14:56:17 -05:00
Andrew Chin
d11960ecfb
Try to track the capabilities of our outputdir filesystem.
...
For example, don't chmod if the filesystem dosen't support chmod, and
don't rename over files if that's not supported (this functionality was
already in place).
Should fix #1061
Related to #1055 (we could add a mtime capability flag)
2014-02-11 10:38:38 -05:00
Aaron Griffith
df732bfa25
Revert "Merge remote-tracking branch 'exhuma/master', PR #963 "
...
This reverts commit e26727943f , reversing
changes made to 7bbb077704 .
2013-12-02 07:40:00 -05:00
Aaron Griffith
a8a2a191b8
Revert "used LOG instead of logging on a few stragglers"
...
This reverts commit 144cff18e3 .
2013-12-02 07:35:10 -05:00
Aaron Griffith
144cff18e3
used LOG instead of logging on a few stragglers
2013-12-01 16:39:45 -05:00
Aaron Griffith
e26727943f
Merge remote-tracking branch 'exhuma/master', PR #963
...
Conflicts:
overviewer.py
overviewer_core/aux_files/genPOI.py
overviewer_core/textures.py
2013-12-01 16:35:28 -05:00
Andrew Chin
7a7f92ba43
Use https instead of http for icons
2013-08-29 10:32:59 -04:00
Michel Albert
4112b5a72e
Using a dedicated logger inside overviewer_core.
2013-07-28 15:04:51 +02:00
Paul Varner
3221d3dc85
Fix LookupError for unknown encodings.
...
Sets the preferred encoding to UTF-8 if python is unable to find a codec
for the value returned by locale.getpreferedencodings() function.
2013-07-19 12:09:27 -05:00
Nicolas Frattaroli
3986e10af2
Added option showlocationmarker
2013-05-13 15:38:54 +02:00
Andrew Chin
4d0aa7e49e
Removed overviewerConfig.CONST.image.compass. It was unused
...
Closes #694
2012-09-22 18:09:23 -04:00
Andrew Brown
55f2273f81
Added a debug output to accompany a warning.
...
If there is an error reading or parsing overviewerConfig.js, it prints a
warning and continues, but gives no indication of what went wrong. Added
a debug line that prints the full traceback.
2012-09-10 20:38:50 -04:00
Thomas Lake
83caa5f456
Add --update-web-assets option
2012-08-12 16:37:35 +01:00
Thomas Lake
fcfe3063c3
Add custom web assets support
2012-08-12 15:27:07 +01:00
Johannes Dewender
122eaee37d
add bed marker icon from faithful pack
...
Taken from the Faithful 32 texture pack:
http://www.minecraftforum.net/viewtopic.php?f=25&t=77442
2012-03-27 03:04:09 +02:00
Andrew Chin
6b77d54555
Reimplement signs/POIs
2012-03-11 11:44:38 -04:00
Aaron Griffith
626129394a
split up util.py into files.py and logger.py, moved code appropriately
2012-03-05 12:12:27 -05:00
Aaron Griffith
fb7f382675
setup.py install (and the debian packages) should now work
2012-03-03 17:14:39 -05:00
Andrew Brown
7d8bd00a84
Made the assetmanager initalize() and finalize() organization slightly clearer
2012-02-26 21:17:55 -05:00
Andrew Brown
19f6f136e4
Now writes images to temporary files and atomically moves in place*
...
* on systems with an atomic os.rename
2012-02-26 00:16:16 -05:00
Andrew Brown
f48f0445d1
Dump assets and "initial" data before rendering starts
...
Now does preprocessing off of main() instead of in the dispatcher
initializer.
2012-02-25 19:33:35 -05:00
Andrew Chin
997ec58161
Only copy real js files (not silly editor swap files)
2012-02-25 15:57:29 -05:00
Andrew Chin
9d814bf653
Pack up js_src to fix issue with .exe builds
2012-02-19 18:06:43 -05:00
Andrew Chin
0e74d22e47
Merge remote-tracking branch 'origin/rewrite' into rewrite
2012-02-11 00:33:49 -05:00
Andrew Chin
b7d2733f0c
The compass now changes direction to make the tileset
2012-02-10 20:44:11 -05:00
Andrew Brown
fec8e28f5c
Added error detection to overviewerConfig.js parsing.
2012-02-08 21:31:45 -05:00
Andrew Chin
19fcee24f7
Split up overviewer.js into several files
2012-02-08 21:07:53 -05:00
Aaron Griffith
834598da0f
fixed typo from master merge
2012-02-08 14:56:50 -05:00
Aaron Griffith
302e1d592a
Merge branch 'master' into rewrite
2012-02-06 21:41:11 -05:00
Andrew Chin
96602a48d4
Specifying a dimension in a config file now works
2012-01-27 20:30:58 -05:00
Andrew Chin
0d23adb237
Avoid digging into the tileset when writing out config.js
2012-01-16 22:54:35 -05:00
Andrew Chin
48da4a6a3c
Write/read last_rendertime
2012-01-15 00:22:45 -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
9f6a4ee698
More updates to overviewer.js
2012-01-08 15:12:40 -05:00
Andrew Chin
4255b26fc7
Fixed some crashes in assetManager
...
Copy in the rest of the web assets
2012-01-07 23:56:08 -05:00
Andrew Chin
25db39463f
The AssetManager will now create a kinda working html output
2012-01-07 23:04:42 -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