Commit Graph
46 Commits
Author SHA1 Message Date
Aaron Griffith b9a21b98e0 fixed dumb boolean logic in optimizeimg check 2011-04-10 05:57:15 -04:00
Aaron Griffith dfe30a0d0f now checks for optimize-img programs with '.exe' as well as no suffix
fix for issue #314
<https://github.com/brownan/Minecraft-Overviewer/issues/314>
2011-04-10 04:11:33 -04:00
Aaron Griffith cb8a17c448 fixed bug in sign groups js, for checked: true
related to issue #321
<https://github.com/brownan/Minecraft-Overviewer/issues/321>
2011-04-10 03:25:16 -04:00
Aaron Griffith 38deb98d5a added command line option for web_assets postprocessing hook 2011-03-19 20:45:40 -04:00
Aaron Griffith edf34f6d59 changed level data loader to retry up to twice before declaring a chunk corrupt 2011-03-19 18:23:23 -04:00
Aaron Griffith ad0899bb8a handle bad biome files on load, instead of waiting for an IndexError later
related to <https://github.com/brownan/Minecraft-Overviewer/issues/301>
2011-03-17 21:45:15 -04:00
Aaron Griffith a5612a1fa5 moved corrupt chunk handling to get_lvldata so it applies to all chunk loading
brought up in Issue #286:
https://github.com/brownan/Minecraft-Overviewer/issues/286
2011-03-06 15:48:48 -05:00
Aaron Griffith 5cb599fabb added a more informative error if the map is too big for Overviewer to handle
From Issue #290:
https://github.com/brownan/Minecraft-Overviewer/issues/290
2011-03-06 15:35:40 -05:00
Aaron Griffith 8b6b5df8ef handle get_worlds() returning None correctly
Exposed by Issue #287:
https://github.com/brownan/Minecraft-Overviewer/issues/287
2011-03-06 15:29:07 -05:00
Aaron Griffith 6a1ee964bf inlined 'iterate_chunkblocks' (backported from Xon's code)
From the discussion in the massive Issue #271 discussion:
https://github.com/brownan/Minecraft-Overviewer/issues/#issue/271
2011-03-06 01:57:05 -05:00
Aaron Griffith 48642e0e5b changed biome fix to be more consistent with the other region code 2011-03-03 20:48:32 -05:00
Aaron Griffith a6805c2e0c updated biome rendering to use latest Biome Extractor format 2011-03-03 12:27:47 -05:00
Aaron Griffith 5f5bda948e Merge remote branch 'eminence/mcregion' into mcregion 2011-02-23 18:01:09 -05:00
Aaron Griffith b40d84f92b fixed crash on worlds named "World[not int]", and made world list play nice with world names 2011-02-23 13:07:21 -05:00
Aaron Griffith dd01eae9e0 corrected world loading by name to handle renamed worlds 2011-02-23 12:52:21 -05:00
Aaron Griffith 3ce887162b support for opening worlds by name 2011-02-23 12:42:00 -05:00
Aaron Griffith 45dee1aa39 added MCRFileReader class to nbt.py, to handle new region files 2011-02-23 00:14:27 -05:00
Aaron Griffith c43e7c0dbf alpha_over warning will now only print once per run 2011-01-01 19:00:44 -05:00
Aaron Griffith 0ab56ce1d9 made sure biome color arrays are loaded in each thread 2011-01-01 15:45:36 -08:00
Aaron Griffith b2d8c415ca added check to textures.py prepareBiomeData so it will only run once per process 2011-01-01 15:43:45 -08:00
Aaron Griffith 0136cc1eba changed textures.py to use global declarations instead of sys.modules[__name__] 2010-12-31 17:59:14 -05:00
Aaron Griffith e4b5a10b9a some fixes to setup.py for Mac OS X, and .gitignore additions 2010-11-09 21:34:05 -05:00
Aaron Griffith 80b1cab81c changed new grass/leaf block code to use alpha_over 2010-11-07 17:45:06 -05:00
Aaron Griffith 759a9663af shuffled around the code a bit to make it C89 compliant
On my machine, the code now compiles with "-std=c89 -pedantic -Wall",
with no warnings (except for those emitted by the Python headers,
grr...)
2010-10-28 16:56:10 -04:00
Aaron Griffith 169d553360 added note to README about missing Imaging.h on some platforms 2010-10-26 07:56:07 -04:00
Aaron Griffith d01244a7d8 added note to README about compiling the extension (marked optional) 2010-10-23 18:30:03 -04:00
Aaron Griffith 395e26ef9c changed most PIL paste() calls into composite.alpha_over() calls
The ones I have not changed are those where paste() is really
preferred, and I've noted why in comments.

Calls to "dest.paste(src, rect, mask)" were converted to calls to
"composite.alpha_over(dest, src, rect, mask)".
2010-10-23 13:42:31 -04:00
Aaron Griffith 8120bcd455 added a wrapper for alpha_over that falls back on PIL paste() if needed 2010-10-23 13:42:15 -04:00
Aaron Griffith 5a19b8b375 Added a PIL alpha_over extension in C, and code to setup.py to build it
I needed a way to let py2exe options be provided only when py2exe is
available. My solution (maybe not the best) was to put all the
arguments for the final setup() call into a dictionary, that is filled
in conditionally during the script's execution. This is why the file
is completely changed; however, it still does what it used to do (when
py2exe is available).
2010-10-23 13:17:56 -04:00
Aaron Griffith 35e664a32c updated README to reflect new lighting options 2010-10-14 21:04:41 -04:00
Aaron Griffith f8b516b360 Merge branch 'master' into lighting
Conflicts:
	chunk.py
2010-10-14 15:01:31 -04:00
Aaron Griffith 66e39f8b4d made sure lava blocks are fully lit 2010-10-14 14:02:04 -04:00
Aaron Griffith c11e23a18f added semi-correct lighting for half-blocks 2010-10-14 13:57:48 -04:00
Aaron Griffith b44cb9c3f8 added proper occlusion tracking to lighting function 2010-10-14 13:36:20 -04:00
Aaron Griffith e51556f314 moved lighting data into properties, and light logic into a function 2010-10-12 21:11:27 -04:00
Aaron Griffith e4e52cee0b moved get_lighting_coefficient into the ChunkRenderer class 2010-10-12 19:05:44 -04:00
Aaron Griffith a5ae703258 added support for ploylines and polygons on the google map
Polygons and polylines are read from the new file "regions.js". Polylines
(entries with "closed" set to false) are just lines drawn on the map.
Polygons (entries with "closed" set to true) are closed loops that are
filled in with a transparent color.
2010-10-09 15:44:48 -04:00
Aaron Griffith 4c58d28854 fixed remaining function renames from merge 2010-10-05 08:55:35 -04:00
Aaron Griffith 51e1721a6d Merge branch 'master' into lighting
Conflicts:
	chunk.py
	gmap.py
	textures.py
	world.py
2010-10-05 08:35:23 -04:00
Aaron Griffith 8dccf4162c added run-time flags to enable lighting or nighttime rendering 2010-09-28 16:57:23 -04:00
Aaron Griffith d6fc49e1d9 store less data at once, and chunk boundary lighting occlusion checks
I also changed the default light level to be based off the light
calculation function, so night renders have a reasonable default light
level now.
2010-09-28 10:47:19 -04:00
Aaron Griffith 27e9b1cb15 added (commented out, for now) night render code 2010-09-27 20:31:31 -04:00
Aaron Griffith 8d145f2b58 added correct chunk boundary lighting 2010-09-27 19:59:41 -04:00
Aaron Griffith db62ad94ee correct (though chunk-local only) per-face lighting 2010-09-27 19:04:35 -04:00
Aaron Griffith a15390cc47 initial stab at lighting support 2010-09-27 14:55:16 -04:00
Aaron Griffith a5cc2e3ae2 more accurate marker positioning on map, and a reasonable custom projection 2010-09-27 14:54:10 -04:00