Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
DorianTheGrey committed Oct 27, 2020
1 parent 6fa5d66 commit f860b2c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

![Standard View](https://github.com/DorianTheGrey/DU-DamageReport/blob/main/img/StandardView.png)
![Cockpit](https://github.com/DorianTheGrey/DU-DamageReport/blob/main/img/InstalledToShip2.png)
![All systems nominal](https://github.com/DorianTheGrey/DU-DamageReport/blob/main/img/AllSystemsNominal.png)
![All systems nominal](https://github.com/DorianTheGrey/DU-DamageReport/blob/main/img/AllSystemsNominal2.png)
![Change Sorting](https://github.com/DorianTheGrey/DU-DamageReport/blob/main/img/ChangeSorting.png)
![Simulation Mode](https://github.com/DorianTheGrey/DU-DamageReport/blob/main/img/SimulatedView.png)
![Up to 9 monitors](https://github.com/DorianTheGrey/DU-DamageReport/blob/main/img/UpTo9Monitors2.png)
Expand Down
Binary file removed img/AllSystemsNominal.png
Binary file not shown.
Binary file added img/AllSystemsNominal2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 4 additions & 3 deletions src/DamageReport_1_6_UnitStart.lua
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ function GenerateHUDOutput()
.fmmiddle { font-size: 25px; text-anchor: middle; fill: white;}
.fmmiddlehud1 { text-anchor: middle; fill: black; font: bold 20px}
.fhudM1 { font: bold 18px tahoma; fill: black; text-anchor: middle}
.fhudM2 { font: bold 30px tahoma; fill: white; text-anchor: middle}
.fhudM2 { font: bold 25px tahoma; fill: #1e1e1e; text-anchor: middle}
.fmmiddleb { font-size: 30px; text-anchor: middle; fill: black;}
.fmmiddler { font-size: 30px; text-anchor: middle; fill: red;}
.fmend { font-size: 25px; text-anchor: end; fill: white;}
Expand All @@ -519,7 +519,7 @@ function GenerateHUDOutput()
hudOutput = hudOutput..
[[
<rect x="0" y="0" rx="10" ry="10" width="]]..hudWidth..[[" height="]]..hudHeight..[[" style="fill: #1e1e1e;opacity: 0.5;"/>
<text x="]]..math.ceil(hudWidth/2)..[[" y="38" class="fhudM2">DAMAGE REPORT</text>
<text x="]]..math.ceil(hudWidth/2)..[[" y="38" class="fhudM2">DAMAGE REPORT HUD</text>
]]

hudOutput = hudOutput..
Expand Down Expand Up @@ -790,7 +790,8 @@ function DrawScreens()
[[<svg x="810" y="410">]]..
GetAllSystemsNominalBackground()..
[[</svg>]]..
[[<text x="960" y="750" class="ftopmiddle" fill="#00aa00">]]..OkayCenterMessage..[[</text>]]
[[<text x="960" y="750" class="ftopmiddle" fill="#00aa00">]]..OkayCenterMessage..[[</text>]] ..
[[<text x="960" y="800" class="ftopmiddle" fill="#00aa00">Ship stands ]]..GenerateCommaValue(string.format("%.0f", totalShipMaxHP))..[[ HP strong.</text>]]
end

-- Draw HUD Mode button
Expand Down

0 comments on commit f860b2c

Please sign in to comment.