-
Notifications
You must be signed in to change notification settings - Fork 21
Radar changes, again #34
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
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
a00ae0e
revert forge
fox76055 f882a32
comms
fox76055 e454ed6
IFF and dock
fox76055 29485c3
Update FireControlWindow.xaml
fox76055 97e824f
revert
fox76055 582d0f3
Radar Lines for Missile Direction/Current Target & Scanning Arcs (#4232)
kasature90 03cb3d7
music again
fox76055 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
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
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -35,12 +35,17 @@ public FireControlWindow() | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| RobustXamlLoader.Load(this); | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| IoCManager.InjectDependencies(this); | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| RefreshButton.OnPressed += _ => OnServerRefresh?.Invoke(); | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ShowIFFCheckbox.OnToggled += args => NavRadar.ShowIFF = args.Pressed; // Forge-Change | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| SelectAllButton.OnPressed += SelectAllWeapons; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| UnselectAllButton.OnPressed += UnselectAllWeapons; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| SelectBallisticButton.OnPressed += SelectBallisticWeapons; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| SelectEnergyButton.OnPressed += SelectEnergyWeapons; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| SelectMissileButton.OnPressed += SelectMissileWeapons; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| IFFToggle.OnToggled += OnIFFTogglePressed; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| IFFToggle.Pressed = NavRadar.ShowIFF; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| DockToggle.OnToggled += OnDockTogglePressed; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| DockToggle.Pressed = NavRadar.ShowDocks; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Pcolik505 marked this conversation as resolved.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| private void SelectAllWeapons(BaseButton.ButtonEventArgs args) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
@@ -139,6 +144,18 @@ private void SelectMissileWeapons(BaseButton.ButtonEventArgs args) | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| UpdateAllWeaponButtonTexts(); | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| private void OnIFFTogglePressed(BaseButton.ButtonEventArgs args) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| NavRadar.ShowIFF ^= true; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| args.Button.Pressed = NavRadar.ShowIFF; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| private void OnDockTogglePressed(BaseButton.ButtonEventArgs args) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| NavRadar.ShowDocks ^= true; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| args.Button.Pressed = NavRadar.ShowDocks; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Comment on lines
+147
to
+158
Collaborator
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.
Suggested change
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| /// <summary> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| /// Updates the text of a weapon button based on its selection state and manual reload status. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| /// </summary> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
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
1 change: 0 additions & 1 deletion
1
Content.Server/_Mono/Projectiles/TargetSeeking/TargetSeekingSystem.cs
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
Binary file not shown.
Binary file added
BIN
+3.99 MB
...udio/_LuaM/AdminSound/FUBAR Soundtrack For The Game That Doesn't Exist - A-Guy (128k).ogg
Binary file not shown.
Binary file added
BIN
+2.73 MB
Resources/Audio/_LuaM/AdminSound/Parabellum - Болгарыч Bolgarich (128k).ogg
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+2.54 MB
...s/Audio/_LuaM/AdminSound/RMC-14 - Destiny of Colonists - Lobby music [TubeRipper.net].ogg
Binary file not shown.
Binary file added
BIN
+3.9 MB
.../AdminSound/Ready or Not - Club (Full Set) - OST - Official Supporter Edition Release.ogg
Binary file not shown.
Binary file added
BIN
+2.35 MB
...udio/_LuaM/AdminSound/Space Station 14 - Its Blobin Time by mrjajkes [TubeRipper.net].ogg
Binary file not shown.
Binary file added
BIN
+3.28 MB
Resources/Audio/_LuaM/AdminSound/The Caretaker - Libet's Delay - antichromatic (128k).ogg
Binary file not shown.
Binary file not shown.
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 |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| // Ready or not // | ||
|
|
||
| source: https://music.apple.com/ru/album/ready-or-not-original-soundtrack/1755413766 | ||
|
|
||
| "Ready or Not - Club (Full Set) - OST - Official Supporter Edition Release" | ||
|
|
||
| // Hotline Miami // | ||
|
|
||
| source: https://light-club-blizzars.skysound7.com | ||
|
|
||
| "The Caretaker - Libet's Delay - antichromatic (128k)" | ||
| "Quixotic" | ||
| "Carpenter Brut - Le Perv 4" | ||
|
|
||
| // Unknown // | ||
|
|
||
| source: https://light-club-blizzars.skysound7.com/ | ||
|
|
||
| "The Palm of The Serpent's Hand" |
Binary file added
BIN
+2.61 MB
Resources/Audio/_LuaM/AdminSound/light club - blizzard - TheLengbuster (128k).ogg
Binary file not shown.
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.
Uh oh!
There was an error while loading. Please reload this page.