Precaching Assets
To provide a smooth loading of assets for a typical game session, it is important that the engine does as much work as possible to load those assets before the session begins. By doing this, the player’s experience is not disturbed by interruptions as the engine tries to load assets in the middle of a session, often causing “hitching”, lag or delays in rendering. With precaching, the assets are already loaded and are immediately ready for use. To do this, entities must declare and precache the assets they intend to use before the session starts. There are multiple utility functions in place to achieve this.
precache possible data
list possible data on a file. The system will precache data while loading level.
life time
process,
level,
reset,
respawn,
fixedtime,
custom
Log
the log system only contains a methodLog
on Goldsrc.Debug class.
Debug Draw
the class GoldsrcDebugDraw
class is an implementation of bullet debugdraw interface.