cleanup input handling, fix server move packets

This commit is contained in:
Brian Beck 2026-03-13 11:08:11 -07:00
parent 409df9fcaa
commit e9125951e4
84 changed files with 2085 additions and 1808 deletions

View file

@ -73,7 +73,7 @@
.WeaponHUD {
position: absolute;
right: 8px;
right: 6px;
top: 50%;
transform: translateY(-50%);
display: flex;
@ -87,18 +87,27 @@
/* ── Team Scores (bottom-left) ── */
.TeamInfo {
display: flex;
flex-direction: column;
gap: 2px;
}
.TeamScores {
position: absolute;
bottom: 8px;
left: 8px;
font-family: monospace;
bottom: 6px;
left: 6px;
font-size: 12px;
border: 1px solid rgba(128, 255, 200, 0.15);
}
.TeamRow {
flex: 1 0 auto;
display: flex;
align-items: center;
justify-content: space-between;
gap: 6px;
padding: 2px 8px;
padding: 4px 8px 4px 6px;
background: rgba(0, 50, 60, 0.65);
}
@ -106,35 +115,39 @@
border-top: 1px solid rgba(128, 255, 200, 0.15);
}
.TeamName {
min-width: 6em;
font-size: 12px;
font-weight: 500;
}
.TeamNameFriendly {
color: #2ecc40;
min-width: 60px;
composes: TeamName;
color: #2de46a;
}
.TeamNameEnemy {
color: #e44;
min-width: 60px;
composes: TeamName;
color: rgb(121, 203, 212);
}
.TeamScore {
color: #fff;
min-width: 24px;
font-weight: 500;
text-align: right;
font-weight: bold;
}
.TeamCount {
color: #9ba;
min-width: 24px;
text-align: right;
font-size: 9px;
}
/* ── Pack + Inventory HUD (bottom-right) ── */
.PackInventoryHUD {
position: absolute;
bottom: 8px;
right: 8px;
bottom: 6px;
right: 6px;
display: flex;
align-items: center;
gap: 4px;
@ -166,7 +179,6 @@
}
.PackInvCount {
font-family: monospace;
font-size: 11px;
color: #bfe;
min-width: 12px;