psi29a
6754b8d941
Revert "Merge branch 'were_engineers_not_salt_miners' into 'master'"
...
This reverts merge request !4178
2024-06-25 20:58:31 +00:00
Dave Corley
1a79e79f57
FEAT: Lua Engine Handler for MWScript startscript
functionality
2024-06-24 07:09:23 +00:00
uramer
6792cf02b2
Group owner bindings into a table
2024-02-05 18:48:53 +01:00
Petr Mikheev
c67b866a11
Replace const ESM::RefNum&
-> ESM::RefNum
2023-09-15 19:38:09 +02:00
elsid
c9c32d9a0d
Cleanup includes
2023-07-29 00:16:43 +02:00
Petr Mikheev
790ddcf32e
Fix #7420 (Local scripts on items cause the game to crash when activated)
2023-06-12 21:25:48 +02:00
Petr Mikheev
90397662bc
Lua bindings for magic. Based on the work made by @bharbich in !2765 .
2023-04-20 18:48:34 +02:00
Petr Mikheev
0b385d5db9
Create MWWorld::SafePtr
2023-03-13 23:44:00 +01:00
Petr Mikheev
b8fb013edf
Merge MWLua::ObjectRegistry and MWWorld::WorldModel
2022-12-28 12:45:11 +01:00
clang-format-bot
ddb0522bbf
Apply clang-format to code base
2022-09-22 21:35:26 +03:00
elsid
c88d3e712d
Cleanup mwlua includes
2022-05-16 22:25:48 +02:00
Petr Mikheev
43bed7f0d2
[Lua] Split obj.inventory into Actor.inventory(obj) and Container.content(obj)
2022-03-15 23:35:36 +01:00
Petr Mikheev
d251c4e2a1
[Lua] Change behavior of obj.type
2022-03-15 23:35:36 +01:00
Petr Mikheev
af93ebf433
[Lua] Move class-specific functions to openmw.types
2022-03-15 19:23:26 +01:00
Petr Mikheev
6e4f628866
Replace inventory:get<Type>()
with inventory:getAll(<Type>)
2022-02-03 02:05:49 +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
Petr Mikheev
6aab246879
Add ESM records that are needed to store Lua scripts configuration;
...
Use ptr.getType() (i.e. esm record names) instead of typeid(ptr.getClass()) in apps/openmw/mwlua.
2021-10-26 21:32:02 +02:00
Bo Svensson
d6613d3677
mostly reverts MWLua changes ( #3170 )
...
We just can no longer use the former ptr.getTypeName() as a fallback, but I do not suppose it matters. This value was an implementation defined string that usually contained a garbled mess.
Probably we should additionally refactor Lua types completely now that we have Ptr::getType(). I will leave this up to MWLua developers.
2021-10-11 16:56:26 +02:00
Bo Svensson
ef906cbfa8
improves MWClass mapping ( #3166 )
...
Currently, we use a peculiar mapping of ESM classes by their std::type_info::name. This mapping is an undefined behaviour because std::type_info::name is strictly implementation defined. It could return a non-unique value on some platforms. With this PR we use the unsigned int sRecordId of the ESM class as a more efficient lookup type that does not build on undefined behaviour. We can expect marginally faster save-game loading with these changes as well.
2021-10-11 13:46:21 +02:00
Petr Mikheev
85c441ec9a
Refactoring and minor fixes related to active/inactive object state
2021-07-09 20:48:54 +02:00
Petr Mikheev
c463f52390
Add Cell Lua bindings
2021-07-09 20:48:54 +02:00
Petr Mikheev
d5cda61855
Console command "reload lua"
2021-07-09 20:24:56 +02:00
Petr Mikheev
32218f6dd5
More Lua bindings
2021-07-09 20:24:56 +02:00
Petr Mikheev
3d7e306064
Add apps/openmw/mwlua
2021-07-09 20:03:27 +02:00