/*
- * Copyright (C) 2021-2023 Mt.ZERO Software, Harry Godden - All Rights Reserved
+ * Copyright (C) 2021-2024 Mt.ZERO Software, Harry Godden - All Rights Reserved
* All trademarks are property of their respective owners
*/
-
-#ifndef STEAM_H
-#define STEAM_H
-
-#define VG_GAME
+#pragma once
#include "vg/vg_steam.h"
#include "vg/vg_steam_utils.h"
#include "vg/vg_steam_networking.h"
static int steam_init(void){
const char *username = "offline player";
-#ifdef SR_NETWORKED
vg_info( "Initializing steamworks\n" );
if( !SteamAPI_Init() ){
vg_console_reg_cmd( "ach", steam_achievement_ccmd, NULL );
-#endif
-
/* TODO: On username update callback */
str_utf8_collapse( username, steam_username_at_startup,
vg_list_size(steam_username_at_startup) );
SteamAPI_Shutdown();
}
}
-
-#endif /* STEAM_H */