Kolja Strohm 1 долоо хоног өмнө
parent
commit
ae192c7464
42 өөрчлөгдсөн 465 нэмэгдсэн , 484 устгасан
  1. 9 9
      Animation.cpp
  2. 4 4
      AuswahlBox.cpp
  3. 8 8
      Bild.cpp
  4. 1 1
      Cube.cpp
  5. 2 2
      DX12Buffer.cpp
  6. 2 2
      DX12Shader.cpp
  7. 6 6
      DXBuffer.cpp
  8. 9 9
      DateiDialog.cpp
  9. 16 16
      Diagramm.cpp
  10. 1 1
      Dialog.cpp
  11. 10 10
      Fenster.cpp
  12. 3 3
      Fortschritt.cpp
  13. 5 5
      InitDatei.cpp
  14. 5 5
      KSGTDatei.cpp
  15. 2 2
      Kam3D.cpp
  16. 8 8
      Key.cpp
  17. 8 8
      Knopf.cpp
  18. 73 75
      Liste.cpp
  19. 5 5
      M2DVorschau.cpp
  20. 5 5
      M2Datei.cpp
  21. 4 4
      M3Datei.cpp
  22. 4 4
      Maus.cpp
  23. 12 12
      Model2D.cpp
  24. 8 8
      Model3D.cpp
  25. 2 2
      Model3DList.cpp
  26. 3 3
      Prozess.cpp
  27. 10 10
      Rahmen.cpp
  28. 2 2
      Random.cpp
  29. 4 4
      RenderThread.cpp
  30. 121 136
      Schrift.cpp
  31. 10 10
      Scroll.cpp
  32. 6 6
      Shader.cpp
  33. 71 73
      Tabelle.cpp
  34. 2 2
      Textur.cpp
  35. 1 1
      Textur2D.cpp
  36. 2 2
      TexturList.cpp
  37. 1 1
      TexturModel.cpp
  38. 7 7
      Thread.cpp
  39. 3 3
      ToolTip.cpp
  40. 2 2
      Welt3D.cpp
  41. 7 7
      Zeichnung.cpp
  42. 1 1
      Zeichnung3D.cpp

+ 9 - 9
Animation.cpp

@@ -1,4 +1,4 @@
-#include "Animation.h"
+#include "Animation.h"
 
 #include "Bild.h"
 #include "DateiSystem.h"
@@ -9,8 +9,8 @@
 
 using namespace Framework;
 
-// Inhalt der Animation2DData Klasse aus Animation.h
-// Konstruktor
+// Contents of the Animation2DData class from Animation.h
+// Constructor
 Animation2DData::Animation2DData()
     : ReferenceCounter(),
       bilder(0),
@@ -20,13 +20,13 @@ Animation2DData::Animation2DData()
       transparent(0)
 {}
 
-// Destruktor
+// Destructor
 Animation2DData::~Animation2DData()
 {
     reset();
 }
 
-// nicht constant
+// non-constant
 void Animation2DData::lock()
 {
     cs.lock();
@@ -188,8 +188,8 @@ bool Animation2DData::istTransparent() const
     return transparent;
 }
 
-// Inhalt der Animation2D Klasse aus Animation.h
-// Konstruktor
+// Contents of the Animation2D class from Animation.h
+// Constructor
 Animation2D::Animation2D()
     : Zeichnung(),
       data(0),
@@ -203,14 +203,14 @@ Animation2D::Animation2D()
       sichtbar(0)
 {}
 
-// Destruktor
+// Destructor
 Animation2D::~Animation2D()
 {
     if (data) data->release();
     if (ram) ram->release();
 }
 
-// nicht constant
+// non-constant
 void Animation2D::setRahmen(bool ram)
 {
     rahmen = ram;

+ 4 - 4
AuswahlBox.cpp

@@ -14,8 +14,8 @@
 
 using namespace Framework;
 
-// Inhalt der AuswahlBox Klasse aus AuswahlBox.h
-// Konstruktor
+// Contents of the AuswahlBox class from AuswahlBox.h
+// Constructor
 AuswahlBox::AuswahlBox()
     : ZeichnungHintergrund(),
       textRd(0),
@@ -74,7 +74,7 @@ AuswahlBox::AuswahlBox()
     gr.y = 20;
 }
 
-// Destruktor
+// Destructor
 AuswahlBox::~AuswahlBox()
 {
     if (textRd) textRd->release();
@@ -193,7 +193,7 @@ void AuswahlBox::doMausEreignis(MausEreignis& me, bool userRet) // Maus
     me.insideParent = insideParent;
 }
 
-// nicht constant
+// non-constant
 void AuswahlBox::setEventParam(void* p) // setzt den Event Parameter
 {
     eAkP = p;

+ 8 - 8
Bild.cpp

@@ -33,8 +33,8 @@
 
 using namespace Framework;
 
-// Inhalt der Bild Klasse aus Bild.h
-// Konstruktor
+// Contents of the Bild class from Bild.h
+// Constructor
 Bild::Bild(bool options)
     : ReferenceCounter(),
       fc(0),
@@ -52,7 +52,7 @@ Bild::Bild(bool options)
     alpha[0] = 0;
 }
 
-// Destruktor
+// Destructor
 Bild::~Bild()
 {
     if (delFc)
@@ -398,7 +398,7 @@ void Bild::drawLinieHTexturAlpha(Vec2<double> p,
     rend = 1;
 }
 
-// nicht constant
+// non-constant
 
 // Prueft ob ein Rechteck vollstaendig oder teilweise in der Zeichen Flaeche liegt.
 //  return 0, falls das Rechteck nicht in der Zeichenflaeche liegt, 1 sonst
@@ -2940,8 +2940,8 @@ int Bild::getAverageColor() const
          | ((((int)g) & 0xFF) << 8) | (((int)b) & 0xFF);
 }
 
-// Inhalt der BildZ Klasse aus Bild.h
-// Konstruktor
+// Contents of the BildZ class from Bild.h
+// Constructor
 BildZ::BildZ()
     : ZeichnungHintergrund(),
       bild(0)
@@ -2950,7 +2950,7 @@ BildZ::BildZ()
     mak = _ret1ME;
 }
 
-// Destruktor
+// Destructor
 BildZ::~BildZ()
 {
     if (bild) bild->release();
@@ -2979,7 +2979,7 @@ void BildZ::doMausEreignis(MausEreignis& me, bool userRet) // ruft Mak auf
     me.verarbeitet = userRet;
 }
 
