Commit Graph
100 Commits
Author SHA1 Message Date
Alejandro Aguilera 831183a524 Fix vines. 2011-11-30 01:04:36 +01:00
Alejandro Aguilera 8ec92b9595 Add levers. 2011-11-30 00:34:28 +01:00
Alejandro Aguilera b08b15c84f Fix rail north rotation. 2011-11-15 09:48:30 +01:00
Alejandro Aguilera 6f0b8f74ce Added buttons. 2011-11-15 09:32:24 +01:00
Alejandro Aguilera e2dde5e6e0 Add lily pads to biome tinting. Fix pumpkin and melon stem. 2011-11-07 16:21:03 +01:00
Alejandro Aguilera 29bc7fa0ba Update iterate.c for nether brick fences and update the way glass panes and iron bars stick. 2011-11-07 15:41:55 +01:00
Alejandro Aguilera 25493c071f Add place holders for levers and buttons so the block is transparent. 2011-11-07 15:20:43 +01:00
Alejandro Aguilera 6dbac888d2 Fix holes in stairs. 2011-11-07 13:26:22 +01:00
Alejandro Aguilera 3f628dcc1b Add all the 1.9 pre-release blocks. 2011-11-07 13:16:35 +01:00
Alejandro Aguilera 1cfe21153a All blocks before 1.9pre added. 2011-11-07 11:56:35 +01:00
Alejandro Aguilera 2cc160bcaa Add up to blockid 85. 2011-11-03 13:52:02 +01:00
Alejandro Aguilera 1e66e6eecb Add white stone block. 2011-10-27 12:22:06 +02:00
Alejandro Aguilera e692dfebdc Updated End Frame Portal block. 2011-10-27 12:09:50 +02:00
Alejandro Aguilera f758f876d6 Added all the new 1.9-pre3 blocks:
- The enchantment table has not book yet!
- The brewing stand is the 2d texture pasted. TODO.
- The cauldron works perfect.
- The air portal draw som random dots resembling stars, is not marevellous, but does the job.
- Air portal frame is rendered without problem.
2011-10-08 17:57:27 +02:00
Alejandro Aguilera 1c5b324767 Make iron bars and glass panes stick to everything but air. 2011-09-27 11:06:57 +02:00
Alejandro Aguilera 6fec999155 Add lilypads with biome tinting. NOTE: no info about the ancildata in minepedia, using the stairs ancildata at the moment! 2011-09-27 10:31:26 +02:00
Alejandro Aguilera 9ee463e4b5 Add silverfish in block block. 2011-09-26 14:00:41 +02:00
Alejandro Aguilera 41beb13c39 Add nether wart to the list of transparent blocks and update the solid_blocks list 2011-09-23 14:10:47 +02:00
Alejandro Aguilera c99b54fb90 Rotate the ancildata of the netherbrick staris... 2011-09-23 11:37:11 +02:00
Alejandro Aguilera add7ddc4c5 Added mycelium, it looks it hasn't got any data nor tinting. 2011-09-23 11:23:29 +02:00
Alejandro Aguilera 692afc3545 Add nether wart. 2011-09-23 11:18:49 +02:00
Alejandro Aguilera 9aa2c2252a Added netherbrick stairs. 2011-09-23 11:08:46 +02:00
Alejandro Aguilera 415578e1b6 Added nether fences. 2011-09-23 10:50:53 +02:00
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