Rewrite of the Eagle Engine in Lua and C++