Capostrophic
909c8ef0ea
Avoid working with empty controller data (bug #5229 )
5 years ago
Andrei Kortunov
5b5c52d92e
Handle NiKeyframeController for NiTriShape (feature #5224 )
5 years ago
Capostrophic
4b38bab0d9
Make sure empty cell name subrecords are saved (bug #5222 )
5 years ago
Andrei Kortunov
eec82f676a
Merge pull request #2602 from elsid/clang_tidy
...
Fix clang-tidy issues
5 years ago
Andrei Kortunov
ab4b3677e3
Merge branch '16' into 'master'
...
perf regression fix
See merge request OpenMW/openmw!157
5 years ago
Andrei Kortunov
974670a7c5
Merge pull request #2540 from elsid/fix_startup_fail_crash
...
Fix crash on destructed stream usage
5 years ago
Andrei Kortunov
ae80d8e490
Merge pull request #2618 from elsid/fix_rope_bridge
...
Fix objects culling for recast mesh tiles (bug #5216 )
5 years ago
Alexei Dobrohotov
c01324fdb2
Merge pull request #2613 from akortunov/warnfix3
...
Fix GCC9 warnings about implicit declarations
5 years ago
elsid
7ec5a20c64
Filter recast mesh triangles by global bounding box
...
Except heightfields to reduce slow down.
5 years ago
elsid
7729e396b2
Fix exceptions logging
5 years ago
Andrei Kortunov
1b98fe4395
Fix GCC9 warnings about implicit declarations
5 years ago
Andrei Kortunov
5daf602256
Fix iterator usage when destroying cell borders (bug #5218 )
5 years ago
bzzt
f09125fc93
perf regression fix
5 years ago
elsid
8d358eeb7d
Avoid virtual call in ParticleSystem ctor
5 years ago
elsid
b07a6afa91
Avoid virtual call in GraphicsWindowSDL2 ctor
...
/home/elsid/dev/openmw/components/sdlutil/sdlgraphicswindow.cpp:23:8: warning: Call to virtual function during construction [clang-analyzer-optin.cplusplus.VirtualCall]
if(valid())
^
/home/elsid/dev/openmw/components/sdlutil/sdlgraphicswindow.cpp:23:8: note: This constructor of an object of type 'GraphicsWindowSDL2' has not returned when the virtual method was called
/home/elsid/dev/openmw/components/sdlutil/sdlgraphicswindow.cpp:23:8: note: Call to virtual function during construction
5 years ago
elsid
4cd2ff9a3d
Avoid virtual call in TerrainGrid dtor
...
/home/elsid/dev/openmw/components/terrain/terraingrid.cpp:31:9: warning: Call to virtual function during destruction [clang-analyzer-optin.cplusplus.VirtualCall]
unloadCell(mGrid.begin()->first.first, mGrid.begin()->first.second);
^
/home/elsid/dev/openmw/components/terrain/terraingrid.cpp:29:12: note: Assuming the condition is true
while (!mGrid.empty())
^
/home/elsid/dev/openmw/components/terrain/terraingrid.cpp:29:5: note: Loop condition is true. Entering loop body
while (!mGrid.empty())
^
/home/elsid/dev/openmw/components/terrain/terraingrid.cpp:31:9: note: This destructor of an object of type '~TerrainGrid' has not returned when the virtual method was called
unloadCell(mGrid.begin()->first.first, mGrid.begin()->first.second);
^
/home/elsid/dev/openmw/components/terrain/terraingrid.cpp:31:9: note: Call to virtual function during destruction
5 years ago
elsid
2e1d8a5e55
Remove unused virtual modifiers in DebugHUD
...
/home/elsid/dev/openmw/components/sceneutil/mwshadowtechnique.cpp:3127:9: warning: Call to virtual function during construction [clang-analyzer-optin.cplusplus.VirtualCall]
addAnotherShadowMap();
^
/home/elsid/dev/openmw/components/sceneutil/mwshadowtechnique.cpp:3094:5: note: Loop condition is true. Entering loop body
for (int i = 0; i < 2; ++i)
^
/home/elsid/dev/openmw/components/sceneutil/mwshadowtechnique.cpp:3094:5: note: Loop condition is true. Entering loop body
/home/elsid/dev/openmw/components/sceneutil/mwshadowtechnique.cpp:3094:5: note: Loop condition is false. Execution continues on line 3102
/home/elsid/dev/openmw/components/sceneutil/mwshadowtechnique.cpp:3126:21: note: Assuming 'i' is < 'numberOfShadowMapsPerLight'
for (int i = 0; i < numberOfShadowMapsPerLight; ++i)
^
/home/elsid/dev/openmw/components/sceneutil/mwshadowtechnique.cpp:3126:5: note: Loop condition is true. Entering loop body
for (int i = 0; i < numberOfShadowMapsPerLight; ++i)
^
/home/elsid/dev/openmw/components/sceneutil/mwshadowtechnique.cpp:3127:9: note: This constructor of an object of type 'DebugHUD' has not returned when the virtual method was called
addAnotherShadowMap();
^
/home/elsid/dev/openmw/components/sceneutil/mwshadowtechnique.cpp:3127:9: note: Call to virtual function during construction
5 years ago
elsid
bd149b909f
Remove unused virtual modifiers in ShadowManager
...
/home/elsid/dev/openmw/components/sceneutil/shadow.cpp💯 9: warning: Call to virtual function during construction [clang-analyzer-optin.cplusplus.VirtualCall]
setupShadowSettings();
^
/home/elsid/dev/openmw/components/sceneutil/shadow.cpp💯 9: note: This constructor of an object of type 'ShadowManager' has not returned when the virtual method was called
/home/elsid/dev/openmw/components/sceneutil/shadow.cpp💯 9: note: Call to virtual function during construction
/home/elsid/dev/openmw/components/sceneutil/shadow.cpp:104:9: warning: Call to virtual function during construction [clang-analyzer-optin.cplusplus.VirtualCall]
enableOutdoorMode();
^
/home/elsid/dev/openmw/components/sceneutil/shadow.cpp:104:9: note: This constructor of an object of type 'ShadowManager' has not returned when the virtual method was called
/home/elsid/dev/openmw/components/sceneutil/shadow.cpp:104:9: note: Call to virtual function during construction
5 years ago
Andrei Kortunov
f09d20434c
Clamp number of shadow maps
5 years ago
Alexei Dobrohotov
ef138e9afc
Merge pull request #2592 from akortunov/switchnode
...
Use transformations of NiSwitchNode
5 years ago
Andrei Kortunov
34873b6065
Fix dead code
5 years ago
Andrei Kortunov
7074baa1c2
Clamp number of shadow maps, as described in docs
5 years ago
Andrei Kortunov
af41e9acc1
Initialize variables to avoid undefined values
5 years ago
Andrei Kortunov
51cfd070c6
Use transformations of NiSwitchNode
5 years ago
Andrei Kortunov
bafc0d9e90
Added support for texture fragment usage to the ImageButton
5 years ago
Andrei Kortunov
6eb8e0cf4d
Display magic effects according to research page
5 years ago
Alexei Dobrohotov
a8843fa5a8
Make sure MultiChar::data() constructs a valid string
...
mData may ultimately not be a valid C-string (e.g. if it contains 4 significant characters) so it may not necessarily be converted into a valid std::string
5 years ago
elsid
d42b5fd28e
Fix warning -Woverloaded-virtual
...
In file included from openmw/components/terrain/quadtreeworld.cpp:10:
openmw/components/terrain/quadtreenode.hpp:95:14: warning: 'Terrain::QuadTreeNode::traverse' hides overloaded virtual function [-Woverloaded-virtual]
void traverse(ViewData* vd, const osg::Vec3f& viewPoint, LodCallback* lodCallback, float maxDist);
^
OpenSceneGraph/build/clang/release/include/osg/Group:43:22: note: hidden overloaded virtual function 'osg::Group::traverse' declared here: different number of parameters (1 vs 4)
virtual void traverse(NodeVisitor& nv);
^
1 warning generated.
5 years ago
bzzt
b6ed2f1718
Add optional shadow map max distance and fading
5 years ago
Bret Curtis
ec9a593fc3
Merge pull request #2578 from akortunov/mouse
...
Implement mouse wheel bindings (bug #2679 )
5 years ago
Michael Stopa
e4bec88a68
Implement mouse wheel bindings (bug #2679 )
5 years ago
Alexei Dobrohotov
9ab8d88753
Accept a bogus cell string argument for Position
5 years ago
Andrei Kortunov
45ab6e1430
Implement UTF-8 support for script parser (bug #4598 )
5 years ago
Alexei Dobrohotov
dc8e5f1d12
Accept redundant volume and pitch StopSound arguments
...
Exploited in Arktwend.
5 years ago
Alexei Dobrohotov
8bc2c1ac34
Make ForceGreeting ignore any extra argument
5 years ago
Andrei Kortunov
b2e12f0a73
Attempt to fix a regression - crash on ARM
5 years ago
Capostrophic
f7d2cdb782
Revert to 0.45.0 comments-in-the-middle settings behavior
5 years ago
Bret Curtis
9f039fac87
Merge pull request #2520 from unelsson/transientlandshapeedit
...
[Review phase] Editor: Transient land shape editing
5 years ago
Roman Siromakha
4e5aec5c30
Merge pull request #2539 from Capostrophic/scripting
...
Try to parse strings as number literals (bug #5097 )
5 years ago
Bret Curtis
2040ca5637
Merge pull request #2555 from akortunov/encoding
...
Encode ID's in all places to UTF-8
5 years ago
Nelsson Huotari
0ce971c1bb
Revert back to less aggressive component-level changes.
5 years ago
Nelsson Huotari
c2428bc5fa
Remove unneeded forward declaration
5 years ago
Nelsson Huotari
16138fc896
Transient land shape editing
5 years ago
elsid
275f552fcf
Do not modify settings on save
5 years ago
elsid
a7930073e8
Move settings parser declaration to separate header
5 years ago
Bret Curtis
f666d796e9
Merge pull request #2547 from Capostrophic/nif2
...
More minor NIF improvements
5 years ago
elsid
045ceeac11
Replace foreach macro by for-loop
5 years ago
Capostrophic
7c4743fdd1
Convert recordptr typedefs to using directives
5 years ago
Capostrophic
8056107c6e
More minor NIF improvements
5 years ago
Andrei Kortunov
2fc819cdae
Encode ID's in all places to UTF-8 (bug #3977 )
5 years ago
unelsson
3deebf0247
Merge branch 'master' into wnamfix
5 years ago
Nelsson Huotari
2fdaacf23c
remove for array, just std::swap
5 years ago
Nelsson Huotari
e35ed960ee
for -> std::copy
5 years ago
Nelsson Huotari
7f030fc3ee
copy mWnam record in copy constructor and custom assignment operator
5 years ago
Capostrophic
bde4a38181
Cast Random result to float (bug #5175 )
5 years ago
elsid
751accad0f
Remove unused field QuadTreeBuilder::mLodFactor
5 years ago
elsid
29f262e514
Fix crash on destructed stream usage
5 years ago
Capostrophic
138a7ac434
Expression parser: Try to parse strings as number literals (bug #5097 )
5 years ago
Alexei Dobrohotov
822b20ef46
Fix invalid strips-based collision shape transformation
5 years ago
Alexei Dobrohotov
0a97dd8e84
[Regression] Fix horribly broken fallback loading
5 years ago
Andrei Kortunov
1f3f3dd1a5
Merge pull request #2526 from Capostrophic/config
...
openmw.cfg-related fixes (incl. bug 2976)
5 years ago
Andrei Kortunov
e6b79d100a
Merge pull request #2503 from Capostrophic/keyword
...
Allow usage of more keywords as string arguments (bug #5087 )
5 years ago
Andrei Kortunov
e568ad30ea
Copy transformations data when we clone node (bug #5163 )
5 years ago
Capostrophic
3a912485ca
openmw.cfg-related fixes
...
Make sure the defaults exist in local openmw.cfg too
Make sure constant attenuation settings are defined now that they are implemented
Fix config file loading order once and for all (bug #2976 )
5 years ago
Capostrophic
83f61d1636
Support target color in NiMaterialColorController (bug #5159 )
5 years ago
Capostrophic
8baddefdbd
Refactor extra data and particle modifier handling
...
Objects no longer inherit from extra data class
"Controlled" harmful abstraction no longer exists
Introduced NiParticleModifier/NiParticleCollider abstractions
Extra data size reading moved into the base read() method
5 years ago
capostrophic
8f2ed884a5
Allow usage of more keywords as string arguments (bug #5087 )
5 years ago
Capostrophic
c0438a0c6b
Avoid using getPtr on empty geometry data
5 years ago
Alexei Dobrohotov
64fde2d7c2
Fix crash when NiGeometry lacks NiGeometryData
5 years ago
capostrophic
9c7474f88c
Implement NiPalette support (feature #4882 )
5 years ago
capostrophic
efa463af8f
Fix non-tiling textures clamp mode (bug #5137 )
5 years ago
Andrei Kortunov
d4a8023e1a
Merge pull request #2485 from Capostrophic/lighting
...
Add support for QuadraticMethod/LinearMethod setup (bug #4965 , continuation)
5 years ago
capostrophic
62fd2d47a5
Rewrite flickering/pulsing to work more like vanilla (bug #4952 )
5 years ago
Alexei Dobrohotov
3668473d6d
Fix comment
5 years ago
Alexei Dobrohotov
eaedf34975
Fix ventriloquism
5 years ago
capostrophic
c0d5cbdc8b
Add support for QuadraticMethod/LinearMethod setup (bug #4965 )
5 years ago
Alexei Dobrohotov
307e9ba666
Merge pull request #2413 from akortunov/weapon
...
Refactor weapon types behaviour
5 years ago
Andrei Kortunov
f0cef772fa
Refactor weapon types behaviour
...
1. Move weapon types behaviour from switches to the table (should allow
us to de-hardcode weapon types later)
2. Gereralize bones injection to actors skeletons (instead of using the
hardcoded xbase_anim_sh.nif)
5 years ago
capostrophic
9e93c9ecd2
Fix multiple-strip NiTriStrips loading
5 years ago
capostrophic
93f73fe87b
Fix comparison
5 years ago
capostrophic
7fc3153f62
Reduce code duplication further
5 years ago
capostrophic
91efdf18a9
Reduce Bullet part code duplication
5 years ago
capostrophic
ed154f0e2c
Fix typo and replace failsave with an assert
5 years ago
capostrophic
7cc70ffb50
Reduce skinned shape code duplication
5 years ago
capostrophic
bd6c455fd4
Reduce code duplication for non-skinned shapes
5 years ago
capostrophic
b4f54651f8
Make sure strips have valid size
5 years ago
capostrophic
6599a28ecf
Generate collision shape based on NiTriStrips
5 years ago
capostrophic
adb06913f7
Add basic NiTriStrips rendering (no physics yet)
5 years ago
capostrophic
8efbdeaa57
Load NiTriStrips/NiTriStripsData (don't do anything yet)
5 years ago
capostrophic
7b6af4a893
Make sure local path includes trailing slash
...
Launcher assumes it does
5 years ago
Andrei Kortunov
8557346fbd
Use glow for enchanted arrows (feature #5122 )
5 years ago
capostrophic
6928adcee1
Prevent front() and operator[] from causing undefined behavior
5 years ago
capostrophic
168e5050bb
Ignore an extra number argument in ModRegion (bug #5110 )
6 years ago
Chris Djali
576285573b
Merge pull request #2404 from Capostrophic/framerate
...
Make framerate limit configurable in the launcher
6 years ago
fredzio
ca7ac30f6d
Use the POSIX pathconf(2) to determine the maximum path length.
...
It fixes build on BSD platforms where PATH_MAX is defined in
<sys/syslimits.h> vs <linux/limits.h> on Linux.
6 years ago
Alexei Dobrohotov
e4c596adf8
Fix CI builds (attempt №2)
...
Gosh darn dem tabs
6 years ago
Alexei Dobrohotov
e4e513c5dc
Fix CI builds
...
Apparently the only tab characters are in this file.
6 years ago
Nat Meo
bcc5142b32
Issue #4202 : Open .omwaddon files without needing to open openmw-cs first.
6 years ago
AnyOldName3
bb72ed9744
Merge branch '9' into 'master'
...
IMPORTANT!! racingcrashfix #4766
See merge request OpenMW/openmw!119
6 years ago
AnyOldName3
8a6a8086da
Make in-memory buffers seekable to fix fog of war
6 years ago
Capostrophic
dfb852cbb0
Improve Boost apologia
6 years ago
Capostrophic
49c691d00a
Make settings manager locale-independent again
6 years ago
Capostrophic
e06178bf0f
Make sure shadow shapes aren't visible (bug #5063 )
6 years ago
Andrei Kortunov
b9a1e4d796
Merge pull request #2425 from Capostrophic/esm
...
Signedness fixes
6 years ago
Alexei Dobrohotov
f984f61055
Ignore any fourth AITravel argument for now
6 years ago
Capostrophic
3aa65273c5
Signedness fixes
6 years ago
Evil Eye
698c90b3ee
fix builds against MyGUI master
6 years ago
Andrei Kortunov
b66c437700
Merge pull request #2419 from Capostrophic/lod
...
Optimizer: Only merge pure osg::Groups
6 years ago
Andrei Kortunov
4fcbc1c96b
Merge pull request #2391 from Capostrophic/contentselector
...
Content selector: don't add file namesakes (bug #2395 )
6 years ago
Capostrophic
6622e36226
Only merge pure osg::Groups in the optimizer
6 years ago
Capostrophic
7c8360d0f3
Use NiSwitchNode initial index field
6 years ago
Alexei Dobrohotov
ce92b364e6
Merge pull request #2403 from akortunov/crashinfo
...
Improve info message about missing GDB
6 years ago
bzzt
a730365ea1
Creanup Distant Terrain code
...
- Cull terrain in the stock osg::CullVisitor
- Do not compile composite maps for shadow camera
- Do not abuse userdata for composite maps
6 years ago
bzzt
e4ba6ecf15
Do not store a LOD callback in the every QuadTreeNode
6 years ago
bzzt
a61c0aaee1
Do not load height data to the qued tree since we do not need it now
6 years ago
bzzt
ebcf8ca062
Do not store a ViewDataMap in the every QuadTreeNode
6 years ago
bzzt
cb6d27fb12
Use the custom LineSegmentIntersector for QuadTree to simplify traversal
...
code
6 years ago
bzzt
ce4e8be9ac
Move traverse methods to the QuadTreeNode
6 years ago
Capostrophic
b7afb213ae
"Handle" RepairedOnMe scripting function (feature #4255 )
6 years ago
Alexei Dobrohotov
f0640cbb21
Merge pull request #2296 from akortunov/blend
...
Optimize blendmap generation
6 years ago
bzzt
528cda8032
Prevent layers duplication when a terrain chunk crosses plugin borders
6 years ago
Andrei Kortunov
1da012f6ee
Optimize blendmap generation
6 years ago
Alexei Dobrohotov
5965aa991b
Improve grammar in a warning
6 years ago
Capostrophic
0fcb75fb21
Achieve CHIM and get rid of the loop
6 years ago
Capostrophic
5cd781b3eb
Experimental folder handling rewrite
6 years ago
Capostrophic
2fbed21f83
Avoid a memory leak
6 years ago
Capostrophic
e14ada8f36
Make file name comparison case-insensitive
6 years ago
Capostrophic
ebe5448816
Content selector: drop duplicates of the added file (bug #2395 )
6 years ago
Andrei Kortunov
f1db97fbbd
Improve info message about missing GDB (bug #4341 )
6 years ago
bzzt
ffe8bbd2dd
racingcrashfix #4766
6 years ago
Andrei Kortunov
7c53b99d31
Avoid possible data race during access to the static local variable
6 years ago
Phillip Andrews
dee72e9430
Make script literal lookup functions safer
...
Assert isn't really the right way to range check these, since in theory we could have a malformed compiled script. This should make it safer with zero performance overhead.
6 years ago
Alexei Dobrohotov
7c46102f0c
Merge pull request #2389 from akortunov/fmt
...
Introduce a custom format() function
6 years ago
Andrei Kortunov
6832a2fa9a
Remove BOM from CPP files (allows to build OpenMW with LCC on Elbrus)
6 years ago
Andrei Kortunov
e679190f31
Introduce a custom format() function to get rid of boost::format() and hackish replace()
6 years ago
Alexei Dobrohotov
2c956398c1
Actually fix bug 4938
6 years ago
Alexei Dobrohotov
1444ef6f43
Merge pull request #2298 from akortunov/optimize
...
Do not allocate eight dummy LightStateAttribute's for every stateset
6 years ago
Alexei Dobrohotov
acae586765
Merge pull request #2365 from akortunov/guifixes
...
Refactor Settings::Manager::apply()
6 years ago
Andrei Kortunov
4f42fe5595
Refactor Settings::Manager::apply()
6 years ago
Alexei Dobrohotov
1bfe0e43af
Merge pull request #2360 from akortunov/guifixes
...
Do not track resolution settings changes in the InputManager
6 years ago
Alexei Dobrohotov
74112976b2
Merge pull request #2085 from akortunov/herbalism
...
Native graphics herbalism support
6 years ago
Andrei Kortunov
7ce07e9202
Merge pull request #2345 from Capostrophic/scripting
...
More argument usage corrections
6 years ago
Ilya Zhuravlev
2e1ac51203
Clean up androidpath
6 years ago
Andrei Kortunov
861d41f4a4
Native graphics herbalism support (feature #5010 )
6 years ago
Capostrophic
95751ba671
Ignore extra numerical arguments for ForceGreeting, Position(Cell), PlaceItem(Cell)
6 years ago
Capostrophic
05727f2bcd
Ignore string arguments for AITravel, GetDynamic, LowerRank, RaiseRank
6 years ago
Andrei Kortunov
0cd8d4b842
Do not track resolution settings changes in the InputManager (bug #4902 )
6 years ago
Capostrophic
05d94d35f9
Make disabled shadow defines map static
6 years ago
Andrei Kortunov
7941fd6780
Merge branch 'patch-2' into 'master'
...
Add support for OpenGLES 3.2
See merge request OpenMW/openmw!93
6 years ago
Bret Curtis
e0edecf1f2
Merge pull request #2341 from Capostrophic/scripting
...
Allow using functions in non-conditional expressions (bug #3725 )
6 years ago