Details
- Reviewers
- None
- Commits
- rP20650: Cleanup endGameManager win/defeat messages code
Verify that it's the same.
Diff Detail
- Repository
- rP 0 A.D. Public Repository
- Branch
- /ps/trunk
- Lint
Lint OK - Unit
No Unit Test Coverage - Build Status
Buildable 3970 Build 6955: Vulcan Build Jenkins Build 6954: arc lint + arc unit
Event Timeline
Successful build - Chance fights ever on the side of the prudent.
Updating workspaces... Build (release)... Build (debug)... Running release tests... Running cxxtest tests (308 tests)....................................................................................................................................................................................................................................................................................................................OK! Running debug tests... Running cxxtest tests (308 tests)....................................................................................................................................................................................................................................................................................................................OK! Checking XML files...
binaries/data/mods/public/simulation/components/EndGameManager.js | ||
---|---|---|
54 | things are ultra bugged with that is relicgames but out of scope | |
72 | not only for groups, since 1 player is just as treated as a group as 8 players would, IMO comment can be removed | |
77 | ack | |
83 | We can avoid this check by using the QueryPlayerIDInterface(playerID).getMutualAllies() function and storing those players in winningPlayers in advance. But that results in looping over all players twice, so perhaps meh (seeing the relic case, the winningPlayers could perhaps be better given as an argument, but out of scope too) | |
96 | butbutbut that should be always true, since playerID is in it | |
104 | (this one is ok though, since everyone else can be non-active and stuff, or everyone allied) |
Successful build - Chance fights ever on the side of the prudent.
Updating workspaces... Build (release)... Build (debug)... Running release tests... Running cxxtest tests (308 tests)....................................................................................................................................................................................................................................................................................................................OK! Running debug tests... Running cxxtest tests (308 tests)....................................................................................................................................................................................................................................................................................................................OK! Checking XML files...