0
Commit Graph

204 Commits

Author SHA1 Message Date
Aaron Griffith
bca7867b86 pushed exception setting into the relevant function, removed redundant exceptions
The following functions set exceptions automatically:
PyImport_ImportModule, PyObject_GetAttrString, PyArg_ParseTuple. All
the exception setting functions in c_overviewer should act the same
way and set their own exceptions before returning.

Notably, PyDict_GetItemString does *not* set exceptions, so it is
handled specially in render_mode_find_interface.
2011-11-22 17:32:47 -05:00
Andrew Chin
4739f4af93 More specific rendermode error messages 2011-11-22 12:25:02 -05:00
Andrew Chin
9b36dfc237 Fix reference leak 2011-11-22 11:33:11 -05:00
Andrew Chin
1a96b89e78 Properly set exceptions, instead of simply returning NULL 2011-11-22 11:30:48 -05:00
Aaron Griffith
e500a1ab26 Merge branch '19prep'
Conflicts:
	overviewer_core/src/overviewer.h
	overviewer_core/textures.py
2011-11-18 17:25:01 -05:00
Aaron Griffith
f6651cd759 bumped extension number to prepare for likely merge tomorrow 2011-11-17 09:33:22 -05:00
Aaron Griffith
eac7561ed1 redirecting output to a log file now works on Python 2.6 (Issue #535) 2011-11-15 15:47:33 -05:00
Alejandro Aguilera
b08b15c84f Fix rail north rotation. 2011-11-15 09:48:30 +01:00
Alejandro Aguilera
6f0b8f74ce Added buttons. 2011-11-15 09:32:24 +01:00
Andrew Brown
142166ef8e Failing to delete a corrupt tile should really be an error in the log. 2011-11-13 11:36:27 -05:00
Andrew Brown
0a5c90ba98 delete a tile if the innertile routine can't open it
This makes corrupt tiles self-correcting on subsequent runs. Before,
the warning is printed but the tile remains. Worse, the warning won't be
printed again.
2011-11-13 11:23:49 -05:00
Aaron Griffith
944edf4ef8 changed material property lookups to use a bit table, not python sets 2011-11-11 20:05:29 -05:00
Aaron Griffith
afd3ad639b textures are now stored in a continuous array in memory, instead of a dict 2011-11-11 15:49:08 -05:00
Aaron Griffith
dc0110ee73 unknown blocks are no longer assumed to be transparent 2011-11-10 09:51:25 -05:00
Aaron Griffith
74e0ef2ad6 brought solid_blocks (etc.) sets back in line with old values 2011-11-10 09:42:21 -05:00
Aaron Griffith
ae651b87ec Merge branch 'texture-packs' 2011-11-09 13:59:11 -05:00
Aaron Griffith
acbf87db3f bumped extension version for new smooth-lighting mode 2011-11-07 19:50:55 -05:00
Aaron Griffith
9b39a96fef Merge branch 'smooth-lighting' 2011-11-07 19:46:10 -05:00
Aaron Griffith
c0d37004cc now using MCPatcher animated water/lava textures, if present 2011-11-07 16:57:34 -05:00
Aaron Griffith
bca4b9b011 added support for loading textures directly out of texture packs 2011-11-07 16:57:34 -05:00
Alejandro Aguilera
e2dde5e6e0 Add lily pads to biome tinting. Fix pumpkin and melon stem. 2011-11-07 16:21:03 +01:00
Alejandro Aguilera
29bc7fa0ba Update iterate.c for nether brick fences and update the way glass panes and iron bars stick. 2011-11-07 15:41:55 +01:00
Alejandro Aguilera
25493c071f Add place holders for levers and buttons so the block is transparent. 2011-11-07 15:20:43 +01:00
Alejandro Aguilera
6dbac888d2 Fix holes in stairs. 2011-11-07 13:26:22 +01:00
Alejandro Aguilera
3f628dcc1b Add all the 1.9 pre-release blocks. 2011-11-07 13:16:35 +01:00
Alejandro Aguilera
1cfe21153a All blocks before 1.9pre added. 2011-11-07 11:56:35 +01:00
Andrew Brown
2e28375786 damn semicolons! 2011-11-06 20:58:50 -05:00
Aaron Griffith
53dbdc98c6 added special smooth-lighting exception for water 2011-11-05 23:29:51 -04:00
Andrew Chin
42593bab58 Use a terse logging line if --verbose is not specified 2011-11-03 21:29:27 -04:00
Aaron Griffith
c1fdcffad7 fixed rendering error in snow and half-steps 2011-11-03 16:07:56 -04:00
Aaron Griffith
acb2d159f5 filled in simpler blocks between id 50 and 85 2011-11-03 16:05:25 -04:00
Andrew Chin
eb1f79ddf1 Fixed typo 2011-11-03 11:44:36 -03:00
Alejandro Aguilera
2cc160bcaa Add up to blockid 85. 2011-11-03 13:52:02 +01:00
Aaron Griffith
cc4877f149 fixed stochastic_render and regionlists working together 2011-11-01 23:43:05 -04:00
Aaron Griffith
4d5f19b081 Merge branch 'agrif-stochastic' 2011-11-01 23:20:05 -04:00
Aaron Griffith
c9fc7eba62 textures added back for blocks up to id 50 2011-11-01 21:10:11 -04:00
Aaron Griffith
da142dfb7a textures re-implemented for blocks up to id 25 2011-11-01 18:18:29 -04:00
Aaron Griffith
670a458ec1 made sure smooth-lighting honors the shade_strength option 2011-11-01 15:59:03 -04:00
Aaron Griffith
7a92343bb8 @material and block have been made more verbose (Issue #516) 2011-11-01 15:51:10 -04:00
Andrew Brown
bcec6529d5 Merge pull request #524 from overviewer/fancylogging
Fancylogging for all!
2011-11-01 11:23:35 -07:00
Andrew Chin
1b9a40e183 Removed extra newline 2011-11-01 10:29:58 -04:00
Andrew Brown
470440563c changed windows logging to be a special output stream 2011-11-01 00:11:13 -04:00
Andrew Chin
6a67841b44 Windows code for fancy colors 2011-10-31 22:38:11 -04:00
Aaron Griffith
4b905685eb major textures.py restructuring, not all textures implemented (Issue #516)
Be careful -- the build_* and transform_* functions no longer have a
blockID argument, because that made no sense.
2011-10-31 20:57:05 -04:00
Andrew Brown
1d077fe34e better logging formatter with support for color 2011-10-31 19:01:39 -04:00
Aaron Griffith
8e0a82ba62 unified blockmap and specialblockmap (Issue #516) 2011-10-31 13:58:25 -04:00
Aaron Griffith
75858f2df8 removed historical, seperate mask from texture tuples (Issue #516) 2011-10-31 13:40:38 -04:00
Aaron Griffith
69c109fc05 moved trasparent_blocks, etc. into textures.py (Issue #516) 2011-10-31 13:28:28 -04:00
Jason Scheirer
8a925ecc52 Handle minecraft.jar if it's a directory (if you've installed mods etc.) 2011-10-31 01:34:48 -07:00
Aaron Griffith
64e67cc827 fixed crash when SpawnY wasn't in [0, 128) 2011-10-30 18:06:28 -04:00