1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-12-12 16:43:06 +00:00
Commit graph

28104 commits

Author SHA1 Message Date
elsid
ce3bba0cdc
Use std::list to store mechanics objects
To make the order of elements deterministic. Using memory address based objects
as map key makes order of elements there nondeterministic. Later it can be
replaced with vector when there are no indirect munipulations with container
inside iteration loops.

Change map key to const MWWorld::LiveCellRefBase* to avoid erasing and inserting
elements on MWWorld::Ptr update.

Store CharacterController by value instead of pointer to avoid redundant memory
allocation.
2022-05-20 00:47:10 +02:00
psi29a
b9b4f1c3c2 Merge branch 'console_log' into 'master'
In-game log viewer

See merge request OpenMW/openmw!1799
2022-05-18 07:57:59 +00:00
psi29a
d3f331793e Merge branch 'sol' into 'master'
Update sol. Replace combined sol.hpp with loose files.

See merge request OpenMW/openmw!1851
2022-05-18 07:57:32 +00:00
psi29a
b9b8cefb4d Merge branch 'prng-fixes' into 'master'
More determinism

See merge request OpenMW/openmw!1874
2022-05-18 07:55:49 +00:00
psi29a
8b627741cf Merge branch 'improve_sast' into 'master'
Improve a bit our SAST

See merge request OpenMW/openmw!1876
2022-05-18 07:54:11 +00:00
uramer
d18b6aae87 Merge branch 'beelzebielsk-docs-typo-fixes' into 'master'
Update files/lua_api/openmw/types.lua, files/lua_api/openmw/ui.lua

See merge request OpenMW/openmw!1879
2022-05-18 05:58:20 +00:00
Adam Ibrahim
96f4057f08 Update files/lua_api/openmw/types.lua, files/lua_api/openmw/ui.lua 2022-05-18 03:22:12 +00:00
jvoisin
5df9573e54 Improve a bit our SAST 2022-05-17 21:42:14 +02:00
ζeh Matt
18f16eac4c
Refactor DetourNavigator to pass prng along, use world prng for AiWander 2022-05-17 20:37:15 +03:00
ζeh Matt
b2fab5f5ad
Use World prng for weather system as it influences actors 2022-05-17 18:22:45 +03:00
ζeh Matt
3a90bc7187
Use World prng for head/blink animations 2022-05-17 18:22:45 +03:00
ζeh Matt
cb99e8643a
Use World prng for selection of random creature spawning 2022-05-17 18:22:45 +03:00
psi29a
12a8a6b876 Merge branch 'fix_if_condition' into 'master'
Use proper variable to check in if condition

See merge request OpenMW/openmw!1873
2022-05-17 12:47:41 +00:00
elsid
18d05c8f1a
Use proper variable to check in if condition 2022-05-17 13:19:39 +02:00
psi29a
2f75acc34e Merge branch 'navmesh_render_update_frequency' into 'master'
Add navmesh debug render mode to show update frequency

