You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

GSprite.hpp 7.2KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. const unsigned char P1[]={0xff, 0xff, 0x80, 0x1f, 0x80, 0x1f, 0x9f, 0x9f, 0x90, 0x9f, 0x90, 0x9f, 0x90, 0x9f, 0x90, 0x9f, 0x9f, 0x9f, 0x80, 0x1f, 0x80, 0x1f, 0xff, 0xff, };
  2. const unsigned char P2[]={0xff, 0xff, 0x80, 0x1f, 0x80, 0x1f, 0xbf, 0xdf, 0xa0, 0x5f, 0xef, 0x7f, 0x9, 0xf, 0xf9, 0xff, 0x80, 0x1f, 0x80, 0x1f, 0x80, 0x1f, 0xff, 0xff, };
  3. const unsigned char P3[]={0xff, 0xff, 0x80, 0x1f, 0x80, 0x1f, 0xb9, 0xdf, 0xa9, 0x5f, 0xb9, 0xdf, 0x80, 0x1f, 0xbf, 0xdf, 0xa0, 0x5f, 0xbf, 0xdf, 0x80, 0x1f, 0xff, 0xff, };
  4. const unsigned char P4[]={0xff, 0xff, 0x80, 0x1f, 0xb9, 0xdf, 0xa9, 0x5f, 0xb9, 0xdf, 0x80, 0x1f, 0xb9, 0xdf, 0xef, 0x7f, 0x0, 0xf, 0xff, 0xff, 0x80, 0x1f, 0xff, 0xff, };
  5. const unsigned char P5[]={0xff, 0xff, 0x80, 0x1f, 0x9f, 0x9f, 0x90, 0x9f, 0x9f, 0x9f, 0x80, 0x1f, 0x80, 0x1f, 0xb9, 0xdf, 0xa9, 0x5f, 0xa9, 0x5f, 0xa9, 0x5f, 0xef, 0x7f, };
  6. const unsigned char P6[]={0xff, 0xff, 0x80, 0x1f, 0x8f, 0x1f, 0x89, 0x1f, 0x89, 0x1f, 0x89, 0x1f, 0x89, 0x1f, 0x8f, 0x1f, 0xe0, 0x7f, 0x20, 0x4f, 0x20, 0x4f, 0x3f, 0xcf, };
  7. const unsigned char P7[]={0xf9, 0xff, 0x89, 0x1f, 0x89, 0x1f, 0x89, 0x1f, 0x8f, 0x1f, 0x80, 0x1f, 0x80, 0x1f, 0x8f, 0x1f, 0x89, 0x1f, 0x89, 0x1f, 0x89, 0x1f, 0xf9, 0xff, };
  8. const unsigned char P8[]={0x7f, 0xef, 0xc0, 0x3f, 0x80, 0x1f, 0x83, 0xdf, 0xba, 0x5f, 0xaa, 0x5f, 0xbb, 0xdf, 0x80, 0x1f, 0xe0, 0x7f, 0x2f, 0x4f, 0x29, 0x4f, 0x39, 0xcf, };
  9. const unsigned char PlayerN[]={0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, };
  10. const unsigned char Ship1[]={0xc, 0xf, 0xa, 0xf, 0x2a, 0xf, 0x3b, 0x8f, 0xe8, 0x6f, 0xaf, 0xdf, 0xa8, 0x5f, 0xe8, 0x5f, 0x3f, 0xef, 0x20, 0xf, };
  11. const unsigned char MiniPlayer[]={0xff, 0x81, 0xbd, 0xa5, 0xa5, 0xbd, 0x81, 0xff, };
  12. const unsigned char MiniPlayerN[]={0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, };
  13. const unsigned char MiniShip[]={0x38, 0x3f, 0x28, 0x3f, 0x2e, 0x3f, 0xe3, 0xbf, 0xaf, 0x7f, 0xa9, 0x7f, 0xe9, 0x7f, 0x3f, 0xbf, };
  14. Sprite S_Player1(P1 , PlayerN , 12 , 12 );
  15. Animation A_P1(S_Player1);
  16. Sprite S_Player2(P2 , PlayerN , 12 , 12 );
  17. Animation A_P2(S_Player2);
  18. Sprite S_Player3(P3 , PlayerN , 12 , 12 );
  19. Animation A_P3(S_Player3);
  20. Sprite S_Player4(P4 , PlayerN , 12 , 12 );
  21. Animation A_P4(S_Player4);
  22. Sprite S_Player5(P5 , PlayerN , 12 , 12 );
  23. Animation A_P5(S_Player5);
  24. Sprite S_Player6(P6 , PlayerN , 12 , 12 );
  25. Animation A_P6(S_Player6);
  26. Sprite S_Player7(P7 , PlayerN , 12 , 12 );
  27. Animation A_P7(S_Player7);
  28. Sprite S_Player8(P8 , PlayerN , 12 , 12 );
  29. Animation A_P8(S_Player8);
  30. Sprite S_Ship1(Ship1 , 12,10);
  31. Animation A_Ship1(S_Ship1);
  32. Animation A_Player1[]={ A_P1 , A_Ship1};
  33. Animation A_Player2[]={ A_P2 , A_Ship1};
  34. Animation A_Player3[]={ A_P3 , A_Ship1};
  35. Animation A_Player4[]={ A_P4 , A_Ship1};
  36. Animation A_Player5[]={ A_P5 , A_Ship1};
  37. Animation A_Player6[]={ A_P6 , A_Ship1};
  38. Animation A_Player7[]={ A_P7 , A_Ship1};
  39. Animation A_Player8[]={ A_P8 , A_Ship1};
  40. Sprite S_MiniPlayer(MiniPlayer,MiniPlayerN,8,8);
  41. Animation A_MP(S_MiniPlayer);
  42. Sprite S_MiniShip(MiniShip,10,8);
  43. Animation A_MShip(S_MiniShip);
  44. Animation A_MiniPlayer[]={A_MP,A_MShip};
  45. bool prop[]={0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0};
  46. const unsigned char tileset[]={0x0, 0xf, 0x0, 0xf, 0x0, 0xf, 0x0, 0xf, 0x0, 0xf, 0x0, 0xf, 0x0, 0xf, 0x0, 0xf, 0x0, 0xf, 0x0, 0xf, 0x0, 0xf, 0x0, 0xf, 0xff, 0xff, 0x80, 0x1f, 0x80, 0x1f, 0x80, 0x1f, 0x80, 0x1f, 0x80, 0x1f, 0x80, 0x1f, 0x80, 0x1f, 0x80, 0x1f, 0x80, 0x1f, 0x80, 0x1f, 0xff, 0xff, 0xff, 0xff, 0x80, 0x1f, 0xbf, 0xdf, 0xaf, 0x5f, 0xbf, 0xdf, 0xbf, 0xdf, 0xbf, 0xdf, 0xbf, 0xdf, 0xaf, 0x5f, 0xbf, 0xdf, 0x80, 0x1f, 0xff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f, 0x80, 0x1f, 0x80, 0x1f, 0x80, 0x1f, 0xff, 0xff, 0x0, 0xf, 0x0, 0xf, 0x0, 0xf, 0x0, 0xf, 0x0, 0xf, 0x0, 0xf, 0x0, 0x3f, 0x0, 0xff, 0x3, 0xff, 0xf, 0x3f, 0x3c, 0x3f, 0xf0, 0x3f, 0xf0, 0x3f, 0x3c, 0x3f, 0xf, 0x3f, 0x3, 0xff, 0x0, 0xff, 0x0, 0x3f, 0xc0, 0xf, 0xf0, 0xf, 0xfc, 0xf, 0xcf, 0xf, 0xc3, 0xcf, 0xc0, 0xff, 0xc0, 0xff, 0xc3, 0xcf, 0xcf, 0xf, 0xfc, 0xf, 0xf0, 0xf, 0xc0, 0xf, };
  47. const unsigned char tileset8[]={0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xff, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0xff, 0xff, 0x81, 0xbd, 0xbd, 0xbd, 0xbd, 0x81, 0xff, 0xff, 0x81, 0xa5, 0x81, 0x81, 0xa5, 0x81, 0xff, 0x8, 0x10, 0x8, 0x10, 0x8, 0x10, 0x8, 0x10, 0x0, 0x0, 0x42, 0xa5, 0xa5, 0xb5, 0xa9, 0xff, 0x0, 0x8, 0x14, 0x14, 0x56, 0xa5, 0xa5, 0xff, 0x0, 0x18, 0x24, 0x24, 0x42, 0x42, 0x81, 0xff, 0xff, 0x81, 0x42, 0x42, 0x24, 0x24, 0x18, 0x0, 0x0, 0x0, 0x0, 0x18, 0x24, 0x42, 0x81, 0xff, 0xff, 0x81, 0x42, 0x24, 0x18, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x18, 0x24, 0x3c, 0x3c, 0x42, 0x81, 0x99, 0x99, 0x81, 0x42, 0x3c, 0x0, 0x18, 0x18, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x18, 0x18, 0x0, 0x0, 0x3c, 0x42, 0x42, 0x62, 0x52, 0x52, 0x56, 0x56, 0x52, 0x52, 0x62, 0x42, 0x42, 0x3c, 0x0, 0x0, 0x3c, 0x42, 0x42, 0x46, 0x4a, 0x4a, 0x6a, 0x6a, 0x4a, 0x4a, 0x46, 0x42, 0x42, 0x3c, 0x0, 0xff, 0x81, 0x81, 0xff, 0x0, 0x0, 0x0, 0x0, 0x3, 0xd, 0x31, 0x41, 0x41, 0x31, 0xd, 0x3, 0x60, 0x58, 0x46, 0x41, 0x41, 0x46, 0x58, 0x60, };