X-Git-Url: https://harrygodden.com/git/?p=vg.git;a=blobdiff_plain;f=vg_steam_remote_storage.h;fp=vg_steam_remote_storage.h;h=c7980e2f3d480162c0a7d5c203716cab9c0148ee;hp=24aaf3b16b37220bfce3a81795ef4c71fcba5395;hb=7108996fc9e1baebc3b3f09e950ce08487f9d5a6;hpb=3b14f3dcd5bf9dd3c85144f2123d667bfa4bb63f diff --git a/vg_steam_remote_storage.h b/vg_steam_remote_storage.h index 24aaf3b..c7980e2 100644 --- a/vg_steam_remote_storage.h +++ b/vg_steam_remote_storage.h @@ -1,7 +1,7 @@ #pragma once #include "vg_steam.h" -const u32 k_unMaxCloudFileChunkSize = 100 * 1024 * 1024; +static const u32 k_unMaxCloudFileChunkSize = 100 * 1024 * 1024; #if defined( VALVE_CALLBACK_PACK_SMALL ) #pragma pack( push, 4 ) @@ -22,14 +22,14 @@ typedef void ISteamRemoteStorage; typedef u64 UGCHandle_t; typedef u64 PublishedFileUpdateHandle_t; typedef u64 PublishedFileId_t; -const PublishedFileId_t k_PublishedFileIdInvalid = 0; -const UGCHandle_t k_UGCHandleInvalid = 0xffffffffffffffffull; -const PublishedFileUpdateHandle_t +static const PublishedFileId_t k_PublishedFileIdInvalid = 0; +static const UGCHandle_t k_UGCHandleInvalid = 0xffffffffffffffffull; +static const PublishedFileUpdateHandle_t k_PublishedFileUpdateHandleInvalid = 0xffffffffffffffffull; /* Handle for writing to Steam Cloud */ typedef u64 UGCFileWriteStreamHandle_t; -const UGCFileWriteStreamHandle_t +static const UGCFileWriteStreamHandle_t k_UGCFileStreamHandleInvalid = 0xffffffffffffffffull; enum{ k_cchPublishedDocumentTitleMax = 128 + 1 };