-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
large refactor: Thanks to Spoike for clearing up some SendEntity info…
…rmation; SendEntity takes an entity as the first arg, not a float. + SENDFLAG_NEWENT (128) was largely an incorrect name for the value, more accurate name is SENDFLAG_FULL_UPDATE. + isNew and FULL_UPDATE don't sync up, isNew is the source of truth for an entity new to the client...but might arrive out of order. + in light of these changes, I've sorted out the edge-case where user(s) are pre-existing as mechs, but a new user(s) connect having missed the NEWUNIT flag send. + FULL_UPDATE will now make sure that all clients receive other clients as-mechs when necessary. + I also sorted out critical hit events vs existing crits, and a newly found respawn bug where critical hits carry over.
- Loading branch information
Showing
53 changed files
with
403 additions
and
406 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
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
Oops, something went wrong.