I cant remember the exact term to use and I know Q3 does this in the code.
Its basically when you add up the bits to figure out the options, and you have say 16bits and have
1 bit for say low grav
2 for no team damage
4 for no fall damage
8 for no quads
so if you had a 3, it would be lowgrav and no team damage
but I just need the correct term to call this, bitwise addition? or using bitwise options?
What is the official name for bitwise additions?
-
- Posts: 1
- Joined: Wed Jul 21, 2010 1:10 pm
What is the official name for bitwise additions?
[url=http://eliteforce.gamebub.com/quake3.php]quake 3 mod sources[/url] | [url=http://eliteforce.gamebub.com/]elite force[/url]
-
- Posts: 4022
- Joined: Sat Mar 12, 2005 6:24 pm
Re: What is the official name for bitwise additions?
Bitmask is a term that's used for such a bitwise number (http://en.wikipedia.org/wiki/Bitmask).
You state that you have a 16 bit number, but it's actually a 4 bit number. One bit for each setting.
You state that you have a 16 bit number, but it's actually a 4 bit number. One bit for each setting.
Re: What is the official name for bitwise additions?
"bitwise operation" is also a good general term.