Skip to content

Commit

Permalink
feat: add Double Action: Boogaloo support
Browse files Browse the repository at this point in the history
  • Loading branch information
CosminPerRam committed Mar 10, 2024
1 parent 82b7a5f commit 967dc37
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Games:
- Eco support (by @CosminPerRam).
- [Call Of Duty: Black Ops 3](https://store.steampowered.com/agecheck/app/311210/) support.
- [Counter-Strike 2](https://store.steampowered.com/app/730/CounterStrike_2/) support.
- [Double Action: Boogaloo](https://store.steampowered.com/app/317360/Double_Action_Boogaloo/) support.

Crate:
- Changed the serde feature to only enable serde derive for some types: serde and serde_json is now a dependecy by default.
Expand Down
1 change: 1 addition & 0 deletions GAMES.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ Beware of the `Notes` column, as it contains information about query port offset
| Zombie Panic: Source | ZPS | Valve | Query port: 27015. |
| Call Of Duty: Black Ops 3 | CODBO3 | Valve | Query port: 27017. |
| Counter-Strike 2 | CS2 | Valve | |
| Double Action: Boogaloo | DAB | Valve | |

## Planned to add support:
_
1 change: 1 addition & 0 deletions crates/lib/src/games/definitions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ pub static GAMES: Map<&'static str, Game> = phf_map! {
"css" => game!("Counter-Strike: Source", 27015, Protocol::Valve(Engine::new(240))),
"creativerse" => game!("Creativerse", 26901, Protocol::Valve(Engine::new(280_790))),
"crysiswars" => game!("Crysis Wars", 64100, Protocol::Gamespy(GameSpyVersion::Three)),
"dab" => game!("Double Action: Boogaloo", 27015, Protocol::Valve(Engine::new(317_360))),
"dod" => game!("Day of Defeat", 27015, Protocol::Valve(Engine::new_gold_src(false))),
"dods" => game!("Day of Defeat: Source", 27015, Protocol::Valve(Engine::new(300))),
"doi" => game!("Day of Infamy", 27015, Protocol::Valve(Engine::new(447_820))),
Expand Down
1 change: 1 addition & 0 deletions crates/lib/src/games/valve.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ game_query_mod!(
27015
);
game_query_mod!(css, "Counter-Strike: Source", Engine::new(240), 27015);
game_query_mod!(dab, "Double Action: Boogaloo", Engine::new(317_360), 27015);
game_query_mod!(dod, "Day of Defeat", Engine::new_gold_src(false), 27015);
game_query_mod!(dods, "Day of Defeat: Source", Engine::new(300), 27015);
game_query_mod!(doi, "Day of Infamy", Engine::new(447_820), 27015);
Expand Down

0 comments on commit 967dc37

Please sign in to comment.