-// nicht constant
+// non-constant
 void BildZ::setBildZ(Bild* b) // setzt das Bild
 {
     if (bild) bild->release();

+ 1 - 1
Cube.cpp

@@ -11,7 +11,7 @@ using namespace Framework;
 
 // Inhalt der Cube Klasse
 
-// Konstruktor
+// Constructor
 //  size: Die Groesse des Wuerfels
 Cube::Cube(float size, GraphicsApi* zApi)
     : Model3D()

+ 2 - 2
DX12Buffer.cpp

@@ -6,7 +6,7 @@
 
 using namespace Framework;
 
-// Konstruktor
+// Constructor
 // eSize: Die Laenge eines Elementes in Bytes
 DX12Buffer::DX12Buffer(
     int eSize, ID3D12Device* device, ID3D12GraphicsCommandList* list, int flags)
@@ -28,7 +28,7 @@ DX12Buffer::DX12Buffer(
     description->Flags = (D3D12_RESOURCE_FLAGS)flags;
 }
 
-// Destruktor
+// Destructor
 DX12Buffer::~DX12Buffer()
 {
     if (intermediate) intermediate->Release();

+ 2 - 2
DX12Shader.cpp

@@ -92,7 +92,7 @@ DX12PixelShader::DX12PixelShader(ID3D12Device* device,
     : DX12Shader(device, copy, direct)
 {}
 
-// Konstruktor
+// Constructor
 DX12VertexShader::DX12VertexShader(ID3D12Device* device,
     DX12CopyCommandQueue* copy,
     DX12DirectCommandQueue* direct)
@@ -102,7 +102,7 @@ DX12VertexShader::DX12VertexShader(ID3D12Device* device,
     inputLayoutSize = 0;
 }
 
-// Destruktor
+// Destructor
 DX12VertexShader::~DX12VertexShader()
 {
     delete[] inputLayout;

+ 6 - 6
DXBuffer.cpp

@@ -14,7 +14,7 @@ using namespace Framework;
 
 // Inhalt der DXBuffer Klasse
 
-// Konstruktor
+// Constructor
 //  bind: Der verwendungszweck des Buffers. Beispiel: D3D11_BIND_INDEX_BUFFER,
 //  D3D11_BIND_VERTEX_BUFFER. eLaen: Laenge eines einzelnen Elements in Bytes
 DXBuffer::DXBuffer(int eLen)
@@ -26,7 +26,7 @@ DXBuffer::DXBuffer(int eLen)
     elLen = eLen;
 }
 
-// Destruktor
+// Destructor
 DXBuffer::~DXBuffer() {}
 
 // Setzt den geaendert flaeg, so das beim naechsten auruf von 'kopieren' die daten
@@ -66,7 +66,7 @@ int DXBuffer::getElementAnzahl() const
 #ifdef WIN32
 // Inhalt der DX11Buffer Klasse
 
-// Konstruktor
+// Constructor
 // eSize: Die Laenge eines Elementes in Bytes
 DX11Buffer::DX11Buffer(int eSize,
     ID3D11Device* device,
@@ -85,7 +85,7 @@ DX11Buffer::DX11Buffer(int eSize,
     this->context = context;
 }
 
-// Destruktor
+// Destructor
 DX11Buffer::~DX11Buffer()
 {
     if (buffer) buffer->Release();
@@ -140,7 +140,7 @@ ID3D11Buffer* DX11Buffer::zBuffer() const
 
 // Inhalt der DXStructuredBuffer Klasse
 
-// Konstruktor
+// Constructor
 // eSize: Die Laenge eines Elementes in Bytes
 DX11StructuredBuffer::DX11StructuredBuffer(
     int eSize, ID3D11Device* device, ID3D11DeviceContext* context)
@@ -155,7 +155,7 @@ DX11StructuredBuffer::DX11StructuredBuffer(
     view = 0;
 }
 
-// Destruktor
+// Destructor
 DX11StructuredBuffer::~DX11StructuredBuffer()
 {
     if (view) view->Release();

+ 9 - 9
DateiDialog.cpp

@@ -1,4 +1,4 @@
-#include "DateiDialog.h"
+#include "DateiDialog.h"
 
 #include <ShObjIdl.h>
 
@@ -14,8 +14,8 @@ void Framework::InitDialog()
 
 using namespace Framework;
 
-// Inhalt der DateiDialog Klasse aus DateiDialog.h
-// Konstruktor
+// Contents of the DateiDialog class from DateiDialog.h
+// Constructor
 DateiDialog::DateiDialog()
     : ReferenceCounter()
 {
@@ -24,14 +24,14 @@ DateiDialog::DateiDialog()
     fileIndex = 1;
 }
 
-// Destruktor
+// Destructor
 DateiDialog::~DateiDialog()
 {
     typeName->release();
     type->release();
 }
 
-// nicht constant
+// non-constant
 void DateiDialog::removeDateiTypen()
 {
     typeName->leeren();
@@ -188,8 +188,8 @@ Text* DateiDialog::anzeigen(bool open) const
     return 0;
 }
 
-// Inhalt der DateiDialogTh Klasse aus DateiDialog.h
-// Konstruktor
+// Contents of the DateiDialogTh class from DateiDialog.h
+// Constructor
 DateiDialogTh::DateiDialogTh()
     : Thread()
 {
@@ -198,7 +198,7 @@ DateiDialogTh::DateiDialogTh()
     open = 0;
 }
 
-// Destruktor
+// Destructor
 DateiDialogTh::~DateiDialogTh()
 {
     warteAufThread(5000);
@@ -207,7 +207,7 @@ DateiDialogTh::~DateiDialogTh()
     if (ret) ret->release();
 }
 
-// nicht constant
+// non-constant
 void DateiDialogTh::setOpen(bool b)
 {
     open = b;

+ 16 - 16
Diagramm.cpp

@@ -13,8 +13,8 @@
 
 using namespace Framework;
 
-// Inhalt der SLDiag Klasse aus Diagramm.h
-// Konstruktor
+// Contents of the SLDiag class from Diagramm.h
+// Constructor
 SLDiag::SLDiag()
     : ZeichnungHintergrund(),
       gF(0xFF000000),
@@ -30,7 +30,7 @@ SLDiag::SLDiag()
     style = 0;
 }
 
-// Destruktor
+// Destructor
 SLDiag::~SLDiag()
 {
     lFarbe->release();
@@ -41,7 +41,7 @@ SLDiag::~SLDiag()
     if (textRd) textRd->release();
 }
 
-// nicht constant
+// non-constant
 void SLDiag::setTextRendererZ(TextRenderer* textRd)
 {
     if (this->textRd) this->textRd->release();
@@ -310,7 +310,7 @@ int SLDiag::getLastValue(int lNum) const // gibt den letzten Wert zurueck
 }
 
 // Inhalt der DiagWert Struktur aus Diagramm.h
-// Konstruktor
+// Constructor
 DiagWert::DiagWert()
     : ReferenceCounter(),
       style(0),
@@ -320,7 +320,7 @@ DiagWert::DiagWert()
       punkte(new Array<DiagPunkt*>)
 {}
 
-// Destruktor
+// Destructor
 DiagWert::~DiagWert()
 {
     name->release();
@@ -333,7 +333,7 @@ DiagWert::~DiagWert()
 }
 
 // Inhalt der DiagDaten Struktur aus Diagramm.h
-// Konstruktor
+// Constructor
 DiagDaten::DiagDaten()
     : ReferenceCounter(),
       style(0),
@@ -354,7 +354,7 @@ DiagDaten::DiagDaten()
       werte(new RCArray<DiagWert>())
 {}
 
-// Destruktor
+// Destructor
 DiagDaten::~DiagDaten()
 {
     hIntervallName->release();
@@ -366,21 +366,21 @@ DiagDaten::~DiagDaten()
     werte->release();
 }
 
-// Inhalt der BaseDiag Klasse aus Diagramm.h
-// Konstruktor
+// Contents of the BaseDiag class from Diagramm.h
+// Constructor
 BaseDiag::BaseDiag(Critical* lock)
     : daten(new DiagDaten()),
       changed(0),
       lock(lock)
 {}
 
-// Destruktor
+// Destructor
 BaseDiag::~BaseDiag()
 {
     if (daten) daten->release();
 }
 
-// nicht constant
+// non-constant
 void BaseDiag::setDiagDatenZ(
     DiagDaten* dd) // Setzt einen Zeiger auf die Daten des Diagramms
 {
@@ -1157,8 +1157,8 @@ bool BaseDiag::hatWertStyleNicht(int wNum, int style) const
         != daten->werte->z(wNum)->style;
 }
 
-// Inhalt der LDiag Klasse aus Diagramm.h
-// Konstruktor
+// Contents of the LDiag class from Diagramm.h
+// Constructor
 LDiag::LDiag()
     : ZeichnungHintergrund(),
       BaseDiag(&cs),
@@ -1176,7 +1176,7 @@ LDiag::LDiag()
     horizontalScrollBar = new HScrollBar();
 }
 
-// Destruktor
+// Destructor
 LDiag::~LDiag()
 {
     if (textRd) textRd->release();
@@ -1211,7 +1211,7 @@ void LDiag::doMausEreignis(MausEreignis& me, bool userRet)
     me.verarbeitet = userRet;
 }
 
-// nicht constant
+// non-constant
 void LDiag::setTextRendererZ(TextRenderer* textRd)
 {
     lockZeichnung();

+ 1 - 1
Dialog.cpp

@@ -11,7 +11,7 @@
 
 using namespace Framework;
 
-// Inhalt der MultiplChoiceDialog Klasse aus Dialog.h
+// Contents of the MultiplChoiceDialog class from Dialog.h
 MultiplChoiceDialog::MultiplChoiceDialog()
     : ReferenceCounter()
 {

+ 10 - 10
Fenster.cpp

@@ -321,8 +321,8 @@ void Framework::CalculateEnteredString(
 #    endif // WIN32
 }
 
-// Inhalt der WFenster Klasse aus Fenster.h
-// Konstruktor
+// Contents of the WFenster class from Fenster.h
+// Constructor
 WFenster::WFenster()
     : ReferenceCounter(),
       hWnd(0),
@@ -351,7 +351,7 @@ WFenster::WFenster(HWND hwnd)
     hWnd = hwnd;
 }
 
-// Destruktor
+// Destructor
 WFenster::~WFenster()
 {
     if (WFensterA.removeFenster(this))
@@ -362,7 +362,7 @@ WFenster::~WFenster()
     if (screen) screen->release();
 }
 
-// nicht constant
+// non-constant
 void WFenster::erstellen(
     int style, WNDCLASS wc) // Erstellt ein Fenster in Windows
 {
@@ -887,14 +887,14 @@ bool WFenster::istVerschiebbar()
     return verschiebbar;
 }
 
-// Inhalt der WFensterArray Klasse aus Fenster.h
-// Konstruktor
+// Contents of the WFensterArray class from Fenster.h
+// Constructor
 WFensterArray::WFensterArray()
     : next(0),
       This(0)
 {}
 
-// Destruktor
+// Destructor
 WFensterArray::~WFensterArray()
 {
     if (next) delete next;
@@ -1032,8 +1032,8 @@ void Framework::WMessageBox(HWND hWnd, Text* titel, Text* meldung, UINT style)
 }
 #endif
 
-// Inhalt der Fenster Klasse aus Fenster.h
-// Konstruktor
+// Contents of the Fenster class from Fenster.h
+// Constructor
 Fenster::Fenster()
     : Zeichnung(),
       closingMe(0),
@@ -1065,7 +1065,7 @@ Fenster::Fenster()
     min = Punkt(0, 0), max = Punkt(0, 0);
 }
 
-// Destruktor
+// Destructor
 Fenster::~Fenster()
 {
     if (rahmen) rahmen->release();

+ 3 - 3
Fortschritt.cpp

@@ -9,8 +9,8 @@
 
 using namespace Framework;
 
-// Inhalt der FBalken Klasse aus Fortschritt.h
-// Konstruktor
+// Contents of the FBalken class from Fortschritt.h
+// Constructor
 FBalken::FBalken()
     : ZeichnungHintergrund(),
       maxAk(0),
@@ -35,7 +35,7 @@ FBalken::~FBalken()
     if (textRd) textRd->release();
 }
 
-// nicht constant
+// non-constant
 void FBalken::setAktionAnzahl(__int64 ak) // setzt die anzahl der Aktionen
 {
     maxAk = ak;

+ 5 - 5
InitDatei.cpp

@@ -1,12 +1,12 @@
-#include "InitDatei.h"
+#include "InitDatei.h"
 
 #include "Datei.h"
 #include "Text.h"
 
 using namespace Framework;
 
-// Inhalt der InitDatei Klasse aus InitDatei.h
-// Konstruktor
+// Contents of the InitDatei class from InitDatei.h
+// Constructor
 InitDatei::InitDatei()
     : ReferenceCounter(),
       pfad(new Text()),
@@ -32,7 +32,7 @@ InitDatei::InitDatei(const char* pfad)
     setPfad(pfad);
 }
 
-// Destruktor
+// Destructor
 InitDatei::~InitDatei()
 {
     pfad->release();
@@ -40,7 +40,7 @@ InitDatei::~InitDatei()
     wert->release();
 }
 
-// nicht constant
+// non-constant
 void InitDatei::setPfad(Text* pfad)
 {
     this->pfad->setText(*pfad);

+ 5 - 5
KSGTDatei.cpp

@@ -1,12 +1,12 @@
-#include "KSGTDatei.h"
+#include "KSGTDatei.h"
 
 #include "Datei.h"
 #include "Text.h"
 
 using namespace Framework;
 
-// Inhalt der KSGTDatei Klasse aus KSGTDatei.h
-// Konstruktor
+// Contents of the KSGTDatei class from KSGTDatei.h
+// Constructor
 KSGTDatei::KSGTDatei()
     : ReferenceCounter(),
       pfad(new Text()),
@@ -29,14 +29,14 @@ KSGTDatei::KSGTDatei(Text* pfad)
     setPfad(pfad);
 }
 
-// Destruktor
+// Destructor
 KSGTDatei::~KSGTDatei()
 {
     pfad->release();
     data->release();
 }
 
-// nicht constant
+// non-constant
 void KSGTDatei::setPfad(const char* pfad)
 {
     this->pfad->setText(pfad);

+ 2 - 2
Kam3D.cpp

@@ -12,7 +12,7 @@
 using namespace Framework;
 
 // Inhalt der Kam3D Klasse
-// Konstruktor
+// Constructor
 Kam3D::Kam3D()
     : ReferenceCounter(),
       rend(0)
@@ -39,7 +39,7 @@ Kam3D::Kam3D()
     updateMatrix();
 }
 
-// Destruktor
+// Destructor
 Kam3D::~Kam3D()
 {
     if (welt) welt->release();

+ 8 - 8
Key.cpp

@@ -2,8 +2,8 @@
 
 using namespace Framework::Encryption;
 
-// Inhalt der Bytes Klasse aus Schluessel.h
-// Konstruktor
+// Contents of the Bytes class from Schluessel.h
+// Constructor
 Bytes::Bytes()
     : ReferenceCounter(),
       bytes(0),
@@ -27,13 +27,13 @@ Bytes::Bytes(const char* daten, int len)
     setBytes(daten);
 }
 
-// Destruktor
+// Destructor
 Bytes::~Bytes()
 {
     if (del) delete[] bytes;
 }
 
-// nicht constant
+// non-constant
 void Bytes::setBytes(const char* daten)
 {
     if (!bytes || !daten) return;
@@ -114,8 +114,8 @@ char* Bytes::getBytes() const
     return bytes;
 }
 
-// Inhalt der Schluessel Klasse aus Schluessel.h
-// Konstruktor
+// Contents of the Schluessel class from Schluessel.h
+// Constructor
 Key::Key()
     : ReferenceCounter(),
       key(0),
@@ -133,13 +133,13 @@ Key::Key(const char* s, int len)
         key[i] = s[i];
 }
 
-// Destruktor
+// Destructor
 Key::~Key()
 {
     delete[] key;
 }
 
-// nicht constant
+// non-constant
 void Key::setPos(__int64 p)
 {
     if (p < 0) p = 0;

+ 8 - 8
Knopf.cpp

@@ -15,8 +15,8 @@
 
 using namespace Framework;
 
-// Inhalt der Knopf Klasse aus Knopf.h
-// Konstruktor
+// Contents of the Knopf class from Knopf.h
+// Constructor
 Knopf::Knopf()
     : TextFeld(),
       klickFarbe(0xFF000000),
@@ -38,7 +38,7 @@ Knopf::Knopf()
     addStyle(TextFeld::Style::Center);
 }
 
-// Destruktor
+// Destructor
 Knopf::~Knopf()
 {
     if (klickBuffer) klickBuffer->release();
@@ -69,7 +69,7 @@ void Knopf::doMausEreignis(MausEreignis& me, bool userRet) // Maus Ereignis
     }
 }
 
-// nicht constant
+// non-constant
 void Knopf::setKlickFarbe(int fc) // setzt die Klick Farbe
 {
     klickFarbe = fc;
@@ -255,8 +255,8 @@ Zeichnung* Knopf::dublizieren() const // Erzeugt eine Kopie des Zeichnungs
     return obj;
 }
 
-// Inhalt der KontrollKnopf Klasse aus Knopf.h
-// Konstruktor
+// Contents of the KontrollKnopf class from Knopf.h
+// Constructor
 KontrollKnopf::KontrollKnopf()
     : ZeichnungHintergrund(),
       txt(0),
@@ -278,7 +278,7 @@ KontrollKnopf::KontrollKnopf()
     setKAFStrength(-30);
 }
 
-// Destruktor
+// Destructor
 KontrollKnopf::~KontrollKnopf()
 {
     if (txt) txt->release();
@@ -308,7 +308,7 @@ void KontrollKnopf::doMausEreignis(
     me.verarbeitet = 1;
 }
 
-// nicht constant
+// non-constant
 void KontrollKnopf::setTextZ(Text* txt) // setzt den Text
 {
     if (this->txt) this->txt->release();

+ 73 - 75
Liste.cpp

@@ -14,8 +14,8 @@
 
 using namespace Framework;
 
-// Inhalt der AuswahlListe Klasse aus Liste.h
-// Konstruktor
+// Contents of the AuswahlListe class from Liste.h
+// Constructor
 AuswahlListe::AuswahlListe()
     : ZeichnungHintergrund(),
       tfListe(0),
@@ -36,7 +36,7 @@ AuswahlListe::AuswahlListe()
     this->setTastaturEreignis(_ret1TE);
 }
 
-// Destruktor
+// Destructor
 AuswahlListe::~AuswahlListe()
 {
     if (tfListe) tfListe->release();
@@ -123,8 +123,8 @@ bool AuswahlListe::hatStyle(int styleSet, int styleCheck) const
     return (styleSet | styleCheck) == styleSet;
 }
 
-// nicht constant
-void AuswahlListe::update() // aktualisiert die Auswahl Liste
+// non-constant
+void AuswahlListe::update() // updates the selection list
 {
     int rbr = 0;
     if (rahmen)
@@ -413,15 +413,15 @@ void AuswahlListe::setAHBild(
     rend = 1;
 }
 
-void AuswahlListe::setAHFarbe(int f) // setzt einen Zeiger zur Auswahl
-                                     // Hintergrund Farbe (nur ohne MultiStyled)
+void AuswahlListe::setAHFarbe(int f) // sets the selection
+                                      // background color (only without MultiStyled)
 {
     ahFarbe = f;
     rend = 1;
 }
 
 void AuswahlListe::setAHBildZ(
-    Bild* b) // setzt einen Zeiger zum Hintergrund Bild (nur ohne MultiStyled)
+    Bild* b) // sets a pointer to the background image (only without MultiStyled)
 {
     if (ahBild) ahBild->release();
     ahBild = b;
@@ -430,7 +430,7 @@ void AuswahlListe::setAHBildZ(
 
 void AuswahlListe::setALRZ(int pos,
     Rahmen*
-        rahmen) // setzt einen Zeiger zum Auswahl Rahmen (nur mit MulitStyled)
+        rahmen) // sets a pointer to the selection border (only with MultiStyled)
 {
     if (!aRahmenListe) aRahmenListe = new RCArray<Rahmen>();
     aRahmenListe->set(rahmen, pos);
@@ -438,7 +438,7 @@ void AuswahlListe::setALRZ(int pos,
 }
 
 void AuswahlListe::setALRBreite(int pos,
-    int br) // setzt die Breite des Auswahl Rahmens (nur mit MultiStyled)
+    int br) // sets the width of the selection border (only with MultiStyled)
 {
     if (!aRahmenListe) aRahmenListe = new RCArray<Rahmen>();
     if (!aRahmenListe->z(pos)) aRahmenListe->set(new LRahmen(), pos);
@@ -447,7 +447,7 @@ void AuswahlListe::setALRBreite(int pos,
 }
 
 void AuswahlListe::setALRFarbe(int pos,
-    int fc) // setzt die Farbe des Auswahl Rahmens (nur mit MultiStyled)
+    int fc) // sets the color of the selection border (only with MultiStyled)
 {
     if (!aRahmenListe) aRahmenListe = new RCArray<Rahmen>();
     if (!aRahmenListe->z(pos)) aRahmenListe->set(new LRahmen(), pos);
@@ -457,7 +457,7 @@ void AuswahlListe::setALRFarbe(int pos,
 
 void AuswahlListe::setAAFZ(int pos,
     AlphaFeld*
-        buffer) // setzt einen Zeiger zum Auswahl AlpaFeld (nur mit MultiStyled)
+        buffer) // sets a pointer to the selection AlphaFeld (only with MultiStyled)
 {
     if (!aBufferListe) aBufferListe = new RCArray<AlphaFeld>();
     aBufferListe->set(buffer, pos);
@@ -465,8 +465,8 @@ void AuswahlListe::setAAFZ(int pos,
 }
 
 void AuswahlListe::setAAFStrength(
-    int pos, int st) // setzt die Staerke des Auswahl Hintergrund Buffers (nur
-                     // mit MultiStyled)
+    int pos, int st) // sets the strength of the selection background buffer
+                     // (only with MultiStyled)
 {
     if (!aBufferListe) aBufferListe = new RCArray<AlphaFeld>();
     if (!aBufferListe->z(pos)) aBufferListe->set(new AlphaFeld(), pos);
@@ -475,8 +475,8 @@ void AuswahlListe::setAAFStrength(
 }
 
 void AuswahlListe::setAAFFarbe(
-    int pos, int fc) // setzt die Farbe des Auswahl Hintergrund Buffers (nur mit
-                     // MultiStyled)
+    int pos, int fc) // sets the color of the selection background buffer
+                     // (only with MultiStyled)
 {
     if (!aBufferListe) aBufferListe = new RCArray<AlphaFeld>();
     if (!aBufferListe->z(pos)) aBufferListe->set(new AlphaFeld(), pos);
@@ -485,7 +485,7 @@ void AuswahlListe::setAAFFarbe(
 }
 
 void AuswahlListe::setAHBild(int pos,
-    Bild* bild) // setzt das Auswahl Hintergrund Bild (nur mit MultiStyled)
+    Bild* bild) // sets the selection background image (only with MultiStyled)
 {
     if (ahBildListe) ahBildListe = new RCArray<Bild>();
     if (!ahBildListe->z(pos)) ahBildListe->set(new Bild(), pos);
@@ -499,8 +499,8 @@ void AuswahlListe::setAHBild(int pos,
 }
 
 void AuswahlListe::setAHFarbe(
-    int pos, int f) // setzt einen Zeiger zur Auswahl Hintergrund Farbe (nur miz
-                    // MultiStyled)
+    int pos, int f) // sets the selection background color
+                    // (only with MultiStyled)
 {
     if (ahFarbeListe) ahFarbeListe = new Array<int>();
     ahFarbeListe->set(f, pos);
@@ -508,7 +508,7 @@ void AuswahlListe::setAHFarbe(
 }
 
 void AuswahlListe::setAHBildZ(int pos,
-    Bild* b) // setzt einen Zeiger zum Hintergrund Bild (nur mit MultiStyled)
+    Bild* b) // sets a pointer to the background image (only with MultiStyled)
 {
     if (ahBildListe) ahBildListe = new RCArray<Bild>();
     ahBildListe->set(b, pos);
@@ -516,7 +516,7 @@ void AuswahlListe::setAHBildZ(int pos,
 }
 
 void AuswahlListe::setMsStyle(int pos,
-    __int64 style) // setzt den Style des Eintrags (nur mit MultiStyled)
+    __int64 style) // sets the style of the entry (only with MultiStyled)
 {
     if (!styles) styles = new Array<__int64>();
     styles->set(style, pos);
@@ -602,7 +602,7 @@ void AuswahlListe::doTastaturEreignis(TastaturEreignis& te)
     release();
 }
 
-void AuswahlListe::render(Bild& zRObj) // zeichnet nach zRObj
+void AuswahlListe::render(Bild& zRObj) // draws to zRObj
 {
     if (!ZeichnungHintergrund::hatStyle(Style::Sichtbar)) return;
     removeStyle(Style::HScroll);
@@ -828,7 +828,7 @@ int AuswahlListe::getKlickEintrag(int my)
     return -1;
 }
 
-void AuswahlListe::setAuswahl(int ausw) // setzt die Auswahl
+void AuswahlListe::setAuswahl(int ausw) // sets the selection
 {
     if (hatStyleNicht(Style::MultiSelect))
         auswahl = ausw;
@@ -853,20 +853,20 @@ void AuswahlListe::deSelect()
 
 // constant
 int AuswahlListe::getEintragAnzahl()
-    const // gibt die Anzahl der Eintraege zurueck
+    const // returns the number of entries
 {
     return tfListe ? tfListe->getEintragAnzahl() : 0;
 }
 
 int AuswahlListe::getAuswahl()
-    const // gibt den ersten ausgewaehlten Eintrag zurueck
+    const // returns the first selected entry
 {
     return auswahl;
 }
 
 int AuswahlListe::getEintragPos(
-    Text* eintragText) // gibt die Position des eintrages mit dem entsprechenden
-                       // Textes zurueck
+    Text* eintragText) // returns the position of the entry with the
+                       // corresponding text
 {
     int i = 0;
     for (auto tf = tfListe->begin(); tf; tf++, i++)
@@ -881,7 +881,7 @@ int AuswahlListe::getEintragPos(
 }
 
 TextFeld* AuswahlListe::getEintrag(
-    int pos) const // gibt den pos- ten Eintrag zurueck
+    int pos) const // returns the entry at position pos
 {
     if (!tfListe) return 0;
     TextFeld* ret = (TextFeld*)tfListe->get(pos);
@@ -896,7 +896,7 @@ TextFeld* AuswahlListe::zEintrag(int pos) const
 }
 
 Rahmen* AuswahlListe::getARahmen()
-    const // gibt den Auswahl Rahmen zurueck (ohne MultiStyled)
+    const // returns the selection border (without MultiStyled)
 {
     if (aRahmen) return dynamic_cast<Rahmen*>(aRahmen->getThis());
     return 0;
@@ -908,13 +908,13 @@ Rahmen* AuswahlListe::zARahmen() const
 }
 
 int AuswahlListe::getAHFarbe()
-    const // gibt die Auswahl Hintergrund Farbe zurueck (ohne MultiStyled)
+    const // returns the selection background color (without MultiStyled)
 {
     return ahFarbe;
 }
 
 Bild* AuswahlListe::getAHBild()
-    const // gibt das Auswahl Hintergrund Bild zurueck (ohne MultiStyled)
+    const // returns the selection background image (without MultiStyled)
 {
     if (ahBild) return dynamic_cast<Bild*>(ahBild->getThis());
     return 0;
@@ -926,7 +926,7 @@ Bild* AuswahlListe::zAHBild() const
 }
 
 AlphaFeld* AuswahlListe::getABuffer()
-    const // gibt den Auswahl Buffer zurueck (ohne MultiStyled)
+    const // returns the selection buffer (without MultiStyled)
 {
     if (aBuffer) return dynamic_cast<AlphaFeld*>(aBuffer->getThis());
     return 0;
@@ -938,7 +938,7 @@ AlphaFeld* AuswahlListe::zABuffer() const
 }
 
 Rahmen* AuswahlListe::getARahmen(
-    int pos) const // gibt den Auswahl Rahmen zurueck (mit MultiStyled)
+    int pos) const // returns the selection border (with MultiStyled)
 {
     Rahmen* ret = 0;
     if (aRahmenListe) ret = (Rahmen*)aRahmenListe->get(pos);
@@ -954,14 +954,14 @@ Rahmen* AuswahlListe::zARahmen(int pos) const
 }
 
 int AuswahlListe::getAHFarbe(int pos)
-    const // gibt die Auswahl Hintergrund Farbe zurueck (mit MultiStyled)
+    const // returns the selection background color (with MultiStyled)
 {
     if (ahFarbeListe && ahFarbeListe->hat(pos)) return ahFarbeListe->get(pos);
     return 0;
 }
 
 Bild* AuswahlListe::getAHBild(
-    int pos) const // gibt das Auswahl Hintergrund Bild zurueck (mit MultiStyled)
+    int pos) const // returns the selection background image (with MultiStyled)
 {
     Bild* ret = 0;
     if (ahBildListe) ret = (Bild*)ahBildListe->get(pos);
@@ -977,7 +977,7 @@ Bild* AuswahlListe::zAHBild(int pos) const
 }
 
 AlphaFeld* AuswahlListe::getABuffer(
-    int pos) const // gibt den Auswahl Buffer zurueck (mit MultiStyled)
+    int pos) const // returns the selection buffer (with MultiStyled)
 {
     AlphaFeld* ret = 0;
     if (aBufferListe) ret = (AlphaFeld*)aBufferListe->get(pos);
@@ -993,7 +993,7 @@ AlphaFeld* AuswahlListe::zABuffer(int pos) const
 }
 
 bool AuswahlListe::hatMsStyle(
-    int pos, __int64 style) const // prueft ob style vorhanden (mit MultiStyled)
+    int pos, __int64 style) const // checks if style is present (with MultiStyled)
 {
     __int64 st = 0;
     if (styles) st = styles->get(pos);
@@ -1001,14 +1001,14 @@ bool AuswahlListe::hatMsStyle(
 }
 
 bool AuswahlListe::hatMsStyleNicht(int pos,
-    __int64 style) const // prueft obt style nicht vorhanden (mit MultiStyled)
+    __int64 style) const // checks if style is not present (with MultiStyled)
 {
     __int64 st = 0;
     if (styles) st = styles->get(pos);
     return (st | style) != st;
 }
 
-//! Konstruktor
+//! Constructor
 ZListe::ZListe()
     : ZeichnungHintergrund()
 {
@@ -1019,11 +1019,11 @@ ZListe::ZListe()
     setHintergrundFarbe(0xFF000000);
 }
 
-//! Destruktor
+//! Destructor
 ZListe::~ZListe() {}
 
-//! Verarbeitet Tastatur Nachrichten
-//! \param me Das Ereignis, was durch die Tastatureingabe ausgeloesst wurde
+//! Processes mouse messages
+//! \param me The event triggered by the mouse input
 void ZListe::doMausEreignis(MausEreignis& me, bool userRet)
 {
     if (ZeichnungHintergrund::hatStyle(Style::VScroll) && vertikalScrollBar)
@@ -1080,26 +1080,26 @@ void ZListe::doMausEreignis(MausEreignis& me, bool userRet)
         me.my -= vertikalScrollBar->getScroll();
 }
 
-//! Fuegt einen Eintrag hinzu
-//! \param entry Die Zeichnung die hinzugefuegt werden soll
+//! Adds an entry
+//! \param entry The drawing to add
 void ZListe::addEintrag(Zeichnung* entry)
 {
     rend = 1;
     list.add(entry);
 }
 
-//! AEndert einen Eintrag
-//! \param pos Der Index des Eintrags
-//! \param entry Die neue Zeichnung
+//! Changes an entry
+//! \param pos The index of the entry
+//! \param entry The new drawing
 void ZListe::setEintrag(int pos, Zeichnung* entry)
 {
     rend = 1;
     list.set(entry, pos);
 }
 
-//! Vertauscht die Positionen zweier Eintraege
-//! \param vpos Der Index des ersten Eintrags
-//! \param npos Der Index des zweiten Eintrags
+//! Swaps the positions of two entries
+//! \param vpos The index of the first entry
+//! \param npos The index of the second entry
 void ZListe::tauschEintragPos(int vPos, int nPos)
 {
     rend = 1;
@@ -1111,16 +1111,16 @@ void Framework::ZListe::setEintragPos(int vpos, int npos)
     list.setPosition(vpos, npos);
 }
 
-//! Loescht einen Eintrag
-//! pos: Der Index des Eintrags
+//! Deletes an entry
+//! pos: The index of the entry
 void ZListe::removeEintrag(int pos)
 {
     rend = 1;
     list.remove(pos);
 }
 
-//! Scrollt zu einem bestimmen Eintrag
-//! \param eintrag Der Index des Eintrags
+//! Scrolls to a specific entry
+//! \param eintrag The index of the entry
 void ZListe::setVScrollZuEintrag(int eintrag)
 {
     if (vertikalScrollBar)
@@ -1142,8 +1142,7 @@ void ZListe::setVScrollZuEintrag(int eintrag)
     }
 }
 
