From d2ab4e266a9ba039dc587ffa753a55328ca34f4a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Wed, 30 Apr 2008 12:20:59 +0000 Subject: [PATCH] Translations to english and debug messages removed (missing files added) --- .../ship-simu/main/class_BasePersonell.php | 3 --- .../ship-simu/main/class_BaseSimulator.php | 4 ---- application/ship-simu/main/class_Merchant.php | 8 -------- .../ship-simu/main/class_WorksContract.php | 8 -------- .../main/companies/class_ShippingCompany.php | 8 -------- .../main/constructions/berths/class_Berth.php | 7 ------- .../main/constructions/class_BaseConstruction.php | 5 ----- .../main/constructions/docks/class_DryDock.php | 2 -- .../main/constructions/harbors/class_Harbor.php | 3 --- .../constructions/terminals/class_Terminal.php | 7 ------- .../main/constructions/yards/class_Shipyard.php | 8 -------- .../ship-simu/main/drives/class_BaseDrive.php | 8 -------- .../ship-simu/main/drives/motor/class_Motor.php | 8 -------- .../ship-simu/main/parts/class_BaseShipPart.php | 8 -------- .../parts/maschineroom/class_MaschineRoom.php | 8 -------- .../main/personell/class_SimulatorPersonell.php | 4 ---- .../personell/company/class_CompanyEmployee.php | 8 -------- .../ship-simu/main/ships/class_BaseShip.php | 15 ++++----------- .../main/ships/passenger/class_PassengerShip.php | 8 -------- .../main/structures/class_BaseStructure.php | 8 -------- .../extended/cabines/class_BaseCabin.php | 8 -------- .../extended/cabines/ship/class_EconomyCabin.php | 8 -------- .../extended/cabines/ship/class_LowCabin.php | 6 ------ .../extended/cabines/ship/class_LuxuryCabin.php | 6 ------ .../extended/cabines/ship/class_PremierCabin.php | 6 ------ .../extended/class_BaseCabinStructure.php | 8 -------- .../extended/class_BaseDeckStructure.php | 8 -------- .../extended/class_BaseUpperStructure.php | 8 -------- .../extended/decks/cargo/class_CarDeck.php | 6 ------ .../extended/decks/cargo/class_TrainDeck.php | 6 ------ .../extended/decks/cargo/class_TruckDeck.php | 6 ------ .../structures/extended/decks/class_BaseDeck.php | 6 ------ .../structures/extended/upper/class_Bridge.php | 6 ------ 33 files changed, 4 insertions(+), 222 deletions(-) diff --git a/application/ship-simu/main/class_BasePersonell.php b/application/ship-simu/main/class_BasePersonell.php index 744c160..5eb553b 100644 --- a/application/ship-simu/main/class_BasePersonell.php +++ b/application/ship-simu/main/class_BasePersonell.php @@ -52,9 +52,6 @@ class BasePersonell extends BaseFrameworkSystem implements Personellizer { // Call parent constructor parent::__construct($class); - // Debug message - if ((defined('DEBUG_PERSONELL')) && (defined('DEBUG_CONSTRUCT'))) $this->getDebugInstance()->output("[PersonellBase:] Konstruktor erreicht.
\n"); - // Set description $this->setObjectDescription("Personal"); } diff --git a/application/ship-simu/main/class_BaseSimulator.php b/application/ship-simu/main/class_BaseSimulator.php index 0ca7a91..7910c5e 100644 --- a/application/ship-simu/main/class_BaseSimulator.php +++ b/application/ship-simu/main/class_BaseSimulator.php @@ -46,10 +46,6 @@ class BaseSimulator extends BaseFrameworkSystem { // Call highest constructor parent::__construct($class); - if ((defined('DEBUG_CORE')) && (defined('DEBUG_CONSTRUCT'))) $this->getDebugInstance()->output(sprintf("[%s:] Konstruktor erreicht.
\n", - $this->__toString() - )); - // Set part description and class name $this->setObjectDescription("Simulator-Basis-Einheit"); diff --git a/application/ship-simu/main/class_Merchant.php b/application/ship-simu/main/class_Merchant.php index ce65713..0d4ff10 100644 --- a/application/ship-simu/main/class_Merchant.php +++ b/application/ship-simu/main/class_Merchant.php @@ -36,14 +36,6 @@ class Merchant extends BaseFrameworkSystem { // Call parent constructor parent::__construct(__CLASS__); - // Debug message - if (((defined('DEBUG_MERCHANT')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) { - $this->getDebugInstance()->output(sprintf("[%s:%d] Konstruktor erreicht.
\n", - __CLASS__, - __LINE__ - )); - } - // Set description $this->setObjectDescription("Händler"); diff --git a/application/ship-simu/main/class_WorksContract.php b/application/ship-simu/main/class_WorksContract.php index 96f1bca..fdcc74a 100644 --- a/application/ship-simu/main/class_WorksContract.php +++ b/application/ship-simu/main/class_WorksContract.php @@ -45,14 +45,6 @@ class WorksContract extends BaseFrameworkSystem implements SignableContract { // Call parent constructor parent::__construct(__CLASS__); - // Debug message - if (((defined('DEBUG_CONTRACT')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) { - $this->getDebugInstance()->output(sprintf("[%s:%d] Konstruktor erreicht.
\n", - __CLASS__, - __LINE__ - )); - } - // Set description $this->setObjectDescription("Bauvertrag"); diff --git a/application/ship-simu/main/companies/class_ShippingCompany.php b/application/ship-simu/main/companies/class_ShippingCompany.php index b93efdb..1dba168 100644 --- a/application/ship-simu/main/companies/class_ShippingCompany.php +++ b/application/ship-simu/main/companies/class_ShippingCompany.php @@ -71,14 +71,6 @@ class ShippingCompany extends BaseSimulator implements Customer, ContractPartner // Call parent constructor parent::__construct(__CLASS__); - // Debug message - if (((defined('DEBUG_COMPANY')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) { - $this->getDebugInstance()->output(sprintf("[%s:%d] Konstruktor erreicht.
\n", - __CLASS__, - __LINE__ - )); - } - // Set description $this->setObjectDescription("Reederei"); diff --git a/application/ship-simu/main/constructions/berths/class_Berth.php b/application/ship-simu/main/constructions/berths/class_Berth.php index b8bd26c..160b7bf 100644 --- a/application/ship-simu/main/constructions/berths/class_Berth.php +++ b/application/ship-simu/main/constructions/berths/class_Berth.php @@ -30,13 +30,6 @@ class Berth extends BaseConstruction { // Konstruktor protected function __construct () { - if (((defined('DEBUG_MODE')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) { - $this->getDebugInstance()->output(sprintf("[%s:%d] Konstruktor erreicht.
\n", - __CLASS__, - __LINE__ - )); - } - // Call parent constructor parent::__construct(__CLASS__); diff --git a/application/ship-simu/main/constructions/class_BaseConstruction.php b/application/ship-simu/main/constructions/class_BaseConstruction.php index 24beedd..60974e0 100644 --- a/application/ship-simu/main/constructions/class_BaseConstruction.php +++ b/application/ship-simu/main/constructions/class_BaseConstruction.php @@ -30,11 +30,6 @@ class BaseConstruction extends BaseSimulator { // Eltern-Konstrutor aufrufen parent::__construct($class); - // Debug message - if ((defined('DEBUG_CORE')) && (defined('DEBUG_CONSTRUCT'))) $this->getDebugInstance()->output(sprintf("[%s:] Konstruktor erreicht.
\n", - $this->__toString() - )); - // Set description $this->setObjectDescription("Namenlose Landkonstruktion"); diff --git a/application/ship-simu/main/constructions/docks/class_DryDock.php b/application/ship-simu/main/constructions/docks/class_DryDock.php index 879786d..5209b56 100644 --- a/application/ship-simu/main/constructions/docks/class_DryDock.php +++ b/application/ship-simu/main/constructions/docks/class_DryDock.php @@ -27,8 +27,6 @@ class DryDock extends BaseConstruction { // Konstruktor protected function __construct () { - if (((defined('DEBUG_MODE')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) $this->getDebugInstance()->output("[DryDock:] Konstruktor erreicht.
\n"); - // Call parent constructor parent::__construct(__CLASS__); diff --git a/application/ship-simu/main/constructions/harbors/class_Harbor.php b/application/ship-simu/main/constructions/harbors/class_Harbor.php index e414118..3bdc297 100644 --- a/application/ship-simu/main/constructions/harbors/class_Harbor.php +++ b/application/ship-simu/main/constructions/harbors/class_Harbor.php @@ -39,9 +39,6 @@ class Harbor extends BaseConstruction { // Call parent constructor parent::__construct(__CLASS__); - // Debug message - if (((defined('DEBUG_HARBOR')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) $this->getDebugInstance()->output("[Harbor:] Konstruktor erreicht.
\n"); - // Set description $this->setObjectDescription("Hafen"); diff --git a/application/ship-simu/main/constructions/terminals/class_Terminal.php b/application/ship-simu/main/constructions/terminals/class_Terminal.php index 6ec76c2..ad0a631 100644 --- a/application/ship-simu/main/constructions/terminals/class_Terminal.php +++ b/application/ship-simu/main/constructions/terminals/class_Terminal.php @@ -27,13 +27,6 @@ class Terminal extends BaseConstruction { // Konstruktor protected function __construct () { - if (((defined('DEBUG_MODE')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) { - $this->getDebugInstance()->output(sprintf("[%s:%d] Konstruktor erreicht.
\n", - __CLASS__, - __LINE__ - )); - } - // Call parent constructor parent::__construct(__CLASS__); diff --git a/application/ship-simu/main/constructions/yards/class_Shipyard.php b/application/ship-simu/main/constructions/yards/class_Shipyard.php index 2908484..61d2500 100644 --- a/application/ship-simu/main/constructions/yards/class_Shipyard.php +++ b/application/ship-simu/main/constructions/yards/class_Shipyard.php @@ -49,14 +49,6 @@ class Shipyard extends BaseConstruction { // Call parent constructor parent::__construct(__CLASS__); - // Debug message - if (((defined('DEBUG_SHIPYARD')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) { - $this->getDebugInstance()->output(sprintf("[%s:%d] Konstruktor erreicht.
\n", - __CLASS__, - __LINE__ - )); - } - // Set description $this->setObjectDescription("Werft"); diff --git a/application/ship-simu/main/drives/class_BaseDrive.php b/application/ship-simu/main/drives/class_BaseDrive.php index 9e74079..1306206 100644 --- a/application/ship-simu/main/drives/class_BaseDrive.php +++ b/application/ship-simu/main/drives/class_BaseDrive.php @@ -34,14 +34,6 @@ class BaseDrive extends BaseSimulator { // Call parent constructor parent::__construct($class); - // Debug message - if (((defined('DEBUG_DRIVE')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) { - $this->getDebugInstance()->output(sprintf("[%s:%d] Konstruktor erreicht.
\n", - __CLASS__, - __LINE__ - )); - } - // Set description $this->setObjectDescription("Namenloser Antrieb"); diff --git a/application/ship-simu/main/drives/motor/class_Motor.php b/application/ship-simu/main/drives/motor/class_Motor.php index 699c721..77e2ba9 100644 --- a/application/ship-simu/main/drives/motor/class_Motor.php +++ b/application/ship-simu/main/drives/motor/class_Motor.php @@ -27,14 +27,6 @@ class Motor extends BaseDrive implements TradeableItem, ConstructableShipPart { // Call parent constructor parent::__construct(__CLASS__); - // Debug message - if (((defined('DEBUG_DRIVE')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) { - $this->getDebugInstance()->output(sprintf("[%s:%d] Konstruktor erreicht.
\n", - __CLASS__, - __LINE__ - )); - } - // Set description $this->setObjectDescription("Namenloser Motor"); diff --git a/application/ship-simu/main/parts/class_BaseShipPart.php b/application/ship-simu/main/parts/class_BaseShipPart.php index 9f20617..fa2776b 100644 --- a/application/ship-simu/main/parts/class_BaseShipPart.php +++ b/application/ship-simu/main/parts/class_BaseShipPart.php @@ -30,14 +30,6 @@ class BaseShipPart extends BaseSimulator { // Call parent constructor parent::__construct($class); - // Debug message - if (((defined('DEBUG_SHIPPART')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) { - $this->getDebugInstance()->output(sprintf("[%s:%d:] Kontruktor erreicht.
\n", - __CLASS__, - __LINE__ - )); - } - // Beschreibung $this->setObjectDescription("Schiffsteil"); diff --git a/application/ship-simu/main/parts/maschineroom/class_MaschineRoom.php b/application/ship-simu/main/parts/maschineroom/class_MaschineRoom.php index fdde326..1329eac 100644 --- a/application/ship-simu/main/parts/maschineroom/class_MaschineRoom.php +++ b/application/ship-simu/main/parts/maschineroom/class_MaschineRoom.php @@ -27,14 +27,6 @@ class MaschineRoom extends BaseShipPart { // Call parent constructor parent::__construct(__CLASS__); - // Debug message - if (((defined('DEBUG_MODE')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) { - $this->getDebugInstance()->output(sprintf("[%s:%d] Konstruktor erreicht.
\n", - __CLASS__, - __LINE__ - )); - } - // Set description $this->setObjectDescription("Maschinenraum"); diff --git a/application/ship-simu/main/personell/class_SimulatorPersonell.php b/application/ship-simu/main/personell/class_SimulatorPersonell.php index d5aa01e..d81e4b2 100644 --- a/application/ship-simu/main/personell/class_SimulatorPersonell.php +++ b/application/ship-simu/main/personell/class_SimulatorPersonell.php @@ -40,10 +40,6 @@ class SimulatorPersonell extends BasePersonell { // Call parent constructor parent::__construct(__CLASS__); - if (((defined('DEBUG_PERSONELL')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) $this->getDebugInstance()->output(sprintf("[%s:] Konstruktor erreicht.
\n", - $this->__toString() - )); - // Set description $this->setObjectDescription("Simulationspersonal"); diff --git a/application/ship-simu/main/personell/company/class_CompanyEmployee.php b/application/ship-simu/main/personell/company/class_CompanyEmployee.php index b97f70c..36b97c4 100644 --- a/application/ship-simu/main/personell/company/class_CompanyEmployee.php +++ b/application/ship-simu/main/personell/company/class_CompanyEmployee.php @@ -30,14 +30,6 @@ class CompanyEmployee extends SimulatorPersonell { // Call parent constructor parent::__construct(__CLASS__); - // Debug message - if ((((defined('DEBUG_COMPANY_EMPLOYEE')) && (defined('DEBUG_PERSONELL'))) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) { - $this->getDebugInstance()->output(sprintf("[%s:%d] Konstruktor erreicht.
\n", - __CLASS__, - __LINE__ - )); - } - // Set description $this->setObjectDescription("Firmenangestellte(r)"); diff --git a/application/ship-simu/main/ships/class_BaseShip.php b/application/ship-simu/main/ships/class_BaseShip.php index d4ffee9..4799c0e 100644 --- a/application/ship-simu/main/ships/class_BaseShip.php +++ b/application/ship-simu/main/ships/class_BaseShip.php @@ -42,20 +42,13 @@ class BaseShip extends BaseSimulator { // Call parent constructor parent::__construct($class); - // Beim Schiff angelangt - if (((defined('DEBUG_SHIP')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) - $this->getDebugInstance()->output(sprintf("[%s:%d] Konstruktor erreicht.
\n", - __CLASS__, - __LINE__ - )); - - // Bezeichnung setzen - $this->setObjectDescription("Schiff"); + // Set object description + $this->setObjectDescription("Allgemeines Schiff"); - // Array-Objekt generieren + // Prepare array object for all structures $this->createStructuresArray(); - // Instanz entfernen + // Clean-up a little $this->removePartInstance(); $this->removeNumberFormaters(); } diff --git a/application/ship-simu/main/ships/passenger/class_PassengerShip.php b/application/ship-simu/main/ships/passenger/class_PassengerShip.php index a581c12..3340a68 100644 --- a/application/ship-simu/main/ships/passenger/class_PassengerShip.php +++ b/application/ship-simu/main/ships/passenger/class_PassengerShip.php @@ -28,14 +28,6 @@ class PassengerShip extends BaseShip implements ConstructableShip, LimitableObje // Eltern-Kontruktor aufrufen parent::__construct(__CLASS__); - // Debug message - if (((defined('DEBUG_SHIP')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) { - $this->getDebugInstance()->output(sprintf("[%s:%d] Konstruktor erreicht.
\n", - __CLASS__, - __LINE__ - )); - } - // Set description $this->setObjectDescription("Passagier-Schiff"); diff --git a/application/ship-simu/main/structures/class_BaseStructure.php b/application/ship-simu/main/structures/class_BaseStructure.php index 8620ce9..ebcb4e8 100644 --- a/application/ship-simu/main/structures/class_BaseStructure.php +++ b/application/ship-simu/main/structures/class_BaseStructure.php @@ -30,14 +30,6 @@ class BaseStructure extends BaseSimulator { // Call parent constructor parent::__construct($class); - // Debug message - if (((defined('DEBUG_STRUCTURE')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) { - $this->getDebugInstance()->output(sprintf("[%s:%d] Konstruktor erreicht.
\n", - __CLASS__, - __LINE__ - )); - } - // Set description $this->setObjectDescription("Schiffsstrukturen"); diff --git a/application/ship-simu/main/structures/extended/cabines/class_BaseCabin.php b/application/ship-simu/main/structures/extended/cabines/class_BaseCabin.php index 43e8a20..ede1c4e 100644 --- a/application/ship-simu/main/structures/extended/cabines/class_BaseCabin.php +++ b/application/ship-simu/main/structures/extended/cabines/class_BaseCabin.php @@ -27,14 +27,6 @@ class BaseCabin extends BaseCabinStructure { // Call parent constructor parent::__construct($class); - // Debug message - if (((defined('DEBUG_CABIN')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) { - $this->getDebugInstance()->output(sprintf("[%s:%d] Konstruktor erreicht.
\n", - __CLASS__, - __LINE__ - )); - } - // Set description $this->setObjectDescription("Kabine"); } diff --git a/application/ship-simu/main/structures/extended/cabines/ship/class_EconomyCabin.php b/application/ship-simu/main/structures/extended/cabines/ship/class_EconomyCabin.php index 6357461..66927fb 100644 --- a/application/ship-simu/main/structures/extended/cabines/ship/class_EconomyCabin.php +++ b/application/ship-simu/main/structures/extended/cabines/ship/class_EconomyCabin.php @@ -27,14 +27,6 @@ class EconomyCabin extends BaseCabin implements TradeableItem, ConstructableShip // Call parent constructor parent::__construct(__CLASS__); - // Debug message - if (((defined('DEBUG_CABIN')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) { - $this->getDebugInstance()->output(sprintf("[%s:%d] Konstruktor erreicht.
\n", - __CLASS__, - __LINE__ - )); - } - // Set description $this->setObjectDescription("Economy-Class-Kabine"); diff --git a/application/ship-simu/main/structures/extended/cabines/ship/class_LowCabin.php b/application/ship-simu/main/structures/extended/cabines/ship/class_LowCabin.php index 46e9880..4875e4f 100644 --- a/application/ship-simu/main/structures/extended/cabines/ship/class_LowCabin.php +++ b/application/ship-simu/main/structures/extended/cabines/ship/class_LowCabin.php @@ -27,12 +27,6 @@ class LowCabin extends BaseCabin implements TradeableItem, ConstructableShipPart // Call parent constructor parent::__construct(__CLASS__); - // Debug message - if (((defined('DEBUG_CABIN')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) $this->getDebugInstance()->output(sprintf("[%s:%d] Konstruktor erreicht.
\n", - __CLASS__, - __LINE__ - )); - // Set description $this->setObjectDescription("2Star-Class-Kabine"); diff --git a/application/ship-simu/main/structures/extended/cabines/ship/class_LuxuryCabin.php b/application/ship-simu/main/structures/extended/cabines/ship/class_LuxuryCabin.php index 060060e..19f8495 100644 --- a/application/ship-simu/main/structures/extended/cabines/ship/class_LuxuryCabin.php +++ b/application/ship-simu/main/structures/extended/cabines/ship/class_LuxuryCabin.php @@ -27,12 +27,6 @@ class LuxuryCabin extends BaseCabin implements TradeableItem, ConstructableShipP // Call parent constructor parent::__construct(__CLASS__); - // Debug message - if (((defined('DEBUG_CABIN')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) $this->getDebugInstance()->output(sprintf("[%s:%d] Konstruktor erreicht.
\n", - __CLASS__, - __LINE__ - )); - // Set description $this->setObjectDescription("Luxuskabine"); diff --git a/application/ship-simu/main/structures/extended/cabines/ship/class_PremierCabin.php b/application/ship-simu/main/structures/extended/cabines/ship/class_PremierCabin.php index 020fd14..ea9e14a 100644 --- a/application/ship-simu/main/structures/extended/cabines/ship/class_PremierCabin.php +++ b/application/ship-simu/main/structures/extended/cabines/ship/class_PremierCabin.php @@ -27,12 +27,6 @@ class PremierCabin extends BaseCabin implements TradeableItem, ConstructableShip // Call parent constructor parent::__construct(__CLASS__); - // Debug message - if (((defined('DEBUG_CABIN')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) $this->getDebugInstance()->output(sprintf("[PremierCabin:] Konstruktor erreicht.
\n", - __CLASS__, - __LINE__ - )); - // Set description $this->setObjectDescription("Premier-Class-Kabine"); diff --git a/application/ship-simu/main/structures/extended/class_BaseCabinStructure.php b/application/ship-simu/main/structures/extended/class_BaseCabinStructure.php index 31253ae..f38e5b7 100644 --- a/application/ship-simu/main/structures/extended/class_BaseCabinStructure.php +++ b/application/ship-simu/main/structures/extended/class_BaseCabinStructure.php @@ -37,14 +37,6 @@ class BaseCabinStructure extends BaseStructure { // Call parent constructor parent::__construct($class); - // Debug message - if (((defined('DEBUG_STRUCTURE')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) { - $this->getDebugInstance()->output(sprintf("[%s:%d] Konstruktor erreicht.
\n", - __CLASS__, - __LINE__ - )); - } - // Set description $this->setObjectDescription("Kabinenstruktur"); } diff --git a/application/ship-simu/main/structures/extended/class_BaseDeckStructure.php b/application/ship-simu/main/structures/extended/class_BaseDeckStructure.php index 53f6a9c..af8c74d 100644 --- a/application/ship-simu/main/structures/extended/class_BaseDeckStructure.php +++ b/application/ship-simu/main/structures/extended/class_BaseDeckStructure.php @@ -30,14 +30,6 @@ class BaseDeckStructure extends BaseStructure { // Call parent constructor parent::__construct($class); - // Debug message - if (((defined('DEBUG_STRUCTURE')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) { - $this->getDebugInstance()->output(sprintf("[%s:%d] Konstruktor erreicht.
\n", - __CLASS__, - __LINE__ - )); - } - // Set description $this->setObjectDescription("Deckstruktur"); } diff --git a/application/ship-simu/main/structures/extended/class_BaseUpperStructure.php b/application/ship-simu/main/structures/extended/class_BaseUpperStructure.php index 74eb19b..fe3070e 100644 --- a/application/ship-simu/main/structures/extended/class_BaseUpperStructure.php +++ b/application/ship-simu/main/structures/extended/class_BaseUpperStructure.php @@ -29,14 +29,6 @@ class BaseUpperStructure extends BaseStructure { // Call parent constructor parent::__construct($class); - // Debug message - if (((defined('DEBUG_STRUCTURE')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) { - $this->getDebugInstance()->output(sprintf("[%s:%d] Konstruktor erreicht.
\n", - __CLASS__, - __LINE__ - )); - } - // Set description $this->setObjectDescription("Aufbauten"); } diff --git a/application/ship-simu/main/structures/extended/decks/cargo/class_CarDeck.php b/application/ship-simu/main/structures/extended/decks/cargo/class_CarDeck.php index cf3289d..89bdc27 100644 --- a/application/ship-simu/main/structures/extended/decks/cargo/class_CarDeck.php +++ b/application/ship-simu/main/structures/extended/decks/cargo/class_CarDeck.php @@ -27,12 +27,6 @@ class CarDeck extends BaseDeck implements TradeableItem, ConstructableShipPart { // Call parent constructor parent::__construct(__CLASS__); - // Debug message - if (((defined('DEBUG_DECK')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) $this->getDebugInstance()->output(sprintf("[%s:%d] Konstruktor erreicht.
\n", - __CLASS__, - __LINE__ - )); - // Set description $this->setObjectDescription("Autodeck"); diff --git a/application/ship-simu/main/structures/extended/decks/cargo/class_TrainDeck.php b/application/ship-simu/main/structures/extended/decks/cargo/class_TrainDeck.php index d464f77..209b072 100644 --- a/application/ship-simu/main/structures/extended/decks/cargo/class_TrainDeck.php +++ b/application/ship-simu/main/structures/extended/decks/cargo/class_TrainDeck.php @@ -27,12 +27,6 @@ class TrainDeck extends BaseDeck implements TradeableItem, ConstructableShipPart // Call parent constructor parent::__construct(__CLASS__); - // Debug message - if (((defined('DEBUG_DECK')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) $this->getDebugInstance()->output(sprintf("[%s:%d] Konstruktor erreicht.
\n", - __CLASS__, - __LINE__ - )); - // Set description $this->setObjectDescription("Zug-Deck"); diff --git a/application/ship-simu/main/structures/extended/decks/cargo/class_TruckDeck.php b/application/ship-simu/main/structures/extended/decks/cargo/class_TruckDeck.php index e23f894..64c4b57 100644 --- a/application/ship-simu/main/structures/extended/decks/cargo/class_TruckDeck.php +++ b/application/ship-simu/main/structures/extended/decks/cargo/class_TruckDeck.php @@ -28,12 +28,6 @@ class TruckDeck extends BaseDeck implements TradeableItem, ConstructableShipPart // Call parent constructor parent::__construct(__CLASS__); - // Debug message - if (((defined('DEBUG_DECK')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) $this->getDebugInstance()->output(sprintf("[%s:%d] Konstruktor erreicht.
\n", - __CLASS__, - __LINE__ - )); - // Set description $this->setObjectDescription("LKW-Deck"); diff --git a/application/ship-simu/main/structures/extended/decks/class_BaseDeck.php b/application/ship-simu/main/structures/extended/decks/class_BaseDeck.php index 13768b8..292d8ae 100644 --- a/application/ship-simu/main/structures/extended/decks/class_BaseDeck.php +++ b/application/ship-simu/main/structures/extended/decks/class_BaseDeck.php @@ -29,12 +29,6 @@ class BaseDeck extends BaseDeckStructure { // Call parent constructor parent::__construct($class); - // Debub message - if (((defined('DEBUG_DECK')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) $this->getDebugInstance()->output(sprintf("[%s:%d] Konstruktor erreicht.
\n", - __CLASS__, - __LINE__ - )); - // Set description $this->setObjectDescription("Allgemeines Deck"); } diff --git a/application/ship-simu/main/structures/extended/upper/class_Bridge.php b/application/ship-simu/main/structures/extended/upper/class_Bridge.php index 239a717..bbd873b 100644 --- a/application/ship-simu/main/structures/extended/upper/class_Bridge.php +++ b/application/ship-simu/main/structures/extended/upper/class_Bridge.php @@ -27,12 +27,6 @@ class Bridge extends BaseUpperStructure implements TradeableItem, ConstructableS // Call parent constructor parent::__construct(__CLASS__); - // Debug message - if (((defined('DEBUG_MODE')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) $this->getDebugInstance()->output(sprintf("[%s:%d] Konstruktor erreicht.
\n", - __CLASS__, - __LINE__ - )); - // Set description $this->setObjectDescription("Brücke"); -- 2.30.2