Register for your free account! | Forgot your password?

You last visited: Today at 03:48

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[TUT]Basic D3D Menu

Discussion on [TUT]Basic D3D Menu within the Coding Tutorials forum part of the General Coding category.

Reply
 
Old   #1
 
GinoGambino's Avatar
 
elite*gold: 0
Join Date: Jan 2008
Posts: 652
Received Thanks: 56
[TUT]Basic D3D Menu

Leeched from ghbsys /GinoGambino


Underneath a 'basic' menu system with:
- menuitems with multiple custom states like: "Off" "On" or "Head" "Neck" "Spine"
- text menuitems (nonselectable)
- folder style items
- minimal code

A little better screenshot


Changes: version 1.2
- small bugfix contributed by Wieter20

Download the latest D3Dmenu files in Attachment /Dl Link

In Endscene you put
Code:
	if (Mmax==0) RebuildMenu();
	MenuShow(10,10,m_pFont);		// show the menu at loc 10,10 with a specified font
	MenuNav();

Somewhere in your code you define your menu like :
Code:
char		sFPS[20]="xxx fps";
int		CH_cheats	  = 1;
int		CH_weap	   = 1;

int		CH_stamina	= 0;
int		CH_fastammo   = 1;
int		CH_fasthealth = 0;
int		CH_fastrepair = 0;
int		CH_fastflag   = 1;
int		CH_nospread   = 1;
int		CH_norecoil   = 1;
int		CH_unlammo	= 1;

// none standard options
char *sStamina[] = { "Off","Stealth","Full" };

void RebuildMenu(void)
{
  strcpy(Mtitle,"== D3Dmenu by Hans211 ==");
  MenuAddItem("[cheats]", Moptfolder, &CH_cheats, 2, MENUFOLDER);
  if (CH_cheats) {
	  MenuAddItem("Stamina"	 , sStamina  , &CH_stamina   , 3, MENUITEM);
	  MenuAddItem("Fast ammo"   , Moptonoff , &CH_fastammo  , 2, MENUITEM);
	  MenuAddItem("Fast health" , Moptonoff , &CH_fasthealth, 2, MENUITEM);
	  MenuAddItem("Fast repair" , Moptonoff , &CH_fastrepair, 2, MENUITEM);
	  MenuAddItem("Fast flag"   , Moptonoff , &CH_fastflag  , 2, MENUITEM);
  }
  MenuAddItem("[Weapons]", Moptfolder, &CH_weap, 2, MENUFOLDER);
  if (CH_weap) {
	  MenuAddItem("No spread"	 , Moptonoff , &CH_nospread, 2, MENUITEM);
	  MenuAddItem("No recoil"	 , Moptonoff , &CH_norecoil, 2, MENUITEM);
	  MenuAddItem("Unlimited ammo", Moptonoff , &CH_unlammo , 2, MENUITEM);
  }
  MenuAddItem("Framerate"		, (char **)sFPS , 0,0,MENUTEXT);
}

Its just basic but it can be easily enhanced...

VT:

DL:

GinoGambino is offline  
Old 10/17/2012, 11:37   #2
 
elite*gold: 0
Join Date: Dec 2010
Posts: 8
Received Thanks: 1
sir bat walang ganito
\/\/\/

ex : #include "blabla.h"
lyght03 is offline  
Old 10/30/2012, 15:52   #3

 
elite*gold: 4186
Join Date: Jul 2012
Posts: 274
Received Thanks: 2,037
Its missing a File.
Called : "d3dfont.h"
Please Reupload with all Files.
FapMax is offline  
Thanks
7 Users
Old 11/05/2012, 18:20   #4
 
~.ScoiL's Avatar
 
elite*gold: 70
Join Date: Jul 2011
Posts: 496
Received Thanks: 194
Use Google!
~.ScoiL is offline  
Reply


Similar Threads Similar Threads
HaxonD3D Menu V4.0 -SuperZombie-Knife360-KnifeRange-SpeedKnife-SpeedHack:NewLook Menu
10/19/2012 - CrossFire Hacks, Bots, Cheats & Exploits - 28 Replies
New Hack. http://www.elitepvpers.com/forum/crossfire-hacks-b ots-cheats-exploits/2182371-raptor-vip-hack-v1-8-c fna.html#post19249124 Hack for Na Im to day Will Release My Best Haxon Version New Features New Mode
D3D Menu in Visual Basic! [Real, no TopMost !!]
08/08/2012 - .NET Languages - 14 Replies
Hi all! Today (after one week learning, coding and mistakes) I finally create D3D Menu with D3D overlay! Look : http://i.epvpimg.com/1NUwg.jpg Its really everything in Visual Basic 2008!!! NO ME.TOPMOST !!!! REAL D3D OVERLAY!!! I know, I need change coordinates for draw text in menu background. Best Regards :).



All times are GMT +1. The time now is 03:48.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.