CREATORJD commited on
Commit
6acb2f2
·
verified ·
1 Parent(s): 34f8bbb

v1.32.48 renderer diagnostic + terrain fallback

Browse files
Files changed (1) hide show
  1. src/game/meta.js +10 -1
src/game/meta.js CHANGED
@@ -1043,8 +1043,17 @@ function renderSettings(){
1043
  high:'Balanced. Bloom, ambient occlusion, and an effect budget that eases off under load.',
1044
  cinematic:'Best looking. Holds ambient occlusion and full effects even in a heavy fight, and keeps the swarm animating out to strategic zoom. Costs frames.'};
1045
  const qk=qualityKey();
 
 
 
 
 
 
1046
  h+=group('display','DISPLAY & PERFORMANCE','Scale the presentation without hiding tactical information.',
1047
- cyc('quality','Graphics Quality',QD[qk],QL[qk],qk!=='low')
 
 
 
1048
  +tog('cine','Cinematic Lighting','Bloom, color grade, smoke glow, and damage treatment')
1049
  +cyc('perf','Effects Budget','AUTO adapts; LOW caps particles on older phones',perf==='auto'?'AUTO':'LOW',perf==='auto')
1050
  +tog('fps','FPS Counter','Show the live frame-rate diagnostic')
 
1043
  high:'Balanced. Bloom, ambient occlusion, and an effect budget that eases off under load.',
1044
  cinematic:'Best looking. Holds ambient occlusion and full effects even in a heavy fight, and keeps the swarm animating out to strategic zoom. Costs frames.'};
1045
  const qk=qualityKey();
1046
+ /* RENDERER STATUS. Three "the map isn't drawing" reports in a row were
1047
+ diagnosed by guesswork because the only evidence — a shader log — goes to
1048
+ a console no phone shows. This line states, in the game, exactly which
1049
+ stage is missing, so one screenshot answers it. */
1050
+ const diag=(typeof mfGraphicsDiag==='function')?mfGraphicsDiag():'unavailable';
1051
+ const diagBad=/MISSING|LOST|ERR/.test(diag);
1052
  h+=group('display','DISPLAY & PERFORMANCE','Scale the presentation without hiding tactical information.',
1053
+ '<div class="sItem setRow" id="gfxDiagRow"><div class="sTx"><b>Renderer status</b>'
1054
+ +'<div class="sDs" id="gfxDiagTx" style="word-break:break-word">'+diag+'</div></div>'
1055
+ +'<div class="sBuy togB'+(diagBad?'':' onT')+'">'+(diagBad?'FAULT':'OK')+'</div></div>'
1056
+ +cyc('quality','Graphics Quality',QD[qk],QL[qk],qk!=='low')
1057
  +tog('cine','Cinematic Lighting','Bloom, color grade, smoke glow, and damage treatment')
1058
  +cyc('perf','Effects Budget','AUTO adapts; LOW caps particles on older phones',perf==='auto'?'AUTO':'LOW',perf==='auto')
1059
  +tog('fps','FPS Counter','Show the live frame-rate diagnostic')