//***********************************************************//
// Demo:    Lens Flare Editor
// Author:  terror
// Spec:    demo for gamedev.ru
//***********************************************************//
#pragma once

#include "vector.h"

#define  NEW_ARRAY_MEM(a,t,c)	{a = NULL; a = new t[c]; memset(a,0,sizeof(t));}
#define  DELETE_ARRAY_MEM(x)	{if (x != NULL) delete []x; x = NULL;}

typedef unsigned int     uint;
typedef unsigned char    byte;
typedef unsigned short   ushort;
typedef unsigned __int64 uint64;
typedef unsigned long    dword;

void ShowFileError  ( char *error );
bool CheckFile      ( char *filename );
bool CheckFileWOMsg ( char *filename );

struct Point_t
{
	int x;
	int y;
};

struct Pointf_t
{
	float x;
	float y;
};

