The idClass provides the following services: And Here are some design choices of Doom3:ġ – Provides a common base class with useful services. To resume only a subset of the c++98 standard is used. Fortunately, id Software settled for a C++ subset close to “C with Classes” which flows down the brain with little resistance: This source code was reviewed by many developers, here’s as an example of Doom3 feedback from fabien ( orginal source):ĭoom 3 BFG is written in C++, a language so vast that it can be used to generate great code but also abominations that will make your eyes bleed. On Novemid Software maintained the tradition and it released the source code of their previous engine. Let’s explore some Doom3 source code choices and try to understand why the code even if it’s simple, it’s very efficient. Have you already seen a basketball or a soccer player plays a simple yet effective game to such a point that you say: Why couldn’t everybody play like him, he uses only easy techniques?Īnd as C++ programmer I had the same remark when exploring the John Carmack source code. It’s so simple, we wonder why we can ‘t develop like him.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |