Go Back   UC-Downloads - Multiplayer Game Hacking and Cheat Downloads > Downloads > All Points Bulletin

http://www.myfpscheats.com/

Welcome to the UC-Downloads - Multiplayer Game Hacking and Cheat Downloads.
You have to register a ucdownloads.com account before you can download or upload files: click the register link to proceed.

Latest Files
Latest Files
Most Popular Files
Most Popular Files
Top Contributors
Top Contributors



- Terms Of Service -

  

Navigation
Main | Category Tree | Stats | Search
You do not have permission to download files
File Name: myMenu Class 1.01 (4.7 KB) Download
Author: Lewt (Uploaded by Lewt)
Date Added: 01-07-2012
Downloads: 287
Grade: C
Forum
Releasing my menu class, I wanted a menu for my hack but I didn't want to hook DirectX so I made this class. In theory I think it should work for all UE3 games, but it's only tested for APB. It's usage is like this:

[code=c++]
cMenu myMenu;
myMenu.Add(L"Lewt's Hack"); //Add Generic Hack with that title, this will defualt to On/Off options. This will have Index 0
myMenu.Add(MENU_TEXT, L"Just Text"); //Same as above except this will have no value next to the name, useful for submenus etc. This will have Index 1
myMenu.Add(MENU_TEXT_NOSELECT, L"Try and select me!"); // Same as above but this item cannot be highlighted, useful for credits or whatnot. This will have Index 2
myMenu.Add(L"Float", (float)MaxVal, (float)MinVal); //Float option, there are many overloaded versions of this. This will have Index 3
myMenu.Add(L"Integer", MaxVal, MinVal) //Same as above but for Integers, again other overloaded functions availible. This will have Index 4
myMenu.ShowMenu() //Call this in post render to render menu, this also handles when to display or not to display the menu
//ALSO, all the functions for creation return the index value of the menu item in an integer, //so you can also use:
int ESP = myMenu.Add(L"ESP");
//To use it, I use
if(myMenu.ReturnValue(ESP))//The index is in order of creation, starting at 0
DrawESP;
//For Floats, use:
if(myMenu.ReturnFloat(3)==3.243)
DoStuff;
//also a union is now used to save space, you can just use this:
if(myMenu.Value(ESP).iValue)//for Integers
if(myMenu.Value(ESP).fValue)//for Floats
[/code]
All constructive criticism is welcome and I'm sure there will be a lot of it as this is some messy code, anyway hope it's useful to someone
Features:
Code:
Full Color Control
Flags for setting certain menu options to be unselectable or selectable but with no current value display useful for adding submenus
Should be fairly easy to add submenus with little to no code change (I will add proper support later)
Support for Float, Integers and simple bool value
Memory allocation is dynamic so you don't have to set the amount of menus you will use
Set Min Size for menu, if exceeded menu will extend to fit text
Set Min/Max for your options, set default values and increment/decrement size
Easy to configure hopefully, most of the customizable things are public: or have a function
Update version 1.01:
Should be more stable now, fixed a few issues and menu selection should work better.
Added unions.
Added another method of index and returning values.
Images
None
You do not have permission to download files



All times are GMT. The time now is 08:37 AM.




http://www.myfpscheats.com/