Aaron Griffith
f9b0f8667b
initial update of C code to work with textures object
2012-01-01 22:44:08 -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
Aaron Griffith
42596416d9
sdist and install now work
...
next step is using a custom data dir, and falling back on the package
data dir. Also, fixing --version.
2011-03-29 13:49:50 -04:00