MCPcopy Create free account
hub / github.com/JACoders/OpenJK / AssetCache

Function AssetCache

code/ui/ui_main.cpp:3595–3615  ·  view source on GitHub ↗

================= AssetCache ================= */

Source from the content-addressed store, hash-verified

3593=================
3594*/
3595void AssetCache(void)
3596{
3597// int n;
3598 uiInfo.uiDC.Assets.scrollBar = ui.R_RegisterShaderNoMip( ASSET_SCROLLBAR );
3599 uiInfo.uiDC.Assets.scrollBarArrowDown = ui.R_RegisterShaderNoMip( ASSET_SCROLLBAR_ARROWDOWN );
3600 uiInfo.uiDC.Assets.scrollBarArrowUp = ui.R_RegisterShaderNoMip( ASSET_SCROLLBAR_ARROWUP );
3601 uiInfo.uiDC.Assets.scrollBarArrowLeft = ui.R_RegisterShaderNoMip( ASSET_SCROLLBAR_ARROWLEFT );
3602 uiInfo.uiDC.Assets.scrollBarArrowRight = ui.R_RegisterShaderNoMip( ASSET_SCROLLBAR_ARROWRIGHT );
3603 uiInfo.uiDC.Assets.scrollBarThumb = ui.R_RegisterShaderNoMip( ASSET_SCROLL_THUMB );
3604
3605 uiInfo.uiDC.Assets.sliderBar = ui.R_RegisterShaderNoMip( "menu/new/slider" );
3606 uiInfo.uiDC.Assets.sliderThumb = ui.R_RegisterShaderNoMip( "menu/new/sliderthumb");
3607
3608
3609 /*
3610 for( n = 0; n < NUM_CROSSHAIRS; n++ )
3611 {
3612 uiInfo.uiDC.Assets.crosshairShader[n] = ui.R_RegisterShaderNoMip( va("gfx/2d/crosshair%c", 'a' + n ) );
3613 }
3614 */
3615}
3616
3617/*
3618================

Callers 1

_UI_InitFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected