AMFP Enhanced
C++ reference: the code this unofficial fork added
Loading...
Searching...
No Matches
LuxPreloader.h File Reference

warms the OS file cache with the next map's files while the player is in this one (LuxPreload.h picks the files). More...

#include "LuxBase.h"
#include <atomic>
#include <thread>

Go to the source code of this file.

Classes

class  cLuxPreloader

Detailed Description

warms the OS file cache with the next map's files while the player is in this one (LuxPreload.h picks the files).

A low-priority thread only reads files and drops the bytes: no engine or GL state is touched, so it is safe beside the game. Stopped before every load.

Definition in file LuxPreloader.h.