Commit Graph

4344 Commits (9106e3646cb49bdb3d285e563b687856171fecf1)

Author SHA1 Message Date
Bret Curtis 7096ecdcf2
Merge pull request #2719 from Capostrophic/capofixes
Fixes of my mistakes
5 years ago
Capostrophic d3244dc777 Don't save space in compressed BSA hash generation 5 years ago
Capostrophic aef6cd7006 Fix handling of empty strings in NIF string tables 5 years ago
Capostrophic 5770227e37 Avoid using auto-detected normal maps that are bump map namesakes 5 years ago
Capostrophic 624a9ac353 Force shaders for objects affected by new envmap option 5 years ago
Capostrophic 2b3ecff004 Remove broken fixed function pipeline support
Added by mistake
5 years ago
Capostrophic 6999f1fd28 Add an option to apply lighting to environment maps 5 years ago
Capostrophic 19a7245251 Add bump mapping support 5 years ago
Andrei Kortunov 8c177f0306 Take in account transformations of NiCollisionSwitch 5 years ago
Bret Curtis c907cd98c8
Merge pull request #2704 from akortunov/collisionswitch
Handle NiCollisionSwitch node
5 years ago
Alexei Dobrohotov e1f0504557
Merge pull request #2703 from akortunov/masks
Fix a regression in the NiVisController
5 years ago
Andrei Kortunov 77d6fe46ca Handle NiCollisionSwitch node 5 years ago
Andrei Kortunov 7b5ec76db4 Fix regression in the NiVisController 5 years ago
elsid 650f429ff5
Add final modifier to fix warnings 5 years ago
Andrei Kortunov 84979fa8b7 Move VisMask to components 5 years ago
Andrei Kortunov f4291ea948 Fix intersector usage (bug #5283) 5 years ago
Andrei Kortunov b8548b8f56
Merge pull request #2691 from elsid/navigator_status
Use status codes to handle navigator errors instead of exceptions
5 years ago
elsid 349040ffb2
Use status codes to handle navigator errors instead of exceptions
For find path use case.
5 years ago
Capostrophic 216a5d27c6 Avoid working with AMBI subrecord in tools unnecessarily (bug #5269) 5 years ago
Capostrophic 0479311c25 Correct declarations of utility methods 5 years ago
Capostrophic e363d5df21 Some more minor NIF support fixes 5 years ago
Alexei Dobrohotov 234fdfefb7
Revert "Don't apply 1.6 magic value to NiGravity decay factor (#5266)" 5 years ago
Capostrophic dcafe719a5 Don't apply 1.6 magic value to NiGravity decay factor (#5266) 5 years ago
elsid f7caeefddb
Fallback to straight path when navmesh and pathgrind are not available 5 years ago
Bret Curtis 44a85795cf
Merge pull request #2669 from Capostrophic/wnam
Generate WNAM subrecord upon saving terrain instead of upon editing it
5 years ago
elsid 1e106013a0
Use navmesh to find wander destination outside pathgrid for ground based actors
Use dtNavMeshQuery::findRandomPointAroundCircle from recastnavigation
5 years ago
capostrophic 89055f1c6c Generate WNAM upon saving terrain 5 years ago
Bret Curtis 95f9e4f4c9
Merge pull request #2649 from Capostrophic/nifstreamline
Yet more NIF adjustments
5 years ago
Alexei Dobrohotov 7a4caaf5bf
Merge pull request #2660 from akortunov/boost
Additional de-boosting
5 years ago
Alexei Dobrohotov ff2739b8a3
Merge pull request #2651 from akortunov/encoding
Unify streams usage to support non-ASCII paths
5 years ago
Andrei Kortunov a250a405b4 An attempt to fix the MSVC2017 build 5 years ago
Andrei Kortunov 1cdd33b434 Implement additional stringops to avoid Boost functions 5 years ago
Andrei Kortunov cb1a8ec518 Do not link the Boost threads library 5 years ago
capostrophic 0467e8ee15 Avoid heap corruption while reading SCVR (bug #4680) 5 years ago
Andrei Kortunov 3704acf857 Unify streams usage to support non-ASCII paths (bug #5239) 5 years ago
capostrophic f234d53269 Don't use double negation 5 years ago
capostrophic 32caab663f Enumerate interpolation types properly 5 years ago
capostrophic e654a52b70 More NIF adjustments
Constant interpolation support
5 years ago
Andrei Kortunov 75fed1d236 Print error code when failed to open file on Windows 5 years ago
Alexei Dobrohotov 133b99bf18
Merge pull request #2622 from akortunov/testcells
Implement TestCells and TestInteriorCells console commands
5 years ago
Alexei Dobrohotov 2693598d82
Merge pull request #2642 from akortunov/warnfix2
Add safety checks for door state
5 years ago
Alexei Dobrohotov dfcc6d8b5a
Merge pull request #2640 from akortunov/save
Do not store gold-specific value for everything
5 years ago
Andrei Kortunov 24044b08e0 Do not store gold-specific value for everything 5 years ago
Andrei Kortunov 88a695f251 Add safety checks for door state 5 years ago
Andrei Kortunov 24ce242941 Implement TestCells (feature #5219) 5 years ago
Andrei Kortunov cd81f81fb6 Initialize variables to avoid GCC warnings 5 years ago
Assumeru 737aa1e4e8 Remove FactionID editing from OpenCS (#2636)
* Remove FactionID editing

* remove useless comments

* rename FactionID to Unknown
5 years ago
Assumeru dfbe0021a5 Change rescaling to be more inline with vanilla (fixes #5214) (#2635)
* move rescaling to loadData

* clamp on save
5 years ago
Alexei Dobrohotov f3e8fbfded Merge branch 'range-safety' into 'master'
Make script literal lookup functions safer

See merge request OpenMW/openmw!113
5 years ago
Andrei Kortunov c41562fa27 Make TextureProperty warnings more informative 5 years ago
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