1. Список говнокодов пользователя Chippman

    Всего: 2

  2. Objective C / Говнокод #6970

    −108

    1. 01
    2. 02
    3. 03
    4. 04
    5. 05
    6. 06
    7. 07
    8. 08
    9. 09
    10. 10
    11. 11
    12. 12
    13. 13
    14. 14
    15. 15
    16. 16
    17. 17
    18. 18
    19. 19
    20. 20
    21. 21
    22. 22
    23. 23
    24. 24
    25. 25
    26. 26
    27. 27
    28. 28
    29. 29
    30. 30
    31. 31
    32. 32
    33. 33
    34. 34
    35. 35
    36. 36
    37. 37
    38. 38
    39. 39
    40. 40
    41. 41
    42. 42
    43. 43
    44. 44
    45. 45
    46. 46
    47. 47
    48. 48
    49. 49
    50. 50
    51. 51
    52. 52
    53. 53
    54. 54
    + (NSUInteger)tagExpensiveCandyAnimationInteger:(NSUInteger)tagSprite
    {
    	NSUInteger animationTag;
    	if(tagSprite == 2001)
    	{
    		animationTag = 2101;
    	}
    	else if(tagSprite == 2002)
    	{
    		animationTag = 2102;
    	}	
    	else if(tagSprite == 2003)
    	{
    		animationTag = 2103;
    	}		
    	else if(tagSprite == 2004)
    	{
    		animationTag = 2104;
    	}		
    	else if(tagSprite == 2005)
    	{
    		animationTag = 2105;
    	}		
    	else if(tagSprite == 2006)
    	{
    		animationTag = 2106;
    	}		
    	else if(tagSprite == 2007)
    	{
    		animationTag = 2107;
    	}			
    	else if(tagSprite == 2008)
    	{
    		animationTag = 2108;
    	}
    	else if(tagSprite == 2009)
    	{
    		animationTag = 2109;
    	}	
    	else if(tagSprite == 2010)
    	{
    		animationTag = 2110;
    	}		
    	else if(tagSprite == 2011)
    	{
    		animationTag = 2111;
    	}		
    	else if(tagSprite == 2012)
    	{
    		animationTag = 2112;
    	}			
    	
    	return animationTag;
    }

    Того же автора:)

    Chippman, 16 Июня 2011

    Комментарии (11)
  3. Objective C / Говнокод #6740

    −110

    1. 01
    2. 02
    3. 03
    4. 04
    5. 05
    6. 06
    7. 07
    8. 08
    9. 09
    10. 10
    11. 11
    12. 12
    13. 13
    14. 14
    15. 15
    16. 16
    17. 17
    18. 18
    19. 19
    20. 20
    21. 21
    22. 22
    23. 23
    24. 24
    25. 25
    26. 26
    27. 27
    28. 28
    29. 29
    30. 30
    if (starsCounter == 1) 
    	{
    		[DCObjects drawSpriteFromBatch:bg name:@"star-little.png" point:ccp(250, 190) z:1 tag:1];	
    	}
    	else if (starsCounter == 2) 
    	{
    		[DCObjects drawSpriteFromBatch:bg name:@"star-little.png" point:ccp(250, 190) z:1 tag:1];
    		[DCObjects drawSpriteFromBatch:bg name:@"star-little.png" point:ccp(260, 190) z:1 tag:1];
    	}
    	else if (starsCounter == 3) 
    	{
    		[DCObjects drawSpriteFromBatch:bg name:@"star-little.png" point:ccp(250, 190) z:1 tag:1];
    		[DCObjects drawSpriteFromBatch:bg name:@"star-little.png" point:ccp(260, 190) z:1 tag:1];
    		[DCObjects drawSpriteFromBatch:bg name:@"star-little.png" point:ccp(270, 190) z:1 tag:1];
    	}
    	else if (starsCounter == 4) 
    	{
    		[DCObjects drawSpriteFromBatch:bg name:@"star-little.png" point:ccp(250, 190) z:1 tag:1];
    		[DCObjects drawSpriteFromBatch:bg name:@"star-little.png" point:ccp(260, 190) z:1 tag:1];
    		[DCObjects drawSpriteFromBatch:bg name:@"star-little.png" point:ccp(270, 190) z:1 tag:1];
    		[DCObjects drawSpriteFromBatch:bg name:@"star-little.png" point:ccp(280, 190) z:1 tag:1];
    	}
    	else if (starsCounter == 5) 
    	{
    		[DCObjects drawSpriteFromBatch:bg name:@"star-little.png" point:ccp(250, 190) z:1 tag:1];
    		[DCObjects drawSpriteFromBatch:bg name:@"star-little.png" point:ccp(260, 190) z:1 tag:1];
    		[DCObjects drawSpriteFromBatch:bg name:@"star-little.png" point:ccp(270, 190) z:1 tag:1];
    		[DCObjects drawSpriteFromBatch:bg name:@"star-little.png" point:ccp(280, 190) z:1 tag:1];
    		[DCObjects drawSpriteFromBatch:bg name:@"star-little.png" point:ccp(290, 190) z:1 tag:1];
    	}

    Chippman, 24 Мая 2011

    Комментарии (27)