Skip to content

Commit

Permalink
Refactor|libcommon: Update read-only player status cvars via the Con API
Browse files Browse the repository at this point in the history
Also reorganized g_game.cpp to avoid excessive scrolling.
  • Loading branch information
danij-deng committed Aug 25, 2014
1 parent acc9d9b commit 8d9cc18
Show file tree
Hide file tree
Showing 3 changed files with 463 additions and 334 deletions.
5 changes: 5 additions & 0 deletions doomsday/plugins/common/include/player.h
Expand Up @@ -243,6 +243,11 @@ dd_bool Player_WaitingForReborn(player_t const *player);
*/
angle_t Player_ViewYawAngle(int playerNum);

/**
* Updates game status cvars for the player.
*/
void Player_UpdateStatusCVars(player_t const *player);

#ifdef __cplusplus
} // extern "C"
#endif
Expand Down

0 comments on commit 8d9cc18

Please sign in to comment.