1073 Commits

Author SHA1 Message Date
David Vierra
12d2ef9c00 Revise method for finding places where mobs can spawn. 2015-11-16 23:08:18 -10:00
David Vierra
bb084f6932 Add more block json keys: materialBlocksMovement, normalCube, fullBlock, materialMapColorIndex, materialLiquid
Remove 'collidable'
2015-11-13 19:31:16 -10:00
David Vierra
c8fe5c6a08 Reformat minecraft_raw.json 2015-11-13 17:24:40 -10:00
David Vierra
df1be775ae Add chunk renderer for positions that can spawn mobs 2015-11-13 17:02:33 -10:00
David Vierra
5fe2468ce0 Profiler uses time.clock on win32 for more accuracy 2015-11-12 13:28:52 -10:00
David Vierra
1b6d9d07fb Reorganize WorldView methods 2015-11-12 12:03:39 -10:00
David Vierra
bbc3263ad7 Compile non-visible nodes
Otherwise they never get compiled again, as setting visible doesn't mark the parent as childNeedsRecompile
2015-11-12 10:37:17 -10:00
David Vierra
f8b30d007a Update README 2015-11-09 11:49:39 -10:00
David Vierra
d36d88c746 DisplayList no longer remembers its drawFunc or calls compile() automatically.
Pass drawFunc when calling compile().
2015-11-09 11:49:07 -10:00
David Vierra
39a717b3ca Issue #169: Init X11 threads for threaded buffer swap
Ref: http://blog.qt.io/blog/2011/06/03/threaded-opengl-in-4-8/
2015-11-09 11:44:52 -10:00
David Vierra
b5889d528c Add function for gathering node statistics 2015-11-07 06:26:09 -10:00
David Vierra
df15798a6e Collapse some one-child nodes in WorldScene into their parents 2015-11-07 06:25:58 -10:00
David Vierra
983bec64ff Skip emitting empty nodes for entity meshes 2015-11-07 06:25:35 -10:00
David Vierra
311a714616 Add names to almost all scene nodes 2015-11-07 06:25:19 -10:00
David Vierra
e2cd8d2258 Move setup.cfg to pytest.ini 2015-11-05 11:00:27 -10:00
David Vierra
ea88d7b36e Finish fixing up test_relight 2015-11-04 13:40:36 -10:00
David Vierra
df4883472c Custom traceback frames are now compatible with IPython 2015-11-04 13:40:35 -10:00
David Vierra
e9feb01a43 Add more excludes to specfile, don't mass-include all source files, only the ones that aren't imported internally 2015-11-04 13:40:35 -10:00
David Vierra
c7cfcd73b8 Update IPython widget for IPython 4.0 2015-11-04 13:40:34 -10:00
David Vierra
bfd2bd9bc9 Fix incorrect dtype in updateLightsByCoord 2015-11-01 15:20:39 -10:00
David Vierra
48e51a12ba Update mcedit2.spec for PyInstaller 3 (really, this time). 2015-11-01 15:20:25 -10:00
David Vierra
9d0dab3c40 Add match and exclude patterns for pytest 2015-11-01 15:20:05 -10:00
David Vierra
459de55e1f Log region reads/writes at a new, lower level than DEBUG. 2015-10-30 22:06:39 -10:00
David Vierra
261df22b80 Remove logging.basicConfig calls from tests
And remove one from blocktypes. What was it even doing there?
2015-10-30 04:55:10 -10:00
David Vierra
b92ac828aa Fix test_relight and history fixture. 2015-10-30 04:53:29 -10:00
David Vierra
3c1abfec8f Travis: Upgrade pip version and install wheel 2015-10-30 04:44:53 -10:00
David Vierra
00913303cc Patch up a few remaining tests 2015-10-30 04:42:14 -10:00
David Vierra
58ab4d32e0 Remove all remaining references to test.templevel 2015-10-30 04:35:12 -10:00
David Vierra
7f1b7d36f1 Enable cached pip packages 2015-10-30 04:07:06 -10:00
David Vierra
0edb5480f6 Fix a few tests that had collection errors. 2015-10-30 04:03:03 -10:00
David Vierra
f5f6ab0e49 Remove logging from RenderNode
This reverts commit fd795bf79cfc0e068d0d7b8e58acc0f034150f69.
2015-10-30 03:23:32 -10:00
David Vierra
91f6b2be94 ChunkLoader now notifies clients of deleted chunks via chunkInvalid 2015-10-28 19:17:47 -10:00
David Vierra
af264492c2 Begin naming Nodes 2015-10-28 19:09:03 -10:00
David Vierra
45c6ab9031 Increase camera initial speed. 2015-10-28 19:06:10 -10:00
David Vierra
787e8ba5c8 Fix deleted chunks not being purged from caches. 2015-10-28 19:05:58 -10:00
David Vierra
ced819a668 Camera update ticks now tick relative to the time interval between updates. 2015-10-28 03:54:31 -10:00
David Vierra
d364e5db59 Fix blocktypes not being created on newly created worlds 2015-10-28 03:52:55 -10:00
David Vierra
c858d4ebfe Finish modifying old tests to run under pytest 2015-10-28 03:52:45 -10:00
David Vierra
fc82c17f9b Skip transform tests (TODO: these are not automated tests, fix) 2015-10-28 03:52:16 -10:00
David Vierra
1e65b6ef2d Increase cache limit in testThrashing to be more than the maxsize of recentChunks 2015-10-28 00:52:05 -10:00
David Vierra
5f01a1bde2 Rewrite test fixtures using _temp_file and _temp_level 2015-10-28 00:50:27 -10:00
David Vierra
1a80d4b699 Rearrange tests/ folder so tests/mceditlib doesn't overload src/mceditlib in module searches 2015-10-28 00:34:57 -10:00
David Vierra
f459f3d9f2 Install xdist and catchlog for tests 2015-10-28 00:34:56 -10:00
David Vierra
92f2715f3e Add travis.yml 2015-10-28 00:34:56 -10:00
David Vierra
bf9a278296 Move cython to mceditlib reqs 2015-10-28 00:34:55 -10:00
David Vierra
8c33e43112 Split setup.py into two files 2015-10-28 00:34:55 -10:00
David Vierra
fa02b40cf1 requirements.txt now references requirements-mceditlib.txt 2015-10-28 00:34:54 -10:00
David Vierra
b4c605cb1c Move all tests/benchmarks out of src/ and into tests/ and benchmarks/ 2015-10-28 00:34:53 -10:00
David Vierra
81c65fb925 Swap GL buffers on a second thread to improve chunk loading speed and UI responsiveness. 2015-10-27 23:15:37 -10:00
David Vierra
f71f0f749e Increase maxFPS, improving perceived smoothness 2015-10-27 23:15:36 -10:00