2012-12-19 09:30:18 +00:00
|
|
|
/****************************************************************************
|
|
|
|
* *
|
2015-11-10 05:21:49 +00:00
|
|
|
* Project64 - A Nintendo 64 emulator. *
|
2012-12-19 09:30:18 +00:00
|
|
|
* http://www.pj64-emu.com/ *
|
|
|
|
* Copyright (C) 2012 Project64. All rights reserved. *
|
|
|
|
* *
|
|
|
|
* License: *
|
|
|
|
* GNU/GPLv2 http://www.gnu.org/licenses/gpl-2.0.html *
|
|
|
|
* *
|
|
|
|
****************************************************************************/
|
|
|
|
#pragma once
|
|
|
|
|
2008-09-18 03:15:49 +00:00
|
|
|
#pragma warning(disable:4786)
|
|
|
|
#include "Support.h"
|
|
|
|
|
2015-12-06 09:59:58 +00:00
|
|
|
#include <Project64-core/Multilanguage.h>
|
|
|
|
#include <Project64-core/Settings/SettingsClass.h>
|
2008-09-18 03:15:49 +00:00
|
|
|
|
|
|
|
typedef unsigned char BYTE;
|
|
|
|
typedef unsigned short WORD;
|
|
|
|
typedef unsigned long DWORD;
|
|
|
|
typedef unsigned __int64 QWORD;
|
|
|
|
typedef void * HANDLE;
|
|
|
|
typedef const char * LPCSTR;
|
|
|
|
|
2015-05-04 00:08:53 +00:00
|
|
|
struct RECT_STRUCT
|
2008-09-18 03:15:49 +00:00
|
|
|
{
|
|
|
|
long left;
|
|
|
|
long top;
|
|
|
|
long right;
|
|
|
|
long bottom;
|
2015-05-04 00:08:53 +00:00
|
|
|
};
|
2008-09-18 03:15:49 +00:00
|
|
|
|
2015-11-07 01:11:25 +00:00
|
|
|
struct WINDOWS_PAINTSTRUCT
|
|
|
|
{
|
|
|
|
HDC hdc;
|
|
|
|
int fErase;
|
|
|
|
RECT_STRUCT rcPaint;
|
|
|
|
int fRestore;
|
|
|
|
int fIncUpdate;
|
|
|
|
BYTE rgbReserved[32];
|
2015-05-04 00:08:53 +00:00
|
|
|
};
|
2008-09-18 03:15:49 +00:00
|
|
|
|
|
|
|
#define CALLBACK __stdcall
|
|
|
|
|
|
|
|
class CN64System;
|
|
|
|
|
2015-10-26 21:00:06 +00:00
|
|
|
#ifndef BYPASS_WINDOWS_GUI
|
2015-09-07 19:47:58 +00:00
|
|
|
#define WINDOWS_UI
|
|
|
|
// Remove this to test compilation outside of the Windows ATL environment.
|
2015-10-26 21:00:06 +00:00
|
|
|
#endif
|
2015-09-07 19:47:58 +00:00
|
|
|
|
2015-12-04 06:49:31 +00:00
|
|
|
#include <WTLApp.h>
|
|
|
|
#include "UserInterface/MenuShortCuts.h"
|
|
|
|
#include "UserInterface/RomBrowser.h"
|
|
|
|
#include "UserInterface/GuiClass.h"
|
|
|
|
#include "UserInterface/MenuClass.h"
|
|
|
|
#include "UserInterface/MainMenuClass.h"
|
|
|
|
#include "UserInterface/NotificationClass.h"
|
2015-12-06 09:59:58 +00:00
|
|
|
#include <Project64-core/N64System/FramePerSecondClass.h>
|
2015-12-04 06:49:31 +00:00
|
|
|
#include "UserInterface/resource.h"
|
|
|
|
#include "UserInterface/SettingsConfig.h"
|
|
|
|
#include "UserInterface/CheatClassUI.h"
|