acid45
06-08-2005, 12:32 PM
Does an SDL Unit8 mean any unsigned numeric value from 0 to 255?
Thus SDL Unit32 would mean any unsigned numeric value from 0 to 16,777,215?
Maybe integers. It's probably some sort of struct defined on the site just not easy to find.
In code samples they highlight it similarly to other variable types. So I'm GUESSING it's a structure.
I tried reading the Introduction, I couldn't find it there. I'm going through the WIKI pages and I can't find it there. Google turned up...well try searching for SDL Unit8. Searching for just Unit 8 or What is Unit8 doesn't turn up any better results. The FAQs are...well FAQs.
Using site search reveals that it points to a byte. Which makes me think the value of a Unit8 probably looks something like 0x00 and Unit32 looks like 0x00000000 where the leading 0x is hex identifiers and the rest are...or something like that. If it does I'm gona have to go learn a little more about HEX.
Yay for n00b questions.
Thus SDL Unit32 would mean any unsigned numeric value from 0 to 16,777,215?
Maybe integers. It's probably some sort of struct defined on the site just not easy to find.
In code samples they highlight it similarly to other variable types. So I'm GUESSING it's a structure.
I tried reading the Introduction, I couldn't find it there. I'm going through the WIKI pages and I can't find it there. Google turned up...well try searching for SDL Unit8. Searching for just Unit 8 or What is Unit8 doesn't turn up any better results. The FAQs are...well FAQs.
Using site search reveals that it points to a byte. Which makes me think the value of a Unit8 probably looks something like 0x00 and Unit32 looks like 0x00000000 where the leading 0x is hex identifiers and the rest are...or something like that. If it does I'm gona have to go learn a little more about HEX.
Yay for n00b questions.