109 reputation
4
bio website
location
age
visits member for 1 year, 9 months
seen Mar 21 '13 at 20:43

Mar
20
comment Why do most games save the players team as a short in the player class and not as a pointer to a team object
@GameDev-er This is also relevant for local games. Besides that, there are a lot of game types that can use this.
Mar
20
comment Why do most games save the players team as a short in the player class and not as a pointer to a team object
@mh01 ahh, now I understand the meaning of your question. I thought I mentioned that i'm only creating the design. But I didn't.
Mar
19
comment Why do most games save the players team as a short in the player class and not as a pointer to a team object
@Trevor Powell in the player class. So that will be in memory.
Mar
19
comment Why do most games save the players team as a short in the player class and not as a pointer to a team object
@mh01 I'm asking this because I had a discussion about it. I would like to know why the pointer method is barley used. I see for both parts the logic behind it. But I wanted to know what can go wrong with each of these. So it’s more learning ;).
Mar
19
awarded  Editor
Mar
19
revised Why do most games save the players team as a short in the player class and not as a pointer to a team object
deleted 100 characters in body
Mar
19
comment Why do most games save the players team as a short in the player class and not as a pointer to a team object
@GameDev-er why?
Mar
19
comment Why do most games save the players team as a short in the player class and not as a pointer to a team object
@mh01 I'm not creating a game, why do you that this is a “what should I use” question?
Mar
19
comment Why do most games save the players team as a short in the player class and not as a pointer to a team object
@Trevor Powell There are a lot of open source engines and there is always the reverse engineer option.
Mar
18
accepted Why do most games save the players team as a short in the player class and not as a pointer to a team object
Mar
18
comment Why do most games save the players team as a short in the player class and not as a pointer to a team object
This is about a short int indeed.
Mar
18
asked Why do most games save the players team as a short in the player class and not as a pointer to a team object
Feb
5
awarded  Scholar
Feb
5
awarded  Supporter
Feb
5
accepted Calculate intersection of a line with a plane
Feb
5
awarded  Student
Feb
5
asked Calculate intersection of a line with a plane