Commit Graph
33 Commits
Author SHA1 Message Date
MihailRis 34d2e6d400 migrate from dynamic::Value to dv::value & total erase namespace 'dynamic' 2024-09-18 23:31:18 +03:00
MihailRis 8ef288c189 refactor lua scripting a bit 2024-08-19 00:57:49 +03:00
MihailRis de5c75d782 replace include guards with pragma once 2024-08-10 01:57:59 +03:00
Vyacheslav Ivanov bbf33e8e4d format: reformat project
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-03 19:53:48 +03:00
MihailRisandGitHub ba046a52c0 Revert "fix: optimization: Various PVS-Studio warnings" 2024-08-02 14:51:44 +03:00
Vyacheslav Ivanov 2c1103307f fix: optimization: PVS-Studio warning V813
Passing large objects by const reference avoids unnecessary copying and enhances efficiency.

Reported by: PVS-Studio
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-02 05:35:55 +03:00
MihailRis fe1ac69b57 improve lua errors handling (traceback) & lua stack leaks fixes 2024-07-24 16:19:14 +03:00
MihailRis e0cb57a10a add quat Lua library 2024-07-22 19:05:27 +03:00
MihailRis fbced2504e fix msvc build 2024-07-19 10:32:00 +03:00
MihailRis 02c9c4ced3 add mat4.from_quat(...) & update mat4.decompose(...) 2024-07-19 07:48:42 +03:00
MihailRis fc3994446a update entity script semantics 2024-06-29 21:01:30 +03:00
MihailRis 3982de76d4 Merge branch 'main' into entities 2024-06-25 19:01:45 +03:00
MihailRis 33b21953e3 fix: lua::tovec + add vecn.tostring 2024-06-25 19:01:00 +03:00
MihailRis 9fc8f7342f Merge branch 'main' into entities 2024-06-25 18:47:15 +03:00
MihailRis c7db73e25b add vecn.sub(...), .mul(...), .div(...), .length(...), .normalize(...) 2024-06-25 18:24:48 +03:00
MihailRis 5ede84edc7 add vec2, vec3, vec4 libraries 2024-06-25 17:25:42 +03:00
MihailRis 8e931d8f53 add entity library 2024-06-25 16:35:06 +03:00
MihailRis 097d4e3c6b add new mat4.tostring overload 2024-06-18 00:18:21 +03:00
MihailRis 6062f3a488 add mat4.mul 2024-06-17 22:19:21 +03:00
MihailRis d12cfc6421 fix lua::pushvalue 2024-06-17 10:59:30 +03:00
MihailRis 8f046b86b9 add mat4.scale mutating overload 2024-06-17 10:56:31 +03:00
MihailRis c7a843bc63 add mat4 library 2024-06-17 10:12:33 +03:00
MihailRis 20ef11e5a2 add bytearray:append(b) 2024-06-16 21:00:50 +03:00
MihailRis 490727fdc0 add lua user types + bytearray 2024-06-16 20:15:26 +03:00
MihailRis 913e5983b1 refactor: complete 'lua' namespace use 2024-06-11 13:51:11 +03:00
MihailRis 90bc86408b refactor: LuaState replaced with lua_engine 2024-06-11 13:18:30 +03:00
MihailRis 0647bc6f90 refactor: 'lua' namespace expansion 2024-06-11 03:37:35 +03:00
MihailRis 7973a9c32b fix: lua coroutines support 2024-06-11 01:52:28 +03:00
MihailRis 1abb2cf327 add block.is_extended, .get_size, .is_segment and .seek_origin 2024-06-09 23:36:19 +03:00
MihailRis 1917cbba8b new player.* functions 2024-05-24 01:38:39 +03:00
MihailRis 548c55fced luaL_error use replaced with c++ exceptions 2024-05-12 11:00:11 +03:00
MihailRis 1627e21c1d the final rename 2024-05-06 03:38:19 +03:00
MihailRis 9ea67deb13 'ifnot' template property + hpp 2024-05-06 00:45:43 +03:00