[Games] Serious Sam support.

This commit is contained in:
CosminPerRam 2023-03-04 21:36:01 +02:00
parent 8992ffe4df
commit 14c5edc1be
6 changed files with 18 additions and 4 deletions

View file

@ -89,3 +89,5 @@ pub mod vr;
pub mod ut;
/// Battlefield 1942
pub mod bf1942;
/// Serious Sam
pub mod ss;

7
src/games/ss.rs Normal file
View file

@ -0,0 +1,7 @@
use crate::GDResult;
use crate::protocols::gamespy;
use crate::protocols::gamespy::Response;
pub fn query(address: &str, port: Option<u16>) -> GDResult<Response> {
gamespy::one::query(address, port.unwrap_or(25601), None)
}