0
Commit Graph

723 Commits

Author SHA1 Message Date
Aaron Griffith
4977ae8767 added exceptions for .DS_Store and Thumbs.db in mirror_dir 2011-03-27 21:24:25 -04:00
Aaron Griffith
c738777839 Merge commit 'fenixin/dtt-c-render-newblocks' into dtt-c-render 2011-03-27 18:49:18 -04:00
Andrew Chin
38ce8681fd suppport win64 builds 2011-03-27 13:59:13 -04:00
Alejandro Aguilera
69179097c5 Paste the top texture the last in _build_full_blocks 2011-03-27 14:46:15 +02:00
Alejandro Aguilera
805450e5f4 Add cake to textures.py (cake!) 2011-03-27 14:42:21 +02:00
Alejandro Aguilera
e33f55977b Add redstone torches to textures.py (without orientation). 2011-03-27 13:58:42 +02:00
Alejandro Aguilera
8fa8a09492 Add crafting table to the special blocks set. 2011-03-27 13:41:41 +02: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
0fe9c7c050 Fix status line typo 2011-03-26 19:28:32 -04:00
Aaron Griffith
0465787e6a fixed accidental revert of fenixin's fix 2011-03-26 02:03:13 -04:00
Xon
729141d426 Initial chunk cache commit mk2 2011-03-26 13:27:33 +08:00
Andrew Chin
71a2a024cc Print tracebacks on error 2011-03-26 00:06:24 -04:00
Aaron Griffith
16a4abe843 added my render timing script to contrib/ 2011-03-25 22:50:54 -04:00
Aaron Griffith
3c51253eba Merge commit 'xon/dtt-c-render' into dtt-c-render
Conflicts:
	nbt.py
	overviewer.py
2011-03-25 22:44:50 -04:00
Andrew Chin
a6baf5b6e8 Added missing import 2011-03-25 20:45:25 -04:00
Andrew Chin
2be2a48d7c Merge remote-tracking branch 'origin/dtt-c-render' into dtt-c-render 2011-03-25 20:43:04 -04:00
Andrew Chin
82e0bf53b9 Added a new 'listify' parameter to the config file parser
Specifying listify on an option will cause it to be parsed as a list.
Use listdelim to specify the delimiter (defaults to ',')

Examples, assuming you had the following option:
add_option("--test","test", type="int", listify=True)

Command line:
  --test 1          results in [1]
  --test 1,2,3      results in [1,2,3]

Config file:
  test=1            results in [1]
  test="1,2,3"      results in [1,2,3]
  test=[1,4,9]      results in [1,4,9]
2011-03-25 20:42:05 -04:00
Aaron Griffith
84988aa2f6 0-byte region files no longer crash the whole program 2011-03-25 19:48:55 -04:00
Aaron Griffith
8fcc0a993e Merge commit 'fenixin/dtt-c-render-fences-fix' into dtt-c-render 2011-03-25 19:29:00 -04:00
Xon
af3278e3cc Merge fix ups 2011-03-26 02:37:12 +08:00
Xon
21d04cd3fb Better error messages, removed import which triggered a failure 2011-03-26 02:37:11 +08:00
Xon
01790913b3 Check PyImport_ImportModule return result 2011-03-26 02:37:11 +08:00
Xon
e55b7045ea Updated findSigns.py & rerenderBlocks.py to work against region format 2011-03-26 02:37:11 +08:00
Xon
c7920ce61e Fixed multi-world support in multi-layer renderer 2011-03-26 02:37:11 +08:00
Xon
ca36c98641 Initial commit for multi-layer rendering.
Hardwired to use all 4 render modes at once. Todo: add config file/commandline argument support.
2011-03-26 02:37:11 +08:00
Xon
c700afb012 Fixed get_chunks, simplified get_chunk_info 2011-03-26 02:37:10 +08:00
Alejandro Aguilera
593c475e98 Fix problem loading adjacent chunks in some maps. 2011-03-25 17:46:52 +01: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
Xon
8cfa50087a Removed filting chunks from render_worldtile since _get_chunks_in_range can do it trivially before constructing the list 2011-03-25 20:51:57 +08:00
Xon
dbdd5d0fc8 Switched from struct.unpack (module) -> Struct.unpack (class), it compiles the format string and reduces parsing costs. Coalesced a
few unpack calls into a compound unpack call.
Moved the functionality to get a list of valid chunks into get_chunks out from get_chunk_info.
2011-03-25 20:51:56 +08:00
Xon
c1b7b12592 Add reporting of scanning/indexing regions. Shortened paths being sent to the worker processes, and removed os.path.join from _apply_render_worldtiles's inner loop. 2011-03-25 17:50:37 +08:00
Xon
059492b3a1 Drain the processing queue every second by ~1000 to give more consistant feedback and reduce stalls when draining the queue from 10000->500 2011-03-25 17:50:37 +08:00
Andrew Chin
172198558a Moved helper function out of overviewer.py and into util.py
Solves a dependency problem where you can't import overviewer unless the extension is built
2011-03-24 22:45:26 -04:00
Andrew Chin
8dc66083e0 Merge branch 'version_stuff' into dtt-c-render 2011-03-24 22:30:49 -04:00
Andrew Chin
c25e2cce0f Implement a --version option to overviewer
Should also work with py2exe binary kits
2011-03-24 22:27:50 -04:00
Andrew Chin
df6124b425 Remove windows-style newlines 2011-03-24 19:51:33 -04: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
3fdf70b61d Fix problem with get_lvldata in chunk.py: filename = None doesn't mean chunk corrupt. 2011-03-24 23:47:17 +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
7daa1bac9d Now supports both MSVC and mingw32 2011-03-23 22:59:33 -04: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