-//! Aktualisiert die maximale Scroll Hoehe indem die Hoehe aller Eintraege addiert
-//! wird
+//! Updates the maximum scroll height by adding the heights of all entries
 void ZListe::updateVScroll()
 {
     if (vertikalScrollBar)
@@ -1182,18 +1181,17 @@ void ZListe::setEntrySeperatorColor(int color)
     entrySeperatorColor = color;
 }
 
-//! Verarbeitet ein Tastatur Ereignis. Wird vom Framework automatisch aufgerufen
-//! \param te Das Ereignis
+//! Processes a keyboard event. Called automatically by the framework
+//! \param te The event
 void ZListe::doTastaturEreignis(TastaturEreignis& te)
 {
     for (Zeichnung* entry : list)
         entry->doTastaturEreignis(te);
 }
 
-//! Aktualisiert die zeichnung
-//! \param tickVal Die vergangene Zeit in Sekunden, die seit dem Letzten Aufruf
-//! dieser Funktion verstrichen ist \return 1, wenn sich die Zeichnung seit dem
-//! letzten aufruf veraendert hat
+//! Updates the drawing
+//! \param tickVal The elapsed time in seconds since the last call of this
+//! function \return 1 if the drawing has changed since the last call
 bool ZListe::tick(double tickVal)
 {
     bool ret = ZeichnungHintergrund::tick(tickVal);
@@ -1202,8 +1200,8 @@ bool ZListe::tick(double tickVal)
     return ret;
 }
 
-//! Zeichnet das Objekt nach zRObj, falls es sichtbar ist
-//! \param zRObj Das Bild, in welches gezeichnet werden soll
+//! Draws the object to zRObj if it is visible
+//! \param zRObj The image to draw into
 void ZListe::render(Bild& rObj)
 {
     ZeichnungHintergrund::render(rObj);
@@ -1238,9 +1236,9 @@ void ZListe::render(Bild& rObj)
     }
 }
 
-//! Gibt den Index eines Eintrags zurueck, auf den die Maus zeigt
-//! \param my Die Position der Maus auf der Y Achse basierend auf dem oberend
-//! Rand der Liste
+//! Returns the index of an entry the mouse points to
+//! \param my The position of the mouse on the Y axis relative to the top
+//! edge of the list
 int ZListe::getKlickEintrag(int my)
 {
     if (my < 0) return -1;
@@ -1259,14 +1257,14 @@ int ZListe::getKlickEintrag(int my)
     return -1;
 }
 
-//! Gibt die Anzahl an Eintraegen zurueck
+//! Returns the number of entries
 int ZListe::getEintragAnzahl() const
 {
     return list.getEintragAnzahl();
 }
 
-//! Gibt den Index eines Eintrags zurueck
-//! \param zEntry Die Zeichnung
+//! Returns the index of an entry
+//! \param zEntry The drawing
 int ZListe::getEintragPos(Zeichnung* zEntry)
 {
     int index = 0;
@@ -1278,21 +1276,21 @@ int ZListe::getEintragPos(Zeichnung* zEntry)
     return -1;
 }
 
-//! Gibt einen Eintrag zurueck
-//! \param pos Der Index des Eintrags
+//! Returns an entry
+//! \param pos The index of the entry
 Zeichnung* ZListe::getEintrag(int pos) const
 {
     return list.get(pos);
 }
 
