Commit Graph
100 Commits
Author SHA1 Message Date
Alejandro Aguilera 1b7ed5f055 Add stone and wooden pressure plates 2011-09-20 12:11:55 +02:00
Alejandro Aguilera c4883541b3 Now pumpkin and melon stems are tinted brown in textures.py if they are fully grown.
Also delete a save statement. Use state->block_data in rendernormal.
2011-09-16 12:52:32 +02:00
Alejandro Aguilera ad15fc2a34 Make pumpkin/melon stems as in game, no as I thought it was. 2011-09-16 10:28:11 +02:00
Alejandro Aguilera 80ed5ac280 Update comment in the glass panes and iron bars pseudo data. 2011-09-16 10:09:05 +02:00
Alejandro Aguilera d6c71de226 Add pumpkin and melon stems. 2011-09-16 09:57:30 +02:00
Alejandro Aguilera f97549f1f8 Updated stone brick with mossy and cracked stone brick. 2011-09-11 19:29:49 +02:00
Alejandro Aguilera a06da78d9e Add huge mushrroms. 2011-09-11 19:21:45 +02:00
Alejandro Aguilera d7bb11b2b4 Added glass panes and iron bars. Is not marvellous, but it works! 2011-09-11 15:15:53 +02:00
Alejandro Aguilera 17c6d85c3e Added melon block. 2011-09-11 13:40:21 +02:00
Alejandro Aguilera bdeefe4118 Update the list of transparent blocks.
Added: iron bars, glass pane, pumpkin and melon stem, vines, fence gates, brick and stone brick stairs.
2011-09-11 13:30:45 +02:00
Alejandro Aguilera 0d9aa0d9ca Expand user directories for web_assets_path and textures_path options.
Fixes #473
2011-08-28 19:15:27 +02:00
Alejandro Aguilera 33e85743f2 Fix black dotted lines in night rendermode.
Also reduces the night rendermode render time by a 10% and increses the lighting rendermode render time by a 5% (globally it reduces the render time).
2011-08-28 12:18:51 +02:00
Alejandro Aguilera 03f9734039 Bump overviewer extension version 2011-08-23 22:10:20 +02:00
Alejandro Aguilera 8d398864e3 Fix bad handle of both alpha layers being zero in composite.c 2011-08-23 21:37:10 +02:00
Alejandro Aguilera b86906b931 Use per-face shading for leave block. 2011-08-03 11:24:56 +02:00
Alejandro Aguilera a2b156c85f Draw ice in the same way is done with water and glass and shade it like water. 2011-08-03 11:24:56 +02:00
Alejandro Aguilera f7e1867588 Fix one more time the how water is lit.
Added ancildata and pseudo_ancildata to the renderstate.
Added special case for water in rendermode_ligting_draw().
2011-08-03 11:24:56 +02:00
Alejandro Aguilera f6bbda674e Update comments in textures.py. 2011-08-02 02:18:45 +02:00
Alejandro Aguilera 4e659aee55 Add global bgcolor variable in textures.py, and an option in generate(). 2011-08-02 01:48:25 +02:00
Alejandro Aguilera 04e7c20398 If nothing shown return None. In iterate.c this will skip the draw. 2011-08-02 01:35:54 +02:00
Alejandro Aguilera 8138ec29c0 Torches are now in the center of the block. Redstone dionde function generates its own torches now (it was using before the generated by the torch function). 2011-08-01 14:19:22 +02:00
Alejandro Aguilera aecb39bbbc Delete generate_pseudo_ancil_data function from chunk.py 2011-07-26 00:57:12 +02:00
Alejandro Aguilera bef7f62e43 Now glass renders as in game (glass is rendered in the same way as water is) 2011-07-26 00:55:32 +02:00
Alejandro Aguilera 2f3f358d84 Add pistons to textures.py 2011-07-26 00:24:26 +02:00
Alejandro Aguilera 340f847f8c composite expects an int 2011-07-17 01:31:47 +02:00
Alejandro Aguilera 641e9f5c18 Update function generate_full_block, fix problems with beds, cakes, and trapdoors. 2011-07-17 01:21:15 +02:00
Alejandro Aguilera b17f51404b oops... 2011-07-17 01:21:15 +02:00
Alejandro Aguilera 8bb19ee388 Forget about tall grass... resize them too. 2011-07-17 01:21:15 +02:00
Alejandro Aguilera a83a082659 Add code in textures.py to resize textures in blockmap and special_blocks. 2011-07-17 01:21:15 +02:00
Alejandro Aguilera 278eabbae3 Remove unused access to blocklight array. 2011-06-19 01:38:26 +02:00
Alejandro Aguilera 8eda22055f Add comments. Delete printfs. 2011-06-19 01:38:26 +02:00
Alejandro Aguilera fdadda0ea6 Move the average lighting coeff to another function. Take the average over blockmap.
Fixes problems with stairs in night and lighting rendermode.
2011-06-19 01:38:26 +02:00
Alejandro Aguilera 57d2a525ff Add self. 2011-06-09 01:11:38 +02:00
Alejandro Aguilera 1a1e8b1239 Delete false comment. 2011-06-09 00:23:14 +02:00
Alejandro Aguilera 71d8da5f83 Iprove tall-grass looking. Draw the sprite in the correct angle, and draw it at a random offset (as done in game). 2011-06-09 00:23:14 +02:00
Alejandro Aguilera bc51e6745f Improve the lighting of the stairs and double-blocks using the skylevel value of the upper block when posible. 2011-06-08 16:20:50 +02:00
Alejandro Aguilera ab1d444a46 Update sample.settings.py with the new optimizeimg options. 2011-06-08 00:28:58 +02:00
Alejandro Aguilera 89eb1939b1 Change the optimizing programs. Add new value for the option optimizeimg. 2011-06-06 00:08:31 +02:00
Alejandro Aguilera e65b77ac57 Fix optimizeimg=2 transparency issue not messing with the color type in optipng. 2011-06-02 00:57:43 +02:00
Alejandro Aguilera 9d4b48b5ae Add the agrif's fix for stairs. With 1.6 this is no more a quick fix (I think they are now as slabs are). 2011-06-01 00:19:23 +02:00
Alejandro Aguilera d95ae73286 Tall grass is now biome tinted. 2011-05-31 18:21:47 +02:00
Alejandro Aguilera fcd29234ff Add trapdoors. 2011-05-31 17:03:18 +02:00
Alejandro Aguilera 87cd001b91 Add tall grass and dead shrubs. 2011-05-31 16:01:54 +02:00
Alejandro Aguilera 490e1f2610 Clean and comment. 2011-05-31 15:24:07 +02:00
Alejandro Aguilera 4cc957c16b Fix problem with fence textures. 2011-05-30 00:48:58 +02:00
Alejandro Aguilera fb0a393c14 Delete saving image... 2011-05-29 23:46:22 +02:00
Alejandro Aguilera 7ff6a4833b Add another element to the texture tuple with a mask for the lighting.
Make needed changes in textures.py.

