0
Commit Graph

90 Commits

Author SHA1 Message Date
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
Aaron Griffith
83db528d81 added callback for derived rendermodes to easily provide overlay color 2011-03-28 03:20:16 -04:00
Aaron Griffith
d4bd1d713c overlay mode now only considers blocks where overlays make sense 2011-03-28 03:09:00 -04:00
Aaron Griffith
9f69f099ad initial support for map overlays 2011-03-28 02:50:36 -04:00
Andrew Chin
38ce8681fd suppport win64 builds 2011-03-27 13:59:13 -04:00
Aaron Griffith
e0e571971a added endianness helper functions, and reading biome data directly 2011-03-27 06:07:43 -04:00
Aaron Griffith
fc176206ff initial C biome code 2011-03-27 05:49:57 -04:00
Aaron Griffith
310cb8a1f6 Merge commit 'fenixin/dtt-c-render-water-redstone' into dtt-c-render
Changed 0b0000 constants into 0x00 equivalents.
2011-03-26 23:34:42 -04:00
Aaron Griffith
1f27ccb9be added overall_alpha parameter to alpha_over, speeding up lighting 2011-03-26 21:52:16 -04:00
Alejandro Aguilera
afb05098f9 Add support for redstone and improve the looking of waterfalls.
Changes in textures.py and iterate.c
2011-03-27 03:51:45 +02:00
Andrew Chin
71a2a024cc Print tracebacks on error 2011-03-26 00:06:24 -04:00
Xon
6c9bbc25da Better error messages, removed import which triggered a failure 2011-03-25 21:42:18 +08:00
Xon
1d5b338d56 Check PyImport_ImportModule return result 2011-03-25 21:34:06 +08:00
Aaron Griffith
d84af9fa4b changed lighting rendermode to use new state variables 2011-03-24 19:44:21 -04:00