Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- NJS_SPRITE HUD_SPRITE_NUMBERS_SCORE = { { 0.0f, 0.0f, 0.0f }, 1.3f * HorizontalResolution / 1680.0f, 1.3f * VerticalResolution / 1050.0f, 0, &HUD_TEXLIST, HUD_TEXANIM_NUMBERS };
- NJS_SPRITE HUD_SPRITE_NUMBERS_TIMER_MINUTES = { { 0.0f, 0.0f, 0.0f }, 1.3f * HorizontalResolution / 1680.0f, 1.3f * VerticalResolution / 1050.0f, 0, &HUD_TEXLIST, HUD_TEXANIM_NUMBERS };
- NJS_SPRITE HUD_SPRITE_NUMBERS_TIMER_SECONDS = { { 0.0f, 0.0f, 0.0f }, 1.3f * HorizontalResolution / 1680.0f, 1.3f * VerticalResolution / 1050.0f, 0, &HUD_TEXLIST, HUD_TEXANIM_NUMBERS };
- NJS_SPRITE HUD_SPRITE_NUMBERS_TIMER_FRAMES = { { 0.0f, 0.0f, 0.0f }, 1.3f * HorizontalResolution / 1680.0f, 1.3f * VerticalResolution / 1050.0f, 0, &HUD_TEXLIST, HUD_TEXANIM_NUMBERS };
- NJS_SPRITE HUD_SPRITE_NUMBERS_RINGS = { { 0.0f, 0.0f, 0.0f }, 1.3f * HorizontalResolution / 1680.0f, 1.3f * VerticalResolution / 1050.0f, 0, &HUD_TEXLIST, HUD_TEXANIM_NUMBERS };
- then later in code :
- HUD_SPRITE_NUMBERS_RINGS.p.x = * 1.3f * HorizontalResolution / 1680.0f;
- HUD_SPRITE_NUMBERS_RINGS.p.y = 0;
- HUD_SPRITE_NUMBERS_TIMER_MINUTES.p.x = /*wrong-34*/ * 1.3f * HorizontalResolution / 1680.0f;
- HUD_SPRITE_NUMBERS_TIMER_MINUTES.p.y = /*wrong-65*/;
- HUD_SPRITE_NUMBERS_TIMER_SECONDS.p.x = (HUD_SPRITE_NUMBERS_TIMER_MINUTES.p.x + 69) * 1.3f * HorizontalResolution / 1680.0f;
- HUD_SPRITE_NUMBERS_TIMER_SECONDS.p.y = HUD_SPRITE_NUMBERS_TIMER_MINUTES.p.y;
- HUD_SPRITE_NUMBERS_TIMER_FRAMES.p.x = (HUD_SPRITE_NUMBERS_TIMER_SECONDS.p.x + 71) * 1.3f * HorizontalResolution / 1680.0f;
- HUD_SPRITE_NUMBERS_TIMER_FRAMES.p.y = HUD_SPRITE_NUMBERS_TIMER_MINUTES.p.y;
- HUD_SPRITE_NUMBERS_LIVES.p.y = 65;
- HUD_SPRITE_NUMBERS_SCORE.p.y = -133;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement