Submarine preview window with a preview image & some extra information of the subs

This commit is contained in:
Joonas Rikkonen
2018-01-17 17:01:44 +02:00
parent 8544dea9db
commit f5dbbf0735
11 changed files with 338 additions and 59 deletions
@@ -91,6 +91,7 @@
<Editing>Editing</Editing>
<Error>Error</Error>
<Warning>Warning</Warning>
<Unknown>Unknown</Unknown>
<None>None</None>
<Close>Close</Close>
<Cancel>Cancel</Cancel>
@@ -240,6 +241,17 @@
<NoCargoSpawnpointWarning>"The submarine does not have spawnpoints for cargo (which are used for determining where to place bought items). To fix this, create a new spawnpoint and change its "spawn type" parameter to "cargo".</NoCargoSpawnpointWarning>
<FarAwayEntitiesWarning>One or more structures have been placed very far from the submarine. Show the structures?</FarAwayEntitiesWarning>
<!-- Sub description -->
<Dimensions>Dimensions</Dimensions>
<DimensionsFormat>[width]x[height] m</DimensionsFormat>
<SubPreviewImageNotFound>Preview image not found</SubPreviewImageNotFound>
<RecommendedCrewSize>Recommended crew size</RecommendedCrewSize>
<RecommendedCrewExperience>Recommended crew experience</RecommendedCrewExperience>
<CrewExperienceLow>Beginner</CrewExperienceLow>
<CrewExperienceMid>Intermediate</CrewExperienceMid>
<CrewExperienceHigh>Experienced</CrewExperienceHigh>
<!-- Waypoints -->
<Waypoint>Waypoint</Waypoint>
<LinkWaypoint>Hold space to link to another waypoint</LinkWaypoint>
@@ -223,17 +223,22 @@
</GUITickBox>
<GUIMessageBox
padding="40.0, 40.0, 40.0, 40.0"
color="1.0, 1.0, 1.0, 1.0"
textcolor="0.0, 0.0, 0.0, 1.0"
padding="40.0, 20.0, 40.0, 20.0"
color="1.0, 1.0, 1.0, 1.0"
textcolor="0.0, 0.0, 0.0, 1.0"
hovercolor="0.8, 0.8, 0.8, 1.0"
selectedcolor="1.0, 0.82, 0.05, 1.0"
selectedcolor="1.0, 0.82, 0.05, 1.0"
outlinecolor="0.5, 0.57, 0.6, 1.0">
<GUIFrame
padding="40.0, 20.0, 40.0, 20.0"
color="1.0,1.0,1.0,1.0"
hovercolor="1.0,1.0,1.0,1.0"
selectedcolor="1.0,1.0,1.0,1.0"
textcolor="0.0, 0.0, 0.0, 1.0">
<Sprite texture="Content/UI/UI_Atlas.png" sourcerect ="32, 541, 420, 454" slice="87,576,430,960"/>
<Sprite texture="Content/UI/UI_Atlas.png" size="0.0, 0.0" sourcerect ="32, 541, 420, 220" slice="87,576,430,687"/>
</GUIFrame>
</GUIMessageBox>
<GUIProgressBar