diff options
author | Aki <please@ignore.pl> | 2022-03-27 17:42:26 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-03-27 17:42:26 +0200 |
commit | a12e588079700d55a0b788fea2df7727c2e41f52 (patch) | |
tree | 690072569624c73af5043b3619acaab4d298b1fa /Stars45/PCX.CPP | |
parent | 72bb517271dad40a440533ad0796a88247011199 (diff) | |
download | starshatter-a12e588079700d55a0b788fea2df7727c2e41f52.zip starshatter-a12e588079700d55a0b788fea2df7727c2e41f52.tar.gz starshatter-a12e588079700d55a0b788fea2df7727c2e41f52.tar.bz2 |
Removed MemDebug from FoundationEx
Diffstat (limited to 'Stars45/PCX.CPP')
-rw-r--r-- | Stars45/PCX.CPP | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/Stars45/PCX.CPP b/Stars45/PCX.CPP index 2337be2..b1d8656 100644 --- a/Stars45/PCX.CPP +++ b/Stars45/PCX.CPP @@ -12,7 +12,6 @@ */
-#include "MemDebug.h"
#include "Pcx.h"
#include <stdio.h>
@@ -108,7 +107,7 @@ PcxImage::PcxImage(short w, short h, unsigned char* bits, unsigned char* colors) height = h;
imagebytes = width * height;
- bitmap = new(__FILE__,__LINE__) unsigned char [imagebytes];
+ bitmap = new unsigned char [imagebytes];
if (bitmap) {
for (unsigned long i = 0; i < imagebytes; i++)
@@ -201,7 +200,7 @@ PcxImage::PcxImage(short w, short h, unsigned long* hibits) height = h;
imagebytes = width * height;
- himap = new(__FILE__,__LINE__) unsigned long [imagebytes];
+ himap = new unsigned long [imagebytes];
if (himap) {
for (unsigned long i = 0; i < imagebytes; i++)
@@ -249,7 +248,7 @@ int PcxImage::Load(char *filename) delete [] himap; himap = 0;
delete [] bitmap; bitmap = 0;
- himap = new(__FILE__,__LINE__) unsigned long [imagebytes];
+ himap = new unsigned long [imagebytes];
if (himap == NULL)
return PCX_NOMEM;
@@ -288,7 +287,7 @@ int PcxImage::Load(char *filename) delete [] himap; himap = 0;
delete [] bitmap; bitmap = 0;
- himap = new(__FILE__,__LINE__) unsigned long [imagebytes];
+ himap = new unsigned long [imagebytes];
if (himap == NULL)
return PCX_NOMEM;
@@ -356,7 +355,7 @@ int PcxImage::LoadBuffer(unsigned char* buf, int len) delete [] himap; himap = 0;
delete [] bitmap; bitmap = 0;
- himap = new(__FILE__,__LINE__) unsigned long [imagebytes];
+ himap = new unsigned long [imagebytes];
if (himap == NULL)
return PCX_NOMEM;
@@ -394,7 +393,7 @@ int PcxImage::LoadBuffer(unsigned char* buf, int len) delete [] himap; himap = 0;
delete [] bitmap; bitmap = 0;
- himap = new(__FILE__,__LINE__) unsigned long [imagebytes];
+ himap = new unsigned long [imagebytes];
if (himap == NULL)
return PCX_NOMEM;
|