16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-19 11:09:19 +02:00

Cleaning up after __fastcall remove.

Cleaning up project after remove _fastcall. Project now buildable.
This commit is contained in:
Firleju
2015-04-15 23:49:51 +02:00
parent 9eb087b96e
commit a11d21673e
35 changed files with 137 additions and 96 deletions

View File

@@ -53,7 +53,7 @@ AnsiString LogComment;
// tory s¹ zdublowane jako TP_TRACK oraz TP_DUMMYTRACK. Jeœli tekstura jest
// tylko jedna (np. zwrotnice), nie jest u¿ywany TP_DUMMYTRACK.
//---------------------------------------------------------------------------
__fastcall TGroundNode::TGroundNode()
TGroundNode::TGroundNode()
{ // nowy obiekt terenu - pusty
iType = GL_POINTS;
Vertices = NULL;
@@ -83,7 +83,7 @@ __fastcall TGroundNode::TGroundNode()
iVersion = 0; // wersja siatki
}
__fastcall TGroundNode::~TGroundNode()
TGroundNode::~TGroundNode()
{
// if (iFlags&0x200) //czy obiekt zosta³ utworzony?
switch (iType)
@@ -140,7 +140,7 @@ void TGroundNode::Init(int n)
Vertices = new TGroundVertex[iNumVerts];
}
__fastcall TGroundNode::TGroundNode(TGroundNodeType t, int n)
TGroundNode::TGroundNode(TGroundNodeType t, int n)
{ // utworzenie obiektu
TGroundNode(); // domyœlne ustawienia
iNumVerts = n;
@@ -675,7 +675,7 @@ void TGroundNode::RenderAlphaDL()
//------------------------------------------------------------------------------
//------------------ Podstawowy pojemnik terenu - sektor -----------------------
//------------------------------------------------------------------------------
__fastcall TSubRect::TSubRect()
TSubRect::TSubRect()
{
nRootNode = NULL; // lista wszystkich obiektów jest pusta
nRenderHidden = nRenderRect = nRenderRectAlpha = nRender = nRenderMixed = nRenderAlpha =
@@ -686,7 +686,7 @@ __fastcall TSubRect::TSubRect()
iNodeCount = 0; // licznik obiektów
iTracks = 0; // licznik torów
}
__fastcall TSubRect::~TSubRect()
TSubRect::~TSubRect()
{
if (Global::bManageNodes) // Ra: tu siê coœ sypie
ResourceManager::Unregister(this); // wyrejestrowanie ze sprz¹tacza
@@ -1203,13 +1203,16 @@ void TSubRect::RenderSounds()
//---------------------------------------------------------------------------
int TGroundRect::iFrameNumber = 0; // licznik wyœwietlanych klatek
__fastcall TGroundRect::TGroundRect()
TGroundRect::TGroundRect()
{
pSubRects = NULL;
nTerrain = NULL;
};
__fastcall TGroundRect::~TGroundRect() { SafeDeleteArray(pSubRects); };
TGroundRect::~TGroundRect()
{
SafeDeleteArray(pSubRects);
};
void TGroundRect::RenderDL()
{ // renderowanie kwadratu kilometrowego (DL), jeœli jeszcze nie zrobione
@@ -1294,7 +1297,7 @@ void TGround::MoveGroundNode(vector3 pPosition)
*/
}
__fastcall TGround::TGround()
TGround::TGround()
{
// RootNode=NULL;
nRootDynamic = NULL;
@@ -1313,7 +1316,10 @@ __fastcall TGround::TGround()
sTracks = new TNames(); // nazwy torów - na razie tak
}
__fastcall TGround::~TGround() { Free(); }
TGround::~TGround()
{
Free();
}
void TGround::Free()
{