1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-26 18:35:20 +00:00

20976 Commits

Author SHA1 Message Date
Petr Mikheev
842e154d8a Fix incorrect validation in obj:moveInto 2023-08-19 13:08:30 +02:00
Petr Mikheev
5bbbeefee7 Fix #7540 2023-08-19 12:52:01 +02:00
psi29a
e5d5cbcdd1 Merge branch 'save_safeguard' into 'master'
Add a safeguard to do not use uninitialized value

See merge request OpenMW/openmw!3349
2023-08-19 09:31:00 +00:00
psi29a
ebf803a00b Merge branch 'anonymous_namespace' into 'master'
Move some code to unnamed namespace

See merge request OpenMW/openmw!3351
2023-08-19 09:30:09 +00:00
elsid
ba1b3ae962
Avoid duplicated addEntryToObjectCache call 2023-08-19 01:30:18 +02:00
elsid
b67ecb4e4f
Remove redundant else 2023-08-19 01:30:17 +02:00
elsid
9cebe78a51
Avoid implicit cast to bool for pointers 2023-08-19 01:30:17 +02:00
elsid
bda29819cf
Reduce include dependency for land records 2023-08-19 01:30:17 +02:00
elsid
955790dc31
Split ESM::Land::loadData 2023-08-19 01:30:17 +02:00
elsid
dc05e9adbb
Avoid redundant check for nullptr 2023-08-19 01:30:17 +02:00
elsid
28614730da
Pass land reference to LandObject constructor 2023-08-19 01:30:17 +02:00
elsid
7c7577a6bd
Do not recreate cache object 2023-08-19 01:30:16 +02:00
elsid
95a39b3281
Use sized types for land records members 2023-08-18 18:30:06 +02:00
psi29a
16628a766f Merge branch 'fallout4' into 'master'
ESM4 Loader: initial Fallout 4 support

See merge request OpenMW/openmw!3347
2023-08-18 16:22:40 +00:00
Andrei Kortunov
1c0ced15c6 Move some code to unnamed namespace 2023-08-18 19:43:50 +04:00
psi29a
a1b7c0c3d5 Merge branch 'fix_build' into 'master'
Fix build

See merge request OpenMW/openmw!3350
2023-08-18 15:42:53 +00:00
psi29a
42e7647508 Merge branch 'more_coverity' into 'master'
More Coverity fixes

See merge request OpenMW/openmw!3326
2023-08-18 12:19:10 +00:00
elsid
57bcb3e89d
Fix build
apps/openmw/mwlua/soundbindings.cpp:166:78: error: member access into incomplete type 'MWBase::World'
        const SoundStore* soundStore = &MWBase::Environment::get().getWorld()->getStore().get<ESM::Sound>();
                                                                             ^
apps/openmw/mwlua/../mwbase/environment.hpp:27:11: note: forward declaration of 'MWBase::World'
    class World;
          ^
2023-08-18 12:15:34 +02:00
Petr Mikheev
4211665ede Merge branch 'sounds' into 'master'
Lua bindings for sound functions

See merge request OpenMW/openmw!3247
2023-08-18 09:15:24 +00:00
Andrei Kortunov
88fe328de1 Add a safeguard to do not use uninitialized value 2023-08-18 13:13:00 +04:00
Andrei Kortunov
1555fd8b34 Add assert 2023-08-18 12:46:45 +04:00
psi29a
861b9b215c Merge branch 'moveinto' into 'master'
[Lua] Accept GameObject as destination in obj:moveInto.

See merge request OpenMW/openmw!3318
2023-08-18 08:23:20 +00:00
psi29a
adb5774aa9 Merge branch 'optimize_get_blendmaps' into 'master'
Optimize land lookup on blendmaps sampling

See merge request OpenMW/openmw!3333
2023-08-18 08:22:16 +00:00
psi29a
e21e3a0d46 Merge branch 'time' into 'master'
Pause/resume the game in Lua scripts

