Hacker News new | ask | show | jobs
by ovao 1042 days ago
The question would be “by what dimension of interesting”?

Quake 3’s source is pretty interesting from the perspective of id just transitioning from C to C++, and famously has an implementation of fast inverse square root. It’s also a pretty clean codebase overall with a reasonably modern engine architecture.

1 comments

Quake 3 was still completely C, IIRC. You might be thinking of Doom 3?
the rerelease mentioned here rename .c to .cpp globally but the code base is still c, why is that? I thought it was rewritten in c++.
It's a light touch (looks like the original structure is mostly intact) but if you search for 'std::' in, say, https://github.com/id-Software/quake2-rerelease-dll/blob/mai... you'll see there's some C++ stuff floating about.