2024-04-20 16:23:08 +00:00
|
|
|
/*
|
2024-06-15 18:12:48 +00:00
|
|
|
* Descent 3
|
|
|
|
* Copyright (C) 2024 Parallax Software
|
|
|
|
*
|
|
|
|
* Descent 3: Apex
|
|
|
|
* Copyright (C) 2024 by Justin Marshall
|
|
|
|
*
|
|
|
|
* This program is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
2024-04-20 16:23:08 +00:00
|
|
|
|
2024-04-19 20:58:24 +00:00
|
|
|
// stdafx.h : include file for standard system include files,
|
|
|
|
// or project specific include files that are used frequently, but
|
|
|
|
// are changed infrequently
|
|
|
|
//
|
|
|
|
|
2024-05-20 19:12:07 +00:00
|
|
|
#pragma once
|
|
|
|
|
2024-06-15 18:12:48 +00:00
|
|
|
#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
|
2024-04-19 20:58:24 +00:00
|
|
|
|
2024-06-15 18:12:48 +00:00
|
|
|
#include <afxwin.h> // MFC core and standard components
|
|
|
|
#include <afxext.h> // MFC extensions
|
2024-04-19 20:58:24 +00:00
|
|
|
#ifndef _AFX_NO_AFXCMN_SUPPORT
|
2024-06-15 18:12:48 +00:00
|
|
|
#include <afxcmn.h> // MFC support for Windows 95 Common Controls
|
|
|
|
#endif // _AFX_NO_AFXCMN_SUPPORT
|
2024-04-19 20:58:24 +00:00
|
|
|
|
2024-06-15 18:12:48 +00:00
|
|
|
#include <afxole.h> // MFC OLE support (ADDED BY SAMIR)
|
2024-05-20 19:12:07 +00:00
|
|
|
#include <windows.h>
|
2024-04-19 20:58:24 +00:00
|
|
|
|
2024-05-23 06:06:24 +00:00
|
|
|
// Various 64bit wrapper functions.
|
|
|
|
#undef GetWindowLong
|
|
|
|
#undef SetWindowLong
|
|
|
|
#undef SetClassLong
|
|
|
|
#undef LONG
|
|
|
|
|
|
|
|
#define GWL_WNDPROC GWLP_WNDPROC
|
|
|
|
#define SetClassLong SetClassLongPtr
|
|
|
|
#define GetWindowLong GetWindowLongPtr
|
|
|
|
#define SetWindowLong SetWindowLongPtr
|
|
|
|
#define GWL_USERDATA GWLP_USERDATA
|
|
|
|
#define GCL_HICON GCLP_HICON
|
|
|
|
#define DWL_MSGRESULT DWLP_MSGRESULT
|
|
|
|
#define DWL_DLGPROC DWLP_DLGPROC
|
|
|
|
|
|
|
|
#ifndef GCL_HBRBACKGROUND
|
|
|
|
#define GCL_HBRBACKGROUND (-10)
|
|
|
|
#endif
|