Petr Mikheev
|
eae1e87081
|
[Lua] Update openmw.storage
|
2022-04-23 18:55:12 +02:00 |
|
Petr Mikheev
|
45c9635e94
|
Fix getmetatable, fix pairsForReadonly, add util.loadCode, _G
|
2022-04-14 01:00:02 +02:00 |
|
Benjamin Winger
|
21ffbcc4b4
|
Lua i18n updates
|
2022-04-10 07:57:02 +00:00 |
|
Petr Mikheev
|
eca64b48e8
|
Bitwise operations in Lua
|
2022-04-06 21:55:05 +02:00 |
|
uramer
|
36c46ada6f
|
Pass unhandled Lua UI events to the parent
|
2022-03-14 19:07:23 +00:00 |
|
uramer
|
a1abc84f59
|
Implement pairs and ipairs for ui.content and ui.layers. Document all iterable types in a uniform way.
|
2022-02-21 20:43:27 +00:00 |
|
Petr Mikheev
|
6876851766
|
Allow require to return not a table in Lua
|
2022-02-12 12:02:17 +01:00 |
|
uramer
|
ede9d27437
|
Element-wise multiplication and division of Lua vectors
|
2022-02-10 19:43:27 +00:00 |
|
Petr Mikheev
|
a294adcdaf
|
Proper support of pairs and ipairs in Lua; fix bug in makeReadOnly .
|
2022-02-06 22:10:20 +00:00 |
|
psi29a
|
6f7a067e0c
|
Merge branch 'esmrename' into 'master'
esm refactor work
See merge request OpenMW/openmw!1575
|
2022-01-27 17:52:42 +00:00 |
|
Petr Mikheev
|
067d71f7eb
|
Fix heap use after free in components/lua/storage.cpp
|
2022-01-23 22:37:04 +01:00 |
|
Bret Curtis
|
d1fb854521
|
move most of the files from esm to esm3, keep common code in esm; this is make space for a future with esm4
esm typo
esm typo
|
2022-01-23 17:04:48 +01:00 |
|
uramer
|
d1d8f058ac
|
Lua bindings for Colours
|
2022-01-17 22:35:06 +00:00 |
|
uramer
|
c07fb75bf7
|
Merge branch 'lua_settings' into 'master'
Permanent storage for Lua
See merge request OpenMW/openmw!1489
|
2022-01-15 21:52:09 +00:00 |
|
Petr Mikheev
|
97d56e198f
|
Use double precision for vectors serialization in Lua
|
2022-01-15 11:25:30 +01:00 |
|
Petr Mikheev
|
a182fdeea1
|
Permanent storage for Lua data
|
2022-01-11 11:21:03 +01:00 |
|
Petr Mikheev
|
2d1b100239
|
Change terminology of gameSecond/gameHour to simulationTime/gameTime
|
2022-01-10 21:03:35 +01:00 |
|
Josquin Frei
|
d9672f7d46
|
Add serialization for TransformM and TransformQ
|
2022-01-10 12:42:03 +00:00 |
|
Petr Mikheev
|
6a19a66ae5
|
Fix #6535
|
2022-01-05 20:08:03 +01:00 |
|
Petr Mikheev
|
5eca122f04
|
Avoid creating multiple i18n contexts with the same name.
|
2022-01-05 19:50:52 +01:00 |
|
Petr Mikheev
|
0f246e7365
|
Use a separate instance of Lua i18n for every context
|
2022-01-02 09:58:51 +01:00 |
|
Petr Mikheev
|
7549496162
|
A few small fixes + expose makeReadOnly to Lua + an option to apply makeReadOnly during deserialize
|
2021-12-15 02:38:54 +01:00 |
|
uramer
|
c865114b9b
|
Lua UI Layers
|
2021-12-14 17:38:06 +00:00 |
|
Petr Mikheev
|
f9136d4392
|
Support multiple arguments in Lua callbacks.
|
2021-11-21 13:12:35 +01:00 |
|
Petr Mikheev
|
d5ca091d6e
|
Make util.rotateX, util.rotateY, rotate.Z consistent with morrowind rotation
|
2021-11-19 20:37:21 +01:00 |
|
Petr Mikheev
|
c7d6620c35
|
Add error checking in MWLua::Action
|
2021-11-15 01:17:53 +01:00 |
|
psi29a
|
bd694128b9
|
Merge branch 'lua_input' into 'master'
Update Lua package openmw.input
See merge request OpenMW/openmw!1356
|
2021-11-14 19:57:37 +00:00 |
|
Evil Eye
|
6daefe3ddc
|
Cast to the unsigned char expected by cctype functions
|
2021-11-14 11:26:18 +01:00 |
|
Evil Eye
|
f23bd51175
|
Don't check bounds when the type is unambiguously a char
|
2021-11-14 11:26:18 +01:00 |
|
Evil Eye
|
751e8cf76b
|
Do a bounds check before calling functions defined in cctype
|
2021-11-14 11:26:15 +01:00 |
|
Petr Mikheev
|
ed85393288
|
Replace sol::table::create_table_with with a more compiler-friendly implementation. It fixes MSVC error "compiler is out of heap space" and also slightly reduces binary size.
|
2021-11-11 22:46:01 +01:00 |
|
Petr Mikheev
|
e7ec89573e
|
Refactoring. Lua Callback is moved from apps/openmw/mwlua to components/lua.
|
2021-10-31 17:47:46 +01:00 |
|
Petr Mikheev
|
4ec7f0625e
|
Store Lua timers in std::map rather than in sol::table.
|
2021-10-26 21:32:48 +02:00 |
|
Petr Mikheev
|
9adc190209
|
Redesign LuaUtil::ScriptsContainer to work with ScriptsConfiguration
|
2021-10-26 21:32:48 +02:00 |
|
Petr Mikheev
|
33d71be81f
|
Add LuaUtil::ScriptsConfiguration
|
2021-10-26 21:32:02 +02:00 |
|
psi29a
|
c3f5e8f968
|
Merge branch 'lua_transform' into 'master'
3D transforms in Lua
See merge request OpenMW/openmw!1235
|
2021-10-06 09:21:21 +00:00 |
|
Petr Mikheev
|
24ecdc37a7
|
Fix crash in LuaUtil::ScriptsContainer::~ScriptsContainer()
|
2021-09-30 03:01:38 +02:00 |
|
Petr Mikheev
|
48538d5cef
|
3D transforms in Lua
|
2021-09-28 20:37:47 +02:00 |
|
Petr Mikheev
|
fb3917fc1a
|
Lua callbacks
|
2021-09-28 09:36:23 +02:00 |
|
Petr Mikheev
|
2f25257a3e
|
Move LuaState::makeReadOnly(sol::table) out of the class because it doesn't need to access LuaState internals.
|
2021-09-19 14:38:27 +02:00 |
|
Petr Mikheev
|
33d4d88447
|
Function LuaUtil::toString
|
2021-08-31 09:41:58 +02:00 |
|
Petr Mikheev
|
a94072243b
|
Lua command core.quit
|
2021-08-04 19:14:24 +03:00 |
|
Petr Mikheev
|
3ce5e9e680
|
Improve error messages in components/lua/serialization.cpp
|
2021-08-03 16:42:26 +03:00 |
|
Petr Mikheev
|
8ff8ec4abd
|
Fix coverity issues
|
2021-07-12 12:51:25 +02:00 |
|
elsid
|
36ec877a8e
|
Add missing include from sol/sol.hpp
|
2021-07-10 01:01:50 +02:00 |
|
Petr Mikheev
|
702eb19271
|
Fixes and refactoring
|
2021-07-09 20:48:54 +02:00 |
|
Petr Mikheev
|
cc7dbabd19
|
Change argument of onKeyPress
|
2021-07-09 20:48:54 +02:00 |
|
Petr Mikheev
|
479856f812
|
Add components/lua/scriptscontainer and components/esm/luascripts
|
2021-07-09 20:03:27 +02:00 |
|
Petr Mikheev
|
8dbaf6022c
|
Add components/lua/serilalization
|
2021-07-09 20:03:27 +02:00 |
|
Petr Mikheev
|
4b068b27ca
|
Add components/lua/luastate and components/lua/utilpackage
|
2021-07-09 20:03:27 +02:00 |
|