So what you're saying FoJaR, is that the underlying data type of MAP_BUFFER is a 2D array of 20x30
ints?
I'm confused by what you mean here:
Quote:
Originally Posted by FoJaR
MAP_BUFFER is a 2D array(with specific dimensions) of type ENTITY.
|
What is ENTITY? Is it the name of the array or the name of the MAP_BUFFER or...? And while on this, what exactly is MAP_BUFFER? Is that just a name for something or does it have some meaning behind it?
Code:
typedef entity_labels ENTITY;
Basically, the question above can be answered if you can explain to me what each word in this line of code means (except
using)
Code:
using MAP_BUFFER = ENTITY[MAP_HEIGHT][MAP_WIDTH];
This is my answer to question c) so far:
a. The underlying data type of MAP_BUFFER is ENTITY[MAP_HEIGHT][MAP_WIDTH] which shows that it is a two-dimensional array of ints.
Is this correct? If not, please guide me. I'm feeling quite dim-witted about all of this.
Also if someone could clear this up too.
Quote:
|
Originally Posted by sickufully
Although I'm not sure of the possible values that this data type can take. I'm assuming that the data type is ints and because of this, they can only hold numerical values. Can someone clarify if I'm heading in the right direction?
|