0
Commit Graph

20 Commits

Author SHA1 Message Date
Aaron Griffith
5ae843aa80 fixed --list-rendermodes bug, and made sure custom modes show up 2011-06-11 04:38:38 -04:00
Aaron Griffith
f5a187dad0 bumped extension version, and added in a few new rendermode options 2011-06-11 04:27:04 -04:00
Aaron Griffith
a37d0ce9bc added options metadata (and python accessor) 2011-06-10 22:27:46 -04:00
Aaron Griffith
6d667cb262 added (currently unchecked) global rendermode option support 2011-06-09 23:28:29 -04:00
Alejandro Aguilera
57d2a525ff Add self. 2011-06-09 01:11:38 +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
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
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
Aaron Griffith
5c3b3be418 basic rendermode inheritance introspection (no more hacky overlay list) 2011-04-16 20:08:38 -04:00
Aaron Griffith
5f0766839e added metadata to rendermodes, and python bindings for them 2011-03-29 05:13:25 -04:00
Aaron Griffith
1f27ccb9be added overall_alpha parameter to alpha_over, speeding up lighting 2011-03-26 21:52:16 -04:00
Aaron Griffith
d84af9fa4b changed lighting rendermode to use new state variables 2011-03-24 19:44:21 -04:00
Andrew Chin
977bf09a12 Bunch of changes to make VS happy
Mostly variable declarations moved to the top of blocks.
is_transparent can't be inline, since it's needed in several places
2011-03-23 20:34:49 -04:00
Aaron Griffith
c18d6924ea fixed transparent block lighting 2011-03-23 03:27:42 -04:00
Aaron Griffith
d36bd20e6a fixed lighting for half-step blocks 2011-03-23 02:52:19 -04:00
Aaron Griffith
ccddba2d81 ported spawn render mode to C 2011-03-23 02:31:09 -04:00
Aaron Griffith
19a2eafcd5 fixed black lines showing up on lit maps, at chunk boundaries 2011-03-23 00:19:54 -04:00
Aaron Griffith
f5264e9306 rewrote get_lighting_coefficient in C 2011-03-23 00:03:26 -04:00
Andrew Chin
a885568d4e Added missing DECREF
memory usage is stable and constant over a 7 minute execution
2011-03-21 23:23:35 -04:00
Aaron Griffith
b312cef52e put lighting render mode in its own file; it's about to get *way* more complicated 2011-03-21 19:53:20 -04:00