forked from space-wizards/space-station-14
-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dynamic alert sprites (space-wizards#25452)
* dynamic alert sprite * fix fat cooldowns
- Loading branch information
1 parent
6863a7c
commit d576f5c
Showing
38 changed files
with
153 additions
and
83 deletions.
There are no files selected for viewing
This file contains 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,21 @@ | ||
using Content.Shared.Alert; | ||
using Robust.Client.GameObjects; | ||
|
||
namespace Content.Client.Alerts; | ||
|
||
/// <summary> | ||
/// Event raised on an entity with alerts in order to allow it to update visuals for the alert sprite entity. | ||
/// </summary> | ||
[ByRefEvent] | ||
public record struct UpdateAlertSpriteEvent | ||
{ | ||
public Entity<SpriteComponent> SpriteViewEnt; | ||
|
||
public AlertPrototype Alert; | ||
|
||
public UpdateAlertSpriteEvent(Entity<SpriteComponent> spriteViewEnt, AlertPrototype alert) | ||
{ | ||
SpriteViewEnt = spriteViewEnt; | ||
Alert = alert; | ||
} | ||
} |
This file contains 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 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 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 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 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 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 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 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 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-64 Bytes
(80%)
Resources/Textures/Interface/Alerts/essence_counter.rsi/essence0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-298 Bytes
Resources/Textures/Interface/Alerts/essence_counter.rsi/essence1.png
Binary file not shown.
Binary file removed
BIN
-308 Bytes
Resources/Textures/Interface/Alerts/essence_counter.rsi/essence10.png
Binary file not shown.
Binary file removed
BIN
-304 Bytes
Resources/Textures/Interface/Alerts/essence_counter.rsi/essence11.png
Binary file not shown.
Binary file removed
BIN
-311 Bytes
Resources/Textures/Interface/Alerts/essence_counter.rsi/essence12.png
Binary file not shown.
Binary file removed
BIN
-311 Bytes
Resources/Textures/Interface/Alerts/essence_counter.rsi/essence13.png
Binary file not shown.
Binary file removed
BIN
-321 Bytes
Resources/Textures/Interface/Alerts/essence_counter.rsi/essence14.png
Binary file not shown.
Binary file removed
BIN
-307 Bytes
Resources/Textures/Interface/Alerts/essence_counter.rsi/essence15.png
Binary file not shown.
Binary file removed
BIN
-313 Bytes
Resources/Textures/Interface/Alerts/essence_counter.rsi/essence16.png
Binary file not shown.
Binary file removed
BIN
-297 Bytes
Resources/Textures/Interface/Alerts/essence_counter.rsi/essence2.png
Binary file not shown.
Binary file removed
BIN
-299 Bytes
Resources/Textures/Interface/Alerts/essence_counter.rsi/essence3.png
Binary file not shown.
Binary file removed
BIN
-321 Bytes
Resources/Textures/Interface/Alerts/essence_counter.rsi/essence4.png
Binary file not shown.
Binary file removed
BIN
-302 Bytes
Resources/Textures/Interface/Alerts/essence_counter.rsi/essence5.png
Binary file not shown.
Binary file removed
BIN
-297 Bytes
Resources/Textures/Interface/Alerts/essence_counter.rsi/essence6.png
Binary file not shown.
Binary file removed
BIN
-317 Bytes
Resources/Textures/Interface/Alerts/essence_counter.rsi/essence7.png
Binary file not shown.
Binary file removed
BIN
-295 Bytes
Resources/Textures/Interface/Alerts/essence_counter.rsi/essence8.png
Diff not rendered.
Binary file removed
BIN
-292 Bytes
Resources/Textures/Interface/Alerts/essence_counter.rsi/essence9.png
Diff not rendered.
Oops, something went wrong.