Wolfenstein is peanuts compared to writing your own doubly linked list.
Show HN: Iron-Wolf – Wolfenstein 3D source port in Rust
11–20 of 32 posts
Re: Show HN: Iron-Wolf – Wolfenstein 3D source port in Rust
#12Re: Show HN: Iron-Wolf – Wolfenstein 3D source port in Rust
#13Game would be considered too politically incendiary if released today.
I think it cuts both ways. The Wolfenstein franchise has obviously relished in violence against Nazis, but also inadvertently is part of the trend of glorifying them.
Re: Show HN: Iron-Wolf – Wolfenstein 3D source port in Rust
#14Game would be considered too politically incendiary if released today.
Wolfenstein 3D was pretty squarely a WWII fantasy shooter. Only later does it get into the alternate history post-war stuff which does get somewhat more squarely political. I think it cuts both ways. The Wolfenstein franchise has obviously relished in violence against Nazis, but also inadvertently is part of the trend of glorifying them.
Re: Show HN: Iron-Wolf – Wolfenstein 3D source port in Rust
#15 let mut found_info = None;
for info in &STAT_INFO {
if info.kind == item_type {
found_info = Some(info);
break;
}
}
When typically in rust this is just: let found_info = STAT_INFO.iter().find(|info| info.kind() == item_type);
Now I want to go through and feng shui all the code to look more like idiomatic rust just to waste some time on a saturday...Re: Show HN: Iron-Wolf – Wolfenstein 3D source port in Rust
#16Re: Show HN: Iron-Wolf – Wolfenstein 3D source port in Rust
#17Was this translated automatically from C? I picked a spot totally at random and saw in https://github.com/Ragnaroek/iron-wolf/blob/main/src/act1.rs in place_item_type: let mut found_info = None; for info in &STAT_INFO { if info.kind == item_type { found_info = Some(info); break; } } When typically in rust this is just: let found_info = STAT_INFO.iter().find(|info| info.kind() == item_type); Now I want to go through a…
If you do that, please share a link so I can learn from you! This is awesome!
Re: Show HN: Iron-Wolf – Wolfenstein 3D source port in Rust
#18Was this translated automatically from C? I picked a spot totally at random and saw in https://github.com/Ragnaroek/iron-wolf/blob/main/src/act1.rs in place_item_type: let mut found_info = None; for info in &STAT_INFO { if info.kind == item_type { found_info = Some(info); break; } } When typically in rust this is just: let found_info = STAT_INFO.iter().find(|info| info.kind() == item_type); Now I want to go through a…
Re: Show HN: Iron-Wolf – Wolfenstein 3D source port in Rust
#19Nice job. Couple notes for the web version: - Once started the shareware game on Chromium browsers seems to flicker like crazy which displays the "B.J. Blazkowicz" face. - You missed adding the classic code that everyone knows, M-L-I!
I did a WASM port of the shareware from https://github.com/fabiangreffrath/wolf4sdl playable at https://midzer.de/wasm/wolfenstein/
Re: Show HN: Iron-Wolf – Wolfenstein 3D source port in Rust
#20Was this translated automatically from C? I picked a spot totally at random and saw in https://github.com/Ragnaroek/iron-wolf/blob/main/src/act1.rs in place_item_type: let mut found_info = None; for info in &STAT_INFO { if info.kind == item_type { found_info = Some(info); break; } } When typically in rust this is just: let found_info = STAT_INFO.iter().find(|info| info.kind() == item_type); Now I want to go through a…