elsid
|
9012207e32
|
Make WorldModel a front-end for PtrRegistry
|
2023-05-31 21:44:27 +02:00 |
|
Cody Glassman
|
6747619cb1
|
Fix lambda scope for postprocess bindings
|
2023-05-29 17:12:37 +00:00 |
|
elsid
|
ce91784085
|
Move Ptr registry into a separate type
There is no dependency on the rest of the WorldModel state.
|
2023-05-28 13:04:17 +02:00 |
|
elsid
|
183202cd65
|
Remove WorldModel::getCellByPosition function
It's used in a single place. Move the code there.
|
2023-05-27 15:49:36 +02:00 |
|
Mads Buvik Sandvei
|
85a30c9ad0
|
Fix signature of MWMechanics::MagicEffects::get. Fix a mistake in the docs.
|
2023-05-25 18:12:18 +02:00 |
|
Petr Mikheev
|
4ed283bb15
|
Merge branch 'create_record_types' into 'master'
Allow creating Activator, Armor, Clothing, Misc, Weapon records via lua
See merge request OpenMW/openmw!2944
|
2023-05-25 08:00:13 +00:00 |
|
Zackhasacat
|
ef004e5eba
|
Allow creating Activator, Armor, Clothing, Misc, Weapon records via lua
|
2023-05-25 08:00:12 +00:00 |
|
Mads Buvik Sandvei
|
40170d8953
|
is_automagical false line for ActorStore
|
2023-05-23 22:55:43 +02:00 |
|
Mads Buvik Sandvei
|
4f88988131
|
Moved check for actor/non-actor to ActorStore constructor. Refactor ActorSpells type to be an ActorStore type.
|
2023-05-23 19:44:51 +02:00 |
|
Mads Buvik Sandvei
|
410e8b100a
|
Elsid comments
|
2023-05-23 19:30:29 +02:00 |
|
Mads Buvik Sandvei
|
4bf23f152b
|
Revert use of string_view to std::string for effectIdTo* methods.
|
2023-05-23 18:12:06 +02:00 |
|
Mads Buvik Sandvei
|
9a59330561
|
refactor effect names in loadmgef. Added a map from effect index to non-gmst effect name for use in lua scripts.
|
2023-05-23 18:11:59 +02:00 |
|
Mads Buvik Sandvei
|
151521bb68
|
Unused function
|
2023-05-23 18:11:44 +02:00 |
|
Mads Buvik Sandvei
|
448658ce5b
|
Check class validity before using it.
|
2023-05-23 18:11:44 +02:00 |
|
Mads Buvik Sandvei
|
87250bfabf
|
clang warnings/errors
|
2023-05-23 18:11:44 +02:00 |
|
Mads Buvik Sandvei
|
7ba43c9426
|
actor.ActiveEffects and actor.ActiveSpells
|
2023-05-23 18:11:44 +02:00 |
|
elsid
|
5d5e6844d1
|
Use settings values for Camera settings
|
2023-05-20 22:23:09 +02:00 |
|
glassmancody.info
|
06676fd623
|
lua - fix bounding box in active grid
|
2023-05-19 14:29:01 -07:00 |
|
psi29a
|
1ce35fa9e7
|
Merge branch 'lua-bounding-box' into 'master'
Expose game object's bounding box in lua api
See merge request OpenMW/openmw!3009
|
2023-05-19 09:33:44 +00:00 |
|
glassmancody.info
|
a7b7f99d72
|
Expose game object's bounding box in lua api
|
2023-05-18 11:10:10 -07:00 |
|
psi29a
|
5fba79ece3
|
Merge branch 'teleport' into 'master'
Additional Lua bindings for cells and fixes for teleporting
See merge request OpenMW/openmw!3017
|
2023-05-17 07:57:57 +00:00 |
|
Petr Mikheev
|
e657874351
|
Lua commands getSelectedSpell/setSelectedSpell
|
2023-05-14 15:17:03 +02:00 |
|
Petr Mikheev
|
7113638848
|
Fix animation of teleported non-teleporting doors.
|
2023-05-13 20:59:55 +02:00 |
|
Petr Mikheev
|
ce7f6f31c9
|
Additional Lua bindings for cells
|
2023-05-13 20:59:55 +02:00 |
|
Petr Mikheev
|
2725a9d7f4
|
Add option "onGround=true/false" in Lua teleporting
|
2023-05-13 20:59:55 +02:00 |
|
Petr Mikheev
|
e53f907a53
|
Set CharacterController::mSmoothedSpeed to zero after teleporting.
|
2023-05-13 15:26:39 +02:00 |
|
florent.teppe
|
a3bd6e7e47
|
ESM::ExteriorCellIndex => ESM::ExteriorCellLocation
|
2023-05-12 22:05:55 +02:00 |
|
florent.teppe
|
1cf0cd5628
|
moved mwworld/cellutils.hpp -> esm/util.hpp
|
2023-05-12 22:05:54 +02:00 |
|
florent.teppe
|
141878f30d
|
int x, int y , ESM::RefId worldspace => ESM::ExteriorCellIndex
also removed the changeToExteriorCell that only took a position as input, didn't work with esm4.
|
2023-05-12 22:05:53 +02:00 |
|
florent.teppe
|
a62e75fd19
|
Initial attempt at loading esm4 exteriors
|
2023-05-12 22:05:52 +02:00 |
|
Petr Mikheev
|
067df2d07e
|
Rename some functions in Lua API from aaa to getAaa (for consistency with setAaa )
|
2023-05-08 00:49:06 +02:00 |
|
Petr Mikheev
|
86fce41a39
|
Keep refnum when moving objects to/from inventory (#6148)
|
2023-05-07 17:19:44 +02:00 |
|
Tobias Tribble
|
43544e7d30
|
Fixed teleport function to use rotation flags
|
2023-05-03 18:29:50 -05:00 |
|
psi29a
|
cdc753df70
|
Merge branch 'lua_refactoring' into 'master'
MWLua refactoring
See merge request OpenMW/openmw!2956
|
2023-05-02 19:48:21 +00:00 |
|
Zackhasacat
|
c4246159af
|
Fix gameObject.teleport function, previously would not work with items in inventories
|
2023-04-27 19:37:38 +00:00 |
|
psi29a
|
3bd72e9c5d
|
Merge branch 'no_automagick' into 'master'
Add missing `sol::is_automagical : std::false_type` in magicbindings.cpp
See merge request OpenMW/openmw!2982
|
2023-04-26 21:51:16 +00:00 |
|
Petr Mikheev
|
d1d1a280d0
|
Add missing sol::is_automagical : std::false_type in magicbindings.cpp
|
2023-04-26 21:50:42 +02:00 |
|
Tobias Tribble
|
b52ab04c43
|
Added soulValue to creatureRecord, added documentation
|
2023-04-26 12:01:59 -05:00 |
|
psi29a
|
0cf9fe0e2e
|
Merge branch 'lua_casting_error' into 'master'
Fix crash on sol::object type mismatch in invalid Lua script
See merge request OpenMW/openmw!2975
|
2023-04-25 22:19:45 +00:00 |
|
Petr Mikheev
|
31eb3e6f5d
|
Use typed settings storage for Lua settings
|
2023-04-25 23:51:37 +02:00 |
|
Petr Mikheev
|
003f611bdb
|
Remove LuaManager::Action
|
2023-04-25 23:51:37 +02:00 |
|
Petr Mikheev
|
4562b8c06b
|
Add headers for all .cpp files in mwlua; move packages initilaization from LuaManager to luabindings.cpp
|
2023-04-25 23:24:51 +02:00 |
|
Zackhasacat
|
f6fb05d1ca
|
Add functionality for lua to view and modify ownership data for GameObjects
|
2023-04-25 21:20:43 +00:00 |
|
Petr Mikheev
|
c362b2efa6
|
Use LuaUtil::cast for casting sol::object to prevent crashing on type mismatch in Lua scripts.
|
2023-04-25 22:11:04 +02:00 |
|
Petr Mikheev
|
073e379057
|
Add missing type validation in mwlua/objectvariant.hpp
|
2023-04-23 20:47:24 +02:00 |
|
Petr Mikheev
|
f1beaa7b8c
|
Put ESMStore to Environment
|
2023-04-20 21:45:49 +02:00 |
|
Petr Mikheev
|
227a993b94
|
Remove createRecord functions from World because the only forward the argument to ESMStore that can be used directly.
|
2023-04-20 21:45:49 +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 |
|
florent.teppe
|
53cc9f3614
|
functions return reference instead of ptr
because the function can never return an nullptr, we return a reference.
|
2023-04-20 15:55:40 +02:00 |
|
psi29a
|
2a6e301925
|
Merge branch 'activation' into 'master'
Allow Lua scripts to extend or override standard activation mechanics
See merge request OpenMW/openmw!2935
|
2023-04-20 11:29:21 +00:00 |
|