REM-Client e7791764: HUD on the cockpit's displays, status and 3D scanner as holograms, one button strip, Starflier cockpit v09

This commit is contained in:
flathack committed 2026-11-15 21:47:59 +01:00
1 parent 0bcd696a90
commit 61d7f0029d
8 files changed
+179 -10

No files matched your search

+55
View File
@@ -1,3 +1,58 @@
REM-Client e7791764: HUD on the cockpit's displays, status and scanner holograms, one button strip, cockpit v09 (64-bit)
date: 2026-11-15T21:47:54.237833+01:00
source: e7791764 (main) = d52dda02 plus the cockpit display work; the four records below describe that work as it was built step by step on b7dead81 before the commit
change: rebuilt from the committed tree after rebasing onto d52dda02, so this exe has the cockpit displays (see the records below) and the outfitter / pause menu fixes of 29476891 and d52dda02
files: EXE/Freelancer.exe, EXE/remui/hud.rml, radar.rml, rembar.rml, nnbar.rml, DATA/COCKPITS/REM/MODELS/rem_starflier_cockpit.3db (Cockpit-Workshop civilian v09), DATA/COCKPITS/REM/starflier_civilian.ini ([RemDisplay], 6 panels)
build: Release|x64 incremental freelancer.vcxproj build succeeded; dependency DLLs not deployed
validation: compile and link only; runtime exe byte-identical to build; cockpit model export/readback round trip passed (14,238 triangles); NOT tested in game
runtime: REM-LOCAL uses REM-Mod/EXE directly; restart Freelancer to load
SHA-256 EXE/Freelancer.exe: 606ce97168068ecdeadd8c93898cece6e08505875c17cec0456aa1c822bf2ff9
Previous deployment record:
REM-Client incremental prototype: radar hologram, reworked 3D scanner, one button strip, cockpit v09 (64-bit)
date: 2026-11-15T21:37:12.867541+01:00
source: b7dead818e2051dfbbb6adfa928b7954ec6786aa (main) plus UNCOMMITTED working-tree changes: those of the previous records and src/freelancer/Client/rem_ui_radar.cpp, rem_ui_nnbar.cpp, rem_ui_host.cpp/.h, rem_ui_hud.cpp, assets/remui/radar.rml, rembar.rml, nnbar.rml, hud.rml, docs/ini/client-ui-config.md, docs/re/deviations.md
change: in the cockpit the 3D scanner is a hologram without a screen above the ship status (panel 'radar' without a mesh, larger; only the dish and contacts take the mouse); scanner look reworked in every view (perspective depth, lattice fading to the rim, tick scale and forward arrow on the rim, view wedge, contact stems with foot spots, HUD theme colours); the REM bar and the NeuroNet bar share one frameless strip below the maneuver strip (new panel 'buttons', bar_left / bar_right gone); maneuver strip flatter; cockpit model v09: radar screen, top bars and their bow removed, button strip on the plinth front
files: EXE/Freelancer.exe, EXE/remui/hud.rml, radar.rml, rembar.rml, nnbar.rml, DATA/COCKPITS/REM/MODELS/rem_starflier_cockpit.3db (Cockpit-Workshop civilian v09), DATA/COCKPITS/REM/starflier_civilian.ini ([RemDisplay], 6 panels)
build: Release|x64 freelancer.vcxproj build succeeded (dependencies were rebuilt too); dependency DLLs not deployed
validation: compile and link only; runtime exe byte-identical to build; cockpit model export/readback round trip passed (14,238 triangles); NOT tested in game
runtime: REM-LOCAL uses REM-Mod/EXE directly; restart Freelancer to load; Lutris/RemLauncher install got the cockpit model and ini but not this exe or the .rml files
SHA-256 EXE/Freelancer.exe: 71b4ef020db44ee6b5d5eb11236312a5b8d25ec0c0637856ead139272c04f3c9
Previous deployment record:
REM-Client incremental prototype: cockpit HUD around a status hologram, cockpit v08 (64-bit)
date: 2026-11-15T21:17:33.823103+01:00
source: b7dead818e2051dfbbb6adfa928b7954ec6786aa (main) plus UNCOMMITTED working-tree changes: those of the previous records and src/freelancer/Client/rem_ui_hud.cpp, assets/remui/hud.rml, docs/ini/client-ui-config.md, docs/re/deviations.md
change: cockpit layout of the HUD redesigned: the ship status is a hologram over the console (ship in larger shield/hull rings, shield/hull/power bars left, speed and thrust right, cruise arc around the ring; panel 'status' without a mesh), the maneuver keys are a strip below it (panel renamed bar_mid -> maneuvers), contacts and weapons are lower with a single head line and tighter rows; cockpit model v08: top middle display removed, centre binnacle lowered to an emitter plinth, side displays 3 degrees lower
files: EXE/Freelancer.exe, EXE/remui/hud.rml, DATA/COCKPITS/REM/MODELS/rem_starflier_cockpit.3db (Cockpit-Workshop civilian v08), DATA/COCKPITS/REM/starflier_civilian.ini ([RemDisplay], 7 panels)
build: Release|x64 incremental freelancer.vcxproj build succeeded; dependency DLLs not deployed
validation: compile and link only; runtime exe byte-identical to build; cockpit model export/readback round trip passed (14,494 triangles); NOT tested in game
runtime: REM-LOCAL uses REM-Mod/EXE directly; restart Freelancer to load; Lutris/RemLauncher install got the cockpit model and ini but not this exe or hud.rml
SHA-256 EXE/Freelancer.exe: 228c11aca7ef2051add5308f678713168b4165f152b42b5bea6686f66da4d096
Previous deployment record:
REM-Client incremental prototype: cockpit HUD layout, display clicks, head sway (64-bit)
date: 2026-11-15T20:58:34.408192+01:00
source: b7dead818e2051dfbbb6adfa928b7954ec6786aa (main) plus UNCOMMITTED working-tree changes: those of the previous record and src/freelancer/Client/space_camera_first.cpp, rem_ui_host.cpp, rem_ui_hud.cpp, nn_preferences_rem.cpp, assets/remui/hud.rml, bin/rem.ini, docs/re/deviations.md
change: the head's forward/back lag when accelerating or braking is scaled by rem.ini cockpit_head_sway (default 0.4, slider on the REM options page; 1 = retail); clicks on HUD parts drawn on a moving cockpit display are sent by the host when RmlUi drops them (press and release on different elements); hud.rml has a cockpit layout (body.cockpit: flat screens, maneuver bar filling its display with larger icons, cruise button as its first cell, list heads as wide as their bodies)
files: EXE/Freelancer.exe, EXE/remui/hud.rml
build: Release|x64 incremental freelancer.vcxproj build succeeded; dependency DLLs not deployed
validation: compile and link only; runtime exe byte-identical to build; NOT tested in game
runtime: REM-LOCAL uses REM-Mod/EXE directly; restart Freelancer to load; Lutris/RemLauncher install not updated
SHA-256 EXE/Freelancer.exe: ca75e5e99ccdbddc93b330cd6148f7c3a91d015ed46153437cce290b5bd848c0
Previous deployment record:
REM-Client incremental prototype: HUD on the cockpit's displays (64-bit)
date: 2026-11-15T20:37:39.406146+01:00
source: b7dead818e2051dfbbb6adfa928b7954ec6786aa (main) plus UNCOMMITTED working-tree changes: src/freelancer/Client/space_camera_first.cpp/.h, rem_ui_host.cpp/.h, rem_ui_render.cpp, rem_ui_hud.cpp, rem_ui_radar.cpp, rem_ui_nnbar.cpp, nn_preferences_rem.cpp, bin/rem.ini, docs/ini/client-ui-config.md, docs/re/deviations.md
change: in the cockpit view the HUD groups, radar, REM bar, maneuver bar and NeuroNet bar are drawn on the cockpit's display panels ([RemDisplay] panel = ... in the cockpit ini, perspective transform per frame); every other view keeps the normal screen HUD; switch on the REM options page (rem.ini cockpit_displays)
files: EXE/Freelancer.exe, DATA/COCKPITS/REM/MODELS/rem_starflier_cockpit.3db (Cockpit-Workshop civilian v07 with seven display panels), DATA/COCKPITS/REM/starflier_civilian.ini ([RemDisplay])
build: Release|x64 incremental freelancer.vcxproj build succeeded; dependency DLLs not deployed
validation: compile and link only; cockpit model export/readback round trip passed (13,886 triangles); display transform checked numerically against the panel corners; NOT tested in game
runtime: REM-LOCAL uses REM-Mod/EXE directly; restart Freelancer to load; Lutris/RemLauncher install got the cockpit model and ini but not this exe
SHA-256 EXE/Freelancer.exe: 6fbc3bfc267a8a461332378a10d621af9095e7887cf92bfe00116b32665398f0
Previous deployment record:
REM-Client incremental Change account rejoin fix (64-bit)
date: 2026-11-15T21:30:00+01:00
source: d52dda02 (main; 29476891 + src/freelancer/Client/nn_pause.cpp/.h, rem_ui_pause.cpp)
Binary file not shown.
+8
View File
@@ -11,3 +11,11 @@ yaw_rotate_speed = 2
pitch_rotate_speed = 1.5
accel_speed = 5
[RemDisplay]
; panel = name, top left, top right, bottom left (cockpit mesh coordinates)
panel = maneuvers, -0.2975, -0.3648, -1.2692, 0.2975, -0.3648, -1.2692, -0.2975, -0.4401, -1.2451
panel = buttons, -0.2975, -0.4418, -1.2441, 0.2975, -0.4418, -1.2441, -0.2975, -0.4806, -1.2296
panel = status, -0.3061, -0.1586, -1.4363, 0.3061, -0.1586, -1.4363, -0.3061, -0.3959, -1.3898
panel = radar, -0.2527, -0.0023, -1.3036, 0.2527, -0.0023, -1.3036, -0.2527, -0.1949, -1.2889
panel = contacts, -0.6082, -0.2032, -0.909, -0.3779, -0.2032, -1.0263, -0.5822, -0.4032, -0.8579
panel = weapons, 0.3779, -0.2032, -1.0263, 0.6082, -0.2032, -0.909, 0.3519, -0.4032, -0.9753
Binary file not shown.
+90 -5
View File
@@ -203,9 +203,69 @@
.edbar .eh { margin: 6dp 0 12dp 0; font-size: 14dp; color: #b9cbe0; }
.edbar .eb { display: flex; flex-direction: row; justify-content: center; }
.edbar .btn { margin: 0 4dp; }
/* REM: the cockpit's layout (body.cockpit while the parts draw on the cockpit's displays, rem_ui_hud.cpp
UpdateDisplays; the places' sizes there match the ones here). The display's bezel is the frame, so the
panels are flat lit screens that fill their display.
- ship status: a hologram over the console's emitter, no screen behind it -- the ship in its shield and
hull rings larger in the middle, shield / hull / power as bars on its left, speed and thrust on its
right, the cruise engine's arc around the ring (.core.ck, .cruisearc.ck: 640 x 256 dp, ring at 320, 156)
- maneuvers: a strip of large keys under the hologram, the cruise button its first key
- contacts / weapons: one low head line, tighter rows (367 x 296 dp instead of 367 x 376) */
.cockpit .mans, .cockpit .fp.cruise, .cockpit .lhead, .cockpit .lbody, .cockpit .rhead, .cockpit .rbody { decorator: none; background-color: #04090fd9; }
.cockpit .runner { display: none; }
.cockpit .mans { margin-left: -290dp; width: 660dp; height: 100dp; padding: 0 10dp 0 0; }
.cockpit .mans .ib { height: 92dp; padding-top: 8dp; }
.cockpit .mans .ib:first-child { border-left-width: 1dp; }
.cockpit .mans .ico { width: 52dp; height: 52dp; }
.cockpit .mans .lb { margin-top: 3dp; font-size: 15dp; }
.cockpit .mans .jump-control .state { font-size: 13dp; }
.cockpit .fp.cruise { margin-left: -370dp; top: 8dp; width: 80dp; height: 100dp; }
.cockpit .cruise .ib { padding: 8dp 4dp; }
.cockpit .cruise .ico { width: 52dp; height: 52dp; margin: 0; }
.cockpit .jump-info { top: -16dp; font-size: 15dp; }
.cockpit .fp.special { bottom: 272dp; }
.fp.core.ck { margin-left: -320dp; width: 640dp; height: 256dp; }
.core.ck .disc { left: 232dp; top: 68dp; width: 174dp; height: 174dp; border: 1dp #5cc8f066; border-radius: 88dp; decorator: radial-gradient(circle, #5cc8f000 55%, #5cc8f01c 100%); }
.core.ck .ship { left: 274dp; top: 108dp; width: 92dp; height: 86dp; }
.core.ck .pc { left: 252dp; top: 198dp; font-size: 13dp; }
.core.ck .col { position: absolute; width: 204dp; }
.core.ck .col.l { left: 10dp; top: 111dp; }
.core.ck .col.r { left: 426dp; top: 86dp; }
.crow { display: flex; flex-direction: row; align-items: center; height: 30dp; }
.crow .l { width: 62dp; font-weight: 600; font-size: 12dp; letter-spacing: 1.5dp; color: #b9d4ea; }
.crow .bar, .crow .chips, .crow .sg { height: 12dp; }
.crow .v { width: 50dp; text-align: right; font-weight: 600; font-size: 16dp; color: #e8f4ff; }
.crow .v.low { color: #ef6a5b; }
.core.ck .spd { height: 44dp; text-align: right; }
.core.ck .spd .big { font-size: 34dp; }
.core.ck .spd .u { font-size: 14dp; color: #8fb3d0; margin-left: 5dp; }
.speed .sg { background-color: #5cc8f026; }
.speed .sg.lit { background-color: #5cc8f0; }
.thr .sg { background-color: #dbe6f026; }
.thr .sg.lit { background-color: #dbe6f0; }
.fp.cruisearc.ck { margin-left: -320dp; width: 640dp; height: 256dp; }
.cruisearc.ck .head { left: 170dp; top: -10dp; }
.cockpit .lhead, .cockpit .rhead { width: 367dp; height: 34dp; bottom: 270dp; padding: 0 8dp 0 12dp; border-bottom: 2dp #2b6f9e; }
.cockpit .lhead .ico { width: 24dp; height: 24dp; }
.cockpit .rhead .ico { width: 22dp; height: 22dp; }
.cockpit .rhead .cnt { font-size: 16dp; }
.cockpit .lbody, .cockpit .rbody { height: 262dp; padding: 6dp 12dp; }
.cockpit .filters { margin-bottom: 3dp; padding-bottom: 3dp; }
.cockpit .filters .ico { width: 26dp; height: 26dp; }
.cockpit .rows { height: 208dp; }
.cockpit .c { height: 26dp; }
.cockpit .c .n, .cockpit .c .r, .cockpit .w { font-weight: 600; }
.cockpit .sbar { top: 44dp; bottom: 6dp; }
.cockpit .w { height: 24dp; }
.cockpit .tname { font-size: 20dp; }
.cockpit .tsub { margin-bottom: 6dp; }
.cockpit .tbtns { margin-top: 6dp; }
.cockpit .tbtns .ico { width: 34dp; height: 34dp; }
</style>
</head>
<body class="hud" data-model="hud" data-class-editing="editing" data-style-opacity="opacity">
<body class="hud" data-model="hud" data-class-editing="editing" data-class-cockpit="cockpit" data-style-opacity="opacity">
<div class="system-pick" data-for="s : system_picks" data-style-left="s.left" data-style-top="s.top" data-action="system_pick" data-attr-data-arg="s.id"><span class="corner tl"></span><span class="corner tr"></span><span class="corner bl"></span><span class="corner br"></span><span class="name">{{ s.name }}</span></div>
<!-- maneuvers -->
<div class="grp g0" data-grp="0" data-style-transform="grp[0].tf" data-class-gone="!grp[0].shown && !editing" data-class-faded="!grp[0].shown && editing">
@@ -224,7 +284,7 @@
<div class="grp g1" data-grp="1" data-style-transform="grp[1].tf" data-class-gone="!grp[1].shown && !editing" data-class-faded="!grp[1].shown && editing">
<div class="tag" data-if="editing &amp;&amp; core_ring" style="left: 50%; margin-left: -310dp; bottom: 184dp;"><span class="eye" data-action="eye" data-arg="1">{{ grp[1].shown ? 'Hide' : 'Show' }}</span>Ship status</div>
<div class="tag" data-if="editing &amp;&amp; !core_ring" style="left: 50%; margin-left: -240dp; bottom: 82dp;"><span class="eye" data-action="eye" data-arg="1">{{ grp[1].shown ? 'Hide' : 'Show' }}</span>Ship status</div>
<div data-if="(core || editing) &amp;&amp; core_ring">
<div data-if="(core || editing) &amp;&amp; core_ring &amp;&amp; !cockpit">
<div class="fp all core">
<div class="disc"></div>
<shipwire class="ship"/>
@@ -243,7 +303,7 @@
</div>
</div>
</div>
<div data-if="(core || editing) &amp;&amp; !core_ring">
<div data-if="(core || editing) &amp;&amp; !core_ring &amp;&amp; !cockpit">
<div class="fp all coreb">
<div class="val thrust" data-class-low="thrust_low"><span class="cap">THRUST</span>{{ thrust }}</div>
<div class="sep"></div>
@@ -257,23 +317,48 @@
</div>
</div>
<!-- REM: the cockpit's ship status (body.cockpit): a hologram, see the style block -->
<div data-if="core &amp;&amp; cockpit">
<div class="fp core ck">
<div class="disc"></div>
<shipwire class="ship"/>
<segarc cx="320" cy="156" r="80" w="14" h="9" n="32" a0="5.6" da="11.25" data-attr-lit="shield_n * 2" on="#4fc6ee" off="#4fc6ee26"/>
<segarc cx="320" cy="156" r="65" w="10.5" h="4" n="32" a0="5.6" da="11.25" data-attr-lit="hull_n * 2" on="#e0484e" off="#e0484e33"/>
<div class="pc"><span class="s">{{ shield_t }}%</span><span class="h">{{ hull_t }}%</span></div>
<div class="col l">
<div class="crow shield"><span class="l">SHIELD</span><div class="bar"><div class="chips"><div class="sg" data-class-lit="shield_n &gt; 0"></div><div class="sg" data-class-lit="shield_n &gt; 1"></div><div class="sg" data-class-lit="shield_n &gt; 2"></div><div class="sg" data-class-lit="shield_n &gt; 3"></div><div class="sg" data-class-lit="shield_n &gt; 4"></div><div class="sg" data-class-lit="shield_n &gt; 5"></div><div class="sg" data-class-lit="shield_n &gt; 6"></div><div class="sg" data-class-lit="shield_n &gt; 7"></div><div class="sg" data-class-lit="shield_n &gt; 8"></div><div class="sg" data-class-lit="shield_n &gt; 9"></div><div class="sg" data-class-lit="shield_n &gt; 10"></div><div class="sg" data-class-lit="shield_n &gt; 11"></div><div class="sg" data-class-lit="shield_n &gt; 12"></div><div class="sg" data-class-lit="shield_n &gt; 13"></div><div class="sg" data-class-lit="shield_n &gt; 14"></div><div class="sg" data-class-lit="shield_n &gt; 15"></div></div></div><span class="v">{{ shield_t }}%</span></div>
<div class="crow hull"><span class="l">HULL</span><div class="bar"><div class="chips"><div class="sg" data-class-lit="hull_n &gt; 0"></div><div class="sg" data-class-lit="hull_n &gt; 1"></div><div class="sg" data-class-lit="hull_n &gt; 2"></div><div class="sg" data-class-lit="hull_n &gt; 3"></div><div class="sg" data-class-lit="hull_n &gt; 4"></div><div class="sg" data-class-lit="hull_n &gt; 5"></div><div class="sg" data-class-lit="hull_n &gt; 6"></div><div class="sg" data-class-lit="hull_n &gt; 7"></div><div class="sg" data-class-lit="hull_n &gt; 8"></div><div class="sg" data-class-lit="hull_n &gt; 9"></div><div class="sg" data-class-lit="hull_n &gt; 10"></div><div class="sg" data-class-lit="hull_n &gt; 11"></div><div class="sg" data-class-lit="hull_n &gt; 12"></div><div class="sg" data-class-lit="hull_n &gt; 13"></div><div class="sg" data-class-lit="hull_n &gt; 14"></div><div class="sg" data-class-lit="hull_n &gt; 15"></div></div></div><span class="v">{{ hull_t }}%</span></div>
<div class="crow power"><span class="l">POWER</span><div class="bar"><div class="chips"><div class="sg" data-class-lit="power_n &gt; 0"></div><div class="sg" data-class-lit="power_n &gt; 1"></div><div class="sg" data-class-lit="power_n &gt; 2"></div><div class="sg" data-class-lit="power_n &gt; 3"></div><div class="sg" data-class-lit="power_n &gt; 4"></div><div class="sg" data-class-lit="power_n &gt; 5"></div><div class="sg" data-class-lit="power_n &gt; 6"></div><div class="sg" data-class-lit="power_n &gt; 7"></div><div class="sg" data-class-lit="power_n &gt; 8"></div><div class="sg" data-class-lit="power_n &gt; 9"></div><div class="sg" data-class-lit="power_n &gt; 10"></div><div class="sg" data-class-lit="power_n &gt; 11"></div><div class="sg" data-class-lit="power_n &gt; 12"></div><div class="sg" data-class-lit="power_n &gt; 13"></div><div class="sg" data-class-lit="power_n &gt; 14"></div><div class="sg" data-class-lit="power_n &gt; 15"></div></div></div><span class="v">{{ power_t }}%</span></div>
</div>
<div class="col r">
<div class="spd"><span class="big">{{ speed }}</span><span class="u">{{ speed_u }}</span></div>
<div class="crow speed"><span class="l">SPEED</span><div class="bar"><div class="chips"><div class="sg" data-class-lit="speed_n &gt; 0"></div><div class="sg" data-class-lit="speed_n &gt; 1"></div><div class="sg" data-class-lit="speed_n &gt; 2"></div><div class="sg" data-class-lit="speed_n &gt; 3"></div><div class="sg" data-class-lit="speed_n &gt; 4"></div><div class="sg" data-class-lit="speed_n &gt; 5"></div><div class="sg" data-class-lit="speed_n &gt; 6"></div><div class="sg" data-class-lit="speed_n &gt; 7"></div><div class="sg" data-class-lit="speed_n &gt; 8"></div><div class="sg" data-class-lit="speed_n &gt; 9"></div><div class="sg" data-class-lit="speed_n &gt; 10"></div><div class="sg" data-class-lit="speed_n &gt; 11"></div><div class="sg" data-class-lit="speed_n &gt; 12"></div><div class="sg" data-class-lit="speed_n &gt; 13"></div><div class="sg" data-class-lit="speed_n &gt; 14"></div><div class="sg" data-class-lit="speed_n &gt; 15"></div></div></div><span class="v"></span></div>
<div class="crow thr"><span class="l">THRUST</span><div class="bar"><div class="chips"><div class="sg" data-class-lit="thrust_n &gt; 0"></div><div class="sg" data-class-lit="thrust_n &gt; 1"></div><div class="sg" data-class-lit="thrust_n &gt; 2"></div><div class="sg" data-class-lit="thrust_n &gt; 3"></div><div class="sg" data-class-lit="thrust_n &gt; 4"></div><div class="sg" data-class-lit="thrust_n &gt; 5"></div><div class="sg" data-class-lit="thrust_n &gt; 6"></div><div class="sg" data-class-lit="thrust_n &gt; 7"></div><div class="sg" data-class-lit="thrust_n &gt; 8"></div><div class="sg" data-class-lit="thrust_n &gt; 9"></div><div class="sg" data-class-lit="thrust_n &gt; 10"></div><div class="sg" data-class-lit="thrust_n &gt; 11"></div><div class="sg" data-class-lit="thrust_n &gt; 12"></div><div class="sg" data-class-lit="thrust_n &gt; 13"></div><div class="sg" data-class-lit="thrust_n &gt; 14"></div><div class="sg" data-class-lit="thrust_n &gt; 15"></div></div></div><span class="v" data-class-low="thrust_low">{{ thrust }}</span></div>
</div>
</div>
</div>
</div>
<!-- the cruise engine's countdown / charge (HUD_CruiseProgress): around the ship status' ring (or above its bars),
with the ship status' move and size, also while that is hidden -->
<div class="grp g1" data-style-transform="grp[1].tf">
<div class="fp cruisearc" data-if="cruise_bar &amp;&amp; core_ring" data-class-count="cruise_count" data-class-done="cruise_done">
<div class="fp cruisearc" data-if="cruise_bar &amp;&amp; core_ring &amp;&amp; !cockpit" data-class-count="cruise_count" data-class-done="cruise_done">
<segarc cx="310" cy="92" r="84" w="9" h="7" n="16" a0="-55" da="7.3333" data-attr-lit="cruise_n" on="#f2b13c" off="#f2b13c30"/>
<segarc cx="310" cy="92" r="94" w="9" h="2" n="16" a0="-55" da="7.3333" data-attr-lit="cruise_n" on="#ffd27a99" off="#5cc8f026"/>
<segarc cx="310" cy="92" r="84" w="10" h="9" n="1" data-attr-a0="cruise_tip_a" da="0" data-attr-lit="cruise_n &gt; 0 ? 1 : 0" on="#fff1c8" off="#00000000"/>
<div class="glow" data-if="cruise_n &gt; 0" data-style-left="cruise_tip_l" data-style-top="cruise_tip_t"></div>
<div class="head"><span class="cv">{{ cruise_val }}</span><span class="cc">{{ cruise_cap }}</span></div>
</div>
<div class="fp cruiseband" data-if="cruise_bar &amp;&amp; !core_ring" data-class-count="cruise_count" data-class-done="cruise_done">
<div class="fp cruiseband" data-if="cruise_bar &amp;&amp; !core_ring &amp;&amp; !cockpit" data-class-count="cruise_count" data-class-done="cruise_done">
<span class="cc">&#187; {{ cruise_cap }} &#171;</span>
<div class="row"><div class="ch" data-class-lit="cruise_n &gt; 0"></div><div class="ch" data-class-lit="cruise_n &gt; 1"></div><div class="ch" data-class-lit="cruise_n &gt; 2"></div><div class="ch" data-class-lit="cruise_n &gt; 3"></div><div class="ch" data-class-lit="cruise_n &gt; 4"></div><div class="ch" data-class-lit="cruise_n &gt; 5"></div><div class="ch" data-class-lit="cruise_n &gt; 6"></div><div class="ch" data-class-lit="cruise_n &gt; 7"></div><div class="ch" data-class-lit="cruise_n &gt; 8"></div><div class="ch" data-class-lit="cruise_n &gt; 9"></div><div class="ch" data-class-lit="cruise_n &gt; 10"></div><div class="ch" data-class-lit="cruise_n &gt; 11"></div><div class="ch" data-class-lit="cruise_n &gt; 12"></div><div class="ch" data-class-lit="cruise_n &gt; 13"></div><div class="ch" data-class-lit="cruise_n &gt; 14"></div><div class="ch" data-class-lit="cruise_n &gt; 15"></div><div class="run"></div></div>
<span class="cv">{{ cruise_val }}</span>
</div>
<div class="fp cruisearc ck" data-if="cruise_bar &amp;&amp; cockpit" data-class-count="cruise_count" data-class-done="cruise_done">
<segarc cx="320" cy="156" r="104" w="11" h="8" n="16" a0="-55" da="7.3333" data-attr-lit="cruise_n" on="#f2b13c" off="#f2b13c30"/>
<segarc cx="320" cy="156" r="115" w="11" h="2" n="16" a0="-55" da="7.3333" data-attr-lit="cruise_n" on="#ffd27a99" off="#5cc8f026"/>
<div class="head"><span class="cv">{{ cruise_val }}</span><span class="cc">{{ cruise_cap }}</span></div>
</div>
<!-- the special view / flight mode (turret view, rear view, mouse flight ...: HUD_Status' SpecialModeText) as the original
shows it: centred above the ship status, not in the weapons list (Darki 2026-11-05) -->
<div class="fp special" data-if="special != ''">{{ special }}</div>
+7 -2
View File
@@ -21,13 +21,18 @@
.nb.alert { background-color: #ff4a3d22; }
@keyframes nb-alert { from { opacity: 1; } to { opacity: 0.25; } }
.nb .tip { top: 46dp; right: 0; left: auto; bottom: auto; width: 230dp; white-space: normal; text-align: right; }
/* REM: the cockpit's button strip (body.cockpit while the bar draws on the cockpit's panel "buttons",
rem_ui_nnbar.cpp PlaceOnStrip): the display is the frame, the icons stand side by side with the other
bar's, the tool tips open upwards */
.cockpit .nnbar { decorator: none; padding: 0; }
.cockpit .nb .tip { top: auto; bottom: 50dp; }
.edit-grip { display: none; position: absolute; left: 0; top: 0; padding: 2dp 8dp; background-color: #f2b13c; color: #05080d; font-family: "Saira SemiCondensed"; font-weight: 600; font-size: 13dp; border-radius: 3dp; white-space: nowrap; drag: drag; cursor: move; pointer-events: auto; z-index: 10; }
.hud-editing .edit-grip { display: block; }
</style>
</head>
<body class="nnstrip movable" data-model="nnbar">
<body class="nnstrip movable" data-class-cockpit="cockpit" data-model="nnbar">
<div class="win-head edit-grip">NeuroNet bar &#10021;</div>
<div class="nnbar" data-if="shown" data-style-width="icons.size * 42 + 32 + 'dp'">
<div class="nnbar" data-if="shown" data-style-width="icons.size * 42 + (cockpit ? 0 : 32) + 'dp'">
<div class="nb" data-for="i : icons" data-class-active="i.active" data-class-alert="i.alert" data-action="nn" data-attr-data-arg="i.cmd">
<img data-attr-src="i.icon"/>
<div class="tip" data-if="i.label != ''">{{ i.label }}</div>
+12 -1
View File
@@ -31,11 +31,22 @@
radar { display: block; position: absolute; left: 0; top: 0; right: 0; bottom: 0; }
.lbl { position: absolute; font-size: 12dp; white-space: nowrap; pointer-events: none; }
.fwd { position: absolute; left: 50%; margin-left: -4dp; top: 4dp; font-family: "IBM Plex Mono"; font-size: 10dp; color: #f2b13c; pointer-events: none; }
/* REM: the cockpit's radar (body.cockpit while it draws on the cockpit's panel "radar", rem_ui_radar.cpp):
a hologram over the ship status -- no frame, no ground, the box as wide as the dish; the title at its
left corner, projection and ranges at the right one */
body.radar.cockpit { width: 440dp; height: 170dp; }
.cockpit .frame { decorator: none; display: block; pointer-events: none; }
.cockpit .head { position: absolute; left: 0; right: 0; top: 0; height: 22dp; padding: 0; border-bottom-width: 0; z-index: 2; }
.cockpit .head .rng { pointer-events: auto; background-color: #04090f99; }
.cockpit .head .rng.on { background-color: #f2b13c33; }
.cockpit #scope { position: absolute; left: 0; top: 0; right: 0; bottom: 0; }
.cockpit radar { pointer-events: auto; }
.cockpit .lbl { font-weight: 600; font-effect: shadow(0dp 1dp #000000cc); }
.edit-grip { display: none; position: absolute; left: 0; top: 0; padding: 2dp 8dp; background-color: #f2b13c; color: #05080d; font-family: "Saira SemiCondensed"; font-weight: 600; font-size: 13dp; border-radius: 3dp; white-space: nowrap; drag: drag; cursor: move; pointer-events: auto; z-index: 10; }
.hud-editing .edit-grip { display: block; }
</style>
</head>
<body class="radar movable" data-model="radar">
<body class="radar movable" data-model="radar" data-class-cockpit="cockpit">
<div class="win-head edit-grip">Radar &#10021;</div>
<div class="frame">
<div class="head">
+7 -2
View File
@@ -17,13 +17,18 @@
.nb img { transform: perspective(240dp) rotateY(0deg) scale(1); transition: transform 0.2s cubic-out; }
.nb.active img { image-color: #f2b13c; }
.nb .tip { top: 46dp; left: 0; right: auto; bottom: auto; width: 230dp; white-space: normal; }
/* REM: the cockpit's button strip (body.cockpit while the bar draws on the cockpit's panel "buttons",
rem_ui_nnbar.cpp PlaceOnStrip): the display is the frame, the icons stand side by side with the other
bar's, the tool tips open upwards */
.cockpit .nnbar { decorator: none; padding: 0; }
.cockpit .nb .tip { top: auto; bottom: 50dp; }
.edit-grip { display: none; position: absolute; left: 0; top: 0; padding: 2dp 8dp; background-color: #f2b13c; color: #05080d; font-family: "Saira SemiCondensed"; font-weight: 600; font-size: 13dp; border-radius: 3dp; white-space: nowrap; drag: drag; cursor: move; pointer-events: auto; z-index: 10; }
.hud-editing .edit-grip { display: block; }
</style>
</head>
<body class="nnstrip movable" data-model="rembar">
<body class="nnstrip movable" data-class-cockpit="cockpit" data-model="rembar">
<div class="win-head edit-grip">REM bar &#10021;</div>
<div class="nnbar" data-if="shown" data-style-width="icons.size * 42 + 32 + 'dp'">
<div class="nnbar" data-if="shown" data-style-width="icons.size * 42 + (cockpit ? 0 : 32) + 'dp'">
<div class="nb" data-for="i : icons" data-class-active="i.active" data-action="nn" data-attr-data-arg="i.cmd">
<img data-attr-src="i.icon"/>
<div class="tip" data-if="i.label != ''">{{ i.label }}</div>