Skip to content

Commit d301528

Browse files
1.62
1 parent f1672c2 commit d301528

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+733
-1077
lines changed

.github/workflows/main-1.61.yml renamed to .github/workflows/main-1.62.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: SteamworksSDK
22

3-
run-name: 1.61.${{ github.run_number }}
3+
run-name: 1.62.${{ github.run_number }}
44

55
on:
66
workflow_dispatch:
@@ -19,7 +19,7 @@ env:
1919
_RELEASE_NAME: SteamworksSDK
2020
_RELEASE_VERSION: v0
2121
_BUILD_BRANCH: "${{ github.ref }}"
22-
_BUILD_VERSION: "1.61.${{ github.run_number }}"
22+
_BUILD_VERSION: "1.62.${{ github.run_number }}"
2323
# GIT: Fix reporting from stderr to stdout
2424
GIT_REDIRECT_STDERR: 2>&1
2525

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
![Overall Downloads](https://img.shields.io/github/downloads/julianxhokaxhiu/SteamworksSDKCI/total?label=Overall%20Downloads) ![GitHub Actions Workflow Status](https://github.com/julianxhokaxhiu/SteamworksSDKCI/actions/workflows/main-1.61.yml/badge.svg?branch=master)
1+
![Overall Downloads](https://img.shields.io/github/downloads/julianxhokaxhiu/SteamworksSDKCI/total?label=Overall%20Downloads) ![GitHub Actions Workflow Status](https://github.com/julianxhokaxhiu/SteamworksSDKCI/actions/workflows/main-1.62.yml/badge.svg?branch=master)
22

33
# SteamworksSDKCI
44
CI builds of Steamworks SDK for CMake build systems

cmake/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
include(ExternalProject)
22

3-
set(SWSDK_VERSION "1.61")
3+
set(SWSDK_VERSION "1.62")
44
set(SWSDK_RELEASE "x86")
55
if( CMAKE_SIZEOF_VOID_P EQUAL 8 )
66
set(SWSDK_RELEASE "x64")

steamworks_sdk/Readme.txt

+21
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,27 @@ Welcome to the Steamworks SDK. For documentation please see our partner
99
website at: http://partner.steamgames.com
1010

1111

12+
----------------------------------------------------------------
13+
v1.62 14th March 2025
14+
----------------------------------------------------------------
15+
16+
ISteamFriends:
17+
* Removed SetPersonaName() and GetUserRestrictions().
18+
19+
ISteamHTMLSurface:
20+
* Renamed EMouseCursor to EHTMLMouseCursor, and renamed values to match.
21+
22+
ISteamRemotePlay:
23+
* Removed BStartRemotePlayTogether() since it's always available when a supported game launches.
24+
* Added ShowRemotePlayTogetherUI() to show the Remote Play Together UI in the game overlay.
25+
* Added functions to get remote keyboard and mouse input directly instead of simulating local input: BEnableRemotePlayTogetherDirectInput(), DisableRemotePlayTogetherDirectInput(), GetInput(), SetMouseVisibility(), SetMousePosition(), CreateMouseCursor(), SetMouseCursor().
26+
27+
ISteamUGC:
28+
* Added SetSubscriptionsLoadOrder() to allow changing the load order.
29+
* Added SetItemsDisabledLocally() set an item as locally disabled or not.
30+
* GetNumSubscribedItems() and GetSubscribedItems() also takes an optional boolean to return locally disabled items as well.
31+
32+
1233
----------------------------------------------------------------
1334
v1.61 8th November 2024
1435
----------------------------------------------------------------

steamworks_sdk/SteamworksExample/Main.cpp

+3-7
Original file line numberDiff line numberDiff line change
@@ -166,11 +166,8 @@ void RunGameLoop( IGameEngine *pGameEngine, const char *pchServerAddress, const
166166
//-----------------------------------------------------------------------------
167167
// Purpose: Real main entry point for the program
168168
//-----------------------------------------------------------------------------
169-
#ifndef _PS3
170-
171169
static int RealMain( const char *pchCmdLine, HINSTANCE hInstance, int nCmdShow )
172-
{
173-
170+
{
174171
if ( SteamAPI_RestartAppIfNecessary( k_uAppIdInvalid ) )
175172
{
176173
// if Steam is not running or the game wasn't started through Steam, SteamAPI_RestartAppIfNecessary starts the
@@ -180,8 +177,7 @@ static int RealMain( const char *pchCmdLine, HINSTANCE hInstance, int nCmdShow )
180177
// removed steam_appid.txt from the game depot.
181178

182179
return EXIT_FAILURE;
183-
}
184-
180+
}
185181

186182
// Init Steam CEG
187183
if ( !Steamworks_InitCEGLibrary() )
@@ -290,7 +286,7 @@ static int RealMain( const char *pchCmdLine, HINSTANCE hInstance, int nCmdShow )
290286
// exit
291287
return EXIT_SUCCESS;
292288
}
293-
#endif
289+
294290

295291
//-----------------------------------------------------------------------------
296292
// Purpose: Main entry point for the program -- win32

steamworks_sdk/SteamworksExample/Makefile

-2
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,10 @@ SOURCEFILES := \
2424
timeline.cpp \
2525
VectorEntity.cpp \
2626
clanchatroom.cpp \
27-
connectingmenu.cpp \
2827
gameenginesdl.cpp \
2928
htmlsurface.cpp \
3029
musicplayer.cpp \
3130
p2pauth.cpp \
32-
remotestoragesync.cpp \
3331
stdafx.cpp \
3432
voicechat.cpp \
3533
glew.c

steamworks_sdk/SteamworksExample/RemoteStorage.cpp

+8-81
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,18 @@
77

88
#include "stdafx.h"
99
#include "RemoteStorage.h"
10-
#include "remotestoragesync.h"
10+
#include "BaseMenu.h"
1111
#include <assert.h>
1212

13+
1314
#define CLOUDDISP_FONT_HEIGHT 20
1415
#define CLOUDDISP_COLUMN_WIDTH 600
1516
#define CLOUDDISP_TEXT_HEIGHT 20
1617
#define CLOUDDISP_VERT_SPACING 4
1718

1819
#define MESSAGE_FILE_NAME "message.dat"
1920

21+
extern uint64 g_ulLastReturnKeyTick;
2022

2123
//-----------------------------------------------------------------------------
2224
// NOTE
@@ -31,21 +33,12 @@
3133
//
3234
//-----------------------------------------------------------------------------
3335

34-
35-
//-----------------------------------------------------------------------------
36-
// Purpose: CRemoteStorage implementation
37-
//-----------------------------------------------------------------------------
38-
3936
//-----------------------------------------------------------------------------
4037
// Purpose: Constructor
4138
//-----------------------------------------------------------------------------
42-
CRemoteStorage::CRemoteStorage( IGameEngine *pGameEngine ) : m_pGameEngine( pGameEngine ), m_pRemoteStorageSync(NULL)
39+
CRemoteStorage::CRemoteStorage( IGameEngine *pGameEngine ) : m_pGameEngine( pGameEngine )
4340
{
4441
m_pRemoteStorageScreen = new CRemoteStorageScreen( pGameEngine );
45-
46-
#ifdef _PS3
47-
m_pRemoteStorageSync = new CRemoteStorageSync( pGameEngine );
48-
#endif
4942
}
5043

5144

@@ -54,12 +47,6 @@ CRemoteStorage::CRemoteStorage( IGameEngine *pGameEngine ) : m_pGameEngine( pGam
5447
//-----------------------------------------------------------------------------
5548
CRemoteStorage::~CRemoteStorage()
5649
{
57-
if ( m_pRemoteStorageSync )
58-
{
59-
assert( m_pRemoteStorageSync->BFinished() );
60-
delete m_pRemoteStorageSync;
61-
}
62-
6350
delete m_pRemoteStorageScreen;
6451
}
6552

@@ -69,61 +56,7 @@ CRemoteStorage::~CRemoteStorage()
6956
//-----------------------------------------------------------------------------
7057
void CRemoteStorage::Show()
7158
{
72-
m_eState = k_ERemoteStorageStateIdle;
73-
CheckState();
74-
}
75-
76-
77-
//-----------------------------------------------------------------------------
78-
// Purpose: Check's if we have finished our current step and should advance to the next
79-
//
80-
// NOTE: These steps are not necessary for platforms where the Steam client is running. On those platforms,
81-
// the Steam client will take care of synchronization and m_pRemoteStorageSync will be NULL
82-
//-----------------------------------------------------------------------------
83-
void CRemoteStorage::CheckState()
84-
{
85-
switch( m_eState )
86-
{
87-
default:
88-
case k_ERemoteStorageStateIdle:
89-
if ( m_pRemoteStorageSync )
90-
m_pRemoteStorageSync->SynchronizeToClient();
91-
92-
// advance to next state
93-
m_eState = k_ERemoteStorageStateSyncToClient;
94-
95-
// fall through
96-
97-
case k_ERemoteStorageStateSyncToClient:
98-
if ( m_pRemoteStorageSync && !m_pRemoteStorageSync->BFinished() )
99-
break;
100-
101-
// advance to next state
102-
m_eState = k_ERemoteStorageStateDisplayMessage;
103-
m_pRemoteStorageScreen->Show();
104-
break;
105-
106-
case k_ERemoteStorageStateDisplayMessage:
107-
if ( !m_pRemoteStorageScreen->BFinished() )
108-
break;
109-
110-
// advance to next state
111-
m_eState = k_ERemoteStorageStateSyncToServer;
112-
if ( m_pRemoteStorageSync )
113-
m_pRemoteStorageSync->SynchronizeToServer();
114-
115-
// fall through
116-
117-
case k_ERemoteStorageStateSyncToServer:
118-
if ( m_pRemoteStorageSync && !m_pRemoteStorageSync->BFinished() )
119-
break;
120-
121-
// complete. Return to the main menu
122-
m_eState = k_ERemoteStorageStateIdle;
123-
SpaceWarClient()->SetGameState( k_EClientGameMenu );
124-
125-
break;
126-
}
59+
m_pRemoteStorageScreen->Show();
12760
}
12861

12962

@@ -132,13 +65,9 @@ void CRemoteStorage::CheckState()
13265
//-----------------------------------------------------------------------------
13366
void CRemoteStorage::Render()
13467
{
135-
if ( m_pRemoteStorageSync && (m_eState == k_ERemoteStorageStateSyncToClient || m_eState == k_ERemoteStorageStateSyncToServer) )
136-
m_pRemoteStorageSync->Render();
137-
138-
if ( m_eState == k_ERemoteStorageStateDisplayMessage )
139-
m_pRemoteStorageScreen->Render();
140-
141-
CheckState();
68+
m_pRemoteStorageScreen->Render();
69+
if ( m_pRemoteStorageScreen->BFinished() )
70+
SpaceWarClient()->SetGameState( k_EClientGameMenu );
14271
}
14372

14473

@@ -147,8 +76,6 @@ void CRemoteStorage::Render()
14776
//-----------------------------------------------------------------------------
14877
void CRemoteStorage::OnMenuSelection( ERemoteStorageSyncMenuCommand selection )
14978
{
150-
if ( m_pRemoteStorageSync )
151-
m_pRemoteStorageSync->OnMenuSelection( selection );
15279
}
15380

15481

steamworks_sdk/SteamworksExample/RemoteStorage.h

-12
Original file line numberDiff line numberDiff line change
@@ -44,19 +44,7 @@ class CRemoteStorage
4444
void OnMenuSelection( ERemoteStorageSyncMenuCommand selection );
4545

4646
private:
47-
void CheckState();
48-
49-
enum ERemoteStorageState
50-
{
51-
k_ERemoteStorageStateIdle,
52-
k_ERemoteStorageStateSyncToClient,
53-
k_ERemoteStorageStateDisplayMessage,
54-
k_ERemoteStorageStateSyncToServer,
55-
};
56-
5747
IGameEngine *m_pGameEngine;
58-
ERemoteStorageState m_eState;
59-
IRemoteStorageSync *m_pRemoteStorageSync;
6048
CRemoteStorageScreen *m_pRemoteStorageScreen;
6149
};
6250

steamworks_sdk/SteamworksExample/SpaceWar.h

+1-19
Original file line numberDiff line numberDiff line change
@@ -116,27 +116,13 @@ inline T QWordSwap( T dw )
116116
return *((T*)&temp);
117117
}
118118

119-
#ifndef _PS3
120-
121119
#define LittleInt16( val ) ( val )
122120
#define LittleWord( val ) ( val )
123121
#define LittleInt32( val ) ( val )
124122
#define LittleDWord( val ) ( val )
125123
#define LittleQWord( val ) ( val )
126124
#define LittleFloat( val ) ( val )
127125

128-
#else
129-
130-
#define LittleInt16( val ) WordSwap( val )
131-
#define LittleWord( val ) WordSwap( val )
132-
#define LittleInt32( val ) DWordSwap( val )
133-
#define LittleDWord( val ) DWordSwap( val )
134-
#define LittleQWord( val ) QWordSwap( val )
135-
#define LittleFloat( val ) DWordSwap( val )
136-
137-
#endif
138-
139-
140126
// Leaderboard names
141127
#define LEADERBOARD_QUICKEST_WIN "Quickest Win"
142128
#define LEADERBOARD_FEET_TRAVELED "Feet Traveled"
@@ -177,10 +163,6 @@ enum EClientGameState
177163
k_EClientLeaderboards,
178164
k_EClientFriendsList,
179165
k_EClientMinidump,
180-
k_EClientConnectingToSteam,
181-
k_EClientLinkSteamAccount,
182-
k_EClientAutoCreateAccount,
183-
k_EClientRetrySteamConnection,
184166
k_EClientClanChatRoom,
185167
k_EClientWebCallback,
186168
k_EClientMusic,
@@ -461,4 +443,4 @@ struct ClientSpaceWarUpdateData_t
461443

462444
#pragma pack( pop )
463445

464-
#endif // SPACEWAR_H
446+
#endif // SPACEWAR_H

0 commit comments

Comments
 (0)