10.08.2012, 10:21
Quote:
Could you post an example of a bit array?
I'm not really sure what the term means, I thought it meant a single 32 bit variable used for 32 boolean values. Are they those "IsThisASomething" functions where you have an array of hex numbers then an if statement with some bitwise shifting and stuff... It's hard to explain, I've seen some posted before, I never understood them and I don't really know what keywords to use to search (apart from "bit array" but I didn't really find anything) I may as well ask while it's on topic! |
pawn Код:
enum type
{
TYPE_UNKNOWN,
TYPE_LAND,
TYPE_WATER,
// ...
}
new vehicleTypes[212 char] = { 16777216 /* 1 << 24 */, ... };