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
Aaron Griffith
8e0a82ba62
unified blockmap and specialblockmap (Issue #516 )
2011-10-31 13:58:25 -04:00
Aaron Griffith
75858f2df8
removed historical, seperate mask from texture tuples (Issue #516 )
2011-10-31 13:40:38 -04:00
Aaron Griffith
69c109fc05
moved trasparent_blocks, etc. into textures.py (Issue #516 )
2011-10-31 13:28:28 -04:00
Aaron Griffith
aa7a837043
fixed segfault involving redstone on the edge of the map (Issue #519 )
2011-10-26 15:14:48 -04:00
Alejandro Aguilera
80ed5ac280
Update comment in the glass panes and iron bars pseudo data.
2011-09-16 10:09:05 +02:00
Aaron Griffith
5ca6305837
fence gates
2011-09-14 18:00:59 -04:00
Alejandro Aguilera
d7bb11b2b4
Added glass panes and iron bars. Is not marvellous, but it works!
2011-09-11 15:15:53 +02:00
Aaron Griffith
bc138ac859
created a distinct 'hidden' function
2011-09-07 17:16:43 -04:00
Aaron Griffith
c3a323570d
Merge branch 'master' into rendermode-options
2011-08-04 19:30:52 -04: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
Aaron Griffith
4ecb370b9c
Merge branch 'master' into rendermode-options
...
Conflicts:
overviewer_core/chunk.py
overviewer_core/src/iterate.c
2011-07-31 22:46:19 -04:00
Aaron Griffith
6a5eb517d6
tallgrass now appears in the same place, no matter what mode is used
2011-07-31 22:33:49 -04:00
Aaron Griffith
91b3010db3
fixed lighting bug introduced by tall grass fix
2011-07-31 22:28:28 -04: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
Aaron Griffith
a7753486dc
Merge branch 'master' into rendermode-options
2011-07-12 12:20:09 -04:00
Aaron Griffith
317f7794fe
Merge branch 'master' into py-package
2011-05-31 20:26:00 -04:00
Aaron Griffith
e84ef2c1d2
Merge branch 'master' into py-package
...
Conflicts:
overviewerConfig.js
overviewer_core/data/overviewerConfig.js
setup.py
web_assets/overviewerConfig.js
2011-05-13 21:37:35 -04:00
Aaron Griffith
e64af5baef
Merge branch 'master' into py-package
2011-05-12 19:21:46 -04:00
Aaron Griffith
383b01859f
Merge branch 'master' into py-package
...
Conflicts:
overviewer_core/data/config.js
overviewer_core/data/web_assets/functions.js
overviewer_core/data/web_assets/style.css
setup.py
web_assets/overviewer.css
web_assets/style.css
2011-05-10 20:19:10 -04:00