1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-11-10 08:56:41 +00:00
Commit graph

175 commits

Author SHA1 Message Date
Andrei Kortunov
d6cc205b86 Localize cell names in the Lua API (feature 8725) 2025-11-02 04:22:46 +03:00
Evil Eye
83fe65cff7 Improve weather documentation and prevent division by 0 2025-10-27 19:22:37 +01:00
Cody Glassman
bfc25a3194 Make most weather bindings read/write 2025-08-28 03:22:33 +03:00
Evil Eye
567ceccd8f Fix weather type in docs 2025-08-22 17:13:48 +02:00
Evil Eye
6ff2a007fd Fix parameter names 2025-08-17 11:55:05 +02:00
Evil Eye
aa9978d720 Expose getCurrentSunLightDirection in interiors and use perfect forwarding 2025-08-17 08:25:05 +02:00
Evil Eye
ead19d099a Require cell arguments for Lua weather functions 2025-08-15 13:17:17 +02:00
Evil Eye
450f907166 Adjust documentation and bump API revision 2025-08-14 14:01:15 +02:00
SkyHasACat
111d6620a6 Remove index weather 2025-08-14 13:42:52 +02:00
SkyHasACat
1b5450557e Don't hardcode weather ids 2025-08-14 13:42:52 +02:00
SkyHasACat
3a9a83b107 Fix sound desc, remove removed field 2025-08-14 13:42:51 +02:00
SkyHasACat
943966d59a Fix more things 2025-08-14 13:42:51 +02:00
SkyHasACat
548fb5fecb Add region sound binding 2025-08-14 13:42:51 +02:00
SkyHasACat
d58545ca39 Add region bindings 2025-08-14 13:42:49 +02:00
SkyHasACat
5e64015aa9 Fix typo, remove change 2025-08-01 15:57:31 -07:00
SkyHasACat
929a65126a Fix docs 2025-08-01 08:25:02 -07:00
Andrei Kortunov
645eb81133 Run onUpdate when the game is paused 2025-08-01 04:18:03 +03:00
Mads Buvik Sandvei
34eb3d485d [Lua] Partially dehardcode onHit 2025-07-30 20:21:15 +00:00
Sebastian Fieber
534d6b3ae9 typo 2025-07-26 13:39:37 +02:00
Sebastian Fieber
95fc66bccd adjusments to weatherbindings
- return nil for not existing effects
- also use currectTexturePath for cloud texture
- corrections for docs
2025-07-25 23:22:33 +02:00
Sebastian Fieber
a560aceb2a correct sunDiscSunsetColor type 2025-07-25 20:37:05 +02:00
Sebastian Fieber
cbb96e0fc2 colors should use Misc::Color 2025-07-25 20:10:21 +02:00
Sebastian Fieber
b8fec360c3 typo 2025-07-25 02:20:26 +02:00
Sebastian Fieber
d20a56517b add getCurrentSunLightDirection 2025-07-25 00:52:56 +02:00
Sebastian Fieber
6be96da6a4 lua - add weatherbindings to core 2025-07-25 00:43:39 +02:00
Evil Eye
183652e51d Expose path grids to Lua 2025-07-16 20:18:17 +02:00
psi29a
53feb29a5b Merge branch 'landscape-data-bindings' into 'master'
Landscape height and texture bindings for Lua (Revised and Reopened)

See merge request OpenMW/openmw!4724
2025-07-02 21:53:05 +00:00
psi29a
6f48a6f1bf Merge branch 'docs_me_not_v2' into 'master'
Docs - begin restructuring docs

See merge request OpenMW/openmw!4720
2025-07-02 21:37:30 +00:00
Sebastian Fieber
e4439806ed land bindings afterwork
- fix include order + style
- cellOrName -> cellOrId
- bump lua api revision to 78
- cellOrId is not optional anymore for getHeightAt
2025-07-02 16:14:03 +02:00
Sebastian Fieber
eb4d3b7224 Reapply "Merge branch 'landscape-data-bindings' into 'master'"
This reverts commit 3ff7dedfd1.
2025-07-02 16:09:06 +02:00
Sebastian Fieber
fa8ba57ab3 add mwscript bindings to core 2025-07-02 00:57:40 +02:00
Andrei Kortunov
4bbc5710fb Fix some errors in Lua docs 2025-06-22 15:11:49 +04:00
Alexei Kotov
3ff7dedfd1 Revert "Merge branch 'landscape-data-bindings' into 'master'"
This reverts merge request !4500
2025-06-21 19:03:11 +03:00
Sebastian Fieber
b1326e4554 update doc for getTextureAt 2025-06-20 22:00:02 +02:00
Sebastian Fieber
0e68e36aa7 that shouldn't have been touched 2025-06-19 22:17:26 +02:00
Sebastian Fieber
7c76387ffe no interior cell + make cellOrName mandatory 2025-06-19 22:17:26 +02:00
Sebastian Fieber
6671c12ad2 reorder of documentation for landbindings in core.lua 2025-06-19 22:17:26 +02:00
Sebastian Fieber
4182279f72 deduplication for landbindings.cpp + slight api changes
- remove textureId from return
- return plugin name instead of plugin id
2025-06-19 22:17:26 +02:00
Calandiel
c711179b8f apply changes requested in the code review 2025-06-19 22:17:26 +02:00
Calandiel
378093791b update the docs for land functions 2025-06-19 22:17:26 +02:00
Sebastian Fieber
1521d5195a add bindings for land textures 2025-06-19 22:17:26 +02:00
Calandiel
283be9f4f0 add docs for the new binding 2025-06-19 22:17:26 +02:00
Cody Glassman
302d92561d docs - begin restructing docs 2025-06-16 15:36:43 -07:00
Mehdi Yousfi-Monod
cb2a8c74dd FEAT: Expose starter spells 2024-09-01 15:26:58 +02:00
Mads Buvik Sandvei
f7f282fc48 bolt is not a static 2024-08-26 13:28:29 +02:00
Mads Buvik Sandvei
09f6daf155 Rewrite addvfx and spawnvfx to take a model path instead of a static. Mode vfx from core to world. Add event handlers for AddVfx and SpawnVfx. 2024-08-10 14:56:35 +02:00
uramer
f15888f474 Lua docs: getRealFrameDuration not available in global 2024-07-24 09:28:51 +02:00
psi29a
376e8a6e1f Merge branch 'bounding_box' into 'master'
lua - use loaded node when possible when calculating bounding box (#7580)

Closes #7580

See merge request OpenMW/openmw!4073
2024-07-21 09:31:22 +00:00
Cody Glassman
45cb3eb081 lua - use loaded node when possible when calculating bounding box 2024-07-03 13:29:01 -07:00
Evil Eye
8a022651f7 Move index from ActiveEffect to ActiveSpellEffect 2024-06-28 17:23:51 +02:00