-//! Gibt einen Eintrag ohne erhoehten reference Counter zurueck
-//! \param pos Der Index des Eintrags
+//! Returns an entry without increased reference counter
+//! \param pos The index of the entry
 Zeichnung* ZListe::zEintrag(int pos) const
 {
     return list.get(pos);
 }
 
-//! Gibt die benoetigte Hoehe zurueck
+//! Returns the needed height
 int ZListe::getNeededHeight() const
 {
     int y = (rahmen && ZeichnungHintergrund::hatStyle(TextFeld::Style::Rahmen))

+ 5 - 5
M2DVorschau.cpp

@@ -1,4 +1,4 @@
-#include "M2DVorschau.h"
+#include "M2DVorschau.h"
 
 #include "AlphaFeld.h"
 #include "Bild.h"
@@ -10,8 +10,8 @@
 
 using namespace Framework;
 
-// Inhalt der M2DVorschau Klasse aus M2DVorschau.h
-// Konstruktor
+// Contents of the M2DVorschau class from M2DVorschau.h
+// Constructor
 M2DVorschau::M2DVorschau()
     : ZeichnungHintergrund()
 {
@@ -22,7 +22,7 @@ M2DVorschau::M2DVorschau()
     ram = 0;
 }
 
-// Destruktor
+// Destructor
 M2DVorschau::~M2DVorschau()
 {
     if (mdl) mdl->release();
@@ -73,7 +73,7 @@ void M2DVorschau::doMausEreignis(MausEreignis& me, bool userRet)
     me.verarbeitet = 1;
 }
 
-// nicht constant
+// non-constant
 void M2DVorschau::setModel2DZ(Model2D* mdl)
 {
     if (this->mdl) this->mdl->release();

+ 5 - 5
M2Datei.cpp

@@ -1,4 +1,4 @@
-#include "M2Datei.h"
+#include "M2Datei.h"
 
 #include "Datei.h"
 #include "Model2D.h"
@@ -6,8 +6,8 @@
 
 using namespace Framework;
 
-// Inhalt der M2Datei Klasse aus M2Datei.h
-// Konstruktor
+// Contents of the M2Datei class from M2Datei.h
+// Constructor
 M2Datei::M2Datei()
     : ReferenceCounter()
 {
@@ -32,7 +32,7 @@ M2Datei::M2Datei(Text* pfad)
     modelPos = new Array<__int64>();
 }
 
-// Destruktor
+// Destructor
 M2Datei::~M2Datei()
 {
     pfad->release();
@@ -40,7 +40,7 @@ M2Datei::~M2Datei()
     modelPos->release();
 }
 
-// nicht constant
+// non-constant
 void M2Datei::setPfad(const char* pfad)
 {
     this->pfad->setText(pfad);

+ 4 - 4
M3Datei.cpp

@@ -7,7 +7,7 @@
 using namespace Framework;
 
 // Inhalt der M3Datei Klasse
-// Konstruktor
+// Constructor
 M3Datei::M3Datei()
     : ReferenceCounter()
 {
@@ -15,7 +15,7 @@ M3Datei::M3Datei()
     modelPos = 0;
 }
 
-// Konstruktor
+// Constructor
 //  pfad: Der Pfad zur Datei
 M3Datei::M3Datei(const char* pfad)
     : M3Datei()
@@ -23,7 +23,7 @@ M3Datei::M3Datei(const char* pfad)
     this->pfad = pfad;
 }
 
-// Konstruktor
+// Constructor
 //  pfad: Der Pfad zur Datei
 M3Datei::M3Datei(Text* pfad)
     : M3Datei(pfad->getText())
@@ -31,7 +31,7 @@ M3Datei::M3Datei(Text* pfad)
     pfad->release();
 }
 
-// Destruktor
+// Destructor
 M3Datei::~M3Datei()
 {
     if (modelName) modelName->release();

+ 4 - 4
Maus.cpp

@@ -1,18 +1,18 @@
-#include "Maus.h"
+#include "Maus.h"
 
 #include "Bild.h"
 #include "Punkt.h"
 
 using namespace Framework;
 
-// Inhalt der Maus Klasse aus Maus.h
-// Konstruktor
+// Contents of the Maus class from Maus.h
+// Constructor
 Maus::Maus()
     : ReferenceCounter(),
       hMaus(LoadCursor(0, IDC_ARROW))
 {}
 
-// nicht constant
+// non-constant
 void Maus::ladeMaus(int mausId)
 {
     if (mausId == MausId::nichts) hMaus = 0;

+ 12 - 12
Model2D.cpp

@@ -8,8 +8,8 @@
 
 using namespace Framework;
 
-// Inhalt der Model2DData Klasse aus Model2D.h
-// Konstruktor
+// Contents of the Model2DData class from Model2D.h
+// Constructor
 Model2DData::Model2DData()
     : ReferenceCounter(),
       polygons(0),
@@ -18,7 +18,7 @@ Model2DData::Model2DData()
       maxP(0, 0)
 {}
 
-// Destruktor
+// Destructor
 Model2DData::~Model2DData()
 {
     if (polygons)
@@ -137,7 +137,7 @@ bool Model2DData::istLinieInnen(Vertex a, Vertex b, int polygonId) const
     return 0;
 }
 
-// nicht constant
+// non-constant
 bool Model2DData::erstelleModell(Array<Polygon2D>* polygons)
 {
     removeModell();
@@ -698,8 +698,8 @@ float Model2DData::getMasse() const
     return m;
 }
 
-// Inhalt der Model2D Klasse aus Model2D.h
-// Konstruktor
+// Contents of the Model2D class from Model2D.h
+// Constructor
 Model2DObject::Model2DObject()
     : Object2D()
 {
@@ -707,14 +707,14 @@ Model2DObject::Model2DObject()
     textur = new RCArray<Textur2D>();
 }
 
-// Destruktor
+// Destructor
 Model2DObject::~Model2DObject()
 {
     if (rData) rData->release();
     textur->release();
 }
 
-// nicht constant
+// non-constant
 void Model2DObject::setModel(Model2DData* mdl)
 {
     if (rData) rData->release();
@@ -1065,8 +1065,8 @@ Model2DData* Model2DObject::zModel() const
     return rData;
 }
 
-// Inhalt der Model2D Klasse aus Model2D.h
-// Konstruktor
+// Contents of the Model2D class from Model2D.h
+// Constructor
 Model2D::Model2D()
     : Zeichnung()
 {
@@ -1078,14 +1078,14 @@ Model2D::Model2D()
     textur = new RCArray<Textur2D>;
 }
 
-// Destruktor
+// Destructor
 Model2D::~Model2D()
 {
     if (rData) rData->release();
     textur->release();
 }
 
-// nicht constant
+// non-constant
 void Model2D::setModel(Model2DData* mdl)
 {
     if (rData) rData->release();

+ 8 - 8
Model3D.cpp

@@ -293,14 +293,14 @@ int Framework::Skeleton::getNextBoneId() const
 
 // Inhalt des Polygon3D Struct
 
-// Konstruktor
+// Constructor
 Polygon3D::Polygon3D()
 {
     indexAnz = 0;
     indexList = 0;
 }
 
-// Destruktor
+// Destructor
 Polygon3D::~Polygon3D()
 {
     delete[] indexList;
@@ -308,7 +308,7 @@ Polygon3D::~Polygon3D()
 
 // Inhalt der Model3DData Klasse
 
-// Konstruktor
+// Constructor
 Model3DData::Model3DData(
     DXBuffer* dxVertexBuffer, DXBuffer* dxIndexBuffer, int id)
     : ReferenceCounter(),
@@ -328,7 +328,7 @@ Model3DData::Model3DData(
     radius = 0;
 }
 
-// Destruktor
+// Destructor
 Model3DData::~Model3DData()
 {
     clearModel();
@@ -677,7 +677,7 @@ Vec3<float> Model3DData::getMaxPos() const
 
 // Inhalt der Model3DTextur
 
-// Konstruktor
+// Constructor
 Model3DTextur::Model3DTextur()
     : ReferenceCounter()
 {
@@ -686,7 +686,7 @@ Model3DTextur::Model3DTextur()
     textureCount = 1;
 }
 
-// Destruktor
+// Destructor
 Model3DTextur::~Model3DTextur()
 {
     for (int i = 0; i < textureCount; i++)
@@ -726,7 +726,7 @@ Textur* Model3DTextur::zPolygonTextur(int i) const
 }
 
 // Inhalt der Model3D Klasse
-// Konstruktor
+// Constructor
 Model3D::Model3D()
     : Zeichnung3D()
 {
@@ -738,7 +738,7 @@ Model3D::Model3D()
     specularFactor = 0.f;
 }
 
-// Destruktor
+// Destructor
 Model3D::~Model3D()
 {
     if (model) model->release();

+ 2 - 2
Model3DList.cpp

@@ -9,7 +9,7 @@ const char* Standart3DTypes::cube = "f_würfel";
 const char* Standart3DTypes::texturModel = "f_texturModel";
 
 // Inhalt der Model3DList Klasse
-// Konstruktor
+// Constructor
 Model3DList::Model3DList()
     : ReferenceCounter()
 {
@@ -17,7 +17,7 @@ Model3DList::Model3DList()
     names = new RCArray<Text>();
 }
 
-// Destruktor
+// Destructor
 Model3DList::~Model3DList()
 {
     models->release();

+ 3 - 3
Prozess.cpp

@@ -10,8 +10,8 @@
 
 using namespace Framework;
 
-// Inhalt der Prozess Klasse aus Prozess.h
-// Konstruktor
+// Contents of the Prozess class from Prozess.h
+// Constructor
 Prozess::Prozess()
     : ReferenceCounter()
 {
@@ -32,7 +32,7 @@ Prozess::Prozess()
 #endif
 }
 
-// nicht constant
+// non-constant
 #ifdef WIN32
 void Prozess::setProcess(void* pHandle)
 {

+ 10 - 10
Rahmen.cpp

@@ -8,8 +8,8 @@
 
 using namespace Framework;
 
-// Inhalt der Rahmen Klasse aus Rahmen.h
-// Konstruktor
+// Contents of the Rahmen class from Rahmen.h
+// Constructor
 Rahmen::Rahmen()
     : Zeichnung(),
       br(1),
@@ -18,10 +18,10 @@ Rahmen::Rahmen()
       breaks(0)
 {}
 
-// Destruktor
+// Destructor
 Rahmen::~Rahmen() {}
 
-// nicht constant
+// non-constant
 void Rahmen::setRamenBreite(int br) // setzt die Breite des Rahmens
 {
     this->br = br;
@@ -92,13 +92,13 @@ int Rahmen::getLineLength() const
     return lineLength;
 }
 
-// Inhalt der LRahmen Klasse aus Rahmen.h
-// Konstruktor
+// Contents of the LRahmen class from Rahmen.h
+// Constructor
 LRahmen::LRahmen()
     : Rahmen()
 {}
 
-// Destruktor
+// Destructor
 LRahmen::~LRahmen() {}
 
 void LRahmen::render(Bild& Obj) // Zeichnet den Rahmen in das RenderZeichnung
@@ -229,8 +229,8 @@ Zeichnung* LRahmen::dublizieren() const // Kopiert das Zeichnung
     return obj;
 }
 
-// Inhalt der Rahmen3D Klasse aus Rahmen.h
-// Konstruktor
+// Contents of the Rahmen3D class from Rahmen.h
+// Constructor
 Rahmen3D::Rahmen3D()
     : Rahmen()
 {
@@ -239,7 +239,7 @@ Rahmen3D::Rahmen3D()
     br = 5;
 }
 
-// Destruktor
+// Destructor
 Rahmen3D::~Rahmen3D() {}
 
 void Rahmen3D::render(Bild& Obj) // Zeichnet den Rahmen in das RenderZeichnung

+ 2 - 2
Random.cpp

@@ -1,4 +1,4 @@
-#include "Random.h"
+#include "Random.h"
 
 #include <iostream>
 
@@ -50,7 +50,7 @@ RandomGenerator::RandomGenerator()
     srand((int)time(0));
 }
 
-// Destruktor
+// Destructor
 RandomGenerator::~RandomGenerator() {}
 
 void RandomGenerator::srand(int seed)

+ 4 - 4
RenderThread.cpp

@@ -8,8 +8,8 @@
 
 using namespace Framework;
 
-// Inhalt der RenderTh Klasse aus RenderThread.h
-// Konstruktor
+// Contents of the RenderTh class from RenderThread.h
+// Constructor
 RenderTh::RenderTh()
     : Thread(),
       stoppen(0),
@@ -25,7 +25,7 @@ RenderTh::RenderTh()
       quiet(0)
 {}
 
-// Destruktor
+// Destructor
 RenderTh::~RenderTh()
 {
     beenden();
@@ -33,7 +33,7 @@ RenderTh::~RenderTh()
     zeit->release();
 }
 
-// nicht constant
+// non-constant
 void RenderTh::lock()
 {
     cs.lock();

+ 121 - 136
Schrift.cpp

@@ -11,8 +11,8 @@
 
 using namespace Framework;
 
-// Inhalt der Buchstabe Klasse aus Schrift.h
-// Konstruktor
+// Contents of the Buchstabe class from Schrift.h
+// Constructor
 Buchstabe::Buchstabe()
     : ReferenceCounter(),
       size(0, 0),
@@ -20,14 +20,14 @@ Buchstabe::Buchstabe()
       schriftSize(0)
 {}
 
-// Destruktor
+// Destructor
 Buchstabe::~Buchstabe()
 {
     if (alpha) delete[] alpha;
 }
 
-// nicht constant
-void Buchstabe::NeuBuchstabe(Punkt& size) // Initialisierung
+// non-constant
+void Buchstabe::NeuBuchstabe(Punkt& size) // Initialization
 {
     this->size = size;
     if (alpha) delete[] alpha;
@@ -36,7 +36,7 @@ void Buchstabe::NeuBuchstabe(Punkt& size) // Initialisierung
 }
 
 void Buchstabe::setPixel(
-    Punkt& pos, unsigned char alpha) // setzt den alphawert des Pixels
+    Punkt& pos, unsigned char alpha) // sets the alpha value of the pixel
 {
     this->alpha[pos.x + pos.y * size.x] = alpha;
 }
@@ -51,7 +51,7 @@ void Buchstabe::setPixel(int i, unsigned char alpha)
     this->alpha[i] = alpha;
 }
 
-void Buchstabe::setSchriftSize(int sg) // setzt die Schriftgroesse des Buchstaben
+void Buchstabe::setSchriftSize(int sg) // sets the font size of the character
 {
     schriftSize = sg;
 }
@@ -62,28 +62,28 @@ int Buchstabe::getSchriftSize() const
 }
 
 // constant
-const Punkt& Buchstabe::getSize() const // gibt die Buchstabenbildgroesse zurueck
+const Punkt& Buchstabe::getSize() const // returns the character image size
 {
     return size;
 }
 
-int Buchstabe::getBreite() const // Buchstabenbreite
+int Buchstabe::getBreite() const // character width
 {
     return size.x;
 }
 
-int Buchstabe::getHeight() const // Buchstabenhoehe
+int Buchstabe::getHeight() const // character height
 {
     return size.y;
 }
 
-unsigned char* Buchstabe::getBuff() const // gibt den Alphabuffer zurueck
+unsigned char* Buchstabe::getBuff() const // returns the alpha buffer
 {
     return alpha;
 }
 
-// Inhalt der Alphabet Klasse aus Schrift.h
-// Konstruktor
+// Contents of the Alphabet class from Schrift.h
+// Constructor
 Alphabet::Alphabet()
     : ReferenceCounter(),
       zeichen(new Buchstabe*[256]),
@@ -93,7 +93,7 @@ Alphabet::Alphabet()
         zeichen[i] = 0;
 }
 
-// Destruktor
+// Destructor
 Alphabet::~Alphabet()
 {
     for (int i = 0; i < 256; ++i)
@@ -103,8 +103,8 @@ Alphabet::~Alphabet()
     delete[] zeichen;
 }
 
-// nicht constant
-void Alphabet::NeuAlphabet() // Initialisierung
+// non-constant
+void Alphabet::NeuAlphabet() // Initialization
 {
     for (int i = 0; i < 256; ++i)
     {
@@ -115,7 +115,7 @@ void Alphabet::NeuAlphabet() // Initialisierung
 }
 
 void Alphabet::setBuchstabe(
-    unsigned char i, Buchstabe* buchstabe) // setzt einen Buchstaben
+    unsigned char i, Buchstabe* buchstabe) // sets a character
 {
     if (zeichen[i]) zeichen[i]->release();
     zeichen[i] = buchstabe;
@@ -125,7 +125,7 @@ void Alphabet::setBuchstabe(
     }
 }
 
-void Alphabet::setSchriftSize(int gr) // setzt die Schriftgroesse
+void Alphabet::setSchriftSize(int gr) // sets the font size
 {
     schriftSize = gr;
     for (int i = 0; i < 256; ++i)
@@ -136,7 +136,7 @@ void Alphabet::setSchriftSize(int gr) // setzt die Schriftgroesse
 
 // constant
 Buchstabe* Alphabet::getBuchstabe(
-    unsigned char i) const // gibt einen Buchstaben zurueck
+    unsigned char i) const // returns a character
 {
     if (zeichen[i]) return dynamic_cast<Buchstabe*>(zeichen[i]->getThis());
     return 0;
@@ -152,20 +152,20 @@ bool Alphabet::hatBuchstabe(unsigned char b) const
     return zeichen[b] != 0;
 }
 
-int Alphabet::getSchriftSize() const // gibt die Schriftgroesse zurueck
+int Alphabet::getSchriftSize() const // returns the font size
 {
     return schriftSize;
 }
 
-// Inhalt der AlphabetArray Klasse aus Schrift.h
-// Konstruktor
+// Contents of the AlphabetArray class from Schrift.h
+// Constructor
 AlphabetArray::AlphabetArray()
 {
     memset(alphabets, 0, sizeof(Alphabet*) * 256);
 }
 
-// nicht constant
-bool AlphabetArray::addAlphabet(Alphabet* alphabet) // Fuegt ein Alphabet hinzu
+// non-constant
+bool AlphabetArray::addAlphabet(Alphabet* alphabet) // Adds an alphabet
 {
     if (alphabets[alphabet->getSchriftSize()] != 0)
     {
@@ -176,7 +176,7 @@ bool AlphabetArray::addAlphabet(Alphabet* alphabet) // Fuegt ein Alphabet hinzu
     return 1;
 }
 
-bool AlphabetArray::removeAlphabet(unsigned char sg) // entfernt ein Alphabet
+bool AlphabetArray::removeAlphabet(unsigned char sg) // removes an alphabet
 {
     if (alphabets[sg])
     {
@@ -189,34 +189,34 @@ bool AlphabetArray::removeAlphabet(unsigned char sg) // entfernt ein Alphabet
 
 // constant
 Alphabet* AlphabetArray::getAlphabet(
-    unsigned char sg) const // gibt getThis von einem Alphabet zurueck
+    unsigned char sg) const // returns getThis of an alphabet
 {
     if (alphabets[sg]) return dynamic_cast<Alphabet*>(alphabets[sg]->getThis());
     return 0;
 }
 
 Alphabet* AlphabetArray::zAlphabet(
-    unsigned char sg) const // gibt ein Alphabet zurueck
+    unsigned char sg) const // returns an alphabet
 {
     return alphabets[sg];
 }
 
-// Inhalt der Schrift Klasse aus Schrift.h
-// Konstruktor
+// Contents of the Schrift class from Schrift.h
+// Constructor
 Schrift::Schrift()
     : ReferenceCounter(),
       alphabetAnzahl(0),
       alphabet(new AlphabetArray())
 {}
 
-// Destruktor
+// Destructor
 Schrift::~Schrift()
 {
     delete alphabet;
 }
 
 bool Schrift::addAlphabet(
-    Alphabet* alphabet) // Fuegt der Schrift ein Alphabet hinzu
+    Alphabet* alphabet) // Adds an alphabet to the font
 {
     if (this->alphabet->addAlphabet(alphabet))
     {
@@ -226,7 +226,7 @@ bool Schrift::addAlphabet(
     return false;
 }
 
-void Schrift::removeAlphabet(unsigned char sg) // Entfernt ein Alphabet
+void Schrift::removeAlphabet(unsigned char sg) // Removes an alphabet
 {
     if (alphabet->removeAlphabet(sg)) --alphabetAnzahl;
 }
@@ -277,7 +277,7 @@ Alphabet* Schrift::zAlphabet(unsigned char sg) const
 }
 
 unsigned char Schrift::getAlphabetAnzahl()
-    const // gibt die anzahl von in der Schrift enthaltenen Alphabeten zurueck
+    const // returns the number of alphabets contained in the font
 {
     return alphabetAnzahl;
 }
@@ -351,9 +351,9 @@ Schrift* TextRenderer::zSchrift()
     return s;
 }
 
-// Setzt die Schriftgroesse, in der gezeichnet werden soll. Die Schrift waehlt
-// automatisch das passende Alphabet zum Zeichnen
-//  sg: Die Schriftgroesse
+// Sets the font size to draw with. The font automatically selects the
+// appropriate alphabet for drawing
+//  sg: The font size
 void TextRenderer::setSchriftSize(int sg)
 {
     if (schriftSize != sg)
@@ -388,26 +388,23 @@ void TextRenderer::setSchriftSize(int sg)
     }
 }
 
-// Setzt den Zeilenabstand, der zum zeichnen verwendet werden soll
-//  za: Der Zeilenabstand zum unteren Ende der darueber liegenden zeile in Pixeln
+// Sets the line spacing to use for drawing
+//  za: The line spacing to the bottom of the line above in pixels
 void TextRenderer::setZeilenAbstand(int za)
 {
     zeilenAbstand = za;
 }
 
-// Setzt den Zeichenabstand, der zum zeichnen verwendet werden soll
-//  za: Der Zeichenabstand zum unteren Ende der darueber liegenden zeile in
-//  Pixeln
+// Sets the character spacing to use for drawing
+//  za: The character spacing in pixels
 void TextRenderer::setZeichenAbstand(int za)
 {
     zeichenAbstand = za;
 }
 
-// Fuegt Zeilenumbrueche in den Text ein, so dass er bei einer vorgegebenen Breite
-// follstaendig angezeigt wird
-//  zText: Der text, in den die Zeilenumbrueche eingefuegt werden sollen
-//  maxBreite: Die Breite in Pixeln auf der der Text follstaendig angezeigt
-//  werden soll
+// Inserts line breaks into the text so it is fully displayed at a given width
+//  zText: The text to insert line breaks into
+//  maxBreite: The width in pixels at which the text should be fully displayed
 void TextRenderer::textFormatieren(Text* zTxt, int maxBreite)
 {
     int lastPos = -1;
@@ -447,19 +444,18 @@ void TextRenderer::textFormatieren(Text* zTxt, int maxBreite)
     zTxt->setText(result);
 }
 
-// Zeichnet einen Bestimmten Text mit Cursor und einfaerbung auf ein Bild
-// Nutze (setPosition) und (setDrawSchriftGroesse) um die Position und die Groesse
-// zu veraendern
-//  x: x position des ersten zeichens
-//  y: y position des ersten zeichens
-//  txt: Der Text, der gezeichnet werden soll
-//  zRObj: Das Bild, auf das gezeichnet werden soll
-//  cpos: Die position des Cursors im Text
-//  cf: Die Farbe des Cursors
-//  fbeg: Die Position des Zeichens im Text, wo die Einfaerbung beginnen soll.
-//  Der Text wird von dort bis zur Cursorposition eingefaerbt ff: Die Hintergrund
-//  Farbe des eingefaerbten Textes f: Eine Funktion die fuer jeden Buchstaben
-//  aufgerufen wird und seine Farbe zurueckgibt
+// Draws a specific text with cursor and coloring onto an image
+// Use (setPosition) and (setDrawSchriftGroesse) to change position and size
+//  x: x position of the first character
+//  y: y position of the first character
+//  txt: The text to draw
+//  zRObj: The image to draw on
+//  cpos: The position of the cursor in the text
+//  cf: The color of the cursor
+//  fbeg: The position of the character in the text where coloring should begin.
+//  The text is colored from there to the cursor position
+//  ff: The background color of the colored text
+//  f: A function called for each character that returns its color
 void TextRenderer::renderText(int x,
     int y,
     const char* txt,
@@ -517,19 +513,18 @@ void TextRenderer::renderText(int x,
     if (textLength(txt) == cpos) zRObj.drawLinieVAlpha(x, y, zh, cf);
 }
 
-// Zeichnet einen Bestimmten Text mit Cursor und einfaerbung auf ein Bild
-// Nutze (setPosition) und (setDrawSchriftGroesse) um die Position und die Groesse
-// zu veraendern
-//  x: x position des ersten zeichens
-//  y: y position des ersten zeichens
-//  txt: Der Text, der gezeichnet werden soll
-//  zRObj: Das Bild, auf das gezeichnet werden soll
-//  cpos: Die position des Cursors im Text
-//  cf: Die Farbe des Cursors
-//  fbeg: Die Position des Zeichens im Text, wo die Einfaerbung beginnen soll.
-//  Der Text wird von dort bis zur Cursorposition eingefaerbt ff: Die Hintergrund
-//  Farbe des eingefaerbten Textes f: Die Farbe, in der der Text gezeichnet
-//  werden soll
+// Draws a specific text with cursor and coloring onto an image
+// Use (setPosition) and (setDrawSchriftGroesse) to change position and size
+//  x: x position of the first character
+//  y: y position of the first character
+//  txt: The text to draw
+//  zRObj: The image to draw on
+//  cpos: The position of the cursor in the text
+//  cf: The color of the cursor
+//  fbeg: The position of the character in the text where coloring should begin.
+//  The text is colored from there to the cursor position
+//  ff: The background color of the colored text
+//  f: The color in which the text should be drawn
 void TextRenderer::renderText(int x,
     int y,
     const char* txt,
@@ -552,17 +547,16 @@ void TextRenderer::renderText(int x,
         ff);
 }
 
-// Zeichnet einen Bestimmten Buchstaben mit einfaerbung auf ein Bild
-// Nutze (setPosition) und (setDrawSchriftGroesse) um die Position und die Groesse
-// zu veraendern
-//  x: x position des ersten zeichens
-//  y: y position des ersten zeichens
-//  txt: Der Text, der gezeichnet werden soll
-//  zRObj: Das Bild, auf das gezeichnet werden soll
-//  color: Die Farbe, in der der Text gezeichnet werden soll
-//  underlined: 1, falls der Text unterstrichen sein soll
-//  selected: 1, falls das zeichen eingefaerbt sein soll
-//  selectedBackgroundColor: Die Hintergrund Farbe des eingefaerbten Textes
+// Draws a specific character with coloring onto an image
+// Use (setPosition) and (setDrawSchriftGroesse) to change position and size
+//  x: x position of the first character
+//  y: y position of the first character
+//  txt: The text to draw
+//  zRObj: The image to draw on
+//  color: The color in which the text should be drawn
+//  underlined: 1 if the text should be underlined
+//  selected: 1 if the character should be colored
+//  selectedBackgroundColor: The background color of the colored text
 void TextRenderer::renderChar(int& x,
     int y,
     char c,
@@ -683,21 +677,20 @@ void TextRenderer::renderChar(int& x,
     }
 }
 
-// Gibt die Schriftgroesse zurueck, die zum Zeichnen verwendet wird
+// Returns the font size used for drawing
 int TextRenderer::getSchriftSize() const
 {
     return schriftSize;
 }
 
-// Gibt den Abstand in Pixeln zum zwischen zwei zeichen auf der x Achse zurueck
+// Returns the character spacing in pixels on the x axis
 int TextRenderer::getZeichenAbstand() const
 {
     return zeichenAbstand;
 }
 
-// Ermittelt, wie viele Pixel benoetigt werden, um einen Bestimmten Text
-// vollstaendig darzustellen
-//  txt: Der Text, von dem die Breite in Pixeln ermitelt werden soll
+// Determines how many pixels are needed to fully display a specific text
+//  txt: The text whose width in pixels should be determined
 int TextRenderer::getTextBreite(const char* txt) const
 {
     int ret = 0;
@@ -717,18 +710,16 @@ int TextRenderer::getTextBreite(const char* txt) const
     return ret;
 }
 
-// Ermittelt, wie viele Pixel benoetigt werden, um einen Bestimmten Text
-// vollstaendig darzustellen
-//  txt: Der Text, von dem die Hoehe in Pixeln ermitelt werden soll
+// Determines how many pixels are needed to fully display a specific text
+//  txt: The text whose height in pixels should be determined
 int TextRenderer::getTextHeight(const char* txt) const
 {
     int hi = getZeilenHeight();
     return hi + ((hi + zeilenAbstand) * Text(txt).anzahlVon('\n'));
 }
 
-// Ermittelt, wie viele Pixel benoetigt werden, um einen Bestimmten Buchstaben
-// vollstaendig darzustellen
-//  c: Der Buchstabe, von dem die Breite in Pixeln ermitelt werden soll
+// Determines how many pixels are needed to fully display a specific character
+//  c: The character whose width in pixels should be determined
 int TextRenderer::getCharWidth(const char c) const
 {
     if (c == '\t')
@@ -749,22 +740,20 @@ int Framework::TextRenderer::getMaxCharWidth() const
     return result;
 }
 
-// Ermittelt, wie viele Pixel benoetigt werden, um einen Bestimmten Text
-// vollstaendig darzustellen
-//  c: Der Buchstabe, von dem die Hoehe in Pixeln ermitelt werden soll
+// Determines how many pixels are needed to fully display a specific character
+//  c: The character whose height in pixels should be determined
 int TextRenderer::getCharHeight(const char c) const
 {
     return charHeights[(unsigned char)c];
 }
 
-// Gibt den Abstand in Pixeln zum unteren Ende der darueber ligenden Zeile zurueck
+// Returns the line spacing in pixels to the bottom of the line above
 int TextRenderer::getZeilenAbstand() const
 {
     return zeilenAbstand;
 }
 
-// Gibt die skallierte Hoehe zurueck, die eine gezeichnete Zeile in Pixeln
-// benoetigt
+// Returns the scaled height needed by a drawn line in pixels
 int TextRenderer::getZeilenHeight() const
 {
     int zh = 0;
@@ -775,11 +764,12 @@ int TextRenderer::getZeilenHeight() const
     return zh;
 }
 
-// Ermittelt das Zeichen im Text, auf das die Maus zeigt
-//  txt: Der Text, auf den die Maus Zeigt
-//  mausX: Die X Position der Maus in Pixeln Relativ zur Position des ersten
-//  Zeichens mausY: Die Y Position der Maus in Pixeln Relativ zur Position des
-//  ersten Zeichens
+// Determines the character in the text that the mouse points to
+//  txt: The text the mouse points to
+//  mausX: The X position of the mouse in pixels relative to the position of
+//  the first character
+//  mausY: The Y position of the mouse in pixels relative to the position of
+//  the first character
 int TextRenderer::textPos(const char* txt, int mausX, int mausY) const
 {
     int tx = 0;
@@ -824,17 +814,16 @@ GravurTextRenderer::GravurTextRenderer(Schrift* schrift)
 
 GravurTextRenderer::~GravurTextRenderer() {}
 
-// Zeichnet einen Bestimmten Buchstaben mit einfaerbung auf ein Bild
-// Nutze (setPosition) und (setDrawSchriftGroesse) um die Position und die Groesse
-// zu veraendern
-//  x: x position des ersten zeichens
-//  y: y position des ersten zeichens
-//  txt: Der Text, der gezeichnet werden soll
-//  zRObj: Das Bild, auf das gezeichnet werden soll
-//  color: Die Farbe, in der der Text gezeichnet werden soll
-//  underlined: 1, falls der Text unterstrichen sein soll
-//  selected: 1, falls das zeichen eingefaerbt sein soll
-//  selectedBackgroundColor: Die Hintergrund Farbe des eingefaerbten Textes
+// Draws a specific character with coloring onto an image
+// Use (setPosition) and (setDrawSchriftGroesse) to change position and size
+//  x: x position of the first character
+//  y: y position of the first character
+//  txt: The text to draw
+//  zRObj: The image to draw on
+//  color: The color in which the text should be drawn
+//  underlined: 1 if the text should be underlined
+//  selected: 1 if the character should be colored
+//  selectedBackgroundColor: The background color of the colored text
 void GravurTextRenderer::renderChar(int& x,
     int y,
     char c,
@@ -989,9 +978,8 @@ void GravurTextRenderer::renderChar(int& x,
     }
 }
 
-// Ermittelt, wie viele Pixel benoetigt werden, um einen Bestimmten Buchstaben
-// vollstaendig darzustellen
-//  c: Der Buchstabe, von dem die Breite in Pixeln ermitelt werden soll
+// Determines how many pixels are needed to fully display a specific character
+//  c: The character whose width in pixels should be determined
 int GravurTextRenderer::getCharWidth(const char c) const
 {
     if (c == '\t')
@@ -1002,9 +990,8 @@ int GravurTextRenderer::getCharWidth(const char c) const
         return TextRenderer::getCharWidth(c) * 2;
 }
 
-// Ermittelt, wie viele Pixel benoetigt werden, um einen Bestimmten Text
-// vollstaendig darzustellen
-//  c: Der Buchstabe, von dem die Hoehe in Pixeln ermitelt werden soll
+// Determines how many pixels are needed to fully display a specific character
+//  c: The character whose height in pixels should be determined
 int GravurTextRenderer::getCharHeight(const char c) const
 {
     return TextRenderer::getCharHeight(c) * 2;
@@ -1020,17 +1007,16 @@ KursivTextRenderer::KursivTextRenderer(Schrift* schrift)
 
 KursivTextRenderer::~KursivTextRenderer() {}
 
-// Zeichnet einen Bestimmten Buchstaben mit einfaerbung auf ein Bild
-// Nutze (setPosition) und (setDrawSchriftGroesse) um die Position und die Groesse
-// zu veraendern
-//  x: x position des ersten zeichens
-//  y: y position des ersten zeichens
-//  txt: Der Text, der gezeichnet werden soll
-//  zRObj: Das Bild, auf das gezeichnet werden soll
-//  color: Die Farbe, in der der Text gezeichnet werden soll
-//  underlined: 1, falls der Text unterstrichen sein soll
-//  selected: 1, falls das zeichen eingefaerbt sein soll
-//  selectedBackgroundColor: Die Hintergrund Farbe des eingefaerbten Textes
+// Draws a specific character with coloring onto an image
+// Use (setPosition) and (setDrawSchriftGroesse) to change position and size
+//  x: x position of the first character
+//  y: y position of the first character
+//  txt: The text to draw
+//  zRObj: The image to draw on
+//  color: The color in which the text should be drawn
+//  underlined: 1 if the text should be underlined
+//  selected: 1 if the character should be colored
+//  selectedBackgroundColor: The background color of the colored text
 void KursivTextRenderer::renderChar(int& x,
     int y,
     char c,
@@ -1167,9 +1153,8 @@ void KursivTextRenderer::renderChar(int& x,
     }
 }
 
-// Ermittelt, wie viele Pixel benoetigt werden, um einen Bestimmten Buchstaben
-// vollstaendig darzustellen
-//  c: Der Buchstabe, von dem die Breite in Pixeln ermitelt werden soll
+// Determines how many pixels are needed to fully display a specific character
+//  c: The character whose width in pixels should be determined
 int KursivTextRenderer::getCharWidth(const char c) const
 {
     if (c == '\t')

+ 10 - 10
Scroll.cpp

@@ -1,12 +1,12 @@
-#include "Scroll.h"
+#include "Scroll.h"
 
 #include "Bild.h"
 #include "MausEreignis.h"
 
 using namespace Framework;
 
-// Inhalt der VScrollBar Klasse aus Scroll.h
-// Konstruktor
+// Contents of the VScrollBar class from Scroll.h
+// Constructor
 ScrollBar::ScrollBar()
     : ReferenceCounter(),
       data(new ScrollData()),
@@ -21,13 +21,13 @@ ScrollBar::ScrollBar()
       rend(0)
 {}
 
-// Destruktor
+// Destructor
 ScrollBar::~ScrollBar()
 {
     delete data;
 }
 
-// nicht constant
+// non-constant
 void ScrollBar::setFarbe(int fc)
 {
     farbe = fc;
@@ -132,7 +132,7 @@ VScrollBar::VScrollBar()
     : ScrollBar()
 {}
 
-// Destruktor
+// Destructor
 VScrollBar::~VScrollBar() {}
 
 bool VScrollBar::doMausMessage(int x, int y, int br, int hi, MausEreignis& me)
@@ -225,16 +225,16 @@ void VScrollBar::render(int x, int y, int br, int hi, Bild& zRObj) const
     zRObj.fillRegion(x + 1, y + br + st, br - 1, end, farbe);
 }
 
-// Inhalt der HScrollBar Klasse aus Scroll.h
-// Konstruktor
+// Contents of the HScrollBar class from Scroll.h
+// Constructor
 HScrollBar::HScrollBar()
     : ScrollBar()
 {}
 
-// Destruktor
+// Destructor
 HScrollBar::~HScrollBar() {}
 
-// nicht constant
+// non-constant
 bool HScrollBar::doMausMessage(int x, int y, int br, int hi, MausEreignis& me)
 {
     if (me.id == ME_Leaves)

+ 6 - 6
Shader.cpp

@@ -12,7 +12,7 @@ using namespace Framework;
 
 // Inhalt der Shader Klasse
 
-// Konstruktor
+// Constructor
 Shader::Shader()
     : ReferenceCounter()
 {
@@ -20,7 +20,7 @@ Shader::Shader()
     constBuffers = new RCArray<DXBuffer>();
 }
 
-// Destruktor
+// Destructor
 Shader::~Shader()
 {
     constBuffers->release();
@@ -112,7 +112,7 @@ bool DX11Shader::erstelleConstBuffer(int groesse, int index)
 
 // Inhalt der PixelShader Klasse
 
-// Konstruktor
+// Constructor
 DX11PixelShader::DX11PixelShader(
     ID3D11Device* device, ID3D11DeviceContext* context)
     : DX11Shader(device, context)
@@ -120,7 +120,7 @@ DX11PixelShader::DX11PixelShader(
     pixelShader = 0;
 }
 
-// Destruktor
+// Destructor
 DX11PixelShader::~DX11PixelShader()
 {
     if (pixelShader) pixelShader->Release();
@@ -154,7 +154,7 @@ void DX11PixelShader::benutzeShader()
 
 // Inhalt der VertexShader Klasse
 
-// Konstruktor
+// Constructor
 DX11VertexShader::DX11VertexShader(
     ID3D11Device* device, ID3D11DeviceContext* context)
     : DX11Shader(device, context)
@@ -165,7 +165,7 @@ DX11VertexShader::DX11VertexShader(
     byteBufferSize = 0;
 }
 
-// Destruktor
+// Destructor
 DX11VertexShader::~DX11VertexShader()
 {
     if (vertexShader) vertexShader->Release();

+ 71 - 73
Tabelle.cpp

@@ -11,8 +11,8 @@
 
 using namespace Framework;
 
-// Inhalt der ObjTabelle Klasse aus Tabelle.h
-// Konstruktor
+// Contents of the ObjTabelle class from Tabelle.h
+// Constructor
 ObjTabelle::ObjTabelle()
     : ZeichnungHintergrund(),
       members(new RCArray<RCArray<Zeichnung>>()),
@@ -45,7 +45,7 @@ ObjTabelle::ObjTabelle()
           | Style::MEIgnoreSichtbar | Style::MEIgnoreVerarbeitet;
 }
 
-// Destruktor
+// Destructor
 ObjTabelle::~ObjTabelle()
 {
     if (members) members->release();
@@ -65,7 +65,7 @@ ObjTabelle::~ObjTabelle()
 }
 
 void ObjTabelle::doMausEreignis(
-    MausEreignis& me, bool userRet) // verarbeitet Nachrichten
+    MausEreignis& me, bool userRet) // processes mouse events
 {
     if (!hatStyle(Style::Sichtbar) || !me.insideParent || me.verarbeitet
         || me.mx < 0 || me.my < 0 || me.mx >= gr.x || me.my >= gr.y || !userRet)
@@ -271,8 +271,8 @@ void ObjTabelle::doMausEreignis(
     me.my = tmy;
 }
 
-// nicht constant
-void ObjTabelle::addSpalte(const char* name) // Spalte hinzufuegen
+// non-constant
+void ObjTabelle::addSpalte(const char* name) // add column
 {
     addSpalte(spaltenAnzahl, name);
 }
@@ -282,8 +282,7 @@ void ObjTabelle::addSpalte(Text* name)
     addSpalte(spaltenAnzahl, name);
 }
 
-void ObjTabelle::addSpalte(
-    int sNum, const char* name) // Spalte bei sNum einfuegen
+void ObjTabelle::addSpalte(int sNum, const char* name) // insert column at sNum
 {
     if (sNum > spaltenAnzahl) return;
     lockZeichnung();
@@ -313,7 +312,7 @@ void ObjTabelle::addSpalte(int sNum, Text* name)
     name->release();
 }
 
-void ObjTabelle::addZeile(const char* name) // Zeile Hinzufuegen
+void ObjTabelle::addZeile(const char* name) // add row
 {
     addZeile(zeilenAnzahl, name);
 }
@@ -323,7 +322,7 @@ void ObjTabelle::addZeile(Text* name)
     addZeile(zeilenAnzahl, name);
 }
 
-void ObjTabelle::addZeile(int zNum, const char* name) // Zeile bei zNum einfuegen
+void ObjTabelle::addZeile(int zNum, const char* name) // insert row at zNum
 {
     if (zNum > zeilenAnzahl) return;
     lockZeichnung();
@@ -349,7 +348,7 @@ void ObjTabelle::addZeile(int zNum, Text* name)
     name->release();
 }
 
-void ObjTabelle::removeSpalte(int sNum) // Spalte loeschen
+void ObjTabelle::removeSpalte(int sNum) // delete column
 {
     if (sNum >= spaltenAnzahl) return;
     lockZeichnung();
@@ -378,7 +377,7 @@ void ObjTabelle::removeSpalte(Text* name)
     removeSpalte(getSpaltenNummer(name));
 }
 
-void ObjTabelle::removeZeile(int zNum) // Zeile loeschen
+void ObjTabelle::removeZeile(int zNum) // delete row
 {
     if (zNum >= zeilenAnzahl) return;
     lockZeichnung();
@@ -409,7 +408,7 @@ void ObjTabelle::removeZeile(Text* name)
 }
 
 void ObjTabelle::setSpaltePosition(
-    const char* name, int pos) // setzt die Position einer Spalte
+    const char* name, int pos) // sets the position of a column
 {
     setSpaltePosition(getSpaltenNummer(name), pos);
 }
@@ -451,7 +450,7 @@ void ObjTabelle::setSpaltePosition(int sNum, int pos)
 }
 
 void ObjTabelle::setZeilePosition(
-    const char* name, int pos) // setzt die Zeilen Position
+    const char* name, int pos) // sets the row position
 {
     setZeilePosition(getZeilenNummer(name), pos);
 }
@@ -516,7 +515,7 @@ void ObjTabelle::setZeilePosition(int zNum, int pos)
 }
 
 void ObjTabelle::setZeichnungZ(
-    int sNum, int zNum, Zeichnung* obj) // setzt ein Zeichnung
+    int sNum, int zNum, Zeichnung* obj) // sets a drawing
 {
     if (sNum >= spaltenAnzahl || zNum >= zeilenAnzahl) return;
     lockZeichnung();
@@ -550,7 +549,7 @@ void ObjTabelle::setZeichnungZ(
         getSpaltenNummer(spaltenName), getZeilenNummer(zeilenName), zZeichnung);
 }
 
-void ObjTabelle::setSpaltenBreite(int sNum, int br) // setzt die Spaltenbreite
+void ObjTabelle::setSpaltenBreite(int sNum, int br) // sets the column width
 {
     if (sNum >= spaltenAnzahl) return;
     lockZeichnung();
@@ -569,7 +568,7 @@ void ObjTabelle::setSpaltenBreite(Text* name, int br)
     setSpaltenBreite(getSpaltenNummer(name), br);
 }
 
-void ObjTabelle::setZeilenHeight(int zNum, int hi) // setzt die Zeilenhoehe
+void ObjTabelle::setZeilenHeight(int zNum, int hi) // sets the row height
 {
     if (zNum >= zeilenAnzahl) return;
     lockZeichnung();
@@ -589,7 +588,7 @@ void ObjTabelle::setZeilenHeight(Text* name, int hi)
 }
 
 void ObjTabelle::setMinSpaltenBreite(
-    int sNum, int minBr) // setzt die mindest Spaltenbreite
+    int sNum, int minBr) // sets the minimum column width
 {
     if (sNum >= spaltenAnzahl) return;
     lockZeichnung();
@@ -609,7 +608,7 @@ void ObjTabelle::setMinSpaltenBreite(Text* name, int minBr)
 }
 
 void ObjTabelle::setMaxSpaltenBreite(
-    int sNum, int maxBr) // setzt die maximale Spaltenbreite
+    int sNum, int maxBr) // sets the maximum column width
 {
     if (sNum >= spaltenAnzahl) return;
     lockZeichnung();
@@ -629,7 +628,7 @@ void ObjTabelle::setMaxSpaltenBreite(Text* name, int maxBr)
 }
 
 void ObjTabelle::setMinZeilenHeight(
-    int zNum, int minHi) // setzt die mindest Zeilenhoehe
+    int zNum, int minHi) // sets the minimum row height
 {
     if (zNum >= zeilenAnzahl) return;
     lockZeichnung();
@@ -649,7 +648,7 @@ void ObjTabelle::setMinZeilenHeight(Text* name, int minHi)
 }
 
 void ObjTabelle::setMaxZeilenHeight(
-    int zNum, int maxHi) // setzt die maximale Zeilenhoehe
+    int zNum, int maxHi) // sets the maximum row height
 {
     if (zNum >= zeilenAnzahl) return;
     lockZeichnung();
@@ -695,41 +694,41 @@ void ObjTabelle::setRasterFarbe(int f) // settzt die Farbe des Rasters
     rend = 1;
 }
 
