Search
-
Re: Game-specific Code in Src/Common (3rd Party Game Development)
When it comes to creating a new game lib, I would guess the best solution would be simply to use one of the existing <tt>__JDOOM__</tt>, <tt>__JHERETIC__</tt>, or <tt>__JHEXEN__</tt> #ifdefs. If you don't use one of those, it's effectively saying that a new branch of logic is introduced. A new game lib could #define its…