Original Post
I have the following code:
class FilesGenerator {
public:
FileBMPIntoARR (string sourcePath, string targetPath);
FileBMPIntoTransARR (string colorSourcePath, string alphaSourcePath, string targetPath);
FileBMPAnimationIntoTransARR (string colorSourcePath, string alphaSourcePath, DWORD ImagesAmount, string targetPath);
FilesGenerator (SpriteDrawer & SDrawer); // <= Error
private:
Sprite SpriteImage;
RGBImage RGBColorImage, RGBAlphaImage;
TransImageSource TransImage;
};
I get the following error:
e:\projects\engine2\v0\world.h(18) : error C2629: unexpected 'class FilesGenerator ('
Why do I get this error? and how can I fix it?