.| Autor | Beitrag |
|---|---|
|
000 23.02.2002, 17:02 NeW GoD |
Hi Leutz Wie mache ich das die rundenzeit: gHUD.DrawHudString((ScreenWidth/2-2)-35,ScreenHeight/2-6, ScreenWidth, "Round finished", 255, 0, 0); //s.o. dort angezeigt wird wo früher die Battery: int r, g, b, x, y, a; rc = *m_prc2; UnpackRGB(r,g,b, RGB_BLUEISH); if (!(gHUD.m_iWeaponBits & (1<<(WEAPON_SUIT)) )) // Has health changed? Flash the health # m_fFade -= (gHUD.m_flTimeDelta * 20); // Fade the health number back to dim a = MIN_ALPHA + (m_fFade/FADE_TIME) * 128; } ScaleColors(r, g, b, a ); y = ScreenHeight - gHUD.m_iFontHeight - gHUD.m_iFontHeight / 2; // make sure we have the right sprite handles SPR_Set(m_hSprite1, r, g, b ); if (rc.bottom > rc.top) x += (m_prc1->right - m_prc1->left); return 1; stand? Ich denke ich hab hier den entscheidenden code teil genommen ( hoffentlich :) ) -- |
|
Profil || Suche |
|
001 23.02.2002, 18:49 R2-D2 |
steht doch da: y = ScreenHeight - gHUD.m_iFontHeight - gHUD.m_iFontHeight / 2; ®2-D2
Projects:
|
|
Profil || Suche |
|
002 23.02.2002, 19:36 NeW GoD |
hmm.. ja das wäre kein prob nur gibt es mehrere Stellen an denen ich das ändern muss und ich weiss einfach nich welche zahlen ich nehmen muss -- |
|
Profil || Suche |
|
003 23.02.2002, 20:09 R2-D2 |
wass daran so schwer? ®2-D2
Projects:
|
|
Profil || Suche |
|
004 23.02.2002, 21:36 Mexil |
Du kannst auch einfach CHudBattery umschreiben, dass anstatt der Battery dann da deine Zeit angezeigt wird, dann hast du sogar die grosse Schrift aus dem Sprite mit drin.... --
VISIT US Move In!
|
|
Profil || Suche |
|
005 23.02.2002, 22:09 NeW GoD |
j0 danke Leutz werds ma testen.... -- |
|
Profil || Suche |

