(965c31410a) Unstable v0.10.4.0

This commit is contained in:
Juan Pablo Arce
2020-07-21 08:57:50 -03:00
parent 4f8bd39789
commit 33d3a41104
546 changed files with 45952 additions and 25762 deletions
@@ -13,32 +13,18 @@ namespace Steamworks
#if PLATFORM_WIN64
public const int StructPlatformPackSize = 8;
public const string LibraryName = "steam_api64";
public const CallingConvention MemberConvention = CallingConvention.Cdecl;
#elif PLATFORM_WIN32
public const int StructPlatformPackSize = 8;
public const string LibraryName = "steam_api";
public const CallingConvention MemberConvention = CallingConvention.ThisCall;
#elif PLATFORM_POSIX32
public const int StructPlatformPackSize = 4;
public const string LibraryName = "libsteam_api";
public const CallingConvention MemberConvention = CallingConvention.Cdecl;
#elif PLATFORM_POSIX64
public const int StructPlatformPackSize = 4;
public const string LibraryName = "libsteam_api64";
public const CallingConvention MemberConvention = CallingConvention.Cdecl;
#elif PLATFORM_POSIX
public const int StructPlatformPackSize = 4;
public const string LibraryName = "libsteam_api";
#endif
public const CallingConvention CC = CallingConvention.Cdecl;
public const int StructPackSize = 4;
public static int MemoryOffset( int memLocation )
{
#if PLATFORM_64
return memLocation;
#else
return memLocation / 2;
#endif
}
}
}