summaryrefslogtreecommitdiffhomepage
path: root/Stars45/TacRefDlg.cpp
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-03-27 17:42:26 +0200
committerAki <please@ignore.pl>2022-03-27 17:42:26 +0200
commita12e588079700d55a0b788fea2df7727c2e41f52 (patch)
tree690072569624c73af5043b3619acaab4d298b1fa /Stars45/TacRefDlg.cpp
parent72bb517271dad40a440533ad0796a88247011199 (diff)
downloadstarshatter-a12e588079700d55a0b788fea2df7727c2e41f52.zip
starshatter-a12e588079700d55a0b788fea2df7727c2e41f52.tar.gz
starshatter-a12e588079700d55a0b788fea2df7727c2e41f52.tar.bz2
Removed MemDebug from FoundationEx
Diffstat (limited to 'Stars45/TacRefDlg.cpp')
-rw-r--r--Stars45/TacRefDlg.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/Stars45/TacRefDlg.cpp b/Stars45/TacRefDlg.cpp
index 3a4e965..ff623bc 100644
--- a/Stars45/TacRefDlg.cpp
+++ b/Stars45/TacRefDlg.cpp
@@ -11,7 +11,6 @@
Tactical Reference Dialog Active Window class
*/
-#include "MemDebug.h"
#include "TacRefDlg.h"
#include "MenuScreen.h"
#include "Campaign.h"
@@ -126,13 +125,13 @@ TacRefDlg::RegisterControls()
scene.AddLight(back_light);
- camview = new(__FILE__,__LINE__) CameraView(beauty, &cam, &scene);
+ camview = new CameraView(beauty, &cam, &scene);
camview->SetProjectionType(Video::PROJECTION_PERSPECTIVE);
camview->SetFieldOfView(2);
beauty->AddView(camview);
- imgview = new(__FILE__,__LINE__) ImgView(beauty, 0);
+ imgview = new ImgView(beauty, 0);
imgview->SetBlend(Video::BLEND_ALPHA);
}
}
@@ -178,7 +177,7 @@ TacRefDlg::SelectShip(const ShipDesign* design)
for (int i = 0; i < n; i++) {
Model* model = design->models[level].at(i);
- Solid* s = new(__FILE__,__LINE__) Solid;
+ Solid* s = new Solid;
s->UseModel(model);
s->CreateShadows(1);
s->MoveTo(*design->offsets[level].at(i));