From eef917e713b2b865273d1b0d0b084c1745cb2502 Mon Sep 17 00:00:00 2001 From: avolkov Date: Thu, 8 Oct 2009 13:39:19 +0000 Subject: [PATCH] Removed old credits code git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3195 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/src/sc2code/comm.c | 44 ------------------------------------------ 1 file changed, 44 deletions(-) diff --git a/sc2/src/sc2code/comm.c b/sc2/src/sc2code/comm.c index d2f746e2f..8fafbe7d4 100644 --- a/sc2/src/sc2code/comm.c +++ b/sc2/src/sc2code/comm.c @@ -372,50 +372,6 @@ DrawSISComWindow (void) SetContext (OldContext); } -#ifdef NEVER - else - { -#define NUM_CREDITS 5 - BYTE j; - TEXT t; - STRING OldStrings; - extern STRING CreditStrings; - - t.baseline.x = SCREEN_WIDTH >> 1; - t.baseline.y = RADAR_Y - 5; - t.align = ALIGN_CENTER; - - OldContext = SetContext (ScreenContext); - - OldStrings = SetRelStringTableIndex (CreditStrings, -NUM_CREDITS); - SetContextFont (MicroFont); - BatchGraphics (); - for (j = 0; j < NUM_CREDITS; ++j) - { - SetContextForeGroundColor (BLACK_COLOR); - t.pStr = (UNICODE *)GetStringAddress (OldStrings); - t.CharCount = GetStringLength (OldStrings); - OldStrings = SetRelStringTableIndex (OldStrings, 1); - font_DrawText (&t); - SetContextForeGroundColor (WHITE_COLOR); - t.pStr = (BYTE*)GetStringAddress (CreditStrings); - t.CharCount = GetStringLength (CreditStrings); - CreditStrings = SetRelStringTableIndex (CreditStrings, 1); - font_DrawText (&t); - - if (j) - t.baseline.y += 12; - else - { - t.baseline.y += 16; - SetContextFont (StarConFont); - } - } - UnbatchGraphics (); - - SetContext (OldContext); - } -#endif /* NEVER */ } void