1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2026-02-01 11:48:26 +00:00
Commit graph

26275 commits

Author SHA1 Message Date
Bo Svensson
3219f22c2b
authors.md [ci skip] 2021-09-07 11:42:59 +00:00
Bo Svensson
919e42a690
changelog.md [ci skip] 2021-09-07 11:41:39 +00:00
Bo Svensson
05807291ea
make android adk happy 2021-09-06 12:54:12 +00:00
Bo Svensson
761cee128d
make android adk happy 2021-09-06 11:48:49 +00:00
Bo Svensson
ef3bacf11b
attach.cpp 2021-09-05 16:39:24 +00:00
Bo Svensson
81bcc41a3f
npcanimation.cpp 2021-09-05 11:45:53 +00:00
Bo Svensson
e91959b444
cellpreloader.cpp 2021-09-05 10:42:41 +00:00
Bo Svensson
4b04dc534a
creatureanimation.cpp [ci skip] 2021-09-05 10:38:55 +00:00
Bo Svensson
6f8ac89565
creatureanimation.cpp [ci skip] 2021-09-05 10:37:42 +00:00
Bo Svensson
dfa9f7cb77
attach.cpp [ci skip] 2021-09-05 10:24:22 +00:00
Bo Svensson
9ee2cbfb59
attach.hpp [ci skip] 2021-09-05 10:16:17 +00:00
Bo Svensson
6ce9b3399d
npcanimation.cpp [ci skip] 2021-09-05 10:14:33 +00:00
Bo Svensson
ec4d7e812b
attach.cpp [ci skip] 2021-09-05 10:09:15 +00:00
Bo Svensson
b7a03980a9
attach.cpp [ci skip] 2021-09-05 10:05:11 +00:00
Bo Svensson
4e38f634c0
attach.cpp [ci skip] 2021-09-05 10:03:12 +00:00
Petr Mikheev
4fcac49e5f Merge branch 'constrefclang' into 'master'
Sprinkle some const-ref in loop

See merge request OpenMW/openmw!1180
2021-09-04 19:49:13 +00:00
jvoisin
cb08f490d7 Sprinkle some const-ref in loop
This was done on the good advices of clang-tidy
2021-09-04 20:50:59 +02:00
Petr Mikheev
76320aae45 Merge branch 'const_ret_val' into 'master'
Don't use `const` for objects returned by value.

See merge request OpenMW/openmw!1183
2021-09-04 12:41:52 +00:00
psi29a
a57b5674e5 Merge branch 'hash_actors' into 'master'
Replace std::map with std::unordered_map and use constant Ptr.mRef as a key

See merge request OpenMW/openmw!1129
2021-09-03 15:16:14 +00:00
psi29a
a0201feb97 Merge branch 'lua_tostring' into 'master'
Function LuaUtil::toString

See merge request OpenMW/openmw!1187
2021-09-03 13:09:17 +00:00
fredzio
d20730458d Replace std::map with std::unordered_map for mActors and mObjects.
Use Ptr.mRef as a key instead of Ptr: it is constant for the lifetime of
the object.
2021-09-03 13:14:05 +02:00
jvoisin
d4e3575f1d Don't use const for objects returned by value.
This prevents the usage of std::move semantics,
and makes clang-tidy sad.
2021-09-01 22:23:50 +02:00
elsid
291195872e Merge branch 'this_is_not_the_iterator_you_are_looking_for' into 'master'
fix #6246

Closes #6246

See merge request OpenMW/openmw!1189
2021-08-31 19:15:43 +00:00
fredzio
d1a5bc207b Iterate over mInactiveCells when unloading cells in TestCells / TestInteriorCells. Otherwise we dereference an invalid iterator after deactiveCell(). 2021-08-31 16:53:52 +02:00
elsid
0daf6f5d0b Merge branch 'comma' into 'master'
Don't use comma where there is no need to.

See merge request OpenMW/openmw!1179
2021-08-31 12:33:15 +00:00
Petr Mikheev
33d4d88447 Function LuaUtil::toString 2021-08-31 09:41:58 +02:00
Evil Eye
18f51e1026 Merge branch 'nonull' into 'master'
Don't pass a nullptr to a std::string constructor

See merge request OpenMW/openmw!1178
2021-08-30 18:59:06 +00:00
Evil Eye
06e1b17cc1 Merge branch 'unnecessary_copy' into 'master'
Dont copy-construct from a const-ref when used only as a const-ref

