BF2 Internals: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

7 January 2025

  • curprev 20:1520:15, 7 January 2025 BftechAdmin talk contribs 5,523 bytes +5,523 Created page with "The BF2 engine has been written in C++ and also make heavy use of STL. {{tip}} All virtual functions on this page are in the order they are defined in the vtable unless otherwise specified. == Reference Counting == A lot of the internal components of the game use intrusive reference counting through inheritance. The base class would look something like this: <pre> class RefCounted { public: RefCounted() : m_refCount(1) {} virtual int addRef() { return..."