home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2008 January / Cybermycha 1_2008.iso / DataLo~1.cab / _9FE79DF2DF034E34A8B73D3DCB024155 < prev    next >
Encoding:
Text File  |  2005-12-21  |  2.7 KB  |  131 lines

  1. !Include("MenuCarShop.vis")
  2.  
  3. UIElem("ID_CAR_INFO_TITLE")
  4. {
  5.     Default()
  6.     {
  7.        Text("&#CurrSelectedCar.m_sID#_NAME&")
  8.     }
  9. }
  10.     
  11. UIElem("ID_CARINFO_TXT")
  12. {
  13.     Default()
  14.     {
  15.         Text("&CarDescriptionDealer&")
  16.     }
  17.  
  18.     // disabled car
  19.     OnCondition("CurrSelectedCar.m_iStatus == 3")
  20.     {
  21.     Text("&CarDisabled&")
  22.     }
  23.  
  24.    
  25.     OnCondition("CurrSelectedCar.m_iStatus == 0")
  26.     {
  27.     Text("&CAR_Group&: 
  28. &CAR_Drive&: 
  29. &CAR_EngineType&: 
  30. &CAR_Displacement&: 
  31. &CAR_Power&: 
  32. &CAR_Torque&: 
  33. &CAR_Date&: 
  34. ")
  35.  
  36.  
  37.     }
  38.     
  39.     OnCondition("CurrSelectedCar.m_iStatus == 1")
  40.     {
  41.     Text("&CAR_Group&: 
  42. &CAR_Drive&: 
  43. &CAR_EngineType&: 
  44. &CAR_Displacement&: 
  45. &CAR_Power&: 
  46. &CAR_Torque&: 
  47. &CAR_Date&: 
  48. ")
  49.     }
  50.  
  51.     OnCondition("CurrSelectedCar.m_iStatus == 2")
  52.     {
  53.     Text("&CAR_Group&: 
  54. &CAR_Drive&: 
  55. &CAR_EngineType&: 
  56. &CAR_Displacement&: 
  57. &CAR_Power&: 
  58. &CAR_Torque&: 
  59. &CAR_Date&: 
  60. ")
  61.     }
  62.  
  63. }
  64.  
  65. UIElem("ID_CARINFO_TXT_2")
  66. {
  67.     Default()
  68.     {
  69.         Text("&CarDescriptionDealer&")
  70.     }
  71.  
  72.     // disabled car
  73.     OnCondition("CurrSelectedCar.m_iStatus == 3")
  74.     {
  75.     Text("&CarDisabled&")
  76.     }
  77.  
  78.    
  79.     OnCondition("CurrSelectedCar.m_iStatus == 0")
  80.     {
  81. //    Text("#CurrSelectedCar.m_sCarGroup#
  82.     Text("#CurrSelectedCar.m_sCarDisplayedGroup#
  83. #CurrSelectedCar.m_sWheelDrive#
  84. #CurrSelectedCar.m_sEngineType#
  85. #%0CurrSelectedCar.m_nDisplacement#&ccm&
  86. #%0CurrSelectedCar.m_fPower#&bhp&
  87. #%0CurrSelectedCar.m_nTorque * CurrSelectedCar.m_fPower / CurrSelectedCar.m_fBasePower#&Nm&/#%0CurrSelectedCar.m_nMaxTorqueRPM#&rpm&
  88. #%0CurrSelectedCar.m_nProductionDate#")
  89.  
  90.  
  91.     }
  92.     
  93.     OnCondition("CurrSelectedCar.m_iStatus == 1")
  94.     {
  95. //    Text("#CurrSelectedCar.m_sCarGroup#
  96.     Text("#CurrSelectedCar.m_sCarDisplayedGroup#
  97. #CurrSelectedCar.m_sWheelDrive#
  98. #CurrSelectedCar.m_sEngineType#
  99. #%0CurrSelectedCar.m_nDisplacement#&ccm&
  100. #%0CurrSelectedCar.m_fPower#&bhp&
  101. #%0CurrSelectedCar.m_nTorque * CurrSelectedCar.m_fPower / CurrSelectedCar.m_fBasePower#&Nm&/#%0CurrSelectedCar.m_nMaxTorqueRPM#&rpm&
  102. #%0CurrSelectedCar.m_nProductionDate#")
  103.     }
  104.  
  105.     OnCondition("CurrSelectedCar.m_iStatus == 2")
  106.     {
  107. //    Text("#CurrSelectedCar.m_sCarGroup#
  108.     Text("#CurrSelectedCar.m_sCarDisplayedGroup#
  109. #CurrSelectedCar.m_sWheelDrive#
  110. #CurrSelectedCar.m_sEngineType#
  111. #%0CurrSelectedCar.m_nDisplacement#&ccm&
  112. #%0CurrSelectedCar.m_fPower#&bhp&
  113. #%0CurrSelectedCar.m_nTorque * CurrSelectedCar.m_fPower / CurrSelectedCar.m_fBasePower#&Nm&/#%0CurrSelectedCar.m_nMaxTorqueRPM#&rpm&
  114. #%0CurrSelectedCar.m_nProductionDate#")
  115.     }
  116.  
  117. }
  118.  
  119. UIElem("ID_NEXT")
  120. {
  121.     Default()
  122.     {
  123.         Disabled(0)
  124.     }
  125.  
  126.     // disabled car
  127.     OnCondition("CurrSelectedCar.m_iStatus == 3")
  128.     {
  129.     Disabled(1)
  130.     }
  131. }