Evil Eye
0fe27e8107
Remove Attribute/Skill from tooltips
2023-03-20 19:59:11 +01:00
Evil Eye
6e33da6cfe
Don't capture temporaries by reference
2023-03-20 19:07:51 +01:00
psi29a
b55313c08e
Merge branch 'small_ref_id' into 'master'
...
Make ESM::RefId to be fixed size cheap to copy and support different implementation types
See merge request OpenMW/openmw!2708
2023-03-20 08:54:36 +00:00
elsid
04d7781424
Support not only StringRefId for checking first person body part
2023-03-19 17:49:41 +01:00
elsid
e6cf516e12
Support index RefId as pair of record type and std::uint32_t
2023-03-19 17:20:48 +01:00
elsid
86293af084
Support generated RefId as std::uint64_t
2023-03-19 17:20:48 +01:00
elsid
0992624c8b
Support reading and writing typed ESM::RefId to ESM
2023-03-19 17:20:48 +01:00
elsid
069d4255b9
Make ESM::RefId to be fixed size cheap to copy
...
Use std::variant. Store refId strings in unordered_set and use pointer to an
item there. Inserts to unordered_set do not invalidate pointers to values so the
pointer is always valid. Elements are not removed. Assume there is finite number
of string refIds.
2023-03-19 17:20:43 +01:00
psi29a
3dc0e71b58
Merge branch 'constant_telekinesis' into 'master'
...
Remove redundant lookup
See merge request OpenMW/openmw!2843
2023-03-19 12:30:03 +00:00
psi29a
559169123d
Merge branch 'rm_unused_world_startup_script' into 'master'
...
Remove unused startup script argument
See merge request OpenMW/openmw!2842
2023-03-19 10:03:26 +00:00
Evil Eye
0b0f02d08b
Remove redundant lookup
2023-03-19 10:42:19 +01:00
elsid
c90e4435cd
Remove unused startup script argument
2023-03-19 00:45:50 +01:00
elsid
3a0443c472
Make constexpr Misc::NotNullptr member functions
2023-03-18 16:36:26 +01:00
psi29a
5db11d81fe
Merge branch 'ref_id_strings' into 'master'
...
Use RefId high level functions instead of accessing internal data
See merge request OpenMW/openmw!2840
2023-03-18 15:30:53 +00:00
psi29a
869e9c3ae7
Merge branch 'rm_unused_variable' into 'master'
...
Remove unused variable
See merge request OpenMW/openmw!2839
2023-03-18 15:09:40 +00:00
Bret Curtis
f4d10fcaee
update github workflow for linux and macos support
2023-03-18 14:51:34 +01:00
elsid
99069b02e4
Remove unused variable
2023-03-18 13:40:45 +01:00
elsid
1f6d19859a
Use startsWith for ESM::RefId
2023-03-18 13:39:52 +01:00
elsid
1258bdf40a
Use operator<< for ESM::RefId
2023-03-18 13:39:50 +01:00
psi29a
d64eea2fc6
Merge branch '7113-move-from-std-atoi-to-std-from_char' into 'master'
...
Move from std::atoi to std::from_char
Closes #7113
See merge request OpenMW/openmw!2760
2023-03-18 09:30:48 +00:00
Shi Han
a90e3b8c3b
Move from std::atoi to std::from_char
2023-03-18 09:30:48 +00:00
psi29a
9664a57cad
Merge branch 'esmtool_strings' into 'master'
...
Use relative to content file path to find strings file
See merge request OpenMW/openmw!2837
2023-03-18 09:14:54 +00:00
psi29a
c802da8e4b
Merge branch 'scoped_visit' into 'master'
...
Use SFINAE to avoid conflicts between visit functions
See merge request OpenMW/openmw!2838
2023-03-18 09:14:21 +00:00
psi29a
b4a5e8ed19
Merge branch '9003rd_times_the_charm' into 'master'
...
Rework again scripted movement. Partially revert and refine !1324
See merge request OpenMW/openmw!1372
2023-03-18 09:13:57 +00:00
elsid
67e96d48ba
Use relative to content file path to find strings file
...
To be used by esmtool when VFS is not used.
2023-03-18 03:00:18 +01:00
elsid
83d212fe0f
Use SFINAE to avoid conflicts between visit functions
2023-03-17 23:37:11 +01:00
psi29a
a60f657f5a
Merge branch 'fast_cell4_load' into 'master'
...
Lazy loading of ESM4::reference
See merge request OpenMW/openmw!2804
2023-03-17 21:46:37 +00:00
psi29a
5c4dd292c8
Merge branch 'generate_required_records' into 'master'
...
Move generation for default values of required records to separate functions
See merge request OpenMW/openmw!2836
2023-03-17 21:40:32 +00:00
elsid
6a182e7798
Move generation for default values of required records to separate functions
2023-03-17 18:31:21 +01:00
psi29a
2ff4a5a11a
Merge branch 'cs_fix_info_collection' into 'master'
...
Fix loading, inserting and moving topic info records
See merge request OpenMW/openmw!2806
2023-03-17 14:40:05 +00:00
psi29a
83634d1b02
Merge branch 'windows_ci' into 'master'
...
Cleanup Windows CI and report disk size
See merge request OpenMW/openmw!2835
2023-03-16 22:52:20 +00:00
fredzio
63d4564455
In 0.46, SetPos was setting position of actors before physics simulation, and from this position movement was simulated. This changed with async physics merging, and at the same time problems started, mostly with abot's scenic travel.
...
Skipping the simulation, switching off collisions, and other approaches were not correct as they either broke some mods, or some core mechanics of the engine such as teleportation or waterwalking. As it turns out, the way to go is to simply do _nothing_ (modulo some gymnastics to account for the 1 frame difference in case of async).
Scripted movement and the unstucking logic tends to collide. Early out of unstuck in case the actor doesn't attempt to move. This means there is no AI package for NPC, which are the case for some boats and striders, or the player is content with their position.
2023-03-16 22:07:26 +01:00
elsid
1e80b9f225
Do not add CMake to system path
2023-03-16 20:28:55 +01:00
elsid
664c58d138
Report disk size on windows
2023-03-16 20:27:52 +01:00
psi29a
df89a8c845
Merge branch 'ptr' into 'master'
...
MWLua refactoring
See merge request OpenMW/openmw!2803
2023-03-16 11:21:45 +00:00
psi29a
ca13aa6332
Merge branch 'fix_windows_ci' into 'master'
...
Use installed CMake for Windows CI jobs
See merge request OpenMW/openmw!2834
2023-03-15 10:28:08 +00:00
psi29a
49db6cbcc2
Merge branch 'retrievallimitcheck' into 'master'
...
Fixes Game crash when "console history buffer size" is set to 0
Closes #7276
See merge request OpenMW/openmw!2833
2023-03-15 10:26:40 +00:00
elsid
00d0c81df9
Use installed CMake for Windows CI jobs
2023-03-15 01:08:28 +01:00
Kindi
65cbf7f17c
skip reading if retrievalLimit is 0
2023-03-15 04:13:38 +08:00
psi29a
35b2292e61
Merge branch 'update_recastnagivation' into 'master'
...
Update recasnagivation to 405cc095ab3a2df976a298421974a2af83843baf
See merge request OpenMW/openmw!2832
2023-03-14 07:59:55 +00:00
psi29a
da81f92732
Merge branch 'update_sqlite3' into 'master'
...
Update sqlite3 to 3.41.1
See merge request OpenMW/openmw!2831
2023-03-14 07:58:20 +00:00
Petr Mikheev
2bfffb3063
Move std::variant<SelfObject*, LObject, GObject>
from mwlua/stats.cpp to mwlua/objectvariant.hpp
2023-03-13 23:44:00 +01:00
Petr Mikheev
0b385d5db9
Create MWWorld::SafePtr
2023-03-13 23:44:00 +01:00
Petr Mikheev
cf0ba158f6
Merge branch 'topic/lua-comments' into 'master'
...
Add a bit of high-level developer documentation about the Lua system
See merge request OpenMW/openmw!2812
2023-03-13 22:41:28 +00:00
Mitten Orvan
4e6d48d246
Add a bit of high-level developer documentation about the Lua system
2023-03-13 22:41:28 +00:00
elsid
e032214fcb
Use common info ordering implementation for engine and editor
2023-03-13 21:57:41 +01:00
elsid
e892c62b10
Fix loading, inserting and moving topic info records
...
Topic info records need to have specific order defined via mNext and mPrev
fields (next and previous records). When loading multiple files a record may be
inserted into middle of the topic but neighborhood records may not be aware of
it. Having the order it's possible to move the records within one topic.
Sort the record once after loading all content files but preserve the order for
all other operations. Use std::map to group info ids by topic to make sure the
topics order is stable. Keep order within a topic for info ids on loading new
records. Use this order later for sorting the records.
2023-03-13 21:57:38 +01:00
psi29a
d8d2cb980c
Merge branch 'world_model_init' into 'master'
...
Refactor WorldModel initialization making it C++ core guidelines complaint
See merge request OpenMW/openmw!2825
2023-03-13 10:57:03 +00:00
elsid
899c302b14
Avoid nested ifs
2023-03-13 11:31:16 +01:00
elsid
c8402c0b14
Avoid double assignment on info saving
2023-03-13 11:31:16 +01:00