0
Commit Graph

103 Commits

Author SHA1 Message Date
Aaron Griffith
62119c37ef bumped extension version for fix that closes #414 2011-06-23 15:21:46 -07:00
Aaron Griffith
79944d4f90 fixed out-of-bounds index segfault 2011-06-23 17:44:04 -04: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
Andrew Chin
b1ee31bffa Proper fix for build issue (Fixes #395) 2011-06-09 11:50:09 -04:00
Andrew Chin
56a2e1f834 Move decl to top of block 2011-06-09 11:45:36 -04:00
Alejandro Aguilera
57d2a525ff Add self. 2011-06-09 01:11:38 +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
Aaron Griffith
8565919c89 fixed uninitialized texture pointer, and bumped extension version 2011-05-31 20:05:45 -04: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
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
Aaron Griffith
93424c296d textures are now only generated when actual *rendering* is done 2011-05-13 12:30:13 -04:00
CounterPillow
027419fa5f Moved the blockid check further up in the for-loop to increase performance while rendering empty chunks. 2011-05-12 13:46:19 -04: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
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
Aaron Griffith
c1e71f0fda grass now has snowy sides when covered in snow 2011-05-01 19:42:27 -04: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
Aaron Griffith
d163e7c527 support for biome coloring on side grass (closes issue #341) 2011-04-30 23:11:53 -04:00
Aaron Griffith
5f6ceebc81 fixed MIN/MAX mixup that prevented spawn overlay from working 2011-04-18 11:02:39 -07:00
Aaron Griffith
c790ad5102 windows build fixes 2011-04-18 11:03:29 -04:00
Aaron Griffith
5c3b3be418 basic rendermode inheritance introspection (no more hacky overlay list) 2011-04-16 20:08:38 -04:00
Aaron Griffith
5294b88df9 more fixes for spawn overlay at z == 127 2011-04-16 19:33:21 -04:00
Aaron Griffith
26b35906a4 fix for cave mode merge 2011-04-16 19:20:21 -04:00
Aaron Griffith
5f69b78c75 Merge branch 'dtt-c-render' into overlays
Conflicts:
	setup.py
2011-04-16 11:25:04 -04:00
Aaron Griffith
ad358fa7fd fixed spawn mode for chunk tops 2011-04-15 21:44:59 -04:00
Aaron Griffith
9cc01ddc21 removed some blocks from solid_blocks, fixed overlays on snow, half-steps 2011-04-15 21:36:31 -04:00
Aaron Griffith
af559f6b88 bumped extension version for cave mode 2011-04-15 09:02:39 -07:00
Aaron Griffith
8fa515fa59 fixes for building cave mode on windows 2011-04-14 15:12:18 -04: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
Andrew Chin
a2782a0499 MSVC is strict about variable declaration 2011-04-12 23:59:03 -04:00
Aaron Griffith
ab40d980af Merge branch 'dtt-c-render' into overlays
Conflicts:
	setup.py
2011-04-03 22:44:44 -04:00
Aaron Griffith
e5660bf925 fixed snow/half-step edge lines 2011-04-03 00:15:48 -04:00
Andrew Chin
6c1d85f699 Don't crash if a biome-chunk is missing 2011-04-02 14:30:44 -04:00
Andrew Chin
7cf8add231 Fix win86_32 build issues 2011-04-02 01:00:33 -04:00
Andrew Chin
50a0186b4f Bump extension version 2011-04-02 00:38:41 -04:00
Andrew Chin
a30e415597 Render edge lines 2011-04-02 00:37:16 -04:00
Aaron Griffith
298cdb2281 Merge branch 'dtt-c-render' into overlays 2011-04-01 21:54:05 -04:00
Andrew Chin
dcdd2a9590 Merge branch 'import_help' into dtt-c-render
Conflicts:
	src/main.c
2011-03-30 21:48:36 -04:00
Andrew Chin
744a65f1e2 Provide some better errors messages to the user.
If the c_overviewer module is present but will not import, provide a
different error than if the modules doesn't exist at all.

Also, added a new mechanism to force users to re-build their extension
if needed (see the top of overviewer.h)
2011-03-30 21:47:06 -04:00
Aaron Griffith
7955092e66 Merge branch 'dtt-c-render' into overlays
Conflicts:
	overviewer.py
	setup.py
2011-03-29 05:57:56 -04:00
Aaron Griffith
5f0766839e added metadata to rendermodes, and python bindings for them 2011-03-29 05:13:25 -04:00
Aaron Griffith
862ee62cb9 fixed warning during compile about endian.c 2011-03-29 04:46:40 -04:00
Aaron Griffith
f23d3ddac9 converted spawn into a overlay-based rendermode 2011-03-28 03:40:02 -04:00