From a63d893a18ccffce0e42033d2648bf29df3bccf2 Mon Sep 17 00:00:00 2001 From: Michael Fabain Dirks Date: Fri, 1 Jul 2016 14:17:52 +0200 Subject: [PATCH] Duplicate decls file - how did this not get noticed for so long ... --- Resources/BlitzSteam.ipf | 2 +- Resources/Decls/BlitzSteam_Callback.decls | 33 ------------------- .../SteamMatchmakingServers_Example.bb | 2 +- 3 files changed, 2 insertions(+), 35 deletions(-) delete mode 100644 Resources/Decls/BlitzSteam_Callback.decls diff --git a/Resources/BlitzSteam.ipf b/Resources/BlitzSteam.ipf index fdfa47e..c0b4e5f 100644 --- a/Resources/BlitzSteam.ipf +++ b/Resources/BlitzSteam.ipf @@ -3,7 +3,7 @@ Version="1" Expanded="True" Icon="" - MainFile="SteamMatchmakingServers_Example.bb" + MainFile="SteamHTMLSurface_Example.bb" Compiler="Blitz3D" CommandLine="" diff --git a/Resources/Decls/BlitzSteam_Callback.decls b/Resources/Decls/BlitzSteam_Callback.decls deleted file mode 100644 index ff20199..0000000 --- a/Resources/Decls/BlitzSteam_Callback.decls +++ /dev/null @@ -1,33 +0,0 @@ -; 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 . - -.lib "BlitzSteam.dll" -; BlitzCallback --------------------------------------------------------------- -BS_Callback_New%(pFunction%) :"_BS_Callback_New@4" -BS_Callback_Destroy(pThis%) :"_BS_Callback_Destroy@4" -BS_Callback_GetCallbackSizeBytes%(pThis%) :"_BS_Callback_GetCallbackSizeBytes@4" -BS_Callback_SetCallback(pThis%, iCallback%) :"_BS_Callback_SetCallback@8" -BS_Callback_GetCallback%(pThis%) :"_BS_Callback_GetCallback@4" -BS_Callback_SetFunction(pThis%, pFunction%) :"_BS_Callback_SetFunction@8" -BS_Callback_GetFunction%(pThis%) :"_BS_Callback_GetFunction@4" -BS_Callback_SetRegistered(pThis%, bIsRegistered%) :"_BS_Callback_SetRegistered@8" -BS_Callback_IsRegistered%(pThis%) :"_BS_Callback_IsRegistered@4" -BS_Callback_SetGameServer(pThis%, bIsGameServer%) :"_BS_Callback_SetGameServer@8" -BS_Callback_IsGameServer%(pThis%) :"_BS_Callback_IsGameServer@4" -BS_Callback_Register(pThis%, iCallback%) :"_BS_Callback_Register@8" -BS_Callback_Unregister(pThis%) :"_BS_Callback_Unregister@4" -BS_Callback_RegisterResult(pThis%, lSteamAPICall%, iCallback%) :"_BS_Callback_RegisterResult@12" -BS_Callback_UnregisterResult(pThis%) :"_BS_Callback_UnregisterResult@4" \ No newline at end of file diff --git a/Resources/Examples/SteamMatchmakingServers_Example.bb b/Resources/Examples/SteamMatchmakingServers_Example.bb index 76b5b38..3518a0f 100644 --- a/Resources/Examples/SteamMatchmakingServers_Example.bb +++ b/Resources/Examples/SteamMatchmakingServers_Example.bb @@ -35,7 +35,7 @@ Global Timer = CreateTimer(FRAMERATE) Global ServerListResponse_ServerResponded_p%:ServerListResponse_ServerResponded(0, 0) Global ServerListResponse_RefreshComplete_p%:ServerListResponse_RefreshComplete(0, 0) -Graphics RESOLUTION_X, RESOLUTION_Y, RESOLUTION_Z, RESOLUTION_MODE +Graphics3D RESOLUTION_X, RESOLUTION_Y, RESOLUTION_Z, RESOLUTION_MODE SetBuffer BackBuffer() If Not BS_SteamAPI_Init() Then RuntimeError "Failed to initialize Steam!"