feat(lua): added weapon and vehicle cache bindings (#2477)
* Replaced bad example in entities documentation. * Updated Lua documentation for vehicles/weapons to allow for auto generation. * Added Vector3 support to the Lua globals/locals class. * Fixed a bug with get_float in globals/locals returning an int instead of a float. * Fixed globals get_uint/set_uint using signed types for the return/parameter. * Added unsigned int helpers to the locals Lua class.
This commit is contained in:
@ -16,6 +16,8 @@
|
||||
#include "bindings/stats.hpp"
|
||||
#include "bindings/tunables.hpp"
|
||||
#include "bindings/vector.hpp"
|
||||
#include "bindings/weapons.hpp"
|
||||
#include "bindings/vehicles.hpp"
|
||||
#include "file_manager.hpp"
|
||||
#include "script_mgr.hpp"
|
||||
|
||||
@ -210,6 +212,8 @@ namespace big
|
||||
lua::imgui::bind(m_state, m_state.globals());
|
||||
lua::entities::bind(m_state);
|
||||
lua::stats::bind(m_state);
|
||||
lua::weapons::bind(m_state);
|
||||
lua::vehicles::bind(m_state);
|
||||
}
|
||||
|
||||
void lua_module::load_and_call_script()
|
||||
|
Reference in New Issue
Block a user