Question about p_ptr

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Kyle
    Rookie
    • Jul 2009
    • 15

    Question about p_ptr

    I'm really new to this code but I think I want to get into development on this project; so I'm trying to learn my way around.

    It seems clear that p_ptr is a global pointer to the player's structure, but I can't find where it is declared. When I search for it I get a million hits of course because it is used everywhere in the code.

    What file is (it)/(its type) defined in?

    Thanks!
  • takkaria
    Veteran
    • Apr 2007
    • 1951

    #2
    Originally posted by Kyle
    I'm really new to this code but I think I want to get into development on this project; so I'm trying to learn my way around.

    It seems clear that p_ptr is a global pointer to the player's structure, but I can't find where it is declared. When I search for it I get a million hits of course because it is used everywhere in the code.

    What file is (it)/(its type) defined in?

    Thanks!
    variable.c has the lots of the game-wide globals; the type itself is defined in player/types.h.
    takkaria whispers something about options. -more-

    Comment

    Working...
    😀
    😂
    🥰
    😘
    🤢
    😎
    😞
    😡
    👍
    👎