Commit Graph

44 Commits

Author SHA1 Message Date
a
caa4024de3 avoid locking the global_mutex every time when getting the global steamclient instance, double check for null and lock on the first time the pointer is initialized, should speed things up 2023-12-14 04:39:35 +02:00
Mr_Goldberg
a4ef72cb3c
Don't create new client instance when unregistering callbacks. 2022-08-13 14:37:23 -04:00
Mr_Goldberg
3abc5976e0
Reset LastError in some functions for game devs that can't code. 2022-08-11 20:52:02 -04:00
Mr_Goldberg
7163daa6c1
Destroy client, network sockets and other objects on shutdown. 2022-08-10 03:24:29 -04:00
Mr_Goldberg
d8bcb11ef2
The steam api seems to treat bools as the full register not just al. 2022-06-04 17:16:11 -04:00
Mr_Goldberg
eda9abd2aa
Fix linux CI build. 2022-01-26 03:07:49 -05:00
Mr_Goldberg
f852e5c272
steam_interfaces.txt can now be put in the steam_settings folder. 2022-01-26 01:52:21 -05:00
Mr_Goldberg
a24a9c266f
Make the TriggerVibrationvibration behave closer to real steam. 2021-09-14 16:11:17 -04:00
Mr_Goldberg
51702b898e
UTF8 paths are now properly handled on windows. 2021-04-25 12:44:41 -04:00
Mr_Goldberg
19015c097c
Hopefully this fixes the SteamAPI_ISteamGameServer_GetPublicIP function 2021-04-09 14:53:20 -04:00
Mr_Goldberg
1648c14243
Fixed issue with game treating bool return values as an int. 2021-02-16 12:30:24 -05:00
Mr_Goldberg
7ea90b03c4
Fixed some dedicated servers not booting up correctly. 2021-01-23 23:03:10 -05:00
Nemirtingas
fe9bbd1104 Add a common include file. 2020-07-16 11:56:24 +02:00
Mr_Goldberg
48ea1da91f
Add missing steamclient function. 2020-06-11 12:20:31 -04:00
Mr_Goldberg
714904b984
Make all functions return something and re enable the msvc error. 2020-05-20 18:42:15 -04:00
Mr_Goldberg
5c41ba020c
Update to sdk 1.48 2020-03-25 13:43:23 -04:00
Mr_Goldberg
350293a9c3
Fixed game crash when calling ContextInit before SteamAPI_Init 2020-01-25 15:22:33 -05:00
Mr_Goldberg
db2a803cf7
A few improvements to the overlay merge request.
NO_OVERLAY define becomes EMU_OVERLAY which enables the overlay instead of disabling it.

disable_overlay.txt moved to steam_settings.
2020-01-19 12:55:14 -05:00
Mr_Goldberg
ffdaf72597
Merge branch 'overlay_h' of https://gitlab.com/Nemirtingas/goldberg_emulator
# Conflicts:
#	build_steamos.sh
#	dll/dll.cpp
2020-01-19 12:50:01 -05:00
Mr_Goldberg
b53d5224f3
Cache values of old accessor functions for better performance. 2020-01-17 11:37:13 -05:00
Mr_Goldberg
a2f8fec816
Try to fix the flat api get public ip function. 2020-01-17 11:36:46 -05:00
Mr_Goldberg
60b627163a
Comment out microsecond sleep that no longer seems necessary. 2020-01-15 22:05:19 -05:00
Mr_Goldberg
11cb3ce998
Fix some major issues (networking didn't work, gameservers didn't work) with the steamclient version.
Implemented a basic steampipe alloc system and fixed build.
2020-01-15 10:11:37 -05:00
Nemirtingas
118dee9278 Merge remote-tracking branch 'Mr_Goldberg/master' into overlay_h 2020-01-10 08:16:16 +01:00
Mr_Goldberg
262ee1d18f
Update to sdk 1.47 2019-12-09 12:49:55 -05:00
Nemirtingas
c8288d6bf3 Added file to disable overlay
Disable the overlay by creating a file disable_overlay.txt next to steam_api.dll
2019-11-08 15:57:04 +01:00
Nemirtingas
5ad434e190 Merge branch 'master' into overlay_h 2019-09-20 13:26:34 +02:00
Mr_Goldberg
4db580d945
Add missing older steam api SteamUnifiedMessages() function. 2019-09-07 10:35:55 -04:00
Nemirtingas
7daf605511 Merge branch 'master' into overlay_h 2019-08-18 12:30:51 +02:00
Mr_Goldberg
0e17aeef76
Basic steamclient.dll emulation.
Build with STEAMCLIENT_DLL defined to build in steamclient.dll mode.
2019-08-17 18:02:15 -04:00
Nemirtingas
6224350142 Fixed compilation for windows 2019-08-14 18:11:00 +02:00
Nemirtingas
2930f12420 Merge branch 'master' into overlay_h 2019-08-04 21:00:43 +02:00
Mr_Goldberg
35860efa3a
Only set g_pSteamClientGameServer in steam gameserver init functions. 2019-08-04 14:36:28 -04:00
Nemirtingas
f30b0c9fb2 Merge branch 'master' into overlay_h 2019-08-04 11:11:40 +02:00
Mr_Goldberg
35c59044fd
SteamGameServerClient should return NULL if the gameserver is not initialized. 2019-08-03 19:00:31 -04:00
Mr_Goldberg
bf4847452e
SteamAPI_Shutdown actually does something now. 2019-08-03 18:58:23 -04:00
Nemirtingas
884f147e1b Merge branch 'master' into overlay_h 2019-08-01 15:56:43 +02:00
Mr_Goldberg
8723dad025
Update to sdk 1.46 2019-07-28 09:02:09 -04:00
Nemirtingas
a60a106daf Implementing overlay into existing code. 2019-07-25 23:33:28 +02:00
Mr_Goldberg
f3e968b54c
SteamInternal_CreateInterface should return NULL if not called with "SteamClient" 2019-07-12 15:54:26 -04:00
Mr_Goldberg
68b8e0241a
Add support for isteamgameserver 005-011 2019-05-20 12:35:55 -04:00
Mr_Goldberg
c20944ca0a
More accurate behavior. 2019-05-11 14:44:06 -04:00
Mr_Goldberg
b7b5f78e7f
Load all interface versions that matter from steam_interfaces.txt 2019-04-14 08:40:09 -04:00
Mr_Goldberg
d968c3e1b5
Initial commit. 2019-04-13 12:21:56 -04:00