Skip to content

Instantly share code, notes, and snippets.

@DexterHaslem
Created June 17, 2022 02:21
Show Gist options
  • Save DexterHaslem/e0e3afdfd0e469a9d2ccadb4014ff56d to your computer and use it in GitHub Desktop.
Save DexterHaslem/e0e3afdfd0e469a9d2ccadb4014ff56d to your computer and use it in GitHub Desktop.
steamworks api init / dummy
#include <Windows.h>
#pragma warning(disable:4996)
#include "steam/steam_api_flat.h"
int main(int argc, char** argv) {
SteamAPI_Init();
while (GetAsyncKeyState(VK_ESCAPE) == 0) {
Sleep(100);
}
SteamAPI_Shutdown();
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment