From 137ed4725692eb4adb3dc959e10fef3ce3a35b75 Mon Sep 17 00:00:00 2001 From: Daniel Seiller Date: Thu, 25 May 2023 16:36:08 +0200 Subject: [PATCH] vault backup: 2023-05-25 16:36:07 --- Classes.md | 2 +- Netplay/Protocol.md | 4 +- Scorer (UI System).md | 557 ++++++++++++++++++++++++++++++++++++++++++ Untitled.canvas | 4 - 4 files changed, 560 insertions(+), 7 deletions(-) create mode 100644 Scorer (UI System).md delete mode 100644 Untitled.canvas diff --git a/Classes.md b/Classes.md index 6448814..7fbc226 100644 --- a/Classes.md +++ b/Classes.md @@ -128,4 +128,4 @@ graph LR - ArriOpt - UseAngSel - UseMapCheck -- UseAbsAngSel +- UseAbsAngSel \ No newline at end of file diff --git a/Netplay/Protocol.md b/Netplay/Protocol.md index 2dfdaa5..b998119 100644 --- a/Netplay/Protocol.md +++ b/Netplay/Protocol.md @@ -135,7 +135,7 @@ Packets are split into Data packets (map change, resources, chat message, etc) a - 21: Box:vSpd -## Client->Server (`cClientNetManager`) Packet Types +## Client->Server (handled in `cClientNetManager`) Packet Types - 00: Player Join - u16: NET_GAME_ID (`0xbace`) @@ -160,7 +160,7 @@ Packets are split into Data packets (map change, resources, chat message, etc) a - str: ServerRemotePassword - str: Command -## Server->Client (`cServerNetManager`) Packet types +## Server->Client (handled in `cServerNetManager`) Packet types - 00: Map Change: - str map_name diff --git a/Scorer (UI System).md b/Scorer (UI System).md new file mode 100644 index 0000000..39519dd --- /dev/null +++ b/Scorer (UI System).md @@ -0,0 +1,557 @@ + +## Inheritance + +(Shoutout to Strongleong for providing a script the grab this data from Ghidra!) + +```mermaid +classDiagram + ScorerItem <|-- CannonScorer + ScorerItem <|-- SpriteScorer + ScorerItem <|-- AbstractTextScorer + SpriteScorer <|-- BarScorer + SpriteScorer <|-- ButtonScorer + ScorerItem <|-- ChatScorer + ScorerItem <|-- CircuitScorer + ScorerItem <|-- CopMeterScorer + AbstractTextScorer <|-- CreditsScorer + SpriteScorer <|-- GradientScorer + SpriteScorer <|-- HangarShipScorer + ScorerItem <|-- HeadScorer + AbstractTextScorer <|-- HintScorer + AbstractTextScorer <|-- LabelScorer + SpriteScorer <|-- MissionScorer + ScorerItem <|-- MonitorScorer + AbstractTextScorer <|-- MsgScorer + ScorerItem <|-- NetStatsScorer + ScorerItem <|-- RadarScorer + ScorerItem <|-- ScraplandMainMenuScorer + ScorerItem <|-- ScraplandSubMenuScorer + ScorerItem <|-- SliderScorer + ScorerItem <|-- SpecialActionScorer + ScorerItem <|-- StatusScorer + ScorerItem <|-- TabScorer + ScorerItem <|-- TalkScorer + ScorerItem <|-- TargetScorer + AbstractTextScorer <|-- TextScorer + TextScorer <|-- TextTypingScorer + AbstractTextScorer <|-- TimerScorer + ScorerItem <|-- WaypointScorer + ScorerItem <|-- WeaponScorer + ScorerItem <|-- WindFxScorer + class AbstractTextScorer { + Align + Alpha + Blue + CentralText + Effect + Font + GetExtens + Green + Red + Text + } + class BarScorer { + AutoUpdateSpeedFactor + AutoUpdateStopValue + BackAlpha + BackBlue + BackGreen + BackIndex + BackRed + BlackAlpha + BlackBarIndex + BlackBlue + BlackGreen + BlackRed + Blink + IsAutoUpdatable + MainAlpha + MainBarIndex + MainBlue + MainGreen + MainRed + MaxValue + Value + } + class ButtonScorer { + BorderColorBlue + BorderColorGreen + BorderColorRed + BorderSpriteIndex + Complex + File + FocusSpriteIndex + Font + ForceHeight + ForceWidth + Glow + HighLightBlendingMode + HighLightColorBlue + HighLightColorGreen + HighLightColorRed + Highlight + HighlightOffset + IsNameValuePair + Marker + MarkerOffset + MaxLineSize + MaxX + MinX + RenderAlphaChannel + ScaleSmoothHeight + ScaleSmoothTime + ScaleSmoothWidth + SizeX + SizeY + Text + TextAlign + TextColorAlpha + TextColorBlue + TextColorGreen + TextColorRed + XAlignCenter + XAlignLeft + XAlignRight + } + class CannonScorer { + AimAc + AimIndex + CrossHairIndex + Sprite + } + class ChatScorer { + NumMsg + } + class CircuitScorer { + AlphaCircuit + AlphaFlare + BlendingMode + FileCircuit + FileFlare + HighRes + ScaleX + ScaleY + } + class CopMeterScorer { + BackIndex + BackOffX + BackOffY + BarIndex + BarOffX + BarOffY + LightIndex + LightOffX + LightOffY + Percent + Sprite + Target + } + class CreditsScorer { + FadeIn + FadeOut + Life + Time + } + class GradientScorer { + Alpha + Blue + ColorSelected + Green + Red + } + class HangarShipScorer { + CamDist + CamFov + GridColorAlpha + GridColorBlue + GridColorGreen + GridColorRed + GridSpriteIndex + TargetName + } + class HeadScorer { + HeadAnimIndex + HeadModel + VH + VW + } + class HintScorer { + TabAlpha + TabBlendingMode + TabBlue + TabGreen + TabRed + TabSprite + TabSpriteIndex + } + class LabelScorer { + TabAlpha + TabBlendingMode + TabBlue + TabGreen + TabRed + TabSprite + TabSpriteIndex + } + class MissionScorer { + } + class MonitorScorer { + BigFont + CanPossessGlowIndex + CanPossessIndex + FrameIndex + FrameSprite + HeadAnimIndex + HeadModel + MaskIndex + MaskSprite + Noise + NoiseSprite + ObjetiveBlackIndex + ObjetiveChargeIndex + ObjetiveIndex + ObjetiveSprite + ObjetiveWhiteIndex + PanelIndex + PanelSprite + SmallFont + StaticIndex + StaticSprite + TargetView + Text + UpgradeIconAc + UpgradeIconIndex + WeaponIconAc + WeaponIconIndex + WeaponIconScale + WeaponOffX + WeaponOffY + WeaponSprite + } + class MsgScorer { + } + class NetStatsScorer { + } + class RadarScorer { + IconAc + IconIndex + IconsSprite + Map2dScale + Map2dScaleFactor + MaskIndex + MaskSprite + MenuMap + MenuMaxScale + MenuMinScale + MenuScaleSpeed + NoiseSprite + OutAlphaFactor + RadarIndex + RadarSprite + } + class ScorerItem { + DelMe + Down + FocusPivotX + FocusPivotY + H + Hint + Left + MaxHintLineWidth + MultiPress + Name + OnAccept + OnDelete + OnGainFocus + OnLooseFocus + OnRender + Right + Up + Visible + W + X + Y + } + class ScraplandMainMenuScorer { + FileGlow + FileLighting + FileLogo + FileNeon + HighRes + } + class ScraplandSubMenuScorer { + FileGlow + FileLighting + FileLogo + FileRingBorder + FileRingMask + FileRingReflection + HighRes + Scale + } + class SliderScorer { + Alpha + BackSpriteIndex + BlendingMode + Blue + File + FocusSpriteIndex + Green + HighRes + MarginSize + MaxValue + MaxValueForced + MinValue + OnChange + Red + SliderSpriteIndex + Unit + Value + ValueStep + } + class SpecialActionScorer { + ActiveColorAlpha + ActiveColorBlue + ActiveColorGreen + ActiveColorRed + BackIndex + BackOffX + BackOffY + BatteryBarIndex + BatteryBarOffX + BatteryBarOffY + CannonIndex + CannonSprite + CharAction + CrossHairIndex + EnergyBackIndex + EnergyBackOffX + EnergyBackOffY + EnergyBarIndex + EnergyBarOffX + EnergyBarOffY + GlowColorAlpha + GlowColorBlue + GlowColorGreen + GlowColorRed + GlowIconIndex + IconIndex + IconIndexSprite0 + IconOffX + IconOffY + IconSprite1 + IconSprite2 + InactiveColorAlpha + InactiveColorBlue + InactiveColorGreen + InactiveColorRed + Sprite + TextColorAlpha + TextColorBlue + TextColorGreen + TextColorRed + TextFont + TextOffX + TextOffY + } + class SpriteScorer { + Alpha + BlendingMode + Blue + Discardable + File + FixPosition + Green + HighRes + IsMultiSprite + JumpFX + Mirror + PivotX + PivotY + Red + Rotate + ScaleX + ScaleY + SpriteIndex + Unit + } + class StatusScorer { + BackIndex + BackOffX + BackOffY + BoostIconIndex + BoostOffX + BoostOffY + BoostOnRender + BoostRemaining + BoostStatus + BoostTurboIndex + FlagOffX + FlagOffY + FontBackIndex + FontBackOffX + FontBackOffY + HullIconIndex + HullIconOffX + HullIconOffY + LifeFont + LifeIconIndex + LifeIconOffX + LifeIconOffY + LifeTextAlpha + LifeTextBlue + LifeTextGreen + LifeTextOffX + LifeTextOffY + LifeTextRed + LivesBackIndex + LivesBackOffX + LivesBackOffY + LivesFont + LivesTextAlpha + LivesTextBlue + LivesTextGreen + LivesTextOffX + LivesTextOffY + LivesTextRed + MoneyBackIndex + MoneyBackOffX + MoneyBackOffY + MoneyFont + MoneyIconIndex + MoneyIconOffX + MoneyIconOffY + MoneyTextAlpha + MoneyTextBlue + MoneyTextGreen + MoneyTextOffX + MoneyTextOffY + MoneyTextRed + Sprite + SpriteFlag + } + class TabScorer { + Alpha + BlendingMode + Blue + File + Filled + Green + HighRes + Red + ScaleX + ScaleY + SizeTabQuad + SizeX + SizeY + TabEnd + TabInit + TabMax + TabSpriteIndex + Type + Unit + } + class TalkScorer { + NextBackIndex + NextIndex + Sprite + TabAlpha + TabBlendingMode + TabBlue + TabGreen + TabRed + TabSprite + TabSpriteIndex + TabVisible + UseIndex + } + class TargetScorer { + EnemyFireIndex + Sprite + TargetArrowIndex + TargetRectIndex + } + class TextScorer { + CenterEdit + EditHint + IsNumeric + MaxInput + } + class TextTypingScorer { + CursorAtEnd + CursorAtInit + TypingSound + TypingSpeed + TypingTime + } + class TimerScorer { + OnTimeExpired + OnTimeWarning + TimerType + } + class WaypointScorer { + Sprite + WaypointArrowIndex + WaypointDotIndex + WaypointRectIndex + } + class WeaponScorer { + AmmoBackIndex + AmmoBackOffX + AmmoBackOffY + AmmoBarAlpha + AmmoBarBlue + AmmoBarGreen + AmmoBarIndex + AmmoBarOffX + AmmoBarOffY + AmmoBarRed + AmmoFont + AmmoIconAc + AmmoIconIndex + AmmoIconOffX + AmmoIconOffY + AmmoTextAlpha + AmmoTextBlue + AmmoTextGreen + AmmoTextOffX + AmmoTextOffY + AmmoTextRed + BackIndex + BackOffX + BackOffY + FontBackIndex + FontBackOffX + FontBackOffY + SlotsIndex0 + SlotsIndex1 + SlotsOffX + SlotsOffY + Sprite + TabAlpha + TabBlendingMode + TabBlue + TabGreen + TabRed + TabSprite + TabSpriteIndex + UpgradeBarAlpha + UpgradeBarBlue + UpgradeBarGreen + UpgradeBarIndex + UpgradeBarOffX + UpgradeBarOffY + UpgradeBarRed + UpgradeIconAc + UpgradeIconIndex + WeaponIconAc + WeaponIconIndex + WeaponIconOffX + WeaponIconOffY + WeaponIconShadowOffX + WeaponIconShadowOffY + Weapons3DSprite + } + class WindFxScorer { + } +``` diff --git a/Untitled.canvas b/Untitled.canvas deleted file mode 100644 index 2289854..0000000 --- a/Untitled.canvas +++ /dev/null @@ -1,4 +0,0 @@ -{ - "nodes":[], - "edges":[] -} \ No newline at end of file