30beba2ada
* Rename Callback class to BlitzCallback and add state-aware functionality (Register, RegisterResult, automatic unregistering). * Add functionality to delete Long pointers. * Add functionality to create and delete Doubles. * Add memory management functionality. * Reimplement SteamController Wrapper. * Implement SteamHTMLSurface Wrapper. * Fix up Declaration File and make it more descriptive. * Add Blitz Examples and Project.
35 lines
1.2 KiB
C
35 lines
1.2 KiB
C
// BlitzSteam - Steam wrapper for Blitz
|
|
// Copyright (C) 2015 Xaymar (Michael Fabian Dirks)
|
|
//
|
|
// 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/>.
|
|
|
|
#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>
|
|
#include <exception>
|
|
#include <stdexcept>
|
|
#include <memory>
|
|
|
|
// Platform specific: Windows
|
|
#include <windows.h>
|
|
|
|
// Steam
|
|
#include "SteamworksSDK/public/steam/steam_api.h"
|
|
#include "SteamworksSDK/public/steam/steam_gameserver.h"
|