Skip to content
Browse files

Warn when uplink and/or lassat is disabled.

  • Loading branch information...
1 parent 26bb105 commit 1e5fafabb39f76762ab7a560be7770595bc60a8c @Cyp Cyp committed Aug 5, 2012
Showing with 8 additions and 2 deletions.
  1. +2 −0 data/base/images/frontend.img
  2. +2 −0 src/frend.h
  3. +4 −2 src/multiint.cpp
View
2 data/base/images/frontend.img
@@ -198,6 +198,8 @@
0,0,image_no_vtol.png
0,0,image_no_cyborg.png
0,0,image_no_tank.png
+0,0,image_no_uplink.png
+0,0,image_no_lassat.png
0,0,image_easy.png
0,0,image_medium.png
0,0,image_hard.png
View
2 src/frend.h
@@ -205,6 +205,8 @@ enum
IMAGE_NO_VTOL,
IMAGE_NO_CYBORG,
IMAGE_NO_TANK,
+ IMAGE_NO_UPLINK,
+ IMAGE_NO_LASSAT,
IMAGE_EASY,
IMAGE_MEDIUM,
IMAGE_HARD,
View
6 src/multiint.cpp
@@ -1395,7 +1395,9 @@ static const LimitIcon limitIcons[] =
{
{"A0LightFactory", N_("Tanks disabled!!"), IMAGE_NO_TANK},
{"A0CyborgFactory", N_("Cyborgs disabled."), IMAGE_NO_CYBORG},
- {"A0VTolFactory1", N_("VTOLs disabled."), IMAGE_NO_VTOL}
+ {"A0VTolFactory1", N_("VTOLs disabled."), IMAGE_NO_VTOL},
+ {"A0Sat-linkCentre", N_("Satellite Uplink disabled."), IMAGE_NO_UPLINK},
+ {"A0LasSatCommand", N_("Laser Satellite disabled."), IMAGE_NO_LASSAT},
};
void updateLimitFlags()
@@ -1667,7 +1669,7 @@ static void addGameOptions()
{
if (!skip)
{ // only add this once.
- addBlueForm(MULTIOP_OPTIONS, MULTIOP_NO_SOMETHING, "", MULTIOP_HOSTX, MULTIOP_NO_SOMETHINGY, 41, 90 );
+ addBlueForm(MULTIOP_OPTIONS, MULTIOP_NO_SOMETHING, "", MULTIOP_HOSTX, MULTIOP_NO_SOMETHINGY, 41, 152);
}
addMultiBut(psWScreen, MULTIOP_NO_SOMETHING, MULTIOP_NO_SOMETHINGY + i, MULTIOP_NO_SOMETHINGX, y,

0 comments on commit 1e5fafa

Please sign in to comment.
Something went wrong with that request. Please try again.