Nelsson Huotari
|
8d3e7f2815
|
fix normals at cell edges, better coding standards
|
2019-10-22 21:26:55 +03:00 |
|
Nelsson Huotari
|
0f6ddfe8e6
|
change include, cleanup
|
2019-10-22 21:26:55 +03:00 |
|
Nelsson Huotari
|
12349f4e48
|
cleanup
|
2019-10-22 21:26:55 +03:00 |
|
Nelsson Huotari
|
c556885d71
|
remove unused Qt signal
|
2019-10-22 21:26:55 +03:00 |
|
Nelsson Huotari
|
deb122ffdb
|
Add optional post-processing (smooth/rough), add/fix tooltips.
|
2019-10-22 21:26:55 +03:00 |
|
Nelsson Huotari
|
2d34b63b0b
|
Fix logic of land loading when no cell, land or landdata. Fix also draw.
|
2019-10-22 21:26:55 +03:00 |
|
Nelsson Huotari
|
71eff60d22
|
Do in-class init. if possible, mLayoutSliderSize -> layoutSliderSize
|
2019-10-22 21:26:55 +03:00 |
|
Nelsson Huotari
|
a1348d94f9
|
add missing final specifiers
|
2019-10-22 21:26:55 +03:00 |
|
Nelsson Huotari
|
16ba32ffd5
|
assignments to member initialization list
|
2019-10-22 21:26:55 +03:00 |
|
Nelsson Huotari
|
c2de645c8c
|
override, virtual -> final, remove unused variables, public to private.
|
2019-10-22 21:26:55 +03:00 |
|
Nelsson Huotari
|
6a3070e680
|
Fix shape brush setting description
|
2019-10-22 21:26:55 +03:00 |
|
Nelsson Huotari
|
8a9ca0b3ec
|
Generate new WNAM record based on new land heights, add comments
|
2019-10-22 21:26:55 +03:00 |
|
Nelsson Huotari
|
96be82a047
|
Remove terrain vertex selection and brush button when exiting editMode
|
2019-10-22 21:26:55 +03:00 |
|
Nelsson Huotari
|
8acfa2600f
|
Terrain shape editing related fixes
|
2019-10-22 21:26:55 +03:00 |
|
Nelsson Huotari
|
5b9debc554
|
use enum for mbrushshape initialization
|
2019-10-22 21:26:55 +03:00 |
|
Nelsson Huotari
|
4f9ec24e41
|
use enum for brushshape at scenetoolshapebrush
|
2019-10-22 21:26:55 +03:00 |
|
Nelsson Huotari
|
bae8636ec0
|
Fix brusshape enum values
|
2019-10-22 21:26:55 +03:00 |
|
Nelsson Huotari
|
c031543420
|
use enum for brush shapes
|
2019-10-22 21:26:55 +03:00 |
|
Nelsson Huotari
|
388edfd8cc
|
change manual memory management to std::unique_ptr
|
2019-10-22 21:26:55 +03:00 |
|
Nelsson Huotari
|
da4abcd7c1
|
std::set to std::unique and erase.
|
2019-10-22 21:26:55 +03:00 |
|
Nelsson Huotari
|
6a44cae572
|
white iterator loop to C++11 range-based for loop.
|
2019-10-22 21:26:55 +03:00 |
|
Nelsson Huotari
|
bccf36fdbc
|
Convert normals calculations mostly to osg::Vec3f
|
2019-10-22 21:26:55 +03:00 |
|
Nelsson Huotari
|
45b0f034c3
|
Split complex if-logic into multiple reasonably named functions
|
2019-10-22 21:26:55 +03:00 |
|
Nelsson Huotari
|
0ce971c1bb
|
Revert back to less aggressive component-level changes.
|
2019-10-22 21:26:55 +03:00 |
|
Nelsson Huotari
|
69083369f8
|
use std::fill instead of for
|
2019-10-22 21:26:55 +03:00 |
|
Nelsson Huotari
|
3599e804e1
|
Fix the default value of mBrushSize
|
2019-10-22 21:26:55 +03:00 |
|
Nelsson Huotari
|
dc7dc93320
|
Remove unused functions, improve formatting, handle terrain edit click
|
2019-10-22 21:26:55 +03:00 |
|
Nelsson Huotari
|
1046d57190
|
Remove unneeded forward declarations.
|
2019-10-22 21:26:55 +03:00 |
|
Nelsson Huotari
|
55b3fd4418
|
Use float calculations for circle brush, keep tool options in memory.
|
2019-10-22 21:26:55 +03:00 |
|
Nelsson Huotari
|
23e7c71a5a
|
Tighter corner checking, clean-up, landSize to ESM::Land::LAND_SIZE.
|
2019-10-22 21:25:10 +03:00 |
|
Nelsson Huotari
|
8f3c22ccc3
|
Remove TerrainShapeMode::fixEdges
|
2019-10-22 21:25:10 +03:00 |
|
Nelsson Huotari
|
1a3fc435b9
|
Fix alterHeight bugs, don't let broken land edit pass.
|
2019-10-22 21:25:10 +03:00 |
|
Nelsson Huotari
|
ff18595a86
|
Reduce code duplification, add bool value to limiting
|
2019-10-22 21:25:10 +03:00 |
|
Nelsson Huotari
|
60c0a25004
|
Fix smooth tool and flatten tool. Default tool strength to 8.
|
2019-10-22 21:25:10 +03:00 |
|
Nelsson Huotari
|
54e13954e8
|
Improve land steepness limiting code
|
2019-10-22 21:25:10 +03:00 |
|
Nelsson Huotari
|
4a2d8aaf97
|
Handle mBrushSize 1.
|
2019-10-22 21:25:10 +03:00 |
|
Nelsson Huotari
|
16138fc896
|
Transient land shape editing
|
2019-10-22 21:25:10 +03:00 |
|
Bret Curtis
|
262d87846c
|
Merge pull request #2047 from akortunov/holstered_shield
Shields holstering support
|
2019-10-22 16:46:12 +02:00 |
|
Andrei Kortunov
|
d3a3b2f1f6
|
Shields holstering support (feature #5193)
|
2019-10-22 09:02:59 +04:00 |
|
Bret Curtis
|
36119ec2c4
|
Merge pull request #2562 from Capostrophic/weather
Weather-related fixes (incl. bug #4783)
|
2019-10-21 21:56:02 +02:00 |
|
Alexei Dobrohotov
|
678970b01d
|
Merge pull request #2565 from elsid/update_recastnavigation
Update recastnavigation
|
2019-10-21 02:51:28 +03:00 |
|
elsid
|
045ceeac11
|
Replace foreach macro by for-loop
|
2019-10-20 20:08:16 +02:00 |
|
elsid
|
07660b5605
|
Fix detournavigator tests
|
2019-10-20 18:59:14 +02:00 |
|
Alexei Dobrohotov
|
5d5ec1cf63
|
Merge pull request #2550 from elsid/fix_path_rebuild
Fix rebuild path for walking actors (Bug #5181)
|
2019-10-20 16:05:29 +03:00 |
|
Alexei Dobrohotov
|
85a5355e5c
|
Merge pull request #2563 from akortunov/ammofix
Fix OnStrike bows charges
|
2019-10-20 11:25:12 +03:00 |
|
Andrei Kortunov
|
dd781b3da2
|
Fix OnStrike bows charges (regression #5191)
|
2019-10-20 10:21:47 +04:00 |
|
elsid
|
e4d0af6a6d
|
Use z coordinate for path distance when diff by z is greater then actor height
|
2019-10-19 22:01:32 +02:00 |
|
Capostrophic
|
43b1b9dfa2
|
Weather-related fixes (incl. bug #4783)
Simplify some calculations
Fix Blizzard weather direction
Fix sky direction during storm
|
2019-10-19 22:47:21 +03:00 |
|
elsid
|
81832f8e17
|
Reuse distance functions
|
2019-10-19 12:51:37 +02:00 |
|
bzzt
|
1316816148
|
fix #5176
|
2019-10-18 13:37:00 +00:00 |
|