X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=fishladder.c;h=03d391de1838959d6436db660cc6801622c6c30b;hb=5cd0365349b88c7774e0e18c0cad591156512c1f;hp=73c9210a92474dadb5f3dbef33638a92ee957526;hpb=5276db4a15a6565813bdde22198f8aee4030e56f;p=fishladder.git diff --git a/fishladder.c b/fishladder.c index 73c9210..03d391d 100644 --- a/fishladder.c +++ b/fishladder.c @@ -1,7 +1,7 @@ // Copyright (C) 2021 Harry Godden (hgn) - All Rights Reserved -//#define VG_STEAM -//#define VG_STEAM_APPID 1218140U +#define VG_STEAM +#define VG_STEAM_APPID 1218140U #include "vg/vg.h" #include "fishladder_resources.h" @@ -332,7 +332,6 @@ struct world u32 score; u32 completed; u32 time; - } world = {}; static void map_free(void) @@ -709,6 +708,7 @@ static void map_serialize( FILE *stream ) int main( int argc, char *argv[] ) { vg_init( argc, argv, "Marble Computing | SPACE: Test | LeftClick: Toggle tile | RightClick: Drag wire" ); + return 0; } static int console_credits( int argc, char const *argv[] ) @@ -1512,6 +1512,8 @@ void vg_update(void) if( cell_entry->config == k_cell_type_con_r || cell_entry->config == k_cell_type_con_u || cell_entry->config == k_cell_type_con_l || cell_entry->config == k_cell_type_con_d ) { + sw_set_achievement( "CAN_DO_THAT" ); + fish->state = k_fish_state_soon_alive; fish->dir[0] = 0;