Nelsson Huotari
|
24c8b32d4c
|
Implement brush outline for terrainshapemode
|
2020-03-26 13:25:33 +02:00 |
|
Andrei Kortunov
|
84979fa8b7
|
Move VisMask to components
|
2020-02-16 16:03:35 +04:00 |
|
capostrophic
|
89055f1c6c
|
Generate WNAM upon saving terrain
|
2020-01-11 02:42:04 +03:00 |
|
Bret Curtis
|
454b9f1964
|
Merge pull request #2597 from akortunov/coverity
CoverityScan fixes, part 2
|
2019-11-14 21:08:03 +01:00 |
|
Alexei Dobrohotov
|
b5992b380e
|
Merge pull request #2586 from unelsson/allowselectionalledges
Allow selecting cell edges everywhere
|
2019-11-14 17:25:48 +03:00 |
|
Andrei Kortunov
|
b210e99abc
|
Avoid divizion by zero
|
2019-11-14 17:43:21 +04:00 |
|
Nelsson Huotari
|
120583f443
|
optimize isInCellSelection calls
|
2019-11-14 11:28:49 +02:00 |
|
Andrei Kortunov
|
238dcdbbd4
|
Fix copy-paste error
|
2019-11-13 15:14:30 +04:00 |
|
Nelsson Huotari
|
45d43045eb
|
Remove unused std::string
|
2019-11-04 12:29:37 +02:00 |
|
Nelsson Huotari
|
aeb0ccff90
|
Allow selecting cell edges everywhere
|
2019-11-04 12:16:08 +02:00 |
|
Nelsson Huotari
|
9677203215
|
Don't allow vertex selection outside visible cells
|
2019-11-04 00:09:23 +02:00 |
|
Nelsson Huotari
|
d186bcb46f
|
Update selection during transient edit, clear to a single function.
|
2019-11-03 13:27:27 +02:00 |
|
Andrei Kortunov
|
d278e5d4af
|
Fix warnings about variable re-declaration
|
2019-10-29 13:48:08 +04:00 |
|
Nelsson Huotari
|
9e5db10288
|
const ref float -> float
|
2019-10-23 00:02:24 +03:00 |
|
Nelsson Huotari
|
ac5b356e8d
|
Always initialize landShapeNew
|
2019-10-23 00:01:23 +03:00 |
|
Nelsson Huotari
|
6f9f59dd58
|
declare cellId and cellCoords in smallest possible scope
|
2019-10-22 21:26:55 +03:00 |
|
Nelsson Huotari
|
a13edbdb42
|
Bump shape calculation to function
|
2019-10-22 21:26:55 +03:00 |
|
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
|
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
|
c2de645c8c
|
override, virtual -> final, remove unused variables, public to private.
|
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
|
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
|
bccf36fdbc
|
Convert normals calculations mostly to osg::Vec3f
|
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
|
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 |
|