D3D Font Reset Without Reset Hook

C

CapsLock

Enough
Ultra Member
Joined
Nov 5, 2019
Messages
959
Reaction score
718
Location
Peak
PHP:
unsigned __stdcall DeviceReset(LPDIRECT3DDEVICE9 pDevice)
{
    
    if(GetActiveWindow() == FindWindowA("SteamboyGameEngine",0)) // Oyunun Classnamesini Girin.
    {
            if( !pFontNew )// Aktif Penceremiz Oyun ise ve Fontumuz Yok ise Fontumuzu Oluşturuyoruz.
            D3DXCreateFontA(pDevice, 16, 0, 400, 0, 0, DEFAULT_CHARSET, OUT_TT_ONLY_PRECIS, PROOF_QUALITY, DEFAULT_PITCH | FF_DONTCARE, "Tahoma", &pFontNew );
    }
    else
    {
        if(pFontNew) // Aktif Penceremiz Oyun Değilse ve Fontumuz var ise Fontumuzu Sıfırlıyoruz Release Kullanılabilirdi Ama Ben NULL Tercih ettim.
        pFontNew = NULL;
    }

    return 0;
}// Bu Bölümü EndScenede Çağırırsanız Resetiniz Tamamlanır.
 
SPAM IS FORBIDDEN!
  • SPAMMERS ARE BANNED FROM THE FORUM AND CANNOT USE ANY OF THE CHEATS
  • For example: thanks, thx, very good, asdqwe, working, ty and so on!
  • For example: Writing the same message over and over. thanks, thx and so on!
  • Copying and copying someone else's message is prohibited.
  • It is forbidden to send messages to increase the number of comments on threads that you have no knowledge of.
  • Write your own opinion when commenting!
  • If you see spam message, please let us know with the REPORT button!

Tema düzenleyici

Top Bottom