Search
-
Re: Game-specific Code in Src/Common (3rd Party Game Development)
<blockquote> The problem with header files is that they are differently named and have different contents in each game. If the naming and contents were rationalized (even using higher-level header files that include other, game-specific header files), it would make things a lot simpler as the #includes wouldn't need to be… -
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…