Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds the Wipeout (WO) multiplayer gametype to Alpine Faction, integrating it into the existing gametype framework (rounds system, spawn logic, HUD/scoreboard, dedi defaults, and network protocol).
Changes:
- Introduces Wipeout round/match logic (team wipe win condition, escalating respawn delay, best-of-7 with sudden death via rounds arbiter).
- Extends rounds + server spawn-point selection to support Wipeout’s mid-round respawn clustering and untimed rounds.
- Adds a small client→server packet to reliably sync the client’s selected multiplayer character for server-driven spawns.
Reviewed changes
Copilot reviewed 19 out of 19 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
| game_patch/rf/player/player.h | Adds per-player Wipeout round state and a field to store the client-reported MP character. |
| game_patch/rf/multi.h | Adds NG_TYPE_WO enum value. |
| game_patch/multi/wipeout.h | Declares Wipeout gametype API/hooks. |
| game_patch/multi/wipeout.cpp | Implements Wipeout match/round rules, auto-respawn loop, and HUD counters. |
| game_patch/multi/server.cpp | Wipeout integration: gametype resolution, spawn gating, respawn clustering logic, escalating respawn delay, per-frame pump. |
| game_patch/multi/rounds.h | Adds optional gametype-driven match-end arbiter callback (is_match_over). |
| game_patch/multi/rounds.cpp | Supports untimed rounds and delegates level rotation to gametype arbiter when present. |
| game_patch/multi/multi.cpp | Adds “Wipeout” name/short/prefix mappings. |
| game_patch/multi/gametype.h | Adds gt_is_wipeout() declaration. |
| game_patch/multi/gametype.cpp | Wipeout registration, team/round/custom scoring integration, team score packet integration. |
| game_patch/multi/dedi_cfg.cpp | Provides default dedicated-server rules tuned for Wipeout. |
| game_patch/multi/alpine_packets.h | Adds af_req_character payload and reliable send option for client-req packets. |
| game_patch/multi/alpine_packets.cpp | Implements character request serialization + server-side handling; adds reliable send path. |
| game_patch/misc/player.cpp | Reports client MP character selection to server on change. |
| game_patch/hud/multi_scoreboard.cpp | Shows Wipeout team round-win score on scoreboard header. |
| game_patch/hud/multi_hud.cpp | Adds Wipeout alive/waiting labels and integrates WO into HUD render gating. |
| game_patch/CMakeLists.txt | Adds wipeout.cpp/.h to build. |
| docs/CHANGELOG.md | Notes Wipeout gametype in 1.4.0 changelog. |
| common/include/common/rfproto.h | Adds RF_GT_WO and notes sync requirement with rf::NetGameType. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
GooberRF
marked this pull request as ready for review
July 15, 2026 02:54
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
WO)