Because some textures have garbage in the alpha channel, this new method has some problems.
2011-05-29 23:31:04 +02:00
Alejandro Aguilera e0a3f0c4ce Make seas more like in-game (draw only the top surface). 2011-05-28 01:08:55 +02:00
Alejandro Aguilera a58f23d128 Fix bad looking waterfalls. 2011-05-28 01:02:33 +02:00
Alejandro Aguilera cb934ef18f Remove "text" from wall signs, they are used for chairs! 2011-05-12 16:30:32 +02:00
Alejandro Aguilera 04fe00e315 Add wall signs. Fix torch positios for south oriented repeater. 2011-05-12 15:31:46 +02:00
Alejandro Aguilera 2db3f57d38 Add signposts. Add transform_image_angle function. 2011-05-12 14:54:25 +02:00
Alejandro Aguilera d735053feb Add repeaters to the list of transaprent blocks. Fixes problem in night rendermode showing repeaters as strange black block. 2011-05-09 02:15:31 +02:00
Alejandro Aguilera ef8dd359ac Make cactus as is in game. Improve cake. Add web block, at the moment is rendered as a sprite. 2011-05-09 01:58:42 +02:00
Alejandro Aguilera 86b891d9f2 Fix the top texture for TNT.
Remove non helpful comments or outdated comments.
2011-05-08 16:25:35 +02:00
Alejandro Aguilera fc99f9f978 Add torches to the repeaters. 2011-05-08 16:18:56 +02:00
Alejandro Aguilera 808bfb7cfe Add repeaters without torches, make needed changes in rendermode-normal for edge block lines.
Delete some non used code in cake.
2011-05-08 13:04:36 +02:00
Alejandro Aguilera e437a15abc Add beds and some changes in _build_full_block to simplify the building of fractions of a block. 2011-05-08 12:24:58 +02:00
Alejandro Aguilera 3a18d81842 Increase the portal texture transparency. 2011-05-08 10:11:13 +02:00
Alejandro Aguilera 3c8d7e6442 Add portals to textures.py, needed changes in chunk.py and iterate.c and added beds to transparent blocks. 2011-05-08 02:10:19 +02:00
Alejandro Aguilera 9f9ae1e1fe Fix diamond-ore textures. 2011-05-03 09:11:55 +02:00
Alejandro Aguilera 24c1e0dfd5 Add single and double chests with orientation to the textures.
Add some comments about textures using pseudo data.
2011-05-02 00:10:54 +02:00
Alejandro Aguilera d58da71f1d Fix bookshelve and jukebox tops. 2011-05-02 00:10:54 +02:00
Alejandro Aguilera 8b99db7bf6 Add orientation for furnaces, dispensers, pumpkins, and jack-o-lanterns. 2011-05-02 00:10:54 +02:00
Alejandro Aguilera 724bf114e7 Fix new saplings. 2011-05-02 00:10:54 +02:00
Alejandro Aguilera be720c5e0d Use ANTIALIAS filter for resizing down images.
Ajust the position of fences for the new filter.
2011-04-28 15:03:59 +02:00
Alejandro Aguilera b513977a79 Fix textures for saplings. 2011-04-21 01:28:14 +02:00
Alejandro Aguilera 5a70c4686c Add saplings to generate_special_textures function.
Also, remove all the torches from the _build_blocks.
2011-04-21 01:25:36 +02:00
Alejandro Aguilera 3bad62f0af Add the new rail blocks to the transparent blocks list. 2011-04-21 00:53:56 +02:00
Alejandro Aguilera be23000050 Add the detector and powered rails to textures.py 2011-04-21 00:49:19 +02:00
Alejandro Aguilera 1ef6efab8d Change _iterate_regionfiles to use glob instead of os.walk. The function gets simpler in this way
With this you can fool overviewer to render the nether just poiting the "DIM-1" instead the world dir.
(and you also need to copy the level.dat to the DIM-1 directory, because nether has not spawn)
2011-04-16 13:11:37 +02:00
Alejandro Aguilera 8165ce979d Add depth tinting to cave rendermode. 2011-04-14 00:33:41 +02:00
Alejandro Aguilera 1fb77cf6e6 Add code to remove lakes and seas. 2011-04-14 00:33:41 +02:00
Alejandro Aguilera b89ea8db8c Working cave rendermode without tinting. 2011-04-14 00:33:41 +02:00
Alejandro Aguilera dd19e88f15 Add special case for wooden and cobblestone stairs in textures.py.
Fix a wrong comment in ladder.

