Jump to content

DemandLoad: Difference between revisions

From ModEnc²
en>Crimsonum
m Fix
en>Crimsonum
m Fix #2
Line 10: Line 10:
}}
}}


If set, the image is only loaded from the disk when it is required on the battlefield, as opposed to preloading it during the loading screen. The image [[shape]] file must be located in a non-cached [[mix]], else this will cause a memory leak. See [[MIX#Mix_Types|mix types]] for a list of cached mix files.
If set, the image is only loaded from the disk when it is required on the battlefield, as opposed to preloading it during the loading screen. The image [[shape]] file must be located in a non-cached [[mix]], else this will cause a memory leak. See [[MIX#Mix_Types|mix types]] for a list of non-cached mix files.


== In {{yr}} ==
== In {{yr}} ==

Revision as of 09:46, 26 October 2023

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: DemandLoad
File(s): art(md).ini
Values: boolean
Default: no
Applicable to: Animations, BuildingTypes


If set, the image is only loaded from the disk when it is required on the battlefield, as opposed to preloading it during the loading screen. The image shape file must be located in a non-cached mix, else this will cause a memory leak. See mix types for a list of non-cached mix files.

In Yuri's Revenge

Logic related to DemandLoad, as a whole or in part, is obsolete in Yuri's Revenge.

Has no effect - not loaded from the ini files.

See Also