build system revision
[carveJwlIkooP6JGAAIwe30JlM.git] / steam.h
diff --git a/steam.h b/steam.h
index dadcd90309e6ace26db0dc668d5f7c9b29fda0a1..977f77d47844fa9b2294158cc3e178f6334cfb86 100644 (file)
--- a/steam.h
+++ b/steam.h
@@ -1,12 +1,8 @@
 /*
- * 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"
@@ -246,7 +242,6 @@ static u32 str_utf8_collapse( const char *str, char *buf, u32 length ){
 static int steam_init(void){
    const char *username = "offline player";
 
-#ifdef SR_NETWORKED
    vg_info( "Initializing steamworks\n" );
 
    if( !SteamAPI_Init() ){
@@ -287,8 +282,6 @@ static int steam_init(void){
 
    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) );
@@ -310,5 +303,3 @@ static void steam_end(void)
       SteamAPI_Shutdown();
    }
 }
-
-#endif /* STEAM_H */