Program Listing for File core.h

Return to documentation for file (blam\core.h)

// Blamite Engine - Core header file                //
// (c) Elaztek Studios 2016 - 2020                 //

#pragma once

#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
#pragma comment(lib, "gdi32.lib")
#pragma comment(lib, "d3d11.lib")
#pragma comment(lib, "d3dcompiler.lib")
#pragma comment(lib, "dxgi.lib")
#pragma comment(lib, "Dwrite.lib")
#pragma comment(lib, "d2d1.lib")
#pragma comment(lib, "UxTheme.lib")
#pragma comment(lib, "Ws2_32.lib")
#pragma comment(lib, "Strings.lib")
#pragma comment(lib, "windowscodecs.lib")

#include <cstdint>
#include <Windows.h>

#ifndef BLAM

#define BLAM
#endif

#ifndef HALO

#define HALO
#endif

#ifndef UI_API
#define UI_API
#endif

#ifndef TAG_CLASS
#define TAG_CLASS
#endif

#ifndef BLAM_CFG
#define BLAM_CFG
#endif

#ifndef HSC
#define HSC
#endif

namespace Blam
{
    BLAM HWND                     GetMainWindowHandle();

    namespace Tick
    {
        BLAM void                 updateLastTimestamp();
        BLAM void                 tick();
        BLAM uint64_t             getCurrentTickRate();
    }
}

//BlamExt namespace was here