|
Phasor [Halo PC Infection]
|
| Rabidtaco |
Posted on 01/03/2011 20:42:55
|
Senior Member

Posts: 305
Joined: 16.11.10
|
WORD = String?
But it looks as if WORD is being called upon. So maybe it's a variable. Let's leave it at that.
Member of ZÅ Feb. 19th, 2010 - May 15th, 2011

 |
| |
|
|
| oxide |
Posted on 01/03/2011 22:41:41
|
Newbie

Posts: 6
Joined: 02.01.11
|
WORD isn't string, a WORD is a data type that is two bytes (16 bits) long.
(reqData >> 16) & 0xFFFF; shifts reqData's bits to the right by 16. This gets rid of the low bytes (least significant 16 bits) as a DWORD can only contain 32 bits. & 0xFFFF ANDs the bits against 0xFFFF (16 bits that are all 1) and sets the result to 1 or 0 for each bit if both are 1.
WORD lo = (reqData & 0xFFFF);
Think of 0xFFFF as 0x0000FFFF, & against the reqData gives us the lo WORD as the first 16 bits will be set to zero (because the first 16 bits of 0x0000FFFF is zero) |
| |
|
|
| FC_SlimJim |
Posted on 01/03/2011 22:49:07
|
Super Admin

Posts: 4725
Joined: 14.11.10
|
Oxide, if i may, i would not waste my time with the programing explanations here. the only mates who would understand it, would be um. you, me, Church, and Marmite. |
| |
|
|
| baconstation |
Posted on 01/03/2011 23:11:27
|

Numpty

Posts: 1373
Joined: 14.11.10
|
lol yeah bacons lost but i get the point. that sounds really neat. maybe if slim can find the time to talk i can make some awesom ideas for ya.
PCE |
| |
|
|
| FC_banana |
Posted on 01/04/2011 12:06:32
|

Wanker

Posts: 984
Joined: 15.11.10
|
i understand it a lil
~Beauty of Annihilation~
 |
| |
|
|
| oxide |
Posted on 01/13/2011 04:55:48
|
Newbie

Posts: 6
Joined: 02.01.11
|
It's getting close to completion... Added map vote and changed/added a lot of stuff.
For a video go to http://haloapps.wordpress.com |
| |
|
|
| ZA Bvigil |
Posted on 01/13/2011 08:37:12
|

Admin

Posts: 2161
Joined: 15.11.10
|
im getting exited

 |
| |
|
|
| FC_EnCiAdA |
Posted on 01/19/2011 18:56:12
|

Wanker

Posts: 585
Joined: 05.01.11
|
Buzzing for thissss!
The Showstopper is BACK. 
|
| |
|
|
| ZA Bvigil |
Posted on 01/24/2011 20:22:34
|

Admin

Posts: 2161
Joined: 15.11.10
|
sorry
excited

 |
| |
|