Nicolas F
d76a22e020
Fix deprecated NumPy API warnings
2017-03-09 17:28:18 +01:00
Andrew Chin
bc9a097957
Add some new blocks for Minecraft 1.9
...
* Purpur blocks, pillars, stairs, and slabs
* End brick
2016-03-01 21:25:15 -05:00
Ean McLaughlin
8f909f99de
Added missing comma in function call for fence gate material definition.
2014-09-03 02:06:51 -06:00
Ean McLaughlin
a3b7ac12b8
Added definitions for the new fence gates. Hopefully I got the C side right. Close #1148
2014-09-03 01:36:44 -06:00
Ean McLaughlin
ed09c5c965
Added definitions and support for all the various red sandstone blocks.
2014-09-02 20:55:57 -04:00
Andrew Chin
e82e7bf0b2
added support for different door types
2014-08-26 15:48:05 -04:00
Andrew Chin
df920e60de
Added support for the difference fence colors
2014-08-26 14:17:40 -04:00
aib
ed75d82588
Fix double trapped chests rendering as two singles
2013-11-17 17:57:56 +02:00
Nicolas Frattaroli
2346c26f37
Added dark wood and acacia wood blocks
...
Includes stairs, slabs, planks and saplings.
2013-11-02 15:12:44 +01:00
Andrew Chin
46bda131f9
Add stained glass and stained glass panels
...
Note that this commit changes the pseudo-ancil-data type from unsigned
int to an unsigned short. Our pseudoancil code creates 5 bits of data
to store adjacency information for glass. Glass also has 4 bits for
color info. This means we need a total of 9 bits to render these (thus
int --> short)
2013-10-26 01:47:07 -04:00
Andrew Chin
63e9226415
Merge branch 'snapshot'
...
Conflicts:
overviewer_core/src/iterate.c
2013-10-25 23:35:22 -04:00
Jer Wilson
c86698650d
Refactored stairs rendering to support corners
2013-09-16 00:31:39 -07:00
Jer Wilson
3050f4099e
Adding blocks for new flowers and doublePlants
2013-09-13 14:25:24 -07:00
Alejandro Aguilera
0f017f6b51
Lilypads are now properly oriented.
2013-04-07 01:33:10 +02:00
Alejandro Aguilera
42debd6c9d
Redstone now connects to trapped chests.
2013-02-08 11:06:14 +01:00
Alejandro Aguilera
efd2a56516
Add wooden button, command block, beacon block and cobblestone (and mossy) wall.
2012-10-23 11:26:46 +02:00
Socolin
3a04bfd336
Update overviewer_core/src/iterate.c
...
Support id > 255 for check_adjacent_blocks
2012-10-13 18:20:40 +03:00
Andrew Chin
e86084e0ca
Merge remote branch 'origin/snapshot'
2012-08-01 09:52:53 -04:00
Aaron Griffith
05bfaaf967
added slime overlay, colors chunks green if slimes can spawn
2012-06-05 23:18:15 -04:00
Aaron Griffith
04e031b657
Re-apply "Update chests to work with snapshot 12w21b. Add ender chests. Improve some comments."
...
This reverts commit a60b56c507 .
2012-06-04 21:59:45 -04:00
Aaron Griffith
a60b56c507
Revert "Update chests to work with snapshot 12w21b. Add ender chests. Improve some comments."
...
This reverts commit b245bbe8b3 .
2012-06-04 21:57:42 -04:00
Alejandro Aguilera
b245bbe8b3
Update chests to work with snapshot 12w21b. Add ender chests. Improve some comments.
2012-05-31 12:04:58 +02:00
Aaron Griffith
4a9c4fd150
get_data will no longer repeatedly try to open missing chunks
2012-03-03 23:15:16 -05:00
Aaron Griffith
d1c5c14ff7
fixed huge memory leak when calling chunk_render on empty section
2012-03-01 15:55:47 -05:00
Alejandro Aguilera
ae6f333be3
Improve (I think) a commit.
2012-03-01 10:54:57 +01:00
Alejandro Aguilera
4ac2c872b8
Update doors to use pseudo data.
2012-03-01 10:50:39 +01:00
Aaron Griffith
414b754e24
biomes now work, still no swamp purple though
2012-02-22 04:14:44 -05:00
Aaron Griffith
136ea70281
all sections now loaded for each chunk, cave mode now works
2012-02-21 14:22:52 -05:00
Aaron Griffith
187b2690f4
added get_data for getting data across chunk boundaries, fixed PAD
2012-02-21 03:49:19 -05:00
Aaron Griffith
a0d584bba6
Base render primitive now draws correctly (no biomes yet though)
2012-02-21 02:42:42 -05:00
Aaron Griffith
e33241a973
fixed leaking block data for each rendered chunk
2012-02-15 21:38:45 -05:00
Aaron Griffith
302e1d592a
Merge branch 'master' into rewrite
2012-02-06 21:41:11 -05:00
Andrew Brown
ff3bfceef7
more C code fixes. Activated caching.
...
Also removed some code that I accidentially left in.
Also added a traceback printing decorator around get_chunk() because the
C code can potentially swallow those exceptions.
2012-01-17 21:52:01 -05:00
Andrew Brown
70ef0af00c
modified C extension for get_chunk() raising exception on not found
2012-01-16 01:59:16 -05:00
Aaron Griffith
e3610f8ac5
moved to a layer-based rendermode system, moved normal mode to base primitive
...
options are now handled partially in the python side, in rendermodes.py
2012-01-08 00:08:16 -05:00
Aaron Griffith
4eaf103213
fixes to get lighting mode working again
2012-01-06 20:23:15 -05:00
Aaron Griffith
a1dc392526
c_overviewer is now auto-initialized, and some other minor fixes
2012-01-02 00:40:56 -05:00
Aaron Griffith
a69a78f412
c_overviewer.render_loop now works with normal render mode
2012-01-01 23:02:30 -05:00
Aaron Griffith
f9b0f8667b
initial update of C code to work with textures object
2012-01-01 22:44:08 -05:00
Aaron Griffith
e6ccd79b1b
blocks with invalid or unsupported data will now still draw *something*
...
it looks weird to just draw nothing, especially if the block is
opaque, since you can then see through the world.
fixes issue reported in Issue #563
2011-12-24 15:42:28 -05:00
Aaron Griffith
debb14c48b
overviewer no longer trusts ancillary data from blocks that should have none
2011-12-18 04:51:53 -05:00
Aaron Griffith
bca7867b86
pushed exception setting into the relevant function, removed redundant exceptions
...
The following functions set exceptions automatically:
PyImport_ImportModule, PyObject_GetAttrString, PyArg_ParseTuple. All
the exception setting functions in c_overviewer should act the same
way and set their own exceptions before returning.
Notably, PyDict_GetItemString does *not* set exceptions, so it is
handled specially in render_mode_find_interface.
2011-11-22 17:32:47 -05:00
Andrew Chin
4739f4af93
More specific rendermode error messages
2011-11-22 12:25:02 -05:00
Andrew Chin
9b36dfc237
Fix reference leak
2011-11-22 11:33:11 -05:00
Andrew Chin
1a96b89e78
Properly set exceptions, instead of simply returning NULL
2011-11-22 11:30:48 -05:00
Aaron Griffith
944edf4ef8
changed material property lookups to use a bit table, not python sets
2011-11-11 20:05:29 -05:00
Aaron Griffith
afd3ad639b
textures are now stored in a continuous array in memory, instead of a dict
2011-11-11 15:49:08 -05:00
Aaron Griffith
dc0110ee73
unknown blocks are no longer assumed to be transparent
2011-11-10 09:51:25 -05: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
Aaron Griffith
4b905685eb
major textures.py restructuring, not all textures implemented (Issue #516 )
...
Be careful -- the build_* and transform_* functions no longer have a
blockID argument, because that made no sense.
2011-10-31 20:57:05 -04:00