aboutsummaryrefslogtreecommitdiff
path: root/src/player/inc
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2022-06-24 17:28:38 +0200
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2022-06-24 17:28:38 +0200
commit992e7fb9358a0d0a5d99ba119cf584477bda8d72 (patch)
tree1cd753a73b560e60e0de353b9a1b7d0e15b002d6 /src/player/inc
parent5ac01ff845f37fadd1822f99149f1b610f510bba (diff)
downloadrts-992e7fb9358a0d0a5d99ba119cf584477bda8d72.tar.gz
peripheral: provide common actions
Whereas some actions are context-specific (e.g.: selecting a player), some are context-independent and can be executed for all screens (e.g.: exiting the game).
Diffstat (limited to 'src/player/inc')
-rw-r--r--src/player/inc/human_player.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/player/inc/human_player.h b/src/player/inc/human_player.h
index ca52112..39a0d6d 100644
--- a/src/player/inc/human_player.h
+++ b/src/player/inc/human_player.h
@@ -64,7 +64,7 @@ struct human_player
};
int human_player_init(const struct human_player_cfg *cfg, struct human_player *h);
-bool human_player_update(struct human_player *h, struct player_others *o);
+void human_player_update(struct human_player *h, struct player_others *o);
int human_player_render(const struct human_player *h, const struct player_others *o);
#ifdef __cplusplus