▲ | romperstomper 4 days ago | |||||||||||||
Just curios, why everything is in a single large file (doom.go ~46K LOC)? Is it because of how Go handle modules? | ||||||||||||||
▲ | donatj 4 days ago | parent | next [-] | |||||||||||||
Nah, I suspect it's just because it's a machine translated port of the original C to Go > The original C code was converted to Go using (modernc.org/ccgo/v4), by cznic (https://gitlab.com/cznic/doomgeneric.git). This was then manually cleaned up to remove a lot of manual pointer manipulation, and make things more Go-ish, whilst still maintaining compatibility with the original Doom, and its overall structure. | ||||||||||||||
| ||||||||||||||
▲ | nasretdinov 4 days ago | parent | prev [-] | |||||||||||||
I must say I'm really surprised it's so small too, for a reasonably complicated game |