Help - Search - Members - Calendar
Full Version: Trying to make my own window in game without decal
AC Tools Everything Macro > General Discussion > C++/Delphi/VB Development
dev578
It continues to confuse me, How does decal get windows in AC? I am using VC++ v7, and have no luck. I wrote a dialog box, and set it as the child window of AC. AC just renders over it. Anyone have the slightest clue how decal puts windows in AC? I would actually like to write decal-like programs for other MMORPG's. Any reply's would be great.

-Dev578
kgober
decal windows are Direct3D textures that are applied prior to rendering each frame. this is done by hooking certain DirectX calls.

that's why Decal doesn't display any GUI if you don't have real hardware 3D.

-ken
dev578
Thanks much for your reply kgober. I have some DirectX experience, so I could probably render the texture without too much difficulty. The thing that I don't understand is when you say:

QUOTE

this is done by hooking certain DirectX calls


I do not see how this is possible. I can't seem to find decal's source code either, when I google it, I get more information on stickers than anything else:) Anyway, if anyone has the slightest idea on how to hook the directx functions called by AC, I would be more than happy to hear from you. Any help is appreciated.

-Dev578
kgober
http://sourceforge.net/projects/decaldev

-ken
Ipa
Decal source is Here, on SourceForge

It may not be the current version, but the functionality for hooking DirectX hasn't changed in a while.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.