Category:Assets

From COD Engine Research
Revision as of 16:27, 29 December 2013 by CraigChrist8239 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Any pages containing information on game assets will be linked here. This page will also contain information pertaining to any asset on any CoD.

Pool Structure

Once the assets are loaded from the FastFile and Zones, they are stored in memory in pools.

template<typename T> union XAssetPoolEntry
{
  T entry;
  T * next;
};

template<typename T, int count> struct XAssetPool
{
  T * freeHead;
  XAssetPoolEntry<T> entries[count];
};

The pool counts are stored in an int[] in the executable called g_poolSizes. The freeHead is a pointer to the first unused asset in the pool. The next pointer is only used if the current asset is an unused asset, in which case it points to the next asset in the pool.

Pages in category "Assets"

The following 108 pages are in this category, out of 108 total.

A

C

D

E

F

G

G cont.

I

K

L

M

N

P

Q

R

S

S cont.

T

V

W

X

Z