00001 //============================================================================
00002 // Save Game menu.
00003 //
00004 //============================================================================
00005 class XIIIMenuStory3 extends XIIIWindow;
00006
00007
00008 var XIIITextureButton Doc1Button, Doc2Button, Doc3Button, Doc4Button, Doc5Button, Doc6Button, Doc7Button, Doc8Button, Doc9Button, Doc10Button, Doc11Button, Doc12Button;
00009 var XIIILabel Doc1Label, Doc2Label, Doc3Label, Doc4Label, Doc5Label, Doc6Label, Doc7Label, Doc8Label, Doc9Label, Doc10Label, Doc11Label, Doc12Label;
00010 var localized string TitleText, Doc1Text, Doc2Text, Doc3Text, Doc4Text, Doc5Text, Doc6Text, Doc7Text, Doc8Text, Doc9Text, Doc10Text, Doc11Text, Doc12Text;
00011
00012 var texture tBackGround[20], tHighlight[20], tBackPlane[8];
00013 var string sBackGround[20], sHighlight[20], sBackPlane[8];
00014
00015 var localized string Doc1LabText, Doc2LabText, Doc3LabText, Doc4LabText, Doc5LabText, Doc6LabText, Doc7LabText, Doc8LabText;
00016
00017
00018 var int MaxSlots;
00019 var int ReturnCode;
00020 var int IsEmpty;
00021 var int i;
00022 var int Year;
00023 var byte Month, Day, Hour, Min;
00024
00025 var string Description;
00026
00027 var int Time;
00028 var int MyLastTime;
00029 var int MyLastSlot;
00030 var int NbMap;
00031 var int ImageNb;
00032 var bool bPageShowNext;
00033
00034 event timer() //(float numb,bool bFlag)
00035 {
00036 ImageNb++;
00037
00038 if (NbMap < 11)
00039 {
00040 if (ImageNb > 2*(NbMap - 8)+1)
00041 {
00042 bPageShowNext=false;
00043 ImageNb = 2*(NbMap - 8)+1;
00044 }
00045 }
00046 }
00047
00048
00049 //============================================================================
00050 function Created()
00051 {
00052 local int i;
00053
00054 Super.Created();
00055
00056 settimer(3,true);
00057
00058 for (i=0; i<8; i++)
00059 {
00060 tBackPlane[i] = texture(DynamicLoadObject(sBackPlane[i], class'Texture'));
00061 }
00062
00063 for (i=0; i<20; i++)
00064 {
00065 tHighlight[i] = texture(DynamicLoadObject(sHighlight[i], class'Texture'));
00066 //tBackGround[i] = texture(DynamicLoadObject(sBackGround[i], class'Texture'));
00067 }
00068 if (Doc1LabText != "")
00069 InitLabel(Doc1Label, 20, 163*fScaleTo, 250, 30*fScaleTo, Doc1LabText);
00070 if (Doc2LabText != "")
00071 InitLabel(Doc2Label, 225, 150*fScaleTo, 250, 30*fScaleTo, Doc2LabText);
00072 if (Doc3LabText != "")
00073 InitLabel(Doc3Label, 370, 160*fScaleTo, 250, 30*fScaleTo, Doc3LabText);
00074 if (Doc4LabText != "")
00075 InitLabel(Doc4Label, 225, 280*fScaleTo, 250, 30*fScaleTo, Doc4LabText);
00076 if (Doc5LabText != "")
00077 InitLabel(Doc5Label, 355, 185*fScaleTo, 250, 30*fScaleTo, Doc5LabText);
00078 if (Doc6LabText != "")
00079 InitLabel(Doc6Label, 370, 410*fScaleTo, 250, 30*fScaleTo, Doc6LabText);
00080 if (Doc7LabText != "")
00081 InitLabel(Doc7Label, 20, 390*fScaleTo, 250, 30*fScaleTo, Doc7LabText);
00082 if (Doc8LabText != "")
00083 InitLabel(Doc8Label, 295, 390*fScaleTo, 250, 30*fScaleTo, Doc8LabText);
00084
00085 }
00086
00087
00088 //============================================================================
00089 function ShowWindow()
00090 {
00091 Super.ShowWindow();
00092 bShowBCK = true;
00093 bShowNXT=bPageShowNext;
00094 }
00095
00096
00097 //============================================================================
00098 function Paint(Canvas C, float X, float Y)
00099 {
00100 local float fScale, fHeight, W, H;
00101 local int i, j, k;
00102
00103 super.paint(C,X,Y);
00104 // image backrgound
00105 C.bUseBorder = false;
00106
00107 if (ImageNb <= 2*(NbMap-8)+1)
00108 {
00109
00110 switch(ImageNb)
00111 {
00112 case 0 :
00113 C.bUseBorder = true;
00114 ShowWindow();
00115 DrawStretchedTexture(C, 55*fRatioX, 33*fRatioY*fScaleTo, 141*fRatioX, 268*fRatioY*fScaleTo, tBackPlane[0]);
00116 DrawStretchedTexture(C, 207*fRatioX, 33*fRatioY*fScaleTo, 82*fRatioX, 145*fRatioY*fScaleTo, myRoot.FondMenu);
00117 DrawStretchedTexture(C, 300*fRatioX, 33*fRatioY*fScaleTo, 285*fRatioX, 145*fRatioY*fScaleTo, myRoot.FondMenu);
00118 DrawStretchedTexture(C, 207*fRatioX, 188*fRatioY*fScaleTo, 123*fRatioX, 113*fRatioY*fScaleTo,myRoot.FondMenu);
00119 DrawStretchedTexture(C, 346*fRatioX, 188*fRatioY*fScaleTo, 117*fRatioX, 113*fRatioY*fScaleTo,myRoot.FondMenu);
00120 DrawStretchedTexture(C, 475*fRatioX, 188*fRatioY*fScaleTo, 110*fRatioX, 243*fRatioY*fScaleTo,myRoot.FondMenu);
00121 DrawStretchedTexture(C, 55*fRatioX, 312*fRatioY*fScaleTo, 236*fRatioX, 119*fRatioY*fScaleTo, myRoot.FondMenu);
00122 DrawStretchedTexture(C, 300*fRatioX, 312*fRatioY*fScaleTo, 163*fRatioX, 119*fRatioY*fScaleTo,myRoot.FondMenu);
00123 DrawLabel(C, Doc1Label);
00124 break;
00125 case 1 :
00126 C.bUseBorder = true;
00127 ShowWindow();
00128 DrawStretchedTexture(C, 55*fRatioX, 33*fRatioY*fScaleTo, 141*fRatioX, 268*fRatioY*fScaleTo, tBackPlane[0]);
00129 DrawStretchedTexture(C, 207*fRatioX, 33*fRatioY*fScaleTo, 82*fRatioX, 145*fRatioY*fScaleTo, myRoot.FondMenu);
00130 DrawStretchedTexture(C, 300*fRatioX, 33*fRatioY*fScaleTo, 285*fRatioX, 145*fRatioY*fScaleTo, myRoot.FondMenu);
00131 DrawStretchedTexture(C, 207*fRatioX, 188*fRatioY*fScaleTo, 123*fRatioX, 113*fRatioY*fScaleTo, tBackPlane[3]);
00132 DrawStretchedTexture(C, 346*fRatioX, 188*fRatioY*fScaleTo, 117*fRatioX, 113*fRatioY*fScaleTo,myRoot.FondMenu);
00133 DrawStretchedTexture(C, 475*fRatioX, 188*fRatioY*fScaleTo, 110*fRatioX, 243*fRatioY*fScaleTo,myRoot.FondMenu);
00134 DrawStretchedTexture(C, 55*fRatioX, 312*fRatioY*fScaleTo, 236*fRatioX, 119*fRatioY*fScaleTo, myRoot.FondMenu);
00135 DrawStretchedTexture(C, 300*fRatioX, 312*fRatioY*fScaleTo, 163*fRatioX, 119*fRatioY*fScaleTo,myRoot.FondMenu);
00136 DrawLabel(C, Doc1Label);
00137 DrawLabel(C, Doc4Label);
00138 break;
00139 case 2 :
00140 C.bUseBorder = true;
00141 ShowWindow();
00142 DrawStretchedTexture(C, 55*fRatioX, 33*fRatioY*fScaleTo, 141*fRatioX, 268*fRatioY*fScaleTo, tBackPlane[0]);
00143 DrawStretchedTexture(C, 207*fRatioX, 33*fRatioY*fScaleTo, 82*fRatioX, 145*fRatioY*fScaleTo, myRoot.FondMenu);
00144 DrawStretchedTexture(C, 300*fRatioX, 33*fRatioY*fScaleTo, 285*fRatioX, 145*fRatioY*fScaleTo, myRoot.FondMenu);
00145 DrawStretchedTexture(C, 207*fRatioX, 188*fRatioY*fScaleTo, 123*fRatioX, 113*fRatioY*fScaleTo, tBackPlane[3]);
00146 DrawStretchedTexture(C, 346*fRatioX, 188*fRatioY*fScaleTo, 117*fRatioX, 113*fRatioY*fScaleTo,tBackPlane[4]);
00147 DrawStretchedTexture(C, 475*fRatioX, 188*fRatioY*fScaleTo, 110*fRatioX, 243*fRatioY*fScaleTo,myRoot.FondMenu);
00148 DrawStretchedTexture(C, 55*fRatioX, 312*fRatioY*fScaleTo, 236*fRatioX, 119*fRatioY*fScaleTo, myRoot.FondMenu);
00149 DrawStretchedTexture(C, 300*fRatioX, 312*fRatioY*fScaleTo, 163*fRatioX, 119*fRatioY*fScaleTo,myRoot.FondMenu);
00150 DrawLabel(C, Doc1Label);
00151 DrawLabel(C, Doc4Label);
00152 DrawLabel(C, Doc5Label);
00153 break;
00154 case 3 :
00155 C.bUseBorder = true;
00156 ShowWindow();
00157 DrawStretchedTexture(C, 55*fRatioX, 33*fRatioY*fScaleTo, 141*fRatioX, 268*fRatioY*fScaleTo, tBackPlane[0]);
00158 DrawStretchedTexture(C, 207*fRatioX, 33*fRatioY*fScaleTo, 82*fRatioX, 145*fRatioY*fScaleTo, myRoot.FondMenu);
00159 DrawStretchedTexture(C, 300*fRatioX, 33*fRatioY*fScaleTo, 285*fRatioX, 145*fRatioY*fScaleTo, myRoot.FondMenu);
00160 DrawStretchedTexture(C, 207*fRatioX, 188*fRatioY*fScaleTo, 123*fRatioX, 113*fRatioY*fScaleTo, tBackPlane[3]);
00161 DrawStretchedTexture(C, 346*fRatioX, 188*fRatioY*fScaleTo, 117*fRatioX, 113*fRatioY*fScaleTo,tBackPlane[4]);
00162 DrawStretchedTexture(C, 475*fRatioX, 188*fRatioY*fScaleTo, 110*fRatioX, 243*fRatioY*fScaleTo,tBackPlane[5]);
00163 DrawStretchedTexture(C, 55*fRatioX, 312*fRatioY*fScaleTo, 236*fRatioX, 119*fRatioY*fScaleTo, myRoot.FondMenu);
00164 DrawStretchedTexture(C, 300*fRatioX, 312*fRatioY*fScaleTo, 163*fRatioX, 119*fRatioY*fScaleTo,myRoot.FondMenu);
00165 DrawLabel(C, Doc1Label);
00166 DrawLabel(C, Doc4Label);
00167 DrawLabel(C, Doc5Label);
00168 DrawLabel(C, Doc6Label);
00169 break;
00170 case 4 :
00171 C.bUseBorder = true;
00172 ShowWindow();
00173 DrawStretchedTexture(C, 55*fRatioX, 33*fRatioY*fScaleTo, 141*fRatioX, 268*fRatioY*fScaleTo, tBackPlane[0]);
00174 DrawStretchedTexture(C, 207*fRatioX, 33*fRatioY*fScaleTo, 82*fRatioX, 145*fRatioY*fScaleTo, tBackPlane[1]);
00175 DrawStretchedTexture(C, 300*fRatioX, 33*fRatioY*fScaleTo, 285*fRatioX, 145*fRatioY*fScaleTo, myRoot.FondMenu);
00176 DrawStretchedTexture(C, 207*fRatioX, 188*fRatioY*fScaleTo, 123*fRatioX, 113*fRatioY*fScaleTo, tBackPlane[3]);
00177 DrawStretchedTexture(C, 346*fRatioX, 188*fRatioY*fScaleTo, 117*fRatioX, 113*fRatioY*fScaleTo,tBackPlane[4]);
00178 DrawStretchedTexture(C, 475*fRatioX, 188*fRatioY*fScaleTo, 110*fRatioX, 243*fRatioY*fScaleTo,tBackPlane[5]);
00179 DrawStretchedTexture(C, 55*fRatioX, 312*fRatioY*fScaleTo, 236*fRatioX, 119*fRatioY*fScaleTo, myRoot.FondMenu);
00180 DrawStretchedTexture(C, 300*fRatioX, 312*fRatioY*fScaleTo, 163*fRatioX, 119*fRatioY*fScaleTo,myRoot.FondMenu);
00181 DrawLabel(C, Doc1Label);
00182 DrawLabel(C, Doc4Label);
00183 DrawLabel(C, Doc5Label);
00184 DrawLabel(C, Doc6Label);
00185 DrawLabel(C, Doc2Label);
00186 break;
00187 case 5 :
00188 C.bUseBorder = true;
00189 ShowWindow();
00190 DrawStretchedTexture(C, 55*fRatioX, 33*fRatioY*fScaleTo, 141*fRatioX, 268*fRatioY*fScaleTo, tBackPlane[0]);
00191 DrawStretchedTexture(C, 207*fRatioX, 33*fRatioY*fScaleTo, 82*fRatioX, 145*fRatioY*fScaleTo, tBackPlane[1]);
00192 DrawStretchedTexture(C, 300*fRatioX, 33*fRatioY*fScaleTo, 285*fRatioX, 145*fRatioY*fScaleTo, tBackPlane[2]);
00193 DrawStretchedTexture(C, 207*fRatioX, 188*fRatioY*fScaleTo, 123*fRatioX, 113*fRatioY*fScaleTo, tBackPlane[3]);
00194 DrawStretchedTexture(C, 346*fRatioX, 188*fRatioY*fScaleTo, 117*fRatioX, 113*fRatioY*fScaleTo,tBackPlane[4]);
00195 DrawStretchedTexture(C, 475*fRatioX, 188*fRatioY*fScaleTo, 110*fRatioX, 243*fRatioY*fScaleTo,tBackPlane[5]);
00196 DrawStretchedTexture(C, 55*fRatioX, 312*fRatioY*fScaleTo, 236*fRatioX, 119*fRatioY*fScaleTo, myRoot.FondMenu);
00197 DrawStretchedTexture(C, 300*fRatioX, 312*fRatioY*fScaleTo, 163*fRatioX, 119*fRatioY*fScaleTo,myRoot.FondMenu);
00198 DrawLabel(C, Doc1Label);
00199 DrawLabel(C, Doc4Label);
00200 DrawLabel(C, Doc5Label);
00201 DrawLabel(C, Doc6Label);
00202 DrawLabel(C, Doc2Label);
00203 DrawLabel(C, Doc3Label);
00204 break;
00205 case 6 :
00206 C.bUseBorder = true;
00207 ShowWindow();
00208 DrawStretchedTexture(C, 55*fRatioX, 33*fRatioY*fScaleTo, 141*fRatioX, 268*fRatioY*fScaleTo, tBackPlane[0]);
00209 DrawStretchedTexture(C, 207*fRatioX, 33*fRatioY*fScaleTo, 82*fRatioX, 145*fRatioY*fScaleTo, tBackPlane[1]);
00210 DrawStretchedTexture(C, 300*fRatioX, 33*fRatioY*fScaleTo, 285*fRatioX, 145*fRatioY*fScaleTo, tBackPlane[2]);
00211 DrawStretchedTexture(C, 207*fRatioX, 188*fRatioY*fScaleTo, 123*fRatioX, 113*fRatioY*fScaleTo, tBackPlane[3]);
00212 DrawStretchedTexture(C, 346*fRatioX, 188*fRatioY*fScaleTo, 117*fRatioX, 113*fRatioY*fScaleTo,tBackPlane[4]);
00213 DrawStretchedTexture(C, 475*fRatioX, 188*fRatioY*fScaleTo, 110*fRatioX, 243*fRatioY*fScaleTo,tBackPlane[5]);
00214 DrawStretchedTexture(C, 55*fRatioX, 312*fRatioY*fScaleTo, 236*fRatioX, 119*fRatioY*fScaleTo, tBackPlane[6]);
00215 DrawStretchedTexture(C, 300*fRatioX, 312*fRatioY*fScaleTo, 163*fRatioX, 119*fRatioY*fScaleTo,myRoot.FondMenu);
00216 DrawLabel(C, Doc1Label);
00217 DrawLabel(C, Doc2Label);
00218 DrawLabel(C, Doc3Label);
00219 DrawLabel(C, Doc4Label);
00220 DrawLabel(C, Doc5Label);
00221 DrawLabel(C, Doc6Label);
00222 DrawLabel(C, Doc7Label);
00223 break;
00224 case 7 :
00225 C.bUseBorder = true;
00226 ShowWindow();
00227 DrawStretchedTexture(C, 55*fRatioX, 33*fRatioY*fScaleTo, 141*fRatioX, 268*fRatioY*fScaleTo, tBackPlane[0]);
00228 DrawStretchedTexture(C, 207*fRatioX, 33*fRatioY*fScaleTo, 82*fRatioX, 145*fRatioY*fScaleTo, tBackPlane[1]);
00229 DrawStretchedTexture(C, 300*fRatioX, 33*fRatioY*fScaleTo, 285*fRatioX, 145*fRatioY*fScaleTo, tBackPlane[2]);
00230 DrawStretchedTexture(C, 207*fRatioX, 188*fRatioY*fScaleTo, 123*fRatioX, 113*fRatioY*fScaleTo, tBackPlane[3]);
00231 DrawStretchedTexture(C, 346*fRatioX, 188*fRatioY*fScaleTo, 117*fRatioX, 113*fRatioY*fScaleTo,tBackPlane[4]);
00232 DrawStretchedTexture(C, 475*fRatioX, 188*fRatioY*fScaleTo, 110*fRatioX, 243*fRatioY*fScaleTo,tBackPlane[5]);
00233 DrawStretchedTexture(C, 55*fRatioX, 312*fRatioY*fScaleTo, 236*fRatioX, 119*fRatioY*fScaleTo, tBackPlane[6]);
00234 DrawStretchedTexture(C, 300*fRatioX, 312*fRatioY*fScaleTo, 163*fRatioX, 119*fRatioY*fScaleTo, tBackPlane[7]);
00235 DrawLabel(C, Doc1Label);
00236 DrawLabel(C, Doc2Label);
00237 DrawLabel(C, Doc3Label);
00238 DrawLabel(C, Doc4Label);
00239 DrawLabel(C, Doc5Label);
00240 DrawLabel(C, Doc6Label);
00241 DrawLabel(C, Doc7Label);
00242 DrawLabel(C, Doc8Label);
00243 break;
00244 }
00245 }
00246 if ((ImageNb > 7) && (NbMap > 11))
00247 Controller.OpenMenu("XIDInterf.XIIIMenuStory4",,Description);
00248 if ((ImageNb > 7) && (NbMap == 11))
00249 {
00250 C.bUseBorder = true;
00251 ShowWindow();
00252 DrawStretchedTexture(C, 55*fRatioX, 33*fRatioY*fScaleTo, 141*fRatioX, 268*fRatioY*fScaleTo, tBackPlane[0]);
00253 DrawStretchedTexture(C, 207*fRatioX, 33*fRatioY*fScaleTo, 82*fRatioX, 145*fRatioY*fScaleTo, tBackPlane[1]);
00254 DrawStretchedTexture(C, 300*fRatioX, 33*fRatioY*fScaleTo, 285*fRatioX, 145*fRatioY*fScaleTo, tBackPlane[2]);
00255 DrawStretchedTexture(C, 207*fRatioX, 188*fRatioY*fScaleTo, 123*fRatioX, 113*fRatioY*fScaleTo, tBackPlane[3]);
00256 DrawStretchedTexture(C, 346*fRatioX, 188*fRatioY*fScaleTo, 117*fRatioX, 113*fRatioY*fScaleTo,tBackPlane[4]);
00257 DrawStretchedTexture(C, 475*fRatioX, 188*fRatioY*fScaleTo, 110*fRatioX, 243*fRatioY*fScaleTo,tBackPlane[5]);
00258 DrawStretchedTexture(C, 55*fRatioX, 312*fRatioY*fScaleTo, 236*fRatioX, 119*fRatioY*fScaleTo, tBackPlane[6]);
00259 DrawStretchedTexture(C, 300*fRatioX, 312*fRatioY*fScaleTo, 163*fRatioX, 119*fRatioY*fScaleTo, tBackPlane[7]);
00260 DrawLabel(C, Doc1Label);
00261 DrawLabel(C, Doc2Label);
00262 DrawLabel(C, Doc3Label);
00263 DrawLabel(C, Doc4Label);
00264 DrawLabel(C, Doc5Label);
00265 DrawLabel(C, Doc6Label);
00266 DrawLabel(C, Doc7Label);
00267 DrawLabel(C, Doc8Label);
00268 }
00269
00270
00271 /* Title
00272 C.bUseBorder = true;
00273 DrawStretchedTexture(C, 240*fRatioX, 20*fRatioY*fScaleTo, 160*fRatioX, 32*fRatioY*fScaleTo, myRoot.FondMenu);
00274 C.TextSize(Caps(TitleText), W, H);
00275 C.DrawColor = BlackColor;
00276 C.SetPos((240 + (160-W)/2)*fRatioX, (20+(32-H)/2)*fRatioY*fScaleTo); C.DrawText(Caps(TitleText), false);
00277 C.bUseBorder = false;
00278 C.DrawColor = WhiteColor;*/
00279
00280 }
00281
00282
00283 //============================================================================
00284 function bool InternalOnKeyEvent(out byte Key, out byte State, float delta)
00285 {
00286 local int index;
00287 local bool bLeft, bRight, bUp, bDown;
00288
00289 if (State==1)// IST_Press // to avoid auto-repeat
00290 {
00291 if ((Key==0x08/*IK_Escape*/) || (Key==0x1B))
00292 {
00293 myRoot.CloseMenu(true,Description);
00294 return true;
00295 log("conspiracy closed");
00296 }
00297 if ((Key==0x0D/*IK_Enter*/) || (Key==0x01))
00298 {
00299 ImageNb++;
00300 if (NbMap < 11)
00301 {
00302 if (ImageNb > 2*(NbMap - 8)+1)
00303 {
00304 ImageNb = 2*(NbMap - 8)+1;
00305 bPageShowNext=false;
00306 }
00307 }
00308
00309 }
00310
00311 }
00312 return super.InternalOnKeyEvent(Key, state, delta);
00313 }
00314
00315
00316
00317 event HandleParameters(string Param1, string Param2)
00318 {
00319 // interpret info at page load
00320 // how many maps have we been through
00321 Description = Param1;
00322 log("Param1="$Description);
00323 if (Description=="Brighton Beach 1")
00324 NbMap=0;
00325 if ((Description=="Brighton Beach 2") || (Description=="Brighton Beach 3"))
00326 NbMap=1;
00327 if ((Description=="Winslow Bank") || (Description=="Winslow Bank 2") || (Description=="Winslow Bank 3"))
00328 NbMap=2;
00329 if ((Description=="FBI") || (Description=="FBI 2") || (Description=="FBI 3"))
00330 NbMap=3;
00331 if ((Description=="Major Jones") || (Description=="Major Jones 1") || (Description=="Major Jones 2") || (Description=="Major Jones 3"))
00332 NbMap=4;
00333 if (Description=="Emerald Base bridge")
00334 NbMap=5;
00335 if (Description=="Emerald Base roof")
00336 NbMap=6;
00337 if ((Description=="Carrington's cell") || (Description=="Carrington's cell 1") || (Description=="Carrington's cell 2") || (Description=="Carrington's cell 3"))
00338 NbMap=7;
00339 if (Description=="Cable car station")
00340 NbMap=8;
00341 if ((Description=="Cable car") || (Description=="Cable car 1"))
00342 NbMap=9;
00343 if ((Description=="Kellownee Lake") || (Description=="Kellownee Lake 1"))
00344 NbMap=10;
00345 if ((Description=="Kellownee hideout") || (Description=="Kellownee hideout 1"))
00346 NbMap=11;
00347 if ((Description=="Plain Rock 1") || (Description=="Plain Rock 2") || (Description=="Plain Rock 3") || (Description=="Plain Rock 4"))
00348 NbMap=12;
00349 if ((Description=="Doc Johansson") || (Description=="Doc Johansson 1"))
00350 NbMap=13;
00351 if ((Description=="Canyon 1") || (Description=="Canyon 2") || (Description=="Canyon 3"))
00352 NbMap=14;
00353 if ((Description=="Canyon 4") || (Description=="Canyon 5") || (Description=="Canyon 6"))
00354 NbMap=15;
00355 if (Description=="Sewage")
00356 NbMap=16;
00357 if ((Description=="SPADS camp 1") || (Description=="SPADS camp 2") || (Description=="SPADS camp 3"))
00358 NbMap=17;
00359 if ((Description=="McCall") || (Description=="McCall 1"))
00360 NbMap=18;
00361 if ((Description=="Submarine base") || (Description=="Submarine base 1"))
00362 NbMap=19;
00363 if ((Description=="Submarine 1") || (Description=="Submarine 2"))
00364 NbMap=20;
00365 if ((Description=="Submarine 3") || (Description=="Submarine 4"))
00366 NbMap=21;
00367 if ((Description=="Sabotage") || (Description=="Sabotage 1"))
00368 NbMap=22;
00369 if ((Description=="Quay 33") || (Description=="Quay 33-1"))
00370 NbMap=23;
00371 if ((Description=="Bristol Suites Hotel") || (Description=="Bristol Suites Hotel 1"))
00372 NbMap=24;
00373 if ((Description=="Sanctuary garden") || (Description=="Sanctuary garden 1"))
00374 NbMap=25;
00375 if ((Description=="Sanctuary hall") || (Description=="Sanctuary hall 1"))
00376 NbMap=26;
00377 if ((Description=="Sanctuary crypt") || (Description=="Sanctuary crypt 1"))
00378 NbMap=27;
00379 if ((Description=="Sanctuary cliff") || (Description=="Sanctuary cliff 1"))
00380 NbMap=28;
00381 if ((Description=="SSH1 base admission") || (Description=="SSH1 base admission 1") || (Description=="SSH1 base admission 2"))
00382 NbMap=29;
00383 if ((Description=="SSH1 trap") || (Description=="SSH1 trap 1"))
00384 NbMap=30;
00385 if (Description=="Total Red")
00386 NbMap=31;
00387 if ((Description=="SSH1 final") || (Description=="SSH1 final 1"))
00388 NbMap=32;
00389 if (Description=="Lady Bee")
00390 NbMap=33;
00391 if (Description=="Bove President")
00392 NbMap=0;
00393 //else
00394 //NbMap=0;
00395 log("NbMap = "$NbMap);
00396 ImageNb = 0;
00397
00398 }
00399
00400
00401
00402 //============================================================================
00403
00404
00405 defaultproperties
00406 {
00407 TitleText="Conspiracy"
00408 Doc1Text="Document1"
00409 Doc2Text="Document2"
00410 Doc3Text="Document3"
00411 Doc4Text="Document4"
00412 Doc5Text="Document5"
00413 Doc6Text="Document6"
00414 Doc7Text="Document7"
00415 Doc8Text="Document8"
00416 sHighlight(0)="XIIIMenuStart.conspi.xteteI"
00417 sHighlight(1)="XIIIMenuStart.conspi.xteteII"
00418 sHighlight(2)="XIIIMenuStart.conspi.xteteIII"
00419 sHighlight(3)="XIIIMenuStart.conspi.xteteIV"
00420 sHighlight(4)="XIIIMenuStart.conspi.xteteV"
00421 sHighlight(5)="XIIIMenuStart.conspi.xteteVI"
00422 sHighlight(6)="XIIIMenuStart.conspi.xteteVII"
00423 sHighlight(7)="XIIIMenuStart.conspi.xteteVIII"
00424 sHighlight(8)="XIIIMenuStart.conspi.xteteIX"
00425 sHighlight(9)="XIIIMenuStart.conspi.xteteX"
00426 sHighlight(10)="XIIIMenuStart.conspi.xteteXI"
00427 sHighlight(11)="XIIIMenuStart.conspi.xteteXII"
00428 sHighlight(12)="XIIIMenuStart.conspi.xteteXII"
00429 sHighlight(13)="XIIIMenuStart.conspi.xteteXIV"
00430 sHighlight(14)="XIIIMenuStart.conspi.xteteXV"
00431 sHighlight(15)="XIIIMenuStart.conspi.xteteXVI"
00432 sHighlight(16)="XIIIMenuStart.conspi.teteXVII"
00433 sHighlight(17)="XIIIMenuStart.conspi.xteteXVIII"
00434 sHighlight(18)="XIIIMenuStart.conspi.xteteXIX"
00435 sHighlight(19)="XIIIMenuStart.conspi.xteteXX"
00436 sBackPlane(0)="XIIIMenuStart.storyline.storyline3image1"
00437 sBackPlane(1)="XIIIMenuStart.storyline.storyline3image2"
00438 sBackPlane(2)="XIIIMenuStart.storyline.storyline3image3"
00439 sBackPlane(3)="XIIIMenuStart.storyline.storyline3image4"
00440 sBackPlane(4)="XIIIMenuStart.storyline.storyline3image5"
00441 sBackPlane(5)="XIIIMenuStart.storyline.storyline3image6"
00442 sBackPlane(6)="XIIIMenuStart.doc.photokkk"
00443 sBackPlane(7)="XIIIMenuStart.storyline.storyline3image8"
00444 Doc1LabText="Je ne me souviens de rien…"
00445 Doc2LabText="Je t’aurai Numéro XIII !"
00446 Doc3LabText="Steve Rowland ! Je vous arrête!"
00447 Doc4LabText=" ...meurtre de William Sheridan "
00448 Doc5LabText="Je suis le Major Jones"
00449 Doc6LabText="Carrington ... à Emerald Base"
00450 Doc7LabText="..cher Colonel Mac Call !"
00451 Doc8LabText="...identifier numéro I !"
00452 bPageShowNext=True
00453 }
|