Phobos
Phobos copied to clipboard
Refactoring PlacementPreview logic
- General code refactoring
- Added ability to load theater-specific shapes - #642
- Translucent tags now should be set to 0\25\50\70 instead of 0\1\2\3
- Renamed tags and fixed documentation errors:
- In AudioVisual
-
BuildingPlacementPreview.DefaultTranslucentLeve--->PlacementPreview.Translucency -
BuildingPlacementGrid.TranslucentLevel------------->PlacementGrid.Translucency
-
- In BuildingType
-
PlacementPreview.Show--------------------------------->PlacementPreview -
PlacementPreview.TranslucentLevel------------------->PlacementPreview.Translucency
-
- In ra2md.ini
-
[Phobos]->ShowBuildingPlacementPreview------------->[Phobos]->ShowPlacementPreview
-
- In AudioVisual
Nightly build for this pull request:
- compiled-dll-453ccd134568f17cd8d05d266c317ee8f0ede370.zip This comment is automatic and is meant to allow guests to get latest nightly builds without registering. It is updated on every successful build.
There is my testing feedback: All three tags in [AudioVisual] work fine. Theater-specific shapes can be specified by PlacementPreview.Shape. Theater-specific palettes can be specified by PlacementPreview.Palette. All the rest tags work as expected.
The PlacementPreview.Shape tag does not currently support save\load. Need to fix