* Move some inclusions to the main header.
* Remove inclusions and definitions that already exist in the main header.
CORE-7716
svn path=/trunk/; revision=61532
bool fFaceUp;
};
-#endif
+#endif /* _CARD_INCLUDED */
// Copyright J Brown 2001
//
-//#include <windows.h>
-#define WIN32_NO_STATUS
-#include <stdarg.h>
-#include <windef.h>
-#include <winbase.h>
-#include <wingdi.h>
-#include <winuser.h>
-
-#include "globals.h"
-#include "cardcolor.h"
+#include "cardlib.h"
#ifndef __REACTOS__
#pragma comment( lib, "..\\CardLib\\cards16.lib" )
// Freeware
// Copyright J Brown 2001
//
-//#include <windows.h>
-//#include <tchar.h>
-
-#define WIN32_NO_STATUS
-#include <windef.h>
#include "cardlib.h"
-//#include "cardwindow.h"
-//#include "cardbutton.h"
-#include "cardcolor.h"
HPALETTE UseNicePalette(HDC, HPALETTE);
void RestorePalette(HDC, HPALETTE);
#define MAXBUTTONTEXT 64
-//#include "cardlib.h"
-
class CardButton
{
friend class CardWindow;
pButtonProc ButtonCallback;
};
-#endif
+#endif /* CARDBUTTON_INCLUDED */
//
// Colour support
//
-//#include <windows.h>
-#define WIN32_NO_STATUS
-#include <windef.h>
-#include <wingdi.h>
+#include "cardlib.h"
#define MakeRGB RGB
+#pragma once
COLORREF ColorScaleRGB( const COLORREF Col1,
const COLORREF Col2,
//
// count.Clear();
//
+
#include "cardcount.h"
CardCount::CardCount()
#ifndef _CARDCOUNT_INCLUDED
#define _CARDCOUNT_INCLUDED
-//#include <windows.h>
-
-#define WIN32_NO_STATUS
-#include <stdarg.h>
-#include <windef.h>
-#include <winbase.h>
-#include <wingdi.h>
-#include <winuser.h>
-#include <stdlib.h>
-
-#include "cardstack.h"
-
class CardCount
{
public:
//(ace,2,3,4,5,6,7,8,9,10,J,Q,K)
};
-#endif
+#endif /* _CARDCOUNT_INCLUDED */
// Freeware
// Copyright J Brown 2001
//
-//#include <windows.h>
-
-#define WIN32_NO_STATUS
-#include <windef.h>
#include "cardlib.h"
-//#include "globals.h"
void LoadCardBitmaps(void);
#define CARDLIB_INCLUDED
#include <stdarg.h>
+#include <stdlib.h>
#define WIN32_NO_STATUS
#include <windef.h>
#include <winbase.h>
#include <wingdi.h>
+#include <winuser.h>
#define CARDLIBPROC __stdcall
typedef void (CARDLIBPROC *pButtonProc) (CardButton &pButton);
-
-//#include "card.h"
+#include "globals.h"
+#include "card.h"
#include "cardbutton.h"
-//#include "cardstack.h"
+#include "cardcolor.h"
+#include "cardstack.h"
#include "cardregion.h"
-#include "cardcount.h"
+#include "dropzone.h"
#include "cardwindow.h"
#ifdef _DEBUG
void CardLib_SetStackClickProc(pDebugClickProc proc);
#endif
-
-#endif
+#endif /* CARDLIB_INCLUDED */
// Freeware
// Copyright J Brown 2001
//
-//#include <windows.h>
-
-#define WIN32_NO_STATUS
-#include <windef.h>
#include "cardlib.h"
-//#include "cardregion.h"
-//#include "cardwindow.h"
-//#include "cardcolor.h"
HBITMAP CreateSinkBmp(HDC hdcCompat, HDC hdc, int width, int height);
#ifndef CARDREGION_INCLUDED
#define CARDREGION_INCLUDED
-#include "globals.h"
-#include "cardstack.h"
-//#include "cardlib.h"
-
class CardWindow;
//
HANDLE mxlock;
};
-#endif
-
+#endif /* CARDREGION_INCLUDED */
// Freeware
// Copyright J Brown 2001
//
-//#include <windows.h>
-#define WIN32_NO_STATUS
-#include <windef.h>
-
-//#include <stdlib.h>
#include "cardlib.h"
-//#include "cardregion.h"
-//#include "cardcolor.h"
HPALETTE UseNicePalette(HDC hdc, HPALETTE hPalette);
void PaintRect(HDC hdc, RECT *rect, COLORREF colour);
// Freeware
// Copyright J Brown 2001
//
-//#include <windows.h>
-#define WIN32_NO_STATUS
-#include <windef.h>
+#include "cardlib.h"
#include <math.h>
-//#include <stdio.h>
-
-#include "cardlib.h"
-//#include "cardwindow.h"
-//#include "cardregion.h"
#if 1
#define TRACE(s)
// Freeware
// Copyright J Brown 2001
//
-//#include <windows.h>
-
-#define WIN32_NO_STATUS
-#include <windef.h>
-
-#include <stdlib.h>
#include "cardstack.h"
#ifndef CARDSTACK_INCLUDED
#define CARDSTACK_INCLUDED
-#include "card.h"
-
#define MAX_CARDSTACK_SIZE 128
class CardStack
int nNumCards;
};
-#endif
+#endif /* CARDSTACK_INCLUDED */
+
// Freeware
// Copyright J Brown 2001
//
-//#include <windows.h>
-#define WIN32_NO_STATUS
-#include <windef.h>
+#include "cardlib.h"
#include <tchar.h>
-//#include <stdlib.h>
-
-//#include "globals.h"
-#include "cardlib.h"
-//#include "cardbutton.h"
-//#include "cardregion.h"
-//#include "cardwindow.h"
-#include "cardcolor.h"
extern HPALETTE __holdplacepal;
#define MAXCARDSTACKS 32
#define MAXDROPZONES 8
-#include "dropzone.h"
-//#include "cardlib.h"
-
class CardRegion;
class CardButton;
};
-
-#endif
+#endif /* CARDBOARD_INCLUDED */
// Freeware
// Copyright J Brown 2001
//
-//#include <windows.h>
-
-#define WIN32_NO_STATUS
-#include <windef.h>
#include "cardlib.h"
-//#include "cardwindow.h"
-//#include "dropzone.h"
bool CardWindow::RegisterDropZone(int id, RECT *rect, pDropZoneProc proc)
{
pDropZoneProc DropZoneCallback;
};
-#endif
+#endif /* DROPZONE_INCLUDED */
extern HPALETTE __hPalette;
-#endif
+#endif /* GLOBALS_INCLUDED */