| 633 | } |
| 634 | |
| 635 | void LuaEnvironment::reset_temporaries() |
| 636 | { |
| 637 | _num_vec3 = 0; |
| 638 | _num_quat = 0; |
| 639 | _num_mat4 = 0; |
| 640 | |
| 641 | #if CROWN_DEBUG |
| 642 | _vec3_marker = (uintptr_t)_random.integer(1 + LUA_VECTOR3_MARKER_MASK); |
| 643 | _quat_marker = (uintptr_t)_random.integer(1 + LUA_QUATERNION_MARKER_MASK); |
| 644 | _mat4_marker = (uintptr_t)_random.integer(1 + LUA_MATRIX4X4_MARKER_MASK); |
| 645 | #endif |
| 646 | } |
| 647 | |
| 648 | static void console_command_script(ConsoleServer &cs, u32 client_id, const char *json, void *user_data) |
| 649 | { |