-void ObjTabelle::setRasterBreite(int br) // setzt die Breite des Rasters
+void ObjTabelle::setRasterBreite(int br) // sets the width of the grid
 {
     rasterBreite = br;
     rend = 1;
 }
 
-void ObjTabelle::setARahmenZ(Rahmen* ram) // setzt den auswahl Rahmen
+void ObjTabelle::setARahmenZ(Rahmen* ram) // sets the selection border
 {
     if (aRam) aRam->release();
     aRam = ram;
     rend = 1;
 }
 
-void ObjTabelle::setARFarbe(int f) // setzt die auswahl Rahmen Farbe
+void ObjTabelle::setARFarbe(int f) // sets the selection border color
 {
     if (!aRam) aRam = new LRahmen();
     aRam->setFarbe(f);
     rend = 1;
 }
 
-void ObjTabelle::setARBreite(int br) // setzt die auswahl Rahmen Breite
+void ObjTabelle::setARBreite(int br) // sets the selection border width
 {
     if (!aRam) aRam = new LRahmen();
     aRam->setRamenBreite(br);
     rend = 1;
 }
 
-void ObjTabelle::setAAlphaFeldZ(AlphaFeld* af) // setzt das auswahl AlphaFeld
+void ObjTabelle::setAAlphaFeldZ(AlphaFeld* af) // sets the selection AlphaFeld
 {
     if (aAf) aAf->release();
     aAf = af;
     rend = 1;
 }
 
