X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=steam.h;h=251c51e85c00b36bc6a3e9019b953f7fbc595d38;hb=4b8fc63f926737ca0593a4e471550f9f4995c538;hp=969f632aadeb0500de27fe474f72ee63efb03794;hpb=be8ea6efdbfd9c0fdad97401ed7d92041d8c8778;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/steam.h b/steam.h index 969f632..251c51e 100644 --- a/steam.h +++ b/steam.h @@ -16,16 +16,6 @@ #include "vg/vg_steam_user_stats.h" #include "submodules/anyascii/impl/c/anyascii.c" -enum steam_controller_type{ - k_steam_controller_type_keyboard, - k_steam_controller_type_xbox, - k_steam_controller_type_playstation, - k_steam_controller_type_steam, - k_steam_controller_type_steam_deck -}; - -VG_STATIC enum steam_controller_type steam_display_controller; - /* * We only want to use steamworks if building for the networked version, * theres not much point otherwise. We mainly want steamworks for setting @@ -48,7 +38,7 @@ VG_STATIC void recv_steam_warning( int severity, const char *msg ) } VG_STATIC int steam_ready = 0, - steam_stats_ready = 0; + steam_stats_ready = 0; VG_STATIC void *hSteamNetworkingSockets, *hSteamUser; @@ -101,13 +91,12 @@ VG_STATIC void steam_clear_achievement( const char *name ) } -VG_STATIC int steam_list_achievements( int argc, char const *argv[] ) -{ +VG_STATIC void steam_print_all_achievements(void){ vg_info( "Achievements: \n" ); if( steam_ready && steam_stats_ready ){ for( int i=0; i