mirror of
https://github.com/ElHombreAlex/FTL-Faster-Than-Light-VR.git
synced 2026-10-06 06:00:10 +02:00
Bring HUD closer and isolate floating native menus
This commit is contained in:
1 parent
028de594bb
commit
46102cabf7
18 files changed
+84
-22
No files matched your search
+3
-1
@@ -341,7 +341,9 @@ function attachHudPass() {
|
||||
// Only supplemental draw calls are suppressed; the normal game draw runs.
|
||||
const symbols={hud_pass:hudPassFlag};
|
||||
let code='extern unsigned int hud_pass;\n';
|
||||
const names=['TabbedWindowOnRender','ChoiceBoxOnRender','MouseControlOnRender','CommandGuiRenderPause','StarMapOnRender'];
|
||||
// Esc and Options are separate render methods from the ship/store tabs.
|
||||
// They belong only to the normal screen capture used by the world panel.
|
||||
const names=['TabbedWindowOnRender','ChoiceBoxOnRender','MouseControlOnRender','CommandGuiRenderPause','StarMapOnRender','MenuScreenOnRender','OptionsScreenOnRender'];
|
||||
for (let i=0;i<names.length;i++) {
|
||||
if (!config.rvas[names[i]]) throw new Error('Missing native HUD method '+names[i]);
|
||||
symbols['original_'+i]=Memory.alloc(Process.pointerSize);
|
||||
|
||||
Reference in new issue
Block a user