See merge request OpenMW/openmw!3317
2023-08-18 08:22:04 +00:00
psi29a
856262d4c0 Merge branch 'trainingwheels' into 'master'
Use the correct skills for training again

Closes #7536

See merge request OpenMW/openmw!3339
2023-08-18 08:21:55 +00:00
psi29a
f9910290e0 Merge branch 'fix_hand_model' into 'master'
Fix #7506

Closes #7506

See merge request OpenMW/openmw!3335
2023-08-18 08:21:11 +00:00
Andrei Kortunov
f053188247 Increase Lua API version 2023-08-18 11:18:35 +04:00
elsid
0d4833febb
Fix esmtool dump format 2023-08-17 11:22:05 +02:00
Alexei Kotov
9ec68e864c Load ESM4 idle animations correctly for every game 2023-08-17 04:33:01 +03:00
Alexei Kotov
5e5a25f901 Show BA2 files in the launcher 2023-08-17 02:12:31 +03:00
Andrei Kortunov
d9c91ff3d9 Add bindings for ESM::Sound records 2023-08-16 20:26:55 +04:00
Petr Mikheev
e2c5f4e766 Fix #7506 2023-08-16 17:14:08 +02:00
jvoisin
1489376951 Apply 1 suggestion(s) to 1 file(s) 2023-08-15 14:55:13 +00:00
Andrei Kortunov
7ce9fc25c5 Implement Lua bindings for sound system 2023-08-15 10:28:29 +04:00
Zackhasacat
3e8a1cce7c Load ESM4 Terminal objects, add lua bindings for them 2023-08-15 06:23:38 +00:00
jvoisin
4cf80cdac2 Merge branch 'fix_esm4_ai' into 'master'
Fix AI in ESM4 cells

See merge request OpenMW/openmw!3338
2023-08-14 22:00:24 +00:00
Evil Eye
f7edf24356 Use std::stable_sort 2023-08-13 20:26:59 +02:00
Alexei Kotov
995de00f58 Merge branch 'fix_errormsg' into 'master'
Minor fix of error message in LuaManager::DealyedAction::apply

See merge request OpenMW/openmw!3334
2023-08-13 18:24:58 +00:00
Evil Eye
3141cf9e28 Use the correct skills for training again 2023-08-13 16:10:19 +02:00
jvoisin
7d9f5f676a Merge branch 'angrydraugrs' into 'master'
Evaluate the attack early for non-biped attacks with no hit key (#7524)

Closes #7524

See merge request OpenMW/openmw!3331
2023-08-13 13:18:22 +00:00
elsid
eb77fd1813
Add height field to navigator in ESM4 cells 2023-08-13 02:26:45 +02:00
elsid
5abbc56bf2
Use proper cell size for ESM4 cells in CoordinateConverter 2023-08-13 02:24:22 +02:00
Petr Mikheev
efe2dfc056 Minor fix of error message in LuaManager::DealyedAction::apply 2023-08-12 11:08:19 +02:00
elsid
07c1177b0d
Optimize land lookup on blendmaps sampling
Minimize number of getLand calls by grouping samples per cell.
2023-08-12 02:57:16 +02:00
elsid
ce6ffba986
Move blendmap sampling logic into separate function 2023-08-12 02:45:09 +02:00
Alexei Kotov
04d54517b7 Always enable has water flag for TES3 exterior cells 2023-08-12 00:52:08 +03:00
Alexei Kotov
f2a9ab52db Merge branch 'fix_crach_missing_content_file' into 'master'
Fix crash if content file is not found (was caused by !3249)

See merge request OpenMW/openmw!3323
2023-08-11 18:29:52 +00:00
Alexei Dobrohotov
9723912ee0 Evaluate the attack early for non-biped attacks with no hit key (#7524) 2023-08-11 01:27:55 +03:00
elsid
1c4b6a552f
Always enable fog of war in map window 2023-08-10 20:49:35 +02:00
Andrei Kortunov
e749461d06 More Coverity fixes 2023-08-09 15:50:44 +04:00