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
|
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 |
|
elsid
|
045ceeac11
|
Replace foreach macro by for-loop
|
2019-10-20 20:08:16 +02:00 |
|
Nelsson Huotari
|
78f2a5181d
|
Default brush size to 1
|
2019-10-10 14:27:22 +03:00 |
|
Nelsson Huotari
|
fbb9800e89
|
Better terrain texture ID handling
|
2019-10-10 14:27:22 +03:00 |
|
Nelsson Huotari
|
301c05662b
|
assignment to memb. init. list, publics to private, virtual -> final
|
2019-10-10 14:27:22 +03:00 |
|
Nelsson Huotari
|
4ccb951126
|
move check to outermost scope
|
2019-09-10 12:15:19 +03:00 |
|
Nelsson Huotari
|
0880923189
|
Consistency for variable and header argument names.
|
2019-09-10 12:15:19 +03:00 |
|
Nelsson Huotari
|
6dc3d8b44b
|
More readable code
|
2019-09-10 12:15:19 +03:00 |
|
Nelsson Huotari
|
780055899d
|
Don't add empty primitive sets to geometry.
|
2019-09-10 12:15:19 +03:00 |
|
Nelsson Huotari
|
3becacf6d1
|
Remove globals, const int& -> int, values to const ref.
|
2019-09-10 12:15:19 +03:00 |
|
Nelsson Huotari
|
1dcee833a1
|
Less verbose syntax
|
2019-09-10 12:15:19 +03:00 |
|
Nelsson Huotari
|
5a143fe99d
|
Remove extra include
|
2019-09-10 12:15:19 +03:00 |
|
Nelsson Huotari
|
39ab449431
|
Only allow selection of cells in view
|
2019-09-10 12:15:19 +03:00 |
|
Nelsson Huotari
|
dc8de6c6e6
|
Make less copies
|
2019-09-10 12:15:19 +03:00 |
|
Nelsson Huotari
|
001ca68cc7
|
Remove empty lines
|
2019-09-10 12:15:19 +03:00 |
|
Nelsson Huotari
|
46ee639892
|
pass by const ref and other fixes
|
2019-09-10 12:15:19 +03:00 |
|
Nelsson Huotari
|
20ab7df19f
|
Fixes, cleanup.
|
2019-09-10 12:15:19 +03:00 |
|
Nelsson Huotari
|
1a08944a8b
|
Remove unused code, clarifications, optimizations
|
2019-09-10 12:15:19 +03:00 |
|
Nelsson Huotari
|
d6722c7492
|
Terrain texture selection, support for vertex selection
|
2019-09-10 12:15:19 +03:00 |
|
Nat Meo
|
af1e5e01b4
|
Issue #5005: Instance window via Scene window
|
2019-07-01 23:26:05 +00:00 |
|
Capostrophic
|
548d336933
|
Editor: Don't accept overflowing input in NPC fields
|
2019-04-30 20:41:23 +03:00 |
|
Capostrophic
|
85e99182ce
|
Revise light source configuration (bug #4965)
Set up attenuation less awkwardly
Use global attenuation settings for magic light source
Use constant attenuation settings
|
2019-04-10 22:31:31 +03:00 |
|
Andrei Kortunov
|
a302ec9c65
|
Make fallback map static to simplify constructors
|
2019-03-29 15:30:49 +04:00 |
|
elsid
|
ccb325c663
|
Add override to fix warnings
|
2019-03-20 00:19:26 +03:00 |
|