-void ObjTabelle::setAAfFarbe(int f) // setzt die Farbe des auswahl AlphaFeldes
+void ObjTabelle::setAAfFarbe(int f) // sets the color of the selection AlphaFeld
 {
     if (!aAf) aAf = new AlphaFeld();
     aAf->setFarbe(f);
@@ -737,7 +736,7 @@ void ObjTabelle::setAAfFarbe(int f) // setzt die Farbe des auswahl AlphaFeldes
 }
 
 void ObjTabelle::setAAfStrength(
-    int st) // setzt die Staerke des auswahl AlphaFeldes
+    int st) // sets the strength of the selection AlphaFeld
 {
     if (!aAf) aAf = new AlphaFeld();
     aAf->setStrength(st);
@@ -745,7 +744,7 @@ void ObjTabelle::setAAfStrength(
 }
 
 void ObjTabelle::setARahmenZ(
-    int sNum, int zNum, Rahmen* ram) // setzt den auswahl Rahmen
+    int sNum, int zNum, Rahmen* ram) // sets the selection border
 {
     if (msaRam->z(sNum)) msaRam->z(sNum)->set(ram, zNum);
     rend = 1;
@@ -765,7 +764,7 @@ void ObjTabelle::setARahmenZ(Text* spaltenName, Text* zeilenName, Rahmen* ram)
 }
 
 void ObjTabelle::setARFarbe(
-    int sNum, int zNum, int f) // setzt die auswahl Rahmen Farbe
+    int sNum, int zNum, int f) // sets the selection border color
 {
     if (msaRam->z(sNum))
     {
@@ -792,7 +791,7 @@ void ObjTabelle::setARFarbe(Text* spaltenName, Text* zeilenName, int f)
 }
 
 void ObjTabelle::setARBreite(
-    int sNum, int zNum, int br) // setzt die auswahl Rahmen Breite
+    int sNum, int zNum, int br) // sets the selection border width
 {
     if (msaRam->z(sNum))
     {
@@ -819,7 +818,7 @@ void ObjTabelle::setARBreite(Text* spaltenName, Text* zeilenName, int br)
 }
 
 void ObjTabelle::setAAlphaFeldZ(
-    int sNum, int zNum, AlphaFeld* af) // setzt das auswahl AlphaFeld
+    int sNum, int zNum, AlphaFeld* af) // sets the selection AlphaFeld
 {
     if (msaAf->z(sNum)) msaAf->z(sNum)->set(af, zNum);
     rend = 1;
@@ -840,7 +839,7 @@ void ObjTabelle::setAAlphaFeldZ(
 }
 
 void ObjTabelle::setAAfFarbe(
-    int sNum, int zNum, int f) // setzt die Farbe des auswahl AlphaFeldes
+    int sNum, int zNum, int f) // sets the color of the selection AlphaFeld
 {
     if (msaAf->z(sNum))
     {
@@ -867,7 +866,7 @@ void ObjTabelle::setAAfFarbe(Text* spaltenName, Text* zeilenName, int f)
 }
 
 void ObjTabelle::setAAfStrength(
-    int sNum, int zNum, int st) // setzt die Staerke des auswahl AlphaFeldes
+    int sNum, int zNum, int st) // sets the strength of the selection AlphaFeld
 {
     if (msaAf->z(sNum))
     {
@@ -896,7 +895,7 @@ void ObjTabelle::setAAfStrength(Text* spaltenName, Text* zeilenName, int st)
 }
 
 void ObjTabelle::addMsStyle(
-    int sNum, int zNum, __int64 style) // setzt den Style wenn Multistyled
+    int sNum, int zNum, __int64 style) // sets the style when Multistyled
 {
     if (sNum >= spaltenAnzahl || zNum >= zeilenAnzahl) return;
     if (styles->z(sNum))
@@ -1062,7 +1061,7 @@ void ObjTabelle::doTastaturEreignis(TastaturEreignis& te)
         te.verarbeitet = nTak(ntakParam, this, te);
 }
 
