Does V2 have a bitmask function?
Displaying 1-3 of 3 total.
1
Please enter a numerical value for the importance of this sticky.
Enter 0 to unsticky.
Devon

I have some 0/1 data to store, and before I waste whole bytes on it, I was wondering if V2 (2.6 specifically) has an undocumented bitmask function, or some other way to do direct memory access on single bits.

Thanks,
Devon



--- Square's making money. We're making art.

Posted on 2000-12-20 20:47:22

el_desconocido

Praetor was kind enough to write an article explaining the storage/use of single bits here: http://vergesource.com/articles/view/2/



-Pontifex
"How many rocks are there, in the whole world?"

Posted on 2000-12-21 06:44:15

Praetor

I was nice enough to write a bitflag library that kind of goes along with it so that you can easily implement bitflags in your Verge games...

You can find that over at tVS under the files section...



Praetor - Strong enough for a man, but made for a woman.

Posted on 2000-12-21 12:35:26


Displaying 1-3 of 3 total.
1
 
Newest messages

Ben McGraw's lovingly crafted this website from scratch for years.
It's a lot prettier this go around because of Jon Wofford.
Verge-rpg.com is a member of the lunarnet irc network, and would like to take this opportunity to remind you that regardless how babies taste, it is wrong to eat them.