-
Notifications
You must be signed in to change notification settings - Fork 222
New world generation #1592
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
fenndragon
wants to merge
52
commits into
master
Choose a base branch
from
new-world-generation-
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
New world generation #1592
Changes from all commits
Commits
Show all changes
52 commits
Select commit
Hold shift + click to select a range
982f270
first step
fenndragon 7f5ea93
new touches
fenndragon de702d4
fix
fenndragon 9ca82ee
planetside generation
fenndragon b30eca6
fixes
fenndragon 0a3302a
MapManager warnings cleanup Server Edition 2003 (#36781)
VerinSenpai 0adcb5f
Weather entities (#41427)
TheShuEd 615107c
fix
fenndragon f60f9b1
fixes
fenndragon 03d7e41
fix
fenndragon 9c0b9a9
fix
fenndragon a016657
Update weather.yml
fenndragon c85e74b
Update PersistenceSaveCommand.cs
fenndragon 351a553
Update SectorWorldSystem.cs
fenndragon 564cb3f
fixes
fenndragon cbf9c71
fix
fenndragon 4ca9736
Update salvage_mods.yml
fenndragon c7598d0
fix
fenndragon 058d53c
fix
fenndragon de1477d
fix
fenndragon 55eb0d4
fix
fenndragon 6a9f44d
Update SectorWorldExpeditionIntegrationTest.cs
fenndragon cd86564
fix
fenndragon 232b3bb
fixes
fenndragon 5074603
Merge branch 'master' into new-world-generation-
fenndragon 5f95eee
Potential fix for pull request finding 'Dereferenced variable may be …
fenndragon 0e97dde
Potential fix for pull request finding 'Dereferenced variable may be …
fenndragon ee74c77
Potential fix for pull request finding 'Dereferenced variable may be …
fenndragon 048ab7a
Potential fix for pull request finding 'Dereferenced variable may be …
fenndragon 14b7f3e
Potential fix for pull request finding 'Dereferenced variable may be …
fenndragon 896ec08
Potential fix for pull request finding 'Generic catch clause'
fenndragon 19b5456
Potential fix for pull request finding 'Call to 'System.IO.Path.Combi…
fenndragon 81420a0
Potential fix for pull request finding 'Call to 'System.IO.Path.Combi…
fenndragon 10f279b
Potential fix for pull request finding 'Missed opportunity to use Sel…
fenndragon 8012721
fixes
fenndragon 04add60
Potential fix for pull request finding 'Dereferenced variable may be …
fenndragon 5741084
Potential fix for pull request finding 'Call to 'System.IO.Path.Combi…
fenndragon 7b4d9ae
Potential fix for pull request finding 'Missed opportunity to use Where'
fenndragon 96a4bcc
Potential fix for pull request finding 'Missed opportunity to use Where'
fenndragon a6690b0
Potential fix for pull request finding 'Missed opportunity to use Where'
fenndragon 07836fb
Potential fix for pull request finding 'Missed opportunity to use Where'
fenndragon e3b38a1
Potential fix for pull request finding 'Missed opportunity to use Where'
fenndragon 9e38a74
Potential fix for pull request finding 'Missed opportunity to use Where'
fenndragon e45999d
Potential fix for pull request finding 'Missed opportunity to use Where'
fenndragon 2fee5fe
Potential fix for pull request finding 'Missed opportunity to use Where'
fenndragon 46817b9
fixes
fenndragon 954fd32
fixes
fenndragon 6b4fb84
Update SectorWorldSystem.cs
fenndragon 4922f1d
Update GatewaySystem.cs
fenndragon 01010e7
fix
fenndragon ca49ec2
fixes
fenndragon e00f5eb
Merge branch 'master' into new-world-generation-
fenndragon File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -115,14 +115,14 @@ | |
| <BoxContainer HorizontalExpand="True"> | ||
| <Label Text="{Loc 'humanoid-profile-editor-height-label'}" /> | ||
| <Control HorizontalExpand="True"/> | ||
| <Slider Name="HeightSlider" MinValue="0.8" MaxValue="1.2" Value="1.0" HorizontalAlignment="Right" MinSize="200 0" /> | ||
| <Slider Name="HeightSlider" MinValue="0.4" MaxValue="1.5" Value="1.0" HorizontalAlignment="Right" MinSize="200 0" /> | ||
| <Button Name="HeightResetButton" Text="{Loc 'humanoid-profile-editor-reset-button'}" HorizontalAlignment="Right" /> | ||
| </BoxContainer> | ||
| <!-- Width --> | ||
| <BoxContainer HorizontalExpand="True"> | ||
| <Label Text="{Loc 'humanoid-profile-editor-width-label'}" /> | ||
| <Control HorizontalExpand="True"/> | ||
| <Slider Name="WidthSlider" MinValue="0.8" MaxValue="1.2" Value="1.0" HorizontalAlignment="Right" MinSize="200 0" /> | ||
| <Slider Name="WidthSlider" MinValue="0.4" MaxValue="1.5" Value="1.0" HorizontalAlignment="Right" MinSize="200 0" /> | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Unrelated change. |
||
| <Button Name="WidthResetButton" Text="{Loc 'humanoid-profile-editor-reset-button'}" HorizontalAlignment="Right" /> | ||
| </BoxContainer> | ||
| </BoxContainer> | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -405,7 +405,7 @@ public HumanoidProfileEditor( | |
|
|
||
| HeightSlider.OnValueChanged += args => | ||
| { | ||
| SetHeight((float)args.Value); | ||
| SetProfileHeight((float)args.Value); | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Unrelated change. |
||
| }; | ||
|
|
||
| HeightResetButton.OnPressed += _ => | ||
|
|
@@ -419,7 +419,7 @@ public HumanoidProfileEditor( | |
|
|
||
| WidthSlider.OnValueChanged += args => | ||
| { | ||
| SetWidth((float)args.Value); | ||
| SetProfileWidth((float)args.Value); | ||
| }; | ||
|
|
||
| WidthResetButton.OnPressed += _ => | ||
|
|
@@ -1937,29 +1937,29 @@ private void SetSpawnPriority(SpawnPriorityPreference newSpawnPriority) | |
| SetDirty(); | ||
| } | ||
|
|
||
| private void SetHeight(float newHeight) | ||
| private void SetProfileHeight(float newHeight) | ||
| { | ||
| Profile = Profile?.WithCharacterAppearance(Profile.Appearance.WithHeight(newHeight)); | ||
| Profile = Profile?.WithCharacterAppearance(Profile.Appearance.WithHeight(Math.Clamp(newHeight, HumanoidCharacterAppearance.MinScale, HumanoidCharacterAppearance.MaxScale))); | ||
| SetDirty(); | ||
| ReloadPreview(); | ||
| } | ||
|
|
||
| private void ResetHeight() | ||
| { | ||
| SetHeight(1.0f); | ||
| SetProfileHeight(HumanoidCharacterAppearance.DefaultScale); | ||
| UpdateHeightControls(); | ||
| } | ||
|
|
||
| private void SetWidth(float newWidth) | ||
| private void SetProfileWidth(float newWidth) | ||
| { | ||
| Profile = Profile?.WithCharacterAppearance(Profile.Appearance.WithWidth(newWidth)); | ||
| Profile = Profile?.WithCharacterAppearance(Profile.Appearance.WithWidth(Math.Clamp(newWidth, HumanoidCharacterAppearance.MinScale, HumanoidCharacterAppearance.MaxScale))); | ||
| SetDirty(); | ||
| ReloadPreview(); | ||
| } | ||
|
|
||
| private void ResetWidth() | ||
| { | ||
| SetWidth(1.0f); | ||
| SetProfileWidth(HumanoidCharacterAppearance.DefaultScale); | ||
| UpdateWidthControls(); | ||
| } | ||
|
|
||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unrelated change.