Jump to content

SteamBase_wip Module Code Changes For Steamworks SDK 1.6+


Steve_Yorkshire

Recommended Posts

Some time ago @OTHGMars made a module for integrating Steamworks into torque.
https://github.com/OTHGMars/Torque3D-1/tree/steamBase_wip

I have been using this with Torque 4.x and it works really well. Valve updated how Steam sends and receives client data in Steamworks SDK 1.6+ so I made a few changes.

The main changes are that

mbLocalStatsLoaded

is no longer a thing because the Steam client now preloads client data before games are launched ... so all the safety checks in steamBase_wip are redundant and had to be removed else they would default to false.

There are a few other minor changes required to update the module code to work with other changes Valve have introduced to Steamworks.

As ever my changes and newly introduced code are marked by the comment //yorks to identify me and the change.

I have attached the modified files for ease of use.

steamUser.cpp steamUserStats.h steamUserStats.cpp steamFriends.cpp

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...