obtain iw4x.dll from iw4x/iw4x-client

This commit is contained in:
2023-08-29 21:53:47 +02:00
parent 9dc569e646
commit 64c63bf24f
6 changed files with 66 additions and 16 deletions

View File

@@ -11,3 +11,7 @@ pub fn stdin() -> String {
std::io::stdin().read_line(&mut input).unwrap();
input.trim().to_string()
}
pub fn rev_to_int(rev: &str) -> u16 {
rev.strip_prefix('r').unwrap().parse::<u16>().unwrap_or(0)
}