psi29a
2743c4920e
Merge branch 'vfs_normalized_view_string' into 'master'
...
Do not allow to construct NormalizedView from std::string
See merge request OpenMW/openmw!4263
2024-07-22 07:22:02 +00:00
psi29a
f2aa30f7a5
Merge branch 'fix_nan_get_angles' into 'master'
...
Avoid getting nan in conversion to euler angles (#7772 )
Closes #7772
See merge request OpenMW/openmw!4258
2024-07-22 07:21:29 +00:00
elsid
34f5bc6fce
Use std math functions
...
To avoid implicit conversions from float to double and back.
2024-07-21 02:06:05 +02:00
elsid
041b3b233a
Normalize forward and up vectors
...
To avoid having any of their components to be out of the range [-1, 1].
2024-07-21 01:26:57 +02:00
elsid
a49de4b9f1
Do not allow to construct NormalizedView from std::string
...
To avoid implicit conversion via Normalized which creates NormalizedView from a
temporary Normalized. Mark constructors explicit on purpose so there is no
ambiguity on implicit conversion when there is an overloaded function like:
void f(const Normalized&);
void f(NormalizedView);
2024-07-20 23:58:48 +02:00
psi29a
a9281b5246
Merge branch 'fix/osg-animation-rename-update-order-sucks-this-took-too-long' into 'master'
...
Fix osgAnimation for multiple creatures (#8045 )
Closes #8045
See merge request OpenMW/openmw!4253
2024-07-16 13:34:41 +00:00
elsid
75d9ab4d57
Pass Quat and Matrixf by reference
...
They don't fit into registers so without optimizations they are copied via
stack.
2024-07-15 22:08:54 +02:00
Sam Hellawell
db30d9a37a
Code cleanup, fix missing const
2024-07-14 20:38:24 +01:00
Sam Hellawell
df0a7a849b
Merge branch 'master' of https://gitlab.com/OpenMW/openmw.git into fix/osg-animation-rename-update-order-sucks-this-took-too-long
2024-07-14 02:39:09 +01:00
Sam Hellawell
56a40577ed
Revert move of default anim rename
2024-07-14 02:38:57 +01:00
Sam Hellawell
03413a895f
Fix osgAnimation for multiple creatures ( #8045 )
2024-07-14 02:34:09 +01:00
elsid
6a67263d6b
Separate the log level and the flag for writing the log level
2024-07-13 11:15:34 +02:00
elsid
98a8dcbdbf
Limit log buffer size
2024-07-13 11:15:34 +02:00
elsid
c83acac32c
Add a function to get debug level
2024-07-13 11:15:34 +02:00
elsid
0749cc4dac
Remove unused include
2024-07-13 11:15:34 +02:00
elsid
1bdc01273e
Move "debugging" function into Debug namespace
2024-07-13 11:15:33 +02:00
elsid
ea84d1ce0c
Remove unused mode argument
2024-07-13 11:14:56 +02:00
Dave Corley
5bca2919c2
CLEANUP: Don't assign invalid extents when loading bounding boxes
2024-07-11 04:06:06 -05:00
psi29a
664a844853
Merge branch 'fix_get_angles_zyx' into 'master'
...
Fix getAnglesZYX (#7741 )
Closes #7741
See merge request OpenMW/openmw!4199
2024-07-11 09:04:07 +00:00
psi29a
7d0fca1bf5
Merge branch 'noscript' into 'master'
...
Make mwscript return nil for records that don't have a script
See merge request OpenMW/openmw!4236
2024-07-09 07:47:24 +00:00
psi29a
3a5ed998e7
Merge branch 'timeplayed' into 'master'
...
Remove time played setting
See merge request OpenMW/openmw!4235
2024-07-08 07:29:29 +00:00
Evil Eye
ee653eb2b8
Make mwscript return nil for records that don't have a script
2024-07-07 13:58:34 +02:00
psi29a
e8c422697f
Merge branch 'first_person_mesh_distortion' into 'master'
...
Fix distortion breaking in first person meshes
See merge request OpenMW/openmw!4231
2024-07-06 07:46:35 +00:00
psi29a
804b589a68
Merge branch 'qt_follow_up' into 'master'
...
Cleanup changes in Qt applications
See merge request OpenMW/openmw!4225
2024-07-05 08:11:42 +00:00
Alexei Kotov
888abc0097
Remove time played setting
2024-07-05 07:13:45 +03:00
Andrei Kortunov
871263d436
Check if file is successfully opened
2024-07-04 09:55:24 +04:00
Cody Glassman
45362e0ede
fix distortion breaking in first person meshes
2024-07-03 13:51:57 -07:00
Evil Eye
d3e3083006
CI match script names and remove dead code
2024-07-01 16:57:40 +02:00
psi29a
ee1352f918
Merge branch 'luautf8allcompilers' into 'master'
...
Don't use codecvt for utf8.char
Closes #6505
See merge request OpenMW/openmw!4216
2024-07-01 07:44:16 +00:00
psi29a
045bccb3e9
Merge branch 'copycompiler' into 'master'
...
Avoid a few copies in mwscript
See merge request OpenMW/openmw!4215
2024-07-01 07:43:53 +00:00
Kindi
624a4f46b5
dont use codecvt for utf8.char
2024-06-30 01:49:24 +08:00
Evil Eye
1cea604257
Use string_view in register methods
2024-06-29 15:37:13 +02:00
Evil Eye
ad7fb3d13f
Avoid a few copies in mwscript
2024-06-29 10:31:49 +02:00
elsid
89bb04e8fd
Exit with fatal error on duplicated instruction code
...
Instead of causing SIGABRT which is more confusing.
2024-06-28 22:24:24 +02:00
psi29a
6754b8d941
Revert "Merge branch 'were_engineers_not_salt_miners' into 'master'"
...
This reverts merge request !4178
2024-06-25 20:58:31 +00:00
psi29a
9a864f309a
Merge branch 'theluareloaded' into 'master'
...
Check the result of loading from bytecode
Closes #7787
See merge request OpenMW/openmw!4189
2024-06-25 07:19:33 +00:00
psi29a
cd365b4e8c
Merge branch 'youre_outta_range_joe' into 'master'
...
FIX: check we're not going out of range while listing content files, fix #8029
Closes #8029
See merge request OpenMW/openmw!4201
2024-06-24 18:02:31 +00:00
psi29a
11c2cf0780
Merge branch 'esm_script' into 'master'
...
Make loading and saving ESM3 script record more robust
See merge request OpenMW/openmw!4195
2024-06-24 17:59:20 +00:00
psi29a
57adb93075
Merge branch 'coverity' into 'master'
...
Coverity fixes
See merge request OpenMW/openmw!4198
2024-06-24 07:10:28 +00:00
psi29a
456ac2a85b
Merge branch 'were_engineers_not_salt_miners' into 'master'
...
FEAT: Lua Engine Handler for MWScript `startscript` functionality
See merge request OpenMW/openmw!4178
2024-06-24 07:09:24 +00:00
Dave Corley
1a79e79f57
FEAT: Lua Engine Handler for MWScript startscript
functionality
2024-06-24 07:09:23 +00:00
psi29a
d3c3d0cf44
Merge branch 'indexthemoon' into 'master'
...
Move Lua index helpers to components and make owner.factionRank match other ranks
See merge request OpenMW/openmw!4186
2024-06-24 07:06:24 +00:00
Dave Corley
d03f25437b
CLEANUP(contentmodel): Use auto
for insertPosition declaration to
...
avoid possible narrowing
2024-06-23 20:06:23 -05:00
Dave Corley
fbdc4f4881
CLEANUP(contentmodel): Use ranges::find_if instead of a loop
2024-06-23 18:15:27 -05:00
elsid
89a30532b7
Fix getAnglesZYX implementation
2024-06-23 16:08:09 +02:00
Dave Corley
40aee53831
CLEANUP(contentmodel): Actually, no, I hate while loops
2024-06-23 06:07:16 -05:00
Dave Corley
b43743212e
FIX: check we're not going out of range while listing content files, fix #8029
2024-06-23 06:07:12 -05:00
Alexei Kotov
162ac6a75e
Avoid copying shader material shared_ptr in NifLoader
2024-06-22 14:34:09 +03:00
Evil Eye
5b82c7a95d
Don't assume execution of an internal Lua script can't fail
2024-06-22 11:26:32 +02:00
Evil Eye
83e8729256
Check the result of loading from bytecode
2024-06-21 22:35:34 +02:00