mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-11-27 05:04:01 +08:00
fix compilation error + some print messages
This commit is contained in:
parent
54af73788b
commit
43ce82bf9c
@ -652,6 +652,7 @@ STEAMAPI_API HSteamUser S_CALLTYPE SteamGameServer_GetHSteamUser()
|
|||||||
//STEAMAPI_API steam_bool S_CALLTYPE SteamGameServer_InitSafe(uint32 unIP, uint16 usSteamPort, uint16 usGamePort, uint16 usQueryPort, EServerMode eServerMode, const char *pchVersionString )
|
//STEAMAPI_API steam_bool S_CALLTYPE SteamGameServer_InitSafe(uint32 unIP, uint16 usSteamPort, uint16 usGamePort, uint16 usQueryPort, EServerMode eServerMode, const char *pchVersionString )
|
||||||
STEAMAPI_API steam_bool S_CALLTYPE SteamGameServer_InitSafe( uint32 unIP, uint16 usSteamPort, uint16 usGamePort, uint16 unknown, EServerMode eServerMode, void *unknown1, void *unknown2, void *unknown3 )
|
STEAMAPI_API steam_bool S_CALLTYPE SteamGameServer_InitSafe( uint32 unIP, uint16 usSteamPort, uint16 usGamePort, uint16 unknown, EServerMode eServerMode, void *unknown1, void *unknown2, void *unknown3 )
|
||||||
{
|
{
|
||||||
|
PRINT_DEBUG("SteamGameServer_InitSafe called\n");
|
||||||
const char *pchVersionString;
|
const char *pchVersionString;
|
||||||
EServerMode serverMode;
|
EServerMode serverMode;
|
||||||
uint16 usQueryPort;
|
uint16 usQueryPort;
|
||||||
@ -719,6 +720,7 @@ STEAMAPI_API ESteamAPIInitResult S_CALLTYPE SteamInternal_GameServer_Init_V2( ui
|
|||||||
//STEAMAPI_API steam_bool SteamGameServer_Init( uint32 unIP, uint16 usGamePort, uint16 usQueryPort, EServerMode eServerMode, const char *pchVersionString );
|
//STEAMAPI_API steam_bool SteamGameServer_Init( uint32 unIP, uint16 usGamePort, uint16 usQueryPort, EServerMode eServerMode, const char *pchVersionString );
|
||||||
STEAMAPI_API steam_bool SteamGameServer_Init( uint32 unIP, uint16 usSteamPort, uint16 usGamePort, uint16 unknown, EServerMode eServerMode, void *unknown1, void *unknown2, void *unknown3 )
|
STEAMAPI_API steam_bool SteamGameServer_Init( uint32 unIP, uint16 usSteamPort, uint16 usGamePort, uint16 unknown, EServerMode eServerMode, void *unknown1, void *unknown2, void *unknown3 )
|
||||||
{
|
{
|
||||||
|
PRINT_DEBUG("SteamGameServer_Init called\n");
|
||||||
const char *pchVersionString;
|
const char *pchVersionString;
|
||||||
EServerMode serverMode;
|
EServerMode serverMode;
|
||||||
uint16 usQueryPort;
|
uint16 usQueryPort;
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
// these are defined in dll.cpp at the top like this:
|
// these are defined in dll.cpp at the top like this:
|
||||||
// static char old_xxx[128] = ...
|
// static char old_xxx[128] = ...
|
||||||
|
|
||||||
const static std::vector<const std::string> interface_patterns = {
|
const static std::vector<std::string> interface_patterns = {
|
||||||
R"(SteamClient\d+)",
|
R"(SteamClient\d+)",
|
||||||
|
|
||||||
R"(SteamGameServerStats\d+)",
|
R"(SteamGameServerStats\d+)",
|
||||||
@ -90,7 +90,7 @@ int main (int argc, char *argv[])
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (auto &patt : interface_patterns) {
|
for (const auto &patt : interface_patterns) {
|
||||||
total_matches += findinterface(out_file, steam_api_contents, patt);
|
total_matches += findinterface(out_file, steam_api_contents, patt);
|
||||||
}
|
}
|
||||||
out_file.close();
|
out_file.close();
|
||||||
|
Loading…
Reference in New Issue
Block a user