|
1 registered members (TipmyPip),
18,606
guests, and 5
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Array size
[Re: Fenriswolf]
#170868
12/04/07 17:47
12/04/07 17:47
|
Joined: Oct 2004
Posts: 4,134 Netherlands
Joozey
Expert
|
Expert
Joined: Oct 2004
Posts: 4,134
Netherlands
|
Quote:
Dividing the array size in bytes by the element size in bytes should result the array's length in elements, if I'm not mistaken.
Good point, hadn't thought of that idea. But I think arrays are indeed handled as pointers. I don't see a good solution for this at the moment, you'll just have to add NULL in every array I guess, or somehow store the index of each array at game start.
Click and join the 3dgs irc community! Room: #3dgs
|
|
|
|
|
|