-
Notifications
You must be signed in to change notification settings - Fork 0
/
Start_Sprites.h
28 lines (24 loc) · 9.38 KB
/
Start_Sprites.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#pragma once
#include <SFML/Graphics.hpp>
const sf::IntRect Sprites_Hero[][COUNT_SPRITES] = {
{ sf::IntRect(29, 37, 80, 136), sf::IntRect(124, 37, 81, 136), sf::IntRect(217, 37, 80, 136), sf::IntRect(313, 37, 85, 136), sf::IntRect(409, 37, 80, 136), sf::IntRect(501, 37, 81, 136), sf::IntRect(596, 37, 81, 136), sf::IntRect(693, 37, 81, 136), sf::IntRect(788, 37, 81, 136), sf::IntRect(889, 37, 81, 136), sf::IntRect(984, 37, 81, 136), sf::IntRect(1080, 37, 81, 136), sf::IntRect(1173, 37, 81, 136), sf::IntRect(1266, 37, 81, 136), sf::IntRect(1358, 37, 81, 136), sf::IntRect(1450, 37, 81, 136), sf::IntRect(1545, 37, 81, 136), sf::IntRect(1641, 37, 81, 136), sf::IntRect(1737, 37, 81, 136), sf::IntRect(1837, 37, 81, 136), sf::IntRect(1932, 37, 81, 136), sf::IntRect(2031, 37, 81, 136), sf::IntRect(29, 37, 80, 136), sf::IntRect(124, 37, 81, 136), sf::IntRect(217, 37, 80, 136), sf::IntRect(313, 37, 85, 136), sf::IntRect(409, 37, 80, 136)},
{ sf::IntRect(20, 222, 120, 130), sf::IntRect(156, 221, 120, 130), sf::IntRect(296, 221, 120, 130), sf::IntRect(428, 221, 115, 132), sf::IntRect(555, 221, 105, 135), sf::IntRect(674, 221, 100, 135), sf::IntRect(796, 221, 100, 135), sf::IntRect(916, 221, 100, 135), sf::IntRect(1031, 221, 95, 121), sf::IntRect(39, 372, 95, 135), sf::IntRect(161, 372, 100, 135), sf::IntRect(265, 372, 100, 135), sf::IntRect(384, 372, 101, 135), sf::IntRect(508, 372, 110, 135), sf::IntRect(625, 372, 114, 135), sf::IntRect(751, 372, 120, 135), sf::IntRect(883, 372, 110, 135), sf::IntRect(999, 372, 100, 135), sf::IntRect(25, 514, 101, 132), sf::IntRect(151, 514, 101, 132), sf::IntRect(269, 514, 100, 132), sf::IntRect(402, 514, 95, 132), sf::IntRect(514, 514, 100, 132), sf::IntRect(623, 514, 105, 132), sf::IntRect(755, 514, 105, 132), sf::IntRect(881, 514, 110, 132), sf::IntRect(996, 514, 110, 132)},
{ sf::IntRect(140, 222, -120, 130), sf::IntRect(276, 221, -120, 130), sf::IntRect(416, 221, -120, 130), sf::IntRect(543, 221, -115, 132), sf::IntRect(660, 221, -105, 135), sf::IntRect(774, 221, -100, 135), sf::IntRect(896, 221, -100, 135), sf::IntRect(1016, 221, -100, 135), sf::IntRect(1126, 221, -95, 121), sf::IntRect(134, 372, -95, 135), sf::IntRect(261, 372, -100, 135), sf::IntRect(365, 372, -100, 135), sf::IntRect(485, 372, -101, 135), sf::IntRect(618, 372, -110, 135), sf::IntRect(739, 372, -114, 135), sf::IntRect(871, 372, -120, 135), sf::IntRect(993, 372, -110, 135), sf::IntRect(1099, 372, -100, 135), sf::IntRect(126, 514, -101, 132), sf::IntRect(252, 514, -101, 132), sf::IntRect(369, 514, -100, 132), sf::IntRect(497, 514, -95, 132), sf::IntRect(614, 514, -100, 132), sf::IntRect(728, 514, -105, 132), sf::IntRect(860, 514, -105, 132), sf::IntRect(991, 514, -110, 132), sf::IntRect(1106, 514, -110, 132)},
{ sf::IntRect(1923, 367, 94, 137), sf::IntRect(2032, 367, 96, 137), sf::IntRect(2140, 367, 100, 136), sf::IntRect(2247, 367, 103, 136), sf::IntRect(2247, 367, 103, 136), sf::IntRect(2247, 367, 103, 136), sf::IntRect(2247, 367, 103, 136), sf::IntRect(2247, 367, 103, 136), sf::IntRect(2247, 367, 103, 136), sf::IntRect(2247, 367, 103, 136), sf::IntRect(2247, 367, 103, 136), sf::IntRect(2247, 367, 103, 136), sf::IntRect(2247, 367, 103, 136), sf::IntRect(2247, 367, 103, 136), sf::IntRect(2247, 367, 103, 136), sf::IntRect(2247, 367, 103, 136), sf::IntRect(2247, 367, 103, 136), sf::IntRect(2247, 367, 103, 136), sf::IntRect(2247, 367, 103, 136), sf::IntRect(2247, 367, 103, 136), sf::IntRect(2247, 367, 103, 136), sf::IntRect(2247, 367, 103, 136), sf::IntRect(2247, 367, 103, 136), sf::IntRect(2247, 367, 103, 136), sf::IntRect(2247, 367, 103, 136), sf::IntRect(2247, 367, 103, 136), sf::IntRect(2247, 367, 103, 136)},
{ sf::IntRect(494, 878, 101, 134), sf::IntRect(613, 878, 102, 134), sf::IntRect(733, 878, 103, 134), sf::IntRect(854, 878, 103, 134), sf::IntRect(972, 878, 103, 134), sf::IntRect(972, 878, 103, 134) , sf::IntRect(972, 878, 103, 134) , sf::IntRect(972, 878, 103, 134), sf::IntRect(972, 878, 103, 134), sf::IntRect(972, 878, 103, 134), sf::IntRect(972, 878, 103, 134), sf::IntRect(972, 878, 103, 134), sf::IntRect(972, 878, 103, 134), sf::IntRect(972, 878, 103, 134), sf::IntRect(972, 878, 103, 134), sf::IntRect(972, 878, 103, 134), sf::IntRect(972, 878, 103, 134), sf::IntRect(972, 878, 103, 134), sf::IntRect(972, 878, 103, 134), sf::IntRect(972, 878, 103, 134), sf::IntRect(972, 878, 103, 134), sf::IntRect(972, 878, 103, 134), sf::IntRect(972, 878, 103, 134), sf::IntRect(972, 878, 103, 134), sf::IntRect(972, 878, 103, 134), sf::IntRect(972, 878, 103, 134), sf::IntRect(972, 878, 103, 134)},
{ sf::IntRect(505, 878, -101, 134), sf::IntRect(705, 878, -102, 134), sf::IntRect(836, 878, -103, 134), sf::IntRect(957, 878, -103, 134), sf::IntRect(1075, 878, -103, 134), sf::IntRect(1075, 878, -103, 134), sf::IntRect(1075, 878, -103, 134), sf::IntRect(1075, 878, -103, 134), sf::IntRect(1075, 878, -103, 134), sf::IntRect(1075, 878, -103, 134), sf::IntRect(1075, 878, -103, 134), sf::IntRect(1075, 878, -103, 134), sf::IntRect(1075, 878, -103, 134), sf::IntRect(1075, 878, -103, 134), sf::IntRect(1075, 878, -103, 134), sf::IntRect(1075, 878, -103, 134), sf::IntRect(1075, 878, -103, 134), sf::IntRect(1075, 878, -103, 134), sf::IntRect(1075, 878, -103, 134), sf::IntRect(1075, 878, -103, 134), sf::IntRect(1075, 878, -103, 134), sf::IntRect(1075, 878, -103, 134), sf::IntRect(1075, 878, -103, 134), sf::IntRect(1075, 878, -103, 134), sf::IntRect(1075, 878, -103, 134), sf::IntRect(1075, 878, -103, 134), sf::IntRect(1075, 878, -103, 134)},
{ sf::IntRect(1667, 881, 109, 133), sf::IntRect(1667, 881, 109, 133), sf::IntRect(1667, 881, 109, 133), sf::IntRect(1803, 883, 111, 131), sf::IntRect(1803, 883, 111, 131), sf::IntRect(1803, 883, 111, 131), sf::IntRect(1927, 882, 112, 130), sf::IntRect(1927, 882, 112, 130), sf::IntRect(1927, 882, 112, 130), sf::IntRect(1927, 882, 112, 130), sf::IntRect(1927, 882, 112, 130), sf::IntRect(1927, 882, 112, 130), sf::IntRect(1927, 882, 112, 130), sf::IntRect(1927, 882, 112, 130), sf::IntRect(1927, 882, 112, 130), sf::IntRect(1927, 882, 112, 130), sf::IntRect(1927, 882, 112, 130), sf::IntRect(1927, 882, 112, 130), sf::IntRect(1927, 882, 112, 130), sf::IntRect(1927, 882, 112, 130), sf::IntRect(1927, 882, 112, 130), sf::IntRect(1927, 882, 112, 130), sf::IntRect(1927, 882, 112, 130), sf::IntRect(1927, 882, 112, 130), sf::IntRect(1927, 882, 112, 130), sf::IntRect(1927, 882, 112, 130), sf::IntRect(1927, 882, 112, 130)},
{ sf::IntRect(1092, 878, 97, 134), sf::IntRect(1092, 878, 97, 134), sf::IntRect(1212, 878, 102, 134), sf::IntRect(1212, 878, 102, 134), sf::IntRect(1335, 878, 106, 134), sf::IntRect(1335, 878, 106, 134), sf::IntRect(1457, 878, 112, 134), sf::IntRect(1457, 878, 112, 134), sf::IntRect(1457, 878, 112, 134), sf::IntRect(1457, 878, 112, 134), sf::IntRect(1457, 878, 112, 134), sf::IntRect(1457, 878, 112, 134), sf::IntRect(1457, 878, 112, 134), sf::IntRect(1457, 878, 112, 134), sf::IntRect(1457, 878, 112, 134), sf::IntRect(1457, 878, 112, 134), sf::IntRect(1457, 878, 112, 134), sf::IntRect(1457, 878, 112, 134), sf::IntRect(1457, 878, 112, 134), sf::IntRect(1457, 878, 112, 134), sf::IntRect(1457, 878, 112, 134), sf::IntRect(1457, 878, 112, 134), sf::IntRect(1457, 878, 112, 134), sf::IntRect(1457, 878, 112, 134), sf::IntRect(1457, 878, 112, 134), sf::IntRect(1457, 878, 112, 134), sf::IntRect(1457, 878, 112, 134)},
{ sf::IntRect(1187, 878, -97, 134), sf::IntRect(1187, 878, -97, 134), sf::IntRect(1314, 878, -102, 134), sf::IntRect(1314, 878, -102, 134), sf::IntRect(1441, 878, -106, 134), sf::IntRect(1441, 878, -106, 134), sf::IntRect(1569, 878, -112, 134), sf::IntRect(1569, 878, -112, 134), sf::IntRect(1569, 878, -112, 134), sf::IntRect(1569, 878, -112, 134), sf::IntRect(1569, 878, -112, 134), sf::IntRect(1569, 878, -112, 134), sf::IntRect(1569, 878, -112, 134), sf::IntRect(1569, 878, -112, 134), sf::IntRect(1569, 878, -112, 134), sf::IntRect(1569, 878, -112, 134), sf::IntRect(1569, 878, -112, 134), sf::IntRect(1569, 878, -112, 134), sf::IntRect(1569, 878, -112, 134), sf::IntRect(1569, 878, -112, 134), sf::IntRect(1569, 878, -112, 134), sf::IntRect(1569, 878, -112, 134), sf::IntRect(1569, 878, -112, 134), sf::IntRect(1569, 878, -112, 134), sf::IntRect(1569, 878, -112, 134), sf::IntRect(1569, 878, -112, 134), sf::IntRect(1569, 878, -112, 134)},
{ sf::IntRect(1222, 367, 100, 130), sf::IntRect(1335, 369, 95, 130), sf::IntRect(1447, 373, 94, 130), sf::IntRect(1562, 369, 89, 139), sf::IntRect(1685, 368, 88, 137), sf::IntRect(1685, 368, 88, 137), sf::IntRect(1685, 368, 88, 137), sf::IntRect(1685, 368, 88, 137), sf::IntRect(1685, 368, 88, 137), sf::IntRect(1685, 368, 88, 137), sf::IntRect(1685, 368, 88, 137), sf::IntRect(1685, 368, 88, 137), sf::IntRect(1685, 368, 88, 137), sf::IntRect(1685, 368, 88, 137), sf::IntRect(1685, 368, 88, 137), sf::IntRect(1685, 368, 88, 137), sf::IntRect(1685, 368, 88, 137), sf::IntRect(1685, 368, 88, 137), sf::IntRect(1685, 368, 88, 137), sf::IntRect(1685, 368, 88, 137), sf::IntRect(1685, 368, 88, 137), sf::IntRect(1685, 368, 88, 137), sf::IntRect(1685, 368, 88, 137), sf::IntRect(1685, 368, 88, 137), sf::IntRect(1685, 368, 88, 137), sf::IntRect(1685, 368, 88, 137), sf::IntRect(1685, 368, 88, 137)}
};
const int Sprites_Hero_Stay = 0;
const int Sprites_Hero_MoveRight = 1;
const int Sprites_Hero_MoveLeft = 2;
const int Sprites_Hero_Jump = 3;
const int Sprites_Hero_JumpRight = 4;
const int Sprites_Hero_JumpLeft = 5;
const int Sprites_Hero_Fall = 6;
const int Sprites_Hero_FallRight = 7;
const int Sprites_Hero_FallLeft = 8;
const int Sprites_Hero_FallEnd = 9;