See merge request OpenMW/openmw!1184
2021-08-29 19:39:51 +00:00
Evil Eye
3149871b51 Merge branch 'reserve' into 'master'
Use `reserve` on vectors for fixed loops

See merge request OpenMW/openmw!1182
2021-08-29 19:37:33 +00:00
jvoisin
db4fe11a44 Don't pass a nullptr to a std::string constructor
This is undefined behaviour.
2021-08-29 20:41:15 +02:00
jvoisin
deb2af6acc Dont copy-construct from a const-ref when used only as a const-ref
This also makes clang-tiny a bit happier
2021-08-29 20:22:34 +02:00
jvoisin
a15cca5763 Use reserve on vectors for fixed loops
This is a bit useless, but has the merit of appeasing clang-tiday
2021-08-29 20:18:49 +02:00
jvoisin
a6b1e38eab Don't use comma where there is no need to. 2021-08-29 14:12:14 +02:00
Alexei Dobrohotov
4f99c060c3 Merge branch 'hit_me_with_your_big_club' into 'master'
Allow Rieklings and Goblins to attack again

Closes #6243

See merge request OpenMW/openmw!1174
2021-08-29 00:58:10 +00:00
Evil Eye
b4486992f0 Allow Rieklings and Goblins to attack again 2021-08-28 10:45:00 +02:00
psi29a
66f028c4a1 Merge branch 'correctcommandimplementation' into 'master'
Don't do storage in constructors of the commands

See merge request OpenMW/openmw!1126
2021-08-27 07:30:45 +00:00
psi29a
d852b10227 Merge branch 'Map-door-markers-flicker-in-some-cells' into 'master'
Do not update doors markers at each frame, only when needed

Closes #6214

See merge request OpenMW/openmw!1168
2021-08-26 15:06:38 +00:00
psi29a
fff35dcb03 Merge branch 'Ignore-empty-pgrd' into 'master'
Do not store empty PGRD records.  Should resolve Issue #6209.

See merge request OpenMW/openmw!1121
2021-08-26 14:29:49 +00:00
psi29a
e8057d9fd1 Merge branch 'aipursue_path' into 'master'
Make AiPursue path destination to be as close as possible to target (#6211)

Closes #6211

See merge request OpenMW/openmw!1154
2021-08-26 07:55:12 +00:00
jvoisin
c7d8f066b3 Merge branch 'fix_coverity_warning' into 'master'
Fix coverity warning

See merge request OpenMW/openmw!1170
2021-08-25 18:20:00 +00:00
elsid
ee63ee9d93
Fix coverity warning
CID 332936 (#1 of 1): Result is not floating-point (UNINTENDED_INTEGER_DIVISION)
integer_division: Dividing integer expressions size and 2, and then converting
the integer quotient to type float. Any remainder, or fractional part of the
quotient, is ignored.
2021-08-25 18:34:45 +02:00
psi29a
7cc58fa20d Merge branch 'navmesh_fix_remove_tiles' into 'master'
Fix removing navmesh tiles at high player speed

See merge request OpenMW/openmw!1151
2021-08-25 13:27:14 +00:00
psi29a
b585aad81e Merge branch 'offset-bullet-debug' into 'master'
glPolygonOffset for Bullet debug geometry

See merge request OpenMW/openmw!684
2021-08-25 07:26:21 +00:00
unelsson
de3497d291 Fix undo-redo crash 2021-08-22 23:42:27 +03:00
unelsson
890ce1eefb Reverse action order for redo and undo 2021-08-22 23:42:27 +03:00
unelsson
0cfabd6f3b Move mapToSource back to constructor 2021-08-22 23:42:27 +03:00
unelsson
11ec96e1e7 Add changelog 2021-08-22 23:42:27 +03:00
unelsson
b2fe591590 Don't do any storing in the constructor 2021-08-22 23:42:27 +03:00
unelsson
45549da0f5 For most commands, set mOld in redo, not in constructor 2021-08-22 23:42:27 +03:00
psi29a
1a2efd441c Merge branch 'cherry-pick-ec4e3b04' into 'master'
Merge branch 'terrainselectioncrashfix' into 'openmw-47'

See merge request OpenMW/openmw!1166
2021-08-22 20:38:55 +00:00