2016-01-11 20:07:57 +01:00
|
|
|
// BlitzSteam - Steam wrapper for Blitz
|
2016-01-11 16:56:07 +01:00
|
|
|
// Copyright (C) 2015 Xaymar (Michael Fabian Dirks)
|
2015-06-06 18:46:10 +02:00
|
|
|
//
|
|
|
|
|
// This program is free software: you can redistribute it and/or modify
|
|
|
|
|
// it under the terms of the GNU Lesser 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 Lesser General Public License
|
|
|
|
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
2016-02-06 00:17:29 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
// Macros
|
|
|
|
|
#define DLL_FUNCTION(type) extern "C" type __stdcall
|
|
|
|
|
//#define DLL_FUNCTION(type) extern "C" __declspec(dllexport) type __stdcall
|
|
|
|
|
|
|
|
|
|
// Standard Library
|
|
|
|
|
#include <time.h>
|
2015-05-17 12:45:11 +02:00
|
|
|
#include <exception>
|
|
|
|
|
#include <stdexcept>
|
|
|
|
|
#include <memory>
|
|
|
|
|
|
|
|
|
|
// Platform specific: Windows
|
|
|
|
|
#include <windows.h>
|
|
|
|
|
|
|
|
|
|
// Steam
|
2016-02-06 00:17:29 +01:00
|
|
|
#include "SteamworksSDK/public/steam/steam_api.h"
|
|
|
|
|
#include "SteamworksSDK/public/steam/steam_gameserver.h"
|
|
|
|
|
|
|
|
|
|
// Steam Helper Classes and Functions
|
|
|
|
|
#include "Helpers/BlitzPointer.h"
|
|
|
|
|
#include "Helpers/Callbacks.h"
|
|
|
|
|
#include "Helpers/CSteamID.h"
|
|
|
|
|
#include "Helpers/Helper.h"
|