0
Commit Graph

80 Commits

Author SHA1 Message Date
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
Aaron Griffith
2d64d2d84d changed 0b(...) constants into (1 << n) equivalents
0b(...) isn't supported by GCC :(
2011-03-24 19:41:08 -04:00
Alejandro Aguilera
4f5bf93b49 Fix "that NULL should be Py_None" 2011-03-24 23:54:58 +01:00
Alejandro Aguilera
d04bea2b66 Add functions generate_pseudo_data and check_adjacent_blocks to iterate.c
Fences working.
2011-03-24 23:43:11 +01:00
Alejandro Aguilera
4da53b4f9c Load the 4 adjacent blocks in iterate.c 2011-03-24 23:40:01 +01:00
Andrew Chin
57e99725df Removed noise leftover from last commit 2011-03-23 21:31:51 -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
69bb56dcb4 added night rendermode 2011-03-23 00:33:59 -04:00