NodeDefManager: Improve const-correctness of interfaces
authorkwolekr <kwolekr@minetest.net>
Tue, 5 May 2015 20:52:06 +0000 (16:52 -0400)
committerkwolekr <kwolekr@minetest.net>
Tue, 5 May 2015 20:52:06 +0000 (16:52 -0400)
commit633af58a05fb9b3ad7a0a178011f4243e5f8be2e
tree709315cc088d2b3fc2db7c07caf00bd0dd6c053e
parentb785577f03d00c83236782876def4c900edbba4e
NodeDefManager: Improve const-correctness of interfaces

- Add ability to explicitly reset NodeResolve state (useful for unittesting)
- Remove non-essential NodeResolve methods modifying state from INodeDefManager
- Add const qualifier to NodeDefManager and ContentFeatures serialize
src/nodedef.cpp
src/nodedef.h
src/unittest/test_noderesolver.cpp