Re:Show HN: A 2D game engine in under 1000 lines of C
by TeMPOraL on Sunday February 02, 2020 @01:52AM
(#22215566)
WRT, the header files, given the size and contents of basque.c, I'd say it's just a placeholder/example file, and that the engine is by design a header-only library. Which is fine, IMO. Though the headers don't feature guards against multiple includes, which is surprising.
[ Parent
| on HN ]
Re:Show HN: A 2D game engine in under 1000 lines of C
by ryanpcmcquen on Sunday February 02, 2020 @02:05AM
(#22215602)
I don't want to add #pragma once until I am ready to ship the game. This way I will know right away if I do any redundant includes.