4 ms·
Strange, they left in platform-specific code: https://github.com/ozkl/doomgeneric/blob/bec8ced5887df55b818f5da1a01f32a7c7d89e49/doomgeneric/d_iwad.c#L78-L144 h
by dleslie 4y ago
Strange, they left in platform-specific code:
https://github.com/ozkl/doomgeneric/blob/bec8ced5887df55b818f5da1a01f32a7c7d89e49/doomgeneric/d_iwad.c#L78-L144 https://github.com/ozkl/doomgeneric/blob/bec8ced5887df55b818...
Why not strip that out? And it leads me to wondering what sort of gotchas are throughout, and what basic system assumptions are being made.
Ie, it's a little surprising that math routines aren't stubbed out, as well.
- deleted 4y ago[deleted]
- tadfisher 4y agoThat code comes from Chocolate Doom, itself a project to create a portable "vanilla" Doom engine.
- flohofwoe 4y agoJust because it's inside an platform-ifdef doesn't mean it's not useful in a cross-platform application. That code would only be active when built on Windows and provide some optional functionality that probably isn't worth writing a cross-platform abstraction layer for (especially since this is accessing the Windows registry, which doesn't have an equivalent on other platforms).