home *** CD-ROM | disk | FTP | other *** search
- !Include("MenuCarShop.vis")
-
- UIElem("ID_CAR_INFO_TITLE")
- {
- Default()
- {
- Text("CurrSelectedCar.m_sID#_NAME&")
- }
- }
-
- UIElem("ID_CARINFO_TXT")
- {
- Default()
- {
- Text("&CarDescriptionDealer&")
- }
-
- // disabled car
- OnCondition("CurrSelectedCar.m_iStatus == 3")
- {
- Text("&CarDisabled&")
- }
-
- OnCondition("CurrSelectedCar.m_iStatus == 0")
- {
- Text("&CAR_Group&:
- &CAR_Drive&:
- &CAR_EngineType&:
- &CAR_Displacement&:
- &CAR_Power&:
- &CAR_Torque&:
- &CAR_Date&:
- &CAR_BuyPrice&: ")
- }
-
- OnCondition("CurrSelectedCar.m_iStatus == 1")
- {
- Text("&CAR_Group&:
- &CAR_Drive&:
- &CAR_EngineType&:
- &CAR_Displacement&:
- &CAR_Power&:
- &CAR_Torque&:
- &CAR_Date&:
- &CAR_BuyPrice&: ")
- }
-
- OnCondition("CurrSelectedCar.m_iStatus == 2")
- {
- Text("&CAR_Group&:
- &CAR_Drive&:
- &CAR_EngineType&:
- &CAR_Displacement&:
- &CAR_Power&:
- &CAR_Torque&:
- &CAR_Date&:
- &CAR_SellPrice&: ")
- }
-
- //&CAR_PowerWeight&: #%2CurrSelectedCar.m_fPower/CurrSelectedCar.m_nWeight#
- //&CAR_TorqueWeight&: #%2CurrSelectedCar.m_nTorque/CurrSelectedCar.m_nWeight#
-
- /*
- String( "CarDescriptionGarage", "ID: #CurrSelectedCar.m_sID#\nName: CurrSelectedCar.m_sID#_NAME&\nModel: #CurrSelectedCar.m_sModelID#\nCurrSelectedCar.m_sID#_OWNEDINFO&\n&CAR_SellPrice&: #CurrSelectedCar.m_iSellPrice#")
- String( "CarDescriptionDealer", "ID: #CurrSelectedCar.m_sID#\nName: CurrSelectedCar.m_sID#_NAME&\nModel: #CurrSelectedCar.m_sModelID#\n&CAR_SellPrice&: #CurrSelectedCar.m_iSellPrice#\n")
-
- String( "CarDescriptionDealerAvailable", "ID: #CurrSelectedCar.m_sID#\nName: CurrSelectedCar.m_sID#_NAME&\nModel: #CurrSelectedCar.m_sModelID#\nCurrSelectedCar.m_sID#_AVAILABLEINFO&\n&CAR_BuyPrice&: #CurrSelectedCar.m_iBuyPrice#")
-
- String( "CarDescriptionDealerUnAvailable", "ID: #CurrSelectedCar.m_sID#\nName: CurrSelectedCar.m_sID#_NAME&\nModel: #CurrSelectedCar.m_sModelID#\nCurrSelectedCar.m_sID#_UNAVAILABLEINFO&")
-
- String( "CarDescriptionDealerOwned", "ID: #CurrSelectedCar.m_sID#\nName: CurrSelectedCar.m_sID#_NAME&\nModel: #CurrSelectedCar.m_sModelID#\nCurrSelectedCar.m_sID#_OWNEDINFO&\n&CAR_SellPrice&: #CurrSelectedCar.m_iSellPrice#")
- */
- }
-
- UIElem("ID_CARINFO_TXT_2")
- {
- Default()
- {
- Text("&CarDescriptionDealer&")
- }
-
- // disabled car
- OnCondition("CurrSelectedCar.m_iStatus == 3")
- {
- Text("&CarDisabled&")
- }
-
- OnCondition("CurrSelectedCar.m_iStatus == 0")
- {
- // Text("#CurrSelectedCar.m_sCarGroup#
- Text("#CurrSelectedCar.m_sCarDisplayedGroup#
- #CurrSelectedCar.m_sWheelDrive#
- #CurrSelectedCar.m_sEngineType#
- #%0CurrSelectedCar.m_nDisplacement#&ccm&
- #%0CurrSelectedCar.m_fPower#&bhp&
- #%0CurrSelectedCar.m_nTorque * CurrSelectedCar.m_fPower / CurrSelectedCar.m_fBasePower#&Nm&/#%0CurrSelectedCar.m_nMaxTorqueRPM#&rpm&
- #%0CurrSelectedCar.m_nProductionDate#
- #%0CurrSelectedCar.m_iBuyPrice#&MenuCashPostfix&")
- }
-
- OnCondition("CurrSelectedCar.m_iStatus == 1")
- {
- // Text("#CurrSelectedCar.m_sCarGroup#
- Text("#CurrSelectedCar.m_sCarDisplayedGroup#
- #CurrSelectedCar.m_sWheelDrive#
- #CurrSelectedCar.m_sEngineType#
- #%0CurrSelectedCar.m_nDisplacement#&ccm&
- #%0CurrSelectedCar.m_fPower#&bhp&
- #%0CurrSelectedCar.m_nTorque * CurrSelectedCar.m_fPower / CurrSelectedCar.m_fBasePower#&Nm&/#%0CurrSelectedCar.m_nMaxTorqueRPM#&rpm&
- #%0CurrSelectedCar.m_nProductionDate#
- #%0CurrSelectedCar.m_iBuyPrice#&MenuCashPostfix&")
- }
-
- OnCondition("CurrSelectedCar.m_iStatus == 2")
- {
- // Text("#CurrSelectedCar.m_sCarGroup#
- Text("#CurrSelectedCar.m_sCarDisplayedGroup#
- #CurrSelectedCar.m_sWheelDrive#
- #CurrSelectedCar.m_sEngineType#
- #%0CurrSelectedCar.m_nDisplacement#&ccm&
- #%0CurrSelectedCar.m_fPower#&bhp&
- #%0CurrSelectedCar.m_nTorque * CurrSelectedCar.m_fPower / CurrSelectedCar.m_fBasePower#&Nm&/#%0CurrSelectedCar.m_nMaxTorqueRPM#&rpm&
- #%0CurrSelectedCar.m_nProductionDate#
- #%0CurrSelectedCar.m_iSellPrice#&MenuCashPostfix&")
- }
-
-
- }
-