X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=player.h;h=5dd9401dbfca38fd3b922622aeff98b11de9eb4e;hb=d00b1df8f80e4714dc2f9aa2189d242bb4d09a2f;hp=0a226afaffe04541c3315dfc602dd81f859c88f0;hpb=c2d67378dd5c82de50b8fbbbe222ec6be2da4eee;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/player.h b/player.h index 0a226af..5dd9401 100644 --- a/player.h +++ b/player.h @@ -1,10 +1,5 @@ /* - * Copyright 2021-2022 (C) Mount0 Software, Harry Godden - All Rights Reserved - * ----------------------------------------------------------------------------- - * - * Player head module - * - * ----------------------------------------------------------------------------- + * Copyright (C) 2021-2022 Mt.ZERO Software, Harry Godden - All Rights Reserved */ #ifndef PLAYER_H @@ -177,7 +172,7 @@ static void player_restore_frame(void); * ----------------------------------------------------------------------------- */ -static int player_init(void) /* 1 */ +static void player_init(void) /* 1 */ { rb_init( &player.phys.rb ); rb_init( &player.collide_front ); @@ -228,7 +223,8 @@ static int player_init(void) /* 1 */ .function = reset_player }); - return player_model_init(); + /* other systems */ + vg_loader_highwater( player_model_init, player_model_free, NULL ); } static void player_update(void) /* 2 */