See merge request OpenMW/openmw!1685
2022-05-17 07:32:08 +00:00
psi29a
bbcdac6b18 Merge branch 'fix_mygui_data_manager_includes' into 'master'
Add includes for used types and functions (#6744)

See merge request OpenMW/openmw!1870
2022-05-17 07:28:35 +00:00
psi29a
c19ca8453a Merge branch 'highp' into 'master'
Remove precision qualifiers

See merge request OpenMW/openmw!1871
2022-05-17 07:05:53 +00:00
elsid
215b46503c
Support rendering for navmesh update frequency as a heatmap
Useful when need to find tiles with high number of updates.

Add debug Lua package with new functions to toggle render mode and set navmesh
render mode.
2022-05-17 01:54:20 +02:00
cody glassman
915eaa4c91 highp is not available in version 120 2022-05-16 16:17:39 -07:00
elsid
5f2e282359
Add includes for used types and functions 2022-05-17 00:58:24 +02:00
Petr Mikheev
668be586cd Merge branch 'permanent_storage_per_group' into 'master'
Move permanentStorage option from settings to groups

See merge request OpenMW/openmw!1868
2022-05-16 21:24:20 +00:00
uramer
14d83b218e Move permanentStorage option from settings to groups 2022-05-16 21:24:20 +00:00
elsid
c88d3e712d
Cleanup mwlua includes 2022-05-16 22:25:48 +02:00
psi29a
0ca9510224 Merge branch 'fix_gcc_build' into 'master'
Fix build on gcc 12.1 (#6744)

Closes #6744

See merge request OpenMW/openmw!1862
2022-05-16 20:15:09 +00:00
psi29a
3e3cb133bc Merge branch 'fix_unity_build' into 'master'
Fix unity build

See merge request OpenMW/openmw!1860
2022-05-16 20:12:17 +00:00
Petr Mikheev
cf49b46d64 Show logs in the debug window
Some part of UI code is written by @andrew-app
2022-05-16 20:50:44 +02:00
Alexei Kotov
5110c4a50e Merge branch 'single_character_changes_are_the_best' into 'master'
Fix inverted logic

Closes #6755

See merge request OpenMW/openmw!1866
2022-05-16 17:48:00 +00:00
Alexei Kotov
8140cceb3e Merge branch 'construct_me_not' into 'master'
Address feedback on !1857

See merge request OpenMW/openmw!1865
2022-05-16 16:58:43 +00:00
Evil Eye
2531e24ee3 Fix inverted logic 2022-05-16 18:29:16 +02:00
Petr Mikheev
7ee796b481 Merge branch 'fix_pairs' into 'master'
Fix Lua pairs and ipairs

See merge request OpenMW/openmw!1864
2022-05-16 15:52:42 +00:00
Evil Eye
134dc2b21b Address feedback on !1857 2022-05-16 17:37:55 +02:00
psi29a
f092d8da9a Merge branch 'post_malone' into 'master'
Post Processing

See merge request OpenMW/openmw!1124
2022-05-16 14:51:13 +00:00
uramer
22994af728 Fix Lua pairs and ipairs 2022-05-16 16:32:18 +02:00
elsid
94dc696f4f
Fix gcc build
In file included from /home/elsid/dev/openmw/apps/openmw/mwphysics/actor.hpp:7,
                 from /home/elsid/dev/openmw/apps/openmw/mwphysics/trace.cpp:9:
/home/elsid/dev/openmw/apps/openmw/mwphysics/ptrholder.hpp: In member function ‘osg::Vec3f MWPhysics::PtrHolder::velocity()’:
/home/elsid/dev/openmw/apps/openmw/mwphysics/ptrholder.hpp:42:25: error: ‘exchange’ is not a member of ‘std’
   42 |             return std::exchange(mVelocity, osg::Vec3f());
      |                         ^~~~~~~~
2022-05-16 15:59:18 +02:00
elsid
c33966c4a4
Fix unity build
In file included from /home/elsid/dev/openmw/build/clang/unity/apps/openmw/ub_mwworld.cpp:41:
/home/elsid/dev/openmw/apps/openmw/mwworld/groundcoverstore.cpp:10:9: error: no type named 'Query' in 'MWWorld::EsmLoader'; did you mean '::EsmLoader::Query'?
        EsmLoader::Query query;
        ^~~~~~~~~~~~~~~~
        ::EsmLoader::Query
/home/elsid/dev/openmw/./components/esmloader/load.hpp:23:12: note: '::EsmLoader::Query' declared here
    struct Query
           ^
2022-05-16 15:04:47 +02:00
psi29a
dd0e0fea72 Merge branch 'lua_strict_index' into 'master'
[Lua] makeStrictReadOnly for enums

See merge request OpenMW/openmw!1859
2022-05-16 10:59:20 +00:00
psi29a
50561bc787 Merge branch 'jvoisin-master-patch-82710' into 'master'
Make use of Gitlab's SAST

See merge request OpenMW/openmw!1736
2022-05-16 08:45:17 +00:00
psi29a
d8eb9d6818 Merge branch 'smooth_my_nodes' into 'master'
Better support BSPArrayController

See merge request OpenMW/openmw!1858
2022-05-16 08:25:18 +00:00
psi29a
65c95d97c3 Merge branch 'disable_navmeshdb_write_on_lock' into 'master'
Disable writes to navmeshdb on database is locked error

See merge request OpenMW/openmw!1837
2022-05-16 07:38:12 +00:00
Petr Mikheev
7ccbf95503 [Lua] makeStrictReadOnly for enums 2022-05-16 00:16:26 +02:00
cody glassman
72fdf40e06 better support for particle arrays when spawning at node positions 2022-05-15 13:41:52 -07:00
Petr Mikheev
7cd4222647 Update sol. Replace combined sol.hpp with loose files. 2022-05-15 21:34:55 +02:00
Petr Mikheev
d16fa553c8 Fix LuaUtil::Callback 2022-05-15 21:34:48 +02:00
cody glassman
dae0914820 workarounds for gl4es 2022-05-15 10:03:58 -07:00
cody glassman
205452b482 updates to omwfx documentation 2022-05-15 10:03:58 -07:00
cody glassman
ac6089a430 skip flipping of 3D textures which is unsupported in OSG 2022-05-15 10:03:58 -07:00
cody glassman
0cb63ca4e6 experimental point light bindings 2022-05-15 10:03:58 -07:00
cody glassman
fee639a74f Correct default value 2022-05-15 10:03:58 -07:00
cody glassman
04843fed6d moddable post-processing pipeline 2022-05-15 10:03:58 -07:00
uramer
be100749f8 Merge branch 'lua_onframe' into 'master'
[Lua] Rename onInputUpdate -> onFrame and call it even when the game is on pause (#6745)

See merge request OpenMW/openmw!1852
2022-05-15 16:48:38 +00:00