Woooooow. Switch statements. Haven't seen them in a while. Could be done much better.
Woooooow. Switch statements. Haven't seen them in a while. Could be done much better.
I had ARGB because I was experimenting with a ARGB function...Originally Posted by UnknownCoder
Goals:
Green = Done
Blue = Getting Somewhere
Red = Not Done
- Mouse Grid
- PTC Method
- Trigger Bot
I'm trying to think of more stuff!
Member since September 25, 2010
Current Objectives:
- Graduate college with a degree in Computer Science
- Find a decent job in the Computer Science Field
- Learn more programming languages
Looking for Elo Boosting Job - League of Legends
Looking for Bronze -> Gold Jobs
Skype: whatthedream
You guys could do this instead of the switch statements going up and down.
or you can do thisCode:void MenuNavigation() { if(GetAsyncKeyState(VK_UP)&1) { if(currentitem > 1) { currentitem--; } } if(GetAsyncKeyState(VK_DOWN)&1) { if(currentitem < 3) { currentitem++; } } }
means same thing. but other way is not all in 1 line for up and downCode:if(GetAsyncKeyState(VK_UP)&1) if(currentitem > 1) currentitem--; if(GetAsyncKeyState(VK_DOWN)&1) if(currentitem < 3) currentitem++;
Member since September 25, 2010
Current Objectives:
- Graduate college with a degree in Computer Science
- Find a decent job in the Computer Science Field
- Learn more programming languages
Looking for Elo Boosting Job - League of Legends
Looking for Bronze -> Gold Jobs
Skype: whatthedream
ac1d_buRn (12-04-2010)
you prob stole this from someone
give credits
I recommend you use my method it is much cleaner for the navigation
Member since September 25, 2010
Current Objectives:
- Graduate college with a degree in Computer Science
- Find a decent job in the Computer Science Field
- Learn more programming languages
Looking for Elo Boosting Job - League of Legends
Looking for Bronze -> Gold Jobs
Skype: whatthedream
xD no I didn't...
I do this also, but why would I post an amazing menu for the chubby-chooby-choobs. xD I'm so happy:
1) Just finished last performance of Oliver! I was Oliver! For those who don't know the play, that's the main character!
2) Got a GF!
Last edited by seeplusplus; 12-04-2010 at 09:06 PM.
Goals:
Green = Done
Blue = Getting Somewhere
Red = Not Done
- Mouse Grid
- PTC Method
- Trigger Bot
I'm trying to think of more stuff!