-void ObjTabelle::render(Bild& zRObj) // zeichnet nach zRObj
+void ObjTabelle::render(Bild& zRObj) // renders the table into zRObj
 {
     if (hatStyleNicht(Style::Sichtbar)) return;
     ZeichnungHintergrund::render(zRObj);
@@ -1160,18 +1159,18 @@ void ObjTabelle::render(Bild& zRObj) // zeichnet nach zRObj
 }
 
 // constant
-int ObjTabelle::getSpaltenAnzahl() const // gibt die Anzahl der Spalten zurueck
+int ObjTabelle::getSpaltenAnzahl() const // returns the number of columns
 {
     return spaltenAnzahl;
 }
 
-int ObjTabelle::getZeilenAnzahl() const // gibt die Anzahl der Zeilen zurueck
+int ObjTabelle::getZeilenAnzahl() const // returns the number of rows
 {
     return zeilenAnzahl;
 }
 
-int ObjTabelle::getSpaltenNummer(const char* name)
-    const // gibt die Nummer der Spalte mit dem Namen name zurueck
+int ObjTabelle::getSpaltenNummer(
+    const char* name) const // returns the index of the column with the name
 {
     for (int i = 0; i < spaltenAnzahl; ++i)
     {
@@ -1188,7 +1187,7 @@ int ObjTabelle::getSpaltenNummer(Text* name) const
 }
 
 Text* ObjTabelle::getSpaltenName(
-    int num) const // gibt den Namen der Spalte mit Nummer num zurueck
+    int num) const // returns the name of the column with index num
 {
     return spaltenNamen->get(num);
 }
@@ -1198,8 +1197,8 @@ Text* ObjTabelle::zSpaltenName(int num) const
     return spaltenNamen->z(num);
 }
 
-int ObjTabelle::getZeilenNummer(const char* name)
-    const // gibt die Nummer der Zeile mit dem Namen name zurueck
+int ObjTabelle::getZeilenNummer(
+    const char* name) const // returns the index of the row with the name
 {
     for (int i = 0; i < zeilenAnzahl; ++i)
     {
@@ -1216,7 +1215,7 @@ int ObjTabelle::getZeilenNummer(Text* name) const
 }
 
 Text* ObjTabelle::getZeilenName(
-    int num) const // gibt den Namen der Zeile mit Nummer num zurueck
+    int num) const // returns the name of the row with index num
 {
     return zeilenNamen->get(num);
 }
@@ -1227,7 +1226,7 @@ Text* ObjTabelle::zZeilenName(int num) const
 }
 
 Punkt ObjTabelle::getZeichnungPosition(
-    Zeichnung* zObj) const // gibt die Position eines Zeichnungs zurueck
+    Zeichnung* zObj) const // returns the position of a drawing
 {
     for (int x = 0; x < spaltenAnzahl; ++x)
     {
@@ -1240,7 +1239,7 @@ Punkt ObjTabelle::getZeichnungPosition(
 }
 
 Zeichnung* ObjTabelle::zZeichnung(
-    int sNum, int zNum) const // gibt das Zeichnung auf der Position zurueck
+    int sNum, int zNum) const // returns the drawing at the position
 {
     if (sNum < 0 || zNum < 0 || sNum >= spaltenAnzahl || zNum >= zeilenAnzahl)
         return 0;
@@ -1264,7 +1263,7 @@ Zeichnung* ObjTabelle::zZeichnung(Text* spaltenName, Text* zeilenName) const
 }
 
 Zeichnung* ObjTabelle::getZeichnung(
-    int sNum, int zNum) const // gibt das Zeichnung auf der Position zurueck
+    int sNum, int zNum) const // returns the drawing at the position
 {
     if (!members->z(sNum)) return 0;
     RCArray<Zeichnung>* tmp = members->z(sNum);
@@ -1286,7 +1285,7 @@ Zeichnung* ObjTabelle::getZeichnung(Text* spaltenName, Text* zeilenName) const
 }
 
 int ObjTabelle::getSpaltenBreite(
-    int num) const // gibt die Breite der Spalte zurueck
+    int num) const // returns the width of the column
 {
     return spaltenBreite->get(num);
 }
@@ -1301,7 +1300,7 @@ int ObjTabelle::getSpaltenBreite(Text* name) const
     return getSpaltenBreite(getSpaltenNummer(name));
 }
 
-int ObjTabelle::getZeilenHeight(int num) const // gibt die Hoehe der Zeile zurueck
+int ObjTabelle::getZeilenHeight(int num) const // returns the height of the row
 {
     return zeilenHeight->get(num);
 }
@@ -1317,7 +1316,7 @@ int ObjTabelle::getZeilenHeight(Text* name) const
 }
 
 int ObjTabelle::getMinSpaltenBreite(
-    int num) const // gibt die minimale Spaltengroesse zurueck
+    int num) const // returns the minimum column width
 {
     return minSpaltenBreite->get(num);
 }
@@ -1333,7 +1332,7 @@ int ObjTabelle::getMinSpaltenBreite(Text* name) const
 }
 
 int ObjTabelle::getMaxSpaltenBreite(
-    int num) const // gibt die maximale Spaltengroesse zurueck
+    int num) const // returns the maximum column width
 {
     return maxSpaltenBreite->get(num);
 }
@@ -1349,7 +1348,7 @@ int ObjTabelle::getMaxSpaltenBreite(Text* name) const
 }
 
 int ObjTabelle::getMinZeilenHeight(
-    int num) const // gibt die minimale Zeilenhoehe zurueck
+    int num) const // returns the minimum row height
 {
     return minZeilenHeight->get(num);
 }
