#ifndef __GLOBAL_VARIABLES_HPP__
#define __GLOBAL_VARIABLES_HPP__

#include "imgui.h"
#include "imgui_impl_win32.h"
#include "imgui_impl_dx11.h"

extern "C"
{
#include "windows.h"
#include "d3d11.h"
}

#include "Type_Descriptions.hpp"

// 主窗体句柄
extern HWND Main_Window_hWnd;

// D3D11 相关
extern ID3D11Device *g_pd3dDevice;               // D3D11 设备句柄
extern ID3D11DeviceContext *g_pd3dDeviceContext; // D3D11 设备上下文句柄

extern IDXGISwapChain *g_pSwapChain; // DXGI 交换链句柄
extern bool g_SwapChainOccluded;     // 交换链是否阻塞

extern ID3D11RenderTargetView *g_mainRenderTargetView; // D3D11 渲染目标

// 文件输入相关
extern Input_File_Node *input_dlt_file_list_head;
extern size_t input_dlt_file_count;

#endif