Alexei Kotov
d078907dcb
NIFStream: rewrite loading for everything
...
Replace overloading with read() template specializations for every type that needs specific handling
Make use of the new read() or get() in all methods
Move complex string-related methods to implementation
2023-08-17 09:15:45 +03:00
Alexei Kotov
ce13f05187
NIFStream: clean up comments
2023-08-17 09:15:45 +03:00
Alexei Kotov
e8f9a918ae
NIFStream: use the right function for readArray
2023-08-17 09:15:45 +03:00
Alexei Kotov
4f549c267f
NIFStream: rename input stream and file methods
...
To conform to modern style conventions
2023-08-17 09:15:45 +03:00
Alexei Kotov
62d643f668
NIFStream: Drop LittleEndian from reading methods
...
This is just noise. We don't clarify reading endianness for any other file format.
2023-08-17 09:15:45 +03:00
Alexei Kotov
aed440ce64
Clean up error handling in NIFStream reading
...
No particular reason to introduce is_arithmetic specifically for 16-bit floats, there's no significant code duplication
Bypassing getBoolean() could be error-prone for records that are shared between pre-4.2 and post-4.2 formats
2023-08-17 09:15:45 +03:00
psi29a
c9f03b4174
Merge branch 'sizeup' into 'master'
...
Replace more sized reads
See merge request OpenMW/openmw!3322
2023-08-15 06:28:59 +00:00
psi29a
18f3e937cb
Merge branch 'lua_terminal' into 'master'
...
Load ESM4 Terminal objects, add lua bindings for them
See merge request OpenMW/openmw!3341
2023-08-15 06:23:38 +00: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
jvoisin
d45a3c4916
Merge branch 'fullydynamic' into 'master'
...
Fix loading of 10.0.1.0 NiDynamicEffect
See merge request OpenMW/openmw!3336
2023-08-14 21:59:53 +00: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
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
jvoisin
840ad259bf
Merge branch 'purewah' into 'master'
...
Always enable has water flag for TES3 exterior cells (#7526 )
Closes #7526
See merge request OpenMW/openmw!3332
2023-08-13 13:18:09 +00:00
jvoisin
2ea37cbbcc
Merge branch 'fix_circular_teal_require' into 'master'
...
Don't refer to local type by absolute path in docs
See merge request OpenMW/openmw!3337
2023-08-13 13:02:58 +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
uramer
16ba35d63b
Don't refer to local type by absolute path in docs
2023-08-12 21:17:11 +02:00
Alexei Kotov
ee7accf3bd
Don't read affected nodes for 10.0.1.0 NiDynamicEffect
2023-08-12 21:48:51 +03:00
Alexei Kotov
baefff323c
Make some NIF loading messages less confusing
2023-08-12 21:45:19 +03:00
Petr Mikheev
a8ed567177
Merge branch 'fiendfyre' into 'master'
...
Read a couple of Bethesda-specific controller records
See merge request OpenMW/openmw!3328
2023-08-12 09:14:28 +00:00
Petr Mikheev
efe2dfc056
Minor fix of error message in LuaManager::DealyedAction::apply
2023-08-12 11:08:19 +02:00
Alexei Kotov
04d54517b7
Always enable has water flag for TES3 exterior cells
2023-08-12 00:52:08 +03:00
Alexei Kotov
6180ba8a3e
Merge branch 'lua_getall_global' into 'master'
...
Lua Documentation clarification/fixes
See merge request OpenMW/openmw!3329
2023-08-11 21:16:32 +00:00
Zackhasacat
8f303f46dc
Lua Documentation clarification/fixes
2023-08-11 21:16:32 +00: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 Kotov
8307a3d82e
Merge branch 'fix_fog_of_war' into 'master'
...
Always enable fog of war in map window (#7525 )
Closes #7525
See merge request OpenMW/openmw!3330
2023-08-11 18:11:57 +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
jvoisin
f1c3b42cfb
Merge branch 'minorfix_local' into 'master'
...
Add missing 'local' in playercontrols.lua
See merge request OpenMW/openmw!3324
2023-08-10 15:09:36 +00:00
Alexei Dobrohotov
de50f30645
Read a couple of Bethesda-specific controller records
...
BSMaterialEmittanceMultController
BSRefractionFirePeriodController
BSRefractionStrengthController
2023-08-10 01:59:10 +03:00
Petr Mikheev
b5f4cec725
Fix crash if content file is not found (was caused by !3249 )
2023-08-09 10:32:35 +02:00
Petr Mikheev
b34930d3f2
Add missing 'local' in playercontrols.lua
2023-08-09 10:18:26 +02:00
Evil Eye
9e376f3783
Replace explicitly sized reads in cellid, cellref
2023-08-08 21:41:44 +02:00
Evil Eye
48484c9416
Replace explicitly sized reads in aisequence
2023-08-08 21:06:49 +02:00
psi29a
84e71f4977
Merge branch 'hashtagcornyphrase' into 'master'
...
Don't replace tags when dealing with console input
See merge request OpenMW/openmw!3291
2023-08-08 08:54:23 +00:00
psi29a
3151452e25
Merge branch 'pandorasbox' into 'master'
...
Launcher, content selector: support ESM4 files, allow using game files as addon files
See merge request OpenMW/openmw!3219
2023-08-08 08:54:10 +00:00
psi29a
7b4f7b7f07
Merge branch 'adjust_refnum' into 'master'
...
Adjust FormId in FormIdRefId and for items in containers when loading saves
See merge request OpenMW/openmw!3293
2023-08-08 08:54:00 +00:00
psi29a
33d0774637
Merge branch 'healplz' into 'master'
...
Tweak AI rating to reduce healing spam
Closes #4207
See merge request OpenMW/openmw!2553
2023-08-08 08:53:22 +00:00
Evil Eye
fb10014d6e
Remove heal cooldown
2023-08-07 22:44:24 +02:00
Evil Eye
ee92ae7e34
Simplify restore magicka priority
2023-08-07 22:43:39 +02:00
Evil Eye
7c82405c9f
Tweak AI rating to reduce healing spam
2023-08-07 22:43:35 +02:00
psi29a
e4a6f70011
Merge branch 'fix_esm4_terrain' into 'master'
...
Support terrain sample size greater than cell size (#7505 )
Closes #7505
See merge request OpenMW/openmw!3313
2023-08-07 08:57:38 +00:00
elsid
8e7fe44514
Support terrain sample size greater than cell size
2023-08-06 23:47:35 +02:00
elsid
2a49919b53
Move esm3terrain to esmterrain
2023-08-06 19:17:44 +02:00
elsid
28436557b1
Validate fillVertexBuffers arguments
2023-08-06 19:17:44 +02:00
elsid
fbd3d1f61d
Rename increment to sampleSize
2023-08-06 19:17:44 +02:00
elsid
0da156bdc2
Skip getLand call when no vertices are used
2023-08-06 19:17:44 +02:00
elsid
5fda4b3cfd
Precompute height cooridnates offsets
2023-08-06 19:17:43 +02:00
elsid
2c2a60b86c
Simplify filling positions
2023-08-06 19:17:43 +02:00