Add more comments in _buil_full_block.
2011-04-11 00:15:20 +02:00
Alejandro Aguilera 7463183b9c Remove duplicated comment... 2011-04-01 23:33:06 +02:00
Alejandro Aguilera a7714088c5 another comment 2011-04-01 23:21:01 +02:00
Alejandro Aguilera 81fd7d12ed Add compatibility for wildgrass mod 2011-04-01 20:40:23 +02:00
Alejandro Aguilera 84c3ab397b Clean textures.py, remove old comments, add new ones. The generate_special_texture function is in ascending blockid order. 2011-04-01 20:26:11 +02:00
Alejandro Aguilera f240da29f4 Re-fix the bug "what I was thinking?!"
Improve the looking of all torches, and add orientation for them.
2011-03-29 21:11:22 +02:00
Alejandro Aguilera d9436d2c66 Fix a bug of the type "What I was thinking!?" in _build_full_block 2011-03-29 20:45:10 +02:00
Alejandro Aguilera 69179097c5 Paste the top texture the last in _build_full_blocks 2011-03-27 14:46:15 +02:00
Alejandro Aguilera 805450e5f4 Add cake to textures.py (cake!) 2011-03-27 14:42:21 +02:00
Alejandro Aguilera e33f55977b Add redstone torches to textures.py (without orientation). 2011-03-27 13:58:42 +02:00
Alejandro Aguilera 8fa8a09492 Add crafting table to the special blocks set. 2011-03-27 13:41:41 +02:00
Alejandro Aguilera afb05098f9 Add support for redstone and improve the looking of waterfalls.
Changes in textures.py and iterate.c
2011-03-27 03:51:45 +02:00
Alejandro Aguilera 593c475e98 Fix problem loading adjacent chunks in some maps. 2011-03-25 17:46:52 +01:00
Alejandro Aguilera 4f5bf93b49 Fix "that NULL should be Py_None" 2011-03-24 23:54:58 +01:00
Alejandro Aguilera 3fdf70b61d Fix problem with get_lvldata in chunk.py: filename = None doesn't mean chunk corrupt. 2011-03-24 23:47:17 +01:00
Alejandro Aguilera d04bea2b66 Add functions generate_pseudo_data and check_adjacent_blocks to iterate.c
Fences working.
2011-03-24 23:43:11 +01:00
Alejandro Aguilera 4da53b4f9c Load the 4 adjacent blocks in iterate.c 2011-03-24 23:40:01 +01:00
Alejandro AguileraandAaron Griffith c79b0b9b20 changed imgy calculation and moved "imgy -= 12" to start of loop
from discussion in
<https://github.com/agrif/Minecraft-Overviewer/commit/4e63e6#iterate.c-P282>
2011-03-11 17:54:12 -05:00
Alejandro Aguilera 4aa7fff086 And also for double slabs. 2011-03-08 17:01:58 +01:00
Alejandro Aguilera 80027c7cc5 Add special case in textures.py for the different slabs. 2011-03-08 16:33:44 +01:00
Alejandro Aguilera 1bb6d03c90 Don't render buttons as full blocks. 2011-03-02 17:25:44 +01:00
Alejandro Aguilera 38d970f7e1 The texture for redstone wire is now white! Needs tinting. Ignore redstone wire blocks for now... 2011-02-24 13:26:36 +01:00
Alejandro Aguilera 5e360600c4 Update functions _load_up_left and _load_up_right with the new region format in chunk.py. 2011-02-24 13:22:25 +01:00
Alejandro Aguilera d90a3666dd Fix .any() not working as expected. 2011-02-03 00:36:02 +01:00
Alejandro Aguilera 15e0e9210f Finish and comment. 2011-02-02 23:01:25 +01:00
Alejandro Aguilera 448733dd44 Improvements for generate_pseudo_andcildata in chunk.py, and necessary changes to fences case in textures.py
This changes will help to properly render redstonewire.
2011-02-02 23:01:25 +01:00