@@ -1365,7 +1364,7 @@ int ObjTabelle::getMinZeilenHeight(Text* name) const
 }
 
 int ObjTabelle::getMaxZeilenHeight(
-    int num) const // gibt die maximale Zeilenhoehe zurueck
+    int num) const // returns the maximum row height
 {
     return maxZeilenHeight->get(num);
 }
@@ -1415,7 +1414,7 @@ Text* ObjTabelle::zMausSpaltenName(int mx) const
 }
 
 double ObjTabelle::getMausZeile(
-    int my) const // ermittelt die Zeile unter der Maus
+    int my) const // calculates the row under the mouse
 {
     if (my >= gr.y) return -1;
     if (my < 0) return -1;
@@ -1449,22 +1448,22 @@ Text* ObjTabelle::zMausZeilenName(int my) const
 }
 
 const Punkt&
-ObjTabelle::getAuswahlPosition() const // gibt die Auswahl Position zurueck
+ObjTabelle::getAuswahlPosition() const // returns the selection position
 {
     return selected;
 }
 
-int ObjTabelle::getRasterFarbe() const // gibt die Farbe des Rasters zurueck
+int ObjTabelle::getRasterFarbe() const // returns the color of the grid
 {
     return rasterFarbe;
 }
 
-int ObjTabelle::getRasterBreite() const // gibt die Breite des Rasters zurueck
+int ObjTabelle::getRasterBreite() const // returns the width of the grid
 {
     return rasterBreite;
 }
 
-Rahmen* ObjTabelle::getARahmen() const // gibt den auswahl Rahmen zurueck
+Rahmen* ObjTabelle::getARahmen() const // returns the selection border
 {
     return aRam ? dynamic_cast<Rahmen*>(aRam->getThis()) : 0;
 }
@@ -1474,8 +1473,7 @@ Rahmen* ObjTabelle::zARahmen() const
     return aRam;
 }
 
-AlphaFeld*
-ObjTabelle::getAAlphaFeld() const // gibt das auswahl AlphaFeld zurueck
+AlphaFeld* ObjTabelle::getAAlphaFeld() const // returns the selection AlphaFeld
 {
     return aAf ? dynamic_cast<AlphaFeld*>(aAf->getThis()) : 0;
 }
@@ -1486,7 +1484,7 @@ AlphaFeld* ObjTabelle::zAAlphaFeld() const
 }
 
 Rahmen* ObjTabelle::getARahmen(
-    int sNum, int zNum) const // gibt den auswahl Rahmen zurueck
+    int sNum, int zNum) const // returns the selection border
 {
     RCArray<Rahmen>* tmp = msaRam->z(sNum);
     return tmp ? tmp->get(zNum) : 0;
@@ -1499,7 +1497,7 @@ Rahmen* ObjTabelle::zARahmen(int sNum, int zNum) const
 }
 
 AlphaFeld* ObjTabelle::getAAlphaFeld(
-    int sNum, int zNum) const // gibt das auswahl AlphaFeld zurueck
+    int sNum, int zNum) const // returns the selection AlphaFeld
 {
     RCArray<AlphaFeld>* tmp = msaAf->z(sNum);
     return tmp ? tmp->get(zNum) : 0;
@@ -1511,7 +1509,7 @@ AlphaFeld* ObjTabelle::zAAlphaFeld(int sNum, int zNum) const
 }
 
 Rahmen* ObjTabelle::getARahmen(const char* spaltenName,
-    const char* zeilenName) const // gibt den auswahl Rahmen zurueck
+    const char* zeilenName) const // returns the selection border
 {
     return getARahmen(
         getSpaltenNummer(spaltenName), getZeilenNummer(zeilenName));
@@ -1524,7 +1522,7 @@ Rahmen* ObjTabelle::zARahmen(
 }
 
 AlphaFeld* ObjTabelle::getAAlphaFeld(const char* spaltenName,
-    const char* zeilenName) const // gibt das auswahl AlphaFeld zurueck
+    const char* zeilenName) const // returns the selection AlphaFeld
 {
     return getAAlphaFeld(
         getSpaltenNummer(spaltenName), getZeilenNummer(zeilenName));
@@ -1538,7 +1536,7 @@ AlphaFeld* ObjTabelle::zAAlphaFeld(
 }
 
 Rahmen* ObjTabelle::getARahmen(
-    Text* spaltenName, Text* zeilenName) const // gibt den auswahl Rahmen zurueck
+    Text* spaltenName, Text* zeilenName) const // returns the selection border
 {
     return getARahmen(
         getSpaltenNummer(spaltenName), getZeilenNummer(zeilenName));
@@ -1550,7 +1548,7 @@ Rahmen* ObjTabelle::zARahmen(Text* spaltenName, Text* zeilenName) const
 }
 
 AlphaFeld* ObjTabelle::getAAlphaFeld(Text* spaltenName,
-    Text* zeilenName) const // gibt das auswahl AlphaFeld zurueck
+    Text* zeilenName) const // returns the selection AlphaFeld
 {
     return getAAlphaFeld(
         getSpaltenNummer(spaltenName), getZeilenNummer(zeilenName));
@@ -1563,7 +1561,7 @@ AlphaFeld* ObjTabelle::zAAlphaFeld(Text* spaltenName, Text* zeilenName) const
 }
 
 bool ObjTabelle::hatMsStyle(
-    int sNum, int zNum, __int64 style) const // prueft, ob style vorhanden ist
+    int sNum, int zNum, __int64 style) const // checks if style is present
 {
     __int64 s = styles->z(sNum) && styles->z(sNum)->hat(zNum)
                   ? styles->z(sNum)->get(zNum)
@@ -1573,7 +1571,7 @@ bool ObjTabelle::hatMsStyle(
 
 bool ObjTabelle::hatMsStyleNicht(int sNum,
     int zNum,
-    __int64 style) const // prueft, ob style nicht vorhanden ist
+    __int64 style) const // checks if style is not present
 {
     __int64 s = styles->z(sNum) && styles->z(sNum)->hat(zNum)
                   ? styles->z(sNum)->get(zNum)
@@ -1583,7 +1581,7 @@ bool ObjTabelle::hatMsStyleNicht(int sNum,
 
 bool ObjTabelle::hatMsStyle(const char* spaltenName,
     const char* zeilenName,
-    __int64 style) const // prueft, ob style vorhanden ist
+    __int64 style) const // checks if style is present
 {
     return hatMsStyle(
         getSpaltenNummer(spaltenName), getZeilenNummer(zeilenName), style);
@@ -1591,7 +1589,7 @@ bool ObjTabelle::hatMsStyle(const char* spaltenName,
 
 bool ObjTabelle::hatMsStyleNicht(const char* spaltenName,
     const char* zeilenName,
-    __int64 style) const // prueft, ob style nicht vorhanden ist
+    __int64 style) const // checks if style is not present
 {
     return hatMsStyleNicht(
         getSpaltenNummer(spaltenName), getZeilenNummer(zeilenName), style);
@@ -1599,7 +1597,7 @@ bool ObjTabelle::hatMsStyleNicht(const char* spaltenName,
 
 bool ObjTabelle::hatMsStyle(Text* spaltenName,
     Text* zeilenName,
-    __int64 style) const // prueft, ob style vorhanden ist
+    __int64 style) const // checks if style is present
 {
     return hatMsStyle(
         getSpaltenNummer(spaltenName), getZeilenNummer(zeilenName), style);
@@ -1607,13 +1605,13 @@ bool ObjTabelle::hatMsStyle(Text* spaltenName,
 
 bool ObjTabelle::hatMsStyleNicht(Text* spaltenName,
     Text* zeilenName,
-    __int64 style) const // prueft, ob style nicht vorhanden ist
+    __int64 style) const // checks if style is not present
 {
     return hatMsStyleNicht(
         getSpaltenNummer(spaltenName), getZeilenNummer(zeilenName), style);
 }
 
-Zeichnung* ObjTabelle::dublizieren() const // Erzeugt eine Kopie des Zeichnungs
+Zeichnung* ObjTabelle::dublizieren() const // Creates a copy of the table
 {
     ObjTabelle* obj = new ObjTabelle();
     obj->setPosition(pos);

+ 2 - 2
Textur.cpp

@@ -11,7 +11,7 @@
 using namespace Framework;
 
 // Inhalt der Textur Klasse
-// Konstruktor
+// Constructor
 Textur::Textur()
     : ReferenceCounter()
 {
@@ -21,7 +21,7 @@ Textur::Textur()
     changed = 0;
 }
 
-// Destruktor
+// Destructor
 Textur::~Textur()
 {
     if (bild) bild->release();

+ 1 - 1
Textur2D.cpp

@@ -5,7 +5,7 @@
 
 using namespace Framework;
 
-// inhalt der Textur2D Klasse aus Textur2D.h
+// Contents of the Textur2D class from Textur2D.h
 
 // Konstructor
 Textur2D::Textur2D()

+ 2 - 2
TexturList.cpp

@@ -9,7 +9,7 @@ int TexturList::id = 0;
 Critical TexturList::cs;
 
 // Inhalt der TexturList Klasse
-// Konstruktor
+// Constructor
 TexturList::TexturList()
     : ReferenceCounter()
 {
@@ -17,7 +17,7 @@ TexturList::TexturList()
     names = new RCArray<Text>();
 }
 
-// Destruktor
+// Destructor
 TexturList::~TexturList()
 {
     textures->release();

+ 1 - 1
TexturModel.cpp

@@ -11,7 +11,7 @@ using namespace Framework;
 
 // Inhalt der TexturModel Klasse
 
-// Konstruktor
+// Constructor
 TexturModel::TexturModel(GraphicsApi* zApi)
     : TexturModel(zApi, Standart3DTypes::texturModel)
 {}

+ 7 - 7
Thread.cpp

@@ -4,8 +4,8 @@
 
 using namespace Framework;
 
-// inhalt der Thread Klasse aus Thread.h
-// Konstruktor
+// Contents of the Thread class from Thread.h
+// Constructor
 Thread::Thread()
     : ReferenceCounter()
 {
@@ -18,7 +18,7 @@ Thread::Thread()
     name = 0;
 }
 
-// Destruktor
+// Destructor
 Thread::~Thread()
 {
     thRegister->remove(this);
@@ -32,7 +32,7 @@ Thread::~Thread()
     if (run) ende();
 }
 
-// nicht constant
+// non-constant
 void Thread::start() // startet den Thread
 {
     if (!run)
@@ -197,13 +197,13 @@ void* Framework::threadStart(void* param)
 }
 #endif
 
-// Konstruktor
+// Constructor
 ThreadRegister::ThreadRegister()
 {
     InitializeCriticalSection(&cs);
 }
 
-// Destruktor
+// Destructor
 ThreadRegister::~ThreadRegister()
 {
     EnterCriticalSection(&cs);
@@ -218,7 +218,7 @@ ThreadRegister::~ThreadRegister()
     DeleteCriticalSection(&cs);
 }
 
-// Inhalt der ThreadRegister Klasse aus Thread.h
+// Contents of the ThreadRegister class from Thread.h
 void ThreadRegister::add(Thread* t)
 {
     EnterCriticalSection(&cs);

+ 3 - 3
ToolTip.cpp

@@ -12,8 +12,8 @@
 
 using namespace Framework;
 
-// Inhalt der ToolTip Klasse aus ToolTip.h
-// Konstruktor
+// Contents of the ToolTip class from ToolTip.h
+// Constructor
 ToolTip::ToolTip(Bildschirm* zScreen)
     : ZeichnungHintergrund(),
       size(0, 0),
@@ -38,7 +38,7 @@ ToolTip::ToolTip(Bildschirm* zScreen)
     setMausEreignis(_ret1ME);
 }
 
-// Destruktor
+// Destructor
 ToolTip::~ToolTip()
 {
     members->release();

+ 2 - 2
Welt3D.cpp

@@ -9,7 +9,7 @@
 
 using namespace Framework;
 
-// Inhalt der Welt3D Klasse aus Welt3D.h
+// Contents of the Welt3D class from Welt3D.h
 // Konstructor
 Welt3D::Welt3D()
     : Model3DCollection()
@@ -22,7 +22,7 @@ Welt3D::Welt3D()
     rend = 0;
 }
 
-// Destruktor
+// Destructor
 Welt3D::~Welt3D()
 {
     members->release();

+ 7 - 7
Zeichnung.cpp

@@ -19,8 +19,8 @@
 
 using namespace Framework;
 
-// Inhalt der Zeichnung Klasse aus Zeichnung.h
-// Konstruktor
+// Contents of the Zeichnung class from Zeichnung.h
+// Constructor
 Zeichnung::Zeichnung()
     : ReferenceCounter(),
       pos(0, 0),
@@ -41,7 +41,7 @@ Zeichnung::Zeichnung()
       toolTipRequested(0)
 {}
 
-// Destruktor
+// Destructor
 Zeichnung::~Zeichnung()
 {
     if (toolTip) toolTip->release();
@@ -52,7 +52,7 @@ void Zeichnung::doMausEreignis(MausEreignis& me, bool userRet)
     me.verarbeitet = userRet;
 }
 
-// nicht constant
+// non-constant
 void Zeichnung::setRender()
 {
     rend = 1;
@@ -504,8 +504,8 @@ Zeichnung* Zeichnung::dublizieren() const // Erzeugt eine Kopie des Zeichnungs
     return obj;
 }
 
-// Inhalt der ZeichnungHintergrund Klasse aus Zeichnung.h
-// Konstruktor
+// Contents of the ZeichnungHintergrund class from Zeichnung.h
+// Constructor
 ZeichnungHintergrund::ZeichnungHintergrund()
     : Zeichnung()
 {
@@ -521,7 +521,7 @@ ZeichnungHintergrund::ZeichnungHintergrund()
     innenSize.y = 0;
 }
 
-// Destruktor
+// Destructor
 ZeichnungHintergrund::~ZeichnungHintergrund()
 {
     if (rahmen) rahmen->release();

+ 1 - 1
Zeichnung3D.cpp

@@ -4,7 +4,7 @@ using namespace Framework;
 
 // Inhalt der Zeichnung3D Klasse
 
-// Konstruktor
+// Constructor
 Zeichnung3D::Zeichnung3D()
     : ReferenceCounter()
 {