10.08.2012, 10:15
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! |
Yes, they're what you've seen in some IsThisASomething. One HUGE example is g_baValidModels in hold-studio.pwn. For readability, I used binary notation instead of numbers or hex.