Update set_mapgen_params and set_gen_notify Lua API to use new flag format
Fix race condition on exit to menu
Update ABM object counts when triggers add objects

Also fixes long-standing accuracy issue due to unknown wider
object count not being incremented.
Correct misleading detached inventory error message

Looks like a bit of hasty copying and pasting from s_item.cpp.
Fix generating winresource.o with build dir != source dir
Fix error when calling minetest.node_punch without a pointed_thing
Remove goto from Environment::removePlayer
Pass arguments by reference
Replace usage of long long with u64/s64
Fix special characters in pause and message menu
Fix game pause in singleplayer
Use fixed-width format specifiers in serializeStructToString
Revert "Use fixed-width format specifiers in serializeStructToString"

This reverts commit 875f1327a47f78d783c3abc7f7acc3977dc286ec.
Fixed width format specifiers are only officially availale in C99 and C++11.
Make sure we get a stacktrace for as many lua errors as possible
Fix sound not being played at the correct place.
Make serializeStructToString use an ostringstream
Revert "Make sure we get a stacktrace for as many lua errors as possible"

This reverts commit 362ef5f6ced862daa4733034810d0b07e2ad5d89.

Stack tracebacks couldn't be generated in LuaError::LuaError anyway and this
caused a second, empty traceback in most cases.  In cases where there wasn't
annother traceback the stack had already unwound and the traceback was empty.
Remove lua_State parameter from LuaError::LuaError
Add more informative error messages for inventory and item method errors
Normal maps generation on the fly.
Parallax mapping with slope information.
Overriding normal maps.