annotate arkanoid/ball.c @ 3:84e66ea83026

DPF-Prymula-audioplugins-0.231015-2
author prymula <prymula76@outlook.com>
date Mon, 16 Oct 2023 21:53:34 +0200
parents 2787f5e749ae
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
prymula <prymula76@outlook.com>
parents:
diff changeset
1 /* GIMP RGBA C-Source image dump (ball.c) */
prymula <prymula76@outlook.com>
parents:
diff changeset
2 #include "ball.h"
prymula <prymula76@outlook.com>
parents:
diff changeset
3
prymula <prymula76@outlook.com>
parents:
diff changeset
4 static const struct {
prymula <prymula76@outlook.com>
parents:
diff changeset
5 unsigned int width;
prymula <prymula76@outlook.com>
parents:
diff changeset
6 unsigned int height;
prymula <prymula76@outlook.com>
parents:
diff changeset
7 unsigned int bytes_per_pixel; /* 3:RGB, 4:RGBA */
prymula <prymula76@outlook.com>
parents:
diff changeset
8 unsigned char pixel_data[30 * 30 * 4 + 1];
prymula <prymula76@outlook.com>
parents:
diff changeset
9 } pilka = {
prymula <prymula76@outlook.com>
parents:
diff changeset
10 30, 30, 4,
prymula <prymula76@outlook.com>
parents:
diff changeset
11 "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
prymula <prymula76@outlook.com>
parents:
diff changeset
12 "\0\0\0\0""9\330\354P9\325\355\2249\322\355\3079\317\355\3528\313\355\373"
prymula <prymula76@outlook.com>
parents:
diff changeset
13 "8\311\355\3737\306\355\3526\303\356\3076\302\356\2246\277\357P\0\0\0\0\0"
prymula <prymula76@outlook.com>
parents:
diff changeset
14 "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
prymula <prymula76@outlook.com>
parents:
diff changeset
15 "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0:\336\353\14""9\332"
prymula <prymula76@outlook.com>
parents:
diff changeset
16 "\354\2039\327\354\3519\323\355\3779\320\355\3777\314\355\3778\312\355\377"
prymula <prymula76@outlook.com>
parents:
diff changeset
17 "7\307\356\3777\304\356\3776\300\356\3776\276\356\3775\274\356\3775\272\356"
prymula <prymula76@outlook.com>
parents:
diff changeset
18 "\3775\267\357\3515\265\357\2035\264\360\14\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
prymula <prymula76@outlook.com>
parents:
diff changeset
19 "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
prymula <prymula76@outlook.com>
parents:
diff changeset
20 "\0:\335\354a9\331\354\3519\326\355\3778\322\355\3778\317\355\3777\313\355"
prymula <prymula76@outlook.com>
parents:
diff changeset
21 "\3777\307\355\3777\304\355\3777\301\356\3776\276\356\3775\274\357\3775\270"
prymula <prymula76@outlook.com>
parents:
diff changeset
22 "\357\3775\267\360\3775\264\357\3775\262\360\3774\257\360\3774\256\360\351"
prymula <prymula76@outlook.com>
parents:
diff changeset
23 "4\255\360a\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
prymula <prymula76@outlook.com>
parents:
diff changeset
24 "\0\0\0\0\0\0\0\0\0\0\0\0\0:\335\354\2249\331\354\3779\325\355\3778\321\354"
prymula <prymula76@outlook.com>
parents:
diff changeset
25 "\3777\315\356\3777\312\356\3777\306\356\3777\302\356\3776\277\356\3776\274"
prymula <prymula76@outlook.com>
parents:
diff changeset
26 "\356\3776\270\356\3775\266\357\3775\263\357\3774\260\360\3774\256\360\377"
prymula <prymula76@outlook.com>
parents:
diff changeset
27 "4\254\360\3773\252\361\3773\250\360\3773\246\361\3773\245\360\224\0\0\0\0"
prymula <prymula76@outlook.com>
parents:
diff changeset
28 "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0""9\335\354"
prymula <prymula76@outlook.com>
parents:
diff changeset
29 "\245:\331\354\3779\325\355\3779\321\355\3778\315\355\3778\310\356\3777\305"
prymula <prymula76@outlook.com>
parents:
diff changeset
30 "\356\3776\301\356\3776\275\356\3776\272\357\3775\266\357\3775\263\357\377"
prymula <prymula76@outlook.com>
parents:
diff changeset
31 "4\261\360\3774\256\360\3774\253\361\3773\250\360\3773\246\360\3773\244\360"
prymula <prymula76@outlook.com>
parents:
diff changeset
32 "\3773\242\361\3772\241\362\3772\237\361\3771\236\361\245\0\0\0\0\0\0\0\0"
prymula <prymula76@outlook.com>
parents:
diff changeset
33 "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0:\335\354\2249\331\354\3779\325\355"
prymula <prymula76@outlook.com>
parents:
diff changeset
34 "\3778\320\355\3778\313\355\3777\307\356\3777\303\355\3776\300\356\3775\273"
prymula <prymula76@outlook.com>
parents:
diff changeset
35 "\357\3776\271\357\3775\265\357\3774\262\360\3774\256\360\3773\253\360\377"
prymula <prymula76@outlook.com>
parents:
diff changeset
36 "3\251\360\3773\245\360\3773\243\361\3773\241\361\3772\237\361\3772\234\362"
prymula <prymula76@outlook.com>
parents:
diff changeset
37 "\3771\233\361\3771\231\362\3771\230\362\3771\227\362\224\0\0\0\0\0\0\0\0"
prymula <prymula76@outlook.com>
parents:
diff changeset
38 "\0\0\0\0\0\0\0\0\0\0\0\0:\336\354a9\331\354\3779\325\355\3778\320\355\377"
prymula <prymula76@outlook.com>
parents:
diff changeset
39 "8\313\356\3777\310\356\3777\303\356\3776\277\356\3776\273\356\3775\267\357"
prymula <prymula76@outlook.com>
parents:
diff changeset
40 "\3775\263\357\3774\260\360\3773\254\360\3773\251\360\3773\246\360\3772\243"
prymula <prymula76@outlook.com>
parents:
diff changeset
41 "\361\3772\240\361\3772\235\361\3772\233\361\3772\231\361\3771\227\362\377"
prymula <prymula76@outlook.com>
parents:
diff changeset
42 "1\225\362\3771\224\362\3770\222\362\3770\221\362\3770\220\363a\0\0\0\0\0"
prymula <prymula76@outlook.com>
parents:
diff changeset
43 "\0\0\0\0\0\0\0:\336\354\14""9\332\354\3519\326\354\3778\320\355\3778\314"
prymula <prymula76@outlook.com>
parents:
diff changeset
44 "\355\3777\310\356\3777\303\356\3777\276\356\3776\272\357\3776\266\360\377"
prymula <prymula76@outlook.com>
parents:
diff changeset
45 "5\263\357\3774\257\360\3774\252\360\3773\247\360\3773\244\360\3773\240\361"
prymula <prymula76@outlook.com>
parents:
diff changeset
46 "\3772\236\361\3771\232\362\3771\230\362\3771\226\362\3770\223\362\3770\221"
prymula <prymula76@outlook.com>
parents:
diff changeset
47 "\363\3770\217\362\3770\215\363\3770\214\363\377/\213\363\377/\212\363\351"
prymula <prymula76@outlook.com>
parents:
diff changeset
48 "/\211\363\14\0\0\0\0\0\0\0\0:\333\354\2039\326\354\3779\321\355\3778\314"
prymula <prymula76@outlook.com>
parents:
diff changeset
49 "\355\3777\310\356\3777\304\356\3777\277\357\3776\273\357\3775\267\357\377"
prymula <prymula76@outlook.com>
parents:
diff changeset
50 "5\262\357\3774\256\360\3774\252\361\3773\246\360\3772\243\361\3772\237\361"
prymula <prymula76@outlook.com>
parents:
diff changeset
51 "\3772\234\361\3771\230\362\3771\225\362\3771\223\362\3771\220\363\3770\215"
prymula <prymula76@outlook.com>
parents:
diff changeset
52 "\363\377/\214\363\377/\211\363\377/\210\364\377/\206\363\377/\205\363\377"
prymula <prymula76@outlook.com>
parents:
diff changeset
53 "/\204\364\377/\204\364\203\0\0\0\0\0\0\0\0""9\330\354\3519\323\354\3778\316"
prymula <prymula76@outlook.com>
parents:
diff changeset
54 "\355\3777\311\356\3777\304\356\3776\300\357\3775\272\357\3775\266\357\377"
prymula <prymula76@outlook.com>
parents:
diff changeset
55 "5\262\357\3774\255\360\3773\251\361\3773\245\360\3772\241\361\3772\235\362"
prymula <prymula76@outlook.com>
parents:
diff changeset
56 "\3772\232\362\3771\226\362\3770\223\362\3770\220\363\3770\215\363\377/\212"
prymula <prymula76@outlook.com>
parents:
diff changeset
57 "\363\377/\210\364\377.\205\364\377/\203\363\377.\202\364\377.\200\364\377"
prymula <prymula76@outlook.com>
parents:
diff changeset
58 ".\177\364\377.~\364\377.}\365\351\0\0\0\0:\331\354P9\324\354\3778\316\355"
prymula <prymula76@outlook.com>
parents:
diff changeset
59 "\3777\311\356\3776\305\356\3776\300\356\3776\274\357\3775\267\357\3775\262"
prymula <prymula76@outlook.com>
parents:
diff changeset
60 "\357\3774\256\357\3774\251\361\3773\245\360\3773\240\361\3772\235\361\377"
prymula <prymula76@outlook.com>
parents:
diff changeset
61 "1\231\362\3771\225\362\3770\221\362\3770\216\363\377/\213\363\377/\210\363"
prymula <prymula76@outlook.com>
parents:
diff changeset
62 "\377/\205\363\377.\203\363\377.\200\364\377.}\364\377.|\364\377.z\365\377"
prymula <prymula76@outlook.com>
parents:
diff changeset
63 "-x\365\377-x\364\377-w\365\377-v\365P9\326\355\2249\320\355\3777\314\355"
prymula <prymula76@outlook.com>
parents:
diff changeset
64 "\3777\306\355\3776\301\356\3776\274\356\3775\267\357\3775\263\360\3774\256"
prymula <prymula76@outlook.com>
parents:
diff changeset
65 "\360\3774\252\360\3773\245\361\3773\240\361\3771\234\362\3771\230\362\377"
prymula <prymula76@outlook.com>
parents:
diff changeset
66 "1\224\362\3771\220\362\3770\215\363\377/\210\364\377/\206\364\377/\203\364"
prymula <prymula76@outlook.com>
parents:
diff changeset
67 "\377.\177\364\377.}\364\377.z\365\377.x\365\377-v\365\377-u\365\377,s\365"
prymula <prymula76@outlook.com>
parents:
diff changeset
68 "\377-r\365\377,q\365\377,p\365\2249\323\355\3078\316\355\3777\310\355\377"
prymula <prymula76@outlook.com>
parents:
diff changeset
69 "7\303\356\3776\276\356\3775\270\357\3775\264\357\3774\257\357\3774\252\360"
prymula <prymula76@outlook.com>
parents:
diff changeset
70 "\3773\246\361\3772\241\361\3772\234\361\3772\230\361\3771\223\362\3770\217"
prymula <prymula76@outlook.com>
parents:
diff changeset
71 "\362\3770\214\363\377/\210\363\377/\204\363\377/\200\364\377.}\364\377.y"
prymula <prymula76@outlook.com>
parents:
diff changeset
72 "\364\377-w\365\377-t\365\377,s\365\377,p\365\377,n\365\377+m\366\377+k\365"
prymula <prymula76@outlook.com>
parents:
diff changeset
73 "\377+k\366\377+k\366\3078\317\355\3527\312\355\3777\305\356\3776\277\356"
prymula <prymula76@outlook.com>
parents:
diff changeset
74 "\3776\272\357\3775\265\360\3774\260\360\3774\253\360\3773\247\361\3772\242"
prymula <prymula76@outlook.com>
parents:
diff changeset
75 "\361\3772\235\362\3771\230\362\3770\223\362\3770\217\362\377/\213\363\377"
prymula <prymula76@outlook.com>
parents:
diff changeset
76 "/\207\364\377.\203\364\377.\177\364\377.{\364\377.x\364\377-u\365\377,q\365"
prymula <prymula76@outlook.com>
parents:
diff changeset
77 "\377,o\365\377+m\365\377,j\366\377+i\366\377+f\366\377+f\366\377+e\367\377"
prymula <prymula76@outlook.com>
parents:
diff changeset
78 "*d\366\3528\315\356\3737\307\355\3776\302\356\3776\275\357\3775\267\357\377"
prymula <prymula76@outlook.com>
parents:
diff changeset
79 "5\262\357\3774\254\360\3773\250\361\3773\243\361\3772\236\361\3771\231\361"
prymula <prymula76@outlook.com>
parents:
diff changeset
80 "\3771\224\362\3771\217\362\3770\213\363\377/\207\363\377/\202\363\377.~\364"
prymula <prymula76@outlook.com>
parents:
diff changeset
81 "\377-z\365\377-v\364\377-s\365\377,o\365\377,m\366\377,i\366\377+g\366\377"
prymula <prymula76@outlook.com>
parents:
diff changeset
82 "+d\366\377+b\367\377+a\367\377*_\367\377*_\367\377*^\366\3738\312\356\373"
prymula <prymula76@outlook.com>
parents:
diff changeset
83 "7\305\356\3776\277\356\3775\272\356\3775\264\357\3774\257\360\3773\252\361"
prymula <prymula76@outlook.com>
parents:
diff changeset
84 "\3773\244\360\3772\240\361\3772\233\362\3771\226\362\3770\220\363\3770\214"
prymula <prymula76@outlook.com>
parents:
diff changeset
85 "\363\377/\207\364\377.\203\364\377.~\364\377.y\365\377-v\365\377-r\365\377"
prymula <prymula76@outlook.com>
parents:
diff changeset
86 ",n\365\377,j\366\377+h\366\377+d\366\377*b\366\377*_\367\377*\\\367\377*"
prymula <prymula76@outlook.com>
parents:
diff changeset
87 "[\367\377*Y\367\377)Y\370\377)X\367\3737\307\356\3527\302\357\3776\274\357"
prymula <prymula76@outlook.com>
parents:
diff changeset
88 "\3775\267\357\3775\262\357\3774\254\360\3773\247\361\3773\241\361\3772\234"
prymula <prymula76@outlook.com>
parents:
diff changeset
89 "\361\3772\226\362\3770\222\363\3770\215\363\377/\207\363\377.\203\364\377"
prymula <prymula76@outlook.com>
parents:
diff changeset
90 ".~\364\377.z\364\377,u\365\377-q\365\377+l\366\377+i\366\377*e\366\377+b"
prymula <prymula76@outlook.com>
parents:
diff changeset
91 "\366\377*_\367\377*\\\367\377*Y\367\377)W\367\377)U\367\377)T\370\377(R\367"
prymula <prymula76@outlook.com>
parents:
diff changeset
92 "\377)S\370\3527\305\355\3076\277\357\3776\271\357\3775\264\357\3774\257\357"
prymula <prymula76@outlook.com>
parents:
diff changeset
93 "\3773\251\361\3773\244\361\3772\236\361\3771\231\362\3771\224\363\3770\216"
prymula <prymula76@outlook.com>
parents:
diff changeset
94 "\363\377/\211\363\377/\204\363\377.\200\364\377.z\365\377,v\365\377,q\365"
prymula <prymula76@outlook.com>
parents:
diff changeset
95 "\377,l\366\377,i\366\377*d\366\377+a\366\377*]\367\377*Y\367\377)W\367\377"
prymula <prymula76@outlook.com>
parents:
diff changeset
96 "(S\370\377(R\370\377(O\370\377(N\371\377(M\371\377(L\370\3077\303\356\224"
prymula <prymula76@outlook.com>
parents:
diff changeset
97 "6\275\357\3776\267\357\3775\261\357\3774\254\360\3773\247\361\3772\241\361"
prymula <prymula76@outlook.com>
parents:
diff changeset
98 "\3771\233\362\3771\226\362\3770\221\363\3770\213\363\377/\206\364\377/\201"
prymula <prymula76@outlook.com>
parents:
diff changeset
99 "\364\377-|\365\377-w\365\377,r\365\377,m\365\377+i\365\377+d\366\377*`\367"
prymula <prymula76@outlook.com>
parents:
diff changeset
100 "\377)[\367\377)X\370\377)T\370\377(Q\370\377(N\370\377(L\371\377'J\371\377"
prymula <prymula76@outlook.com>
parents:
diff changeset
101 "'G\370\377'G\371\377'F\371\2246\301\356P5\273\357\3775\265\360\3774\260\360"
prymula <prymula76@outlook.com>
parents:
diff changeset
102 "\3774\252\361\3773\244\361\3772\236\362\3771\230\361\3771\223\362\3770\216"
prymula <prymula76@outlook.com>
parents:
diff changeset
103 "\363\377/\211\363\377.\203\363\377.}\364\377-x\365\377-s\365\377,n\365\377"
prymula <prymula76@outlook.com>
parents:
diff changeset
104 ",i\366\377+e\366\377*`\366\377*[\367\377)W\370\377)T\370\377(P\370\377(L"
prymula <prymula76@outlook.com>
parents:
diff changeset
105 "\370\377'I\371\377'F\371\377'D\371\377&B\371\377&@\372\377&@\372P\0\0\0\0"
prymula <prymula76@outlook.com>
parents:
diff changeset
106 """5\271\357\3515\263\357\3773\255\360\3774\250\361\3773\241\361\3772\234"
prymula <prymula76@outlook.com>
parents:
diff changeset
107 "\362\3771\226\362\3771\221\362\3770\213\363\377.\205\363\377.\200\364\377"
prymula <prymula76@outlook.com>
parents:
diff changeset
108 "-{\364\377-u\365\377,p\365\377+j\366\377*e\366\377*a\366\377*\\\367\377)"
prymula <prymula76@outlook.com>
parents:
diff changeset
109 "X\367\377)S\370\377(O\370\377(K\370\377'G\371\377&C\372\377&@\372\377&>\372"
prymula <prymula76@outlook.com>
parents:
diff changeset
110 "\377%<\372\377&:\372\351\0\0\0\0\0\0\0\0""5\267\360\2035\261\360\3774\254"
prymula <prymula76@outlook.com>
parents:
diff changeset
111 "\360\3773\245\361\3772\240\361\3772\232\362\3771\224\362\3770\216\363\377"
prymula <prymula76@outlook.com>
parents:
diff changeset
112 "/\211\363\377/\203\364\377.~\364\377.x\365\377-s\365\377,m\366\377+h\366"
prymula <prymula76@outlook.com>
parents:
diff changeset
113 "\377*c\366\377*]\367\377)X\367\377(S\370\377(O\370\377(J\371\377'F\371\377"
prymula <prymula76@outlook.com>
parents:
diff changeset
114 "'B\372\377&>\371\377%;\372\377%9\372\377%6\373\377%4\372\203\0\0\0\0\0\0"
prymula <prymula76@outlook.com>
parents:
diff changeset
115 "\0\0""5\265\357\14""4\257\360\3513\251\360\3772\244\360\3772\236\361\377"
prymula <prymula76@outlook.com>
parents:
diff changeset
116 "2\230\362\3771\222\362\3770\214\363\377/\207\364\377/\201\363\377.{\365\377"
prymula <prymula76@outlook.com>
parents:
diff changeset
117 "-v\365\377-p\366\377,j\366\377+e\366\377+`\367\377)Z\367\377)U\367\377(P"
prymula <prymula76@outlook.com>
parents:
diff changeset
118 "\370\377'K\370\377&F\371\377'B\371\377&>\372\377%9\372\377%5\373\377$3\372"
prymula <prymula76@outlook.com>
parents:
diff changeset
119 "\377$1\373\351$/\372\14\0\0\0\0\0\0\0\0\0\0\0\0""4\256\360a4\250\361\377"
prymula <prymula76@outlook.com>
parents:
diff changeset
120 "3\242\361\3771\234\361\3771\226\361\3770\221\363\3770\213\363\377/\205\363"
prymula <prymula76@outlook.com>
parents:
diff changeset
121 "\377.\177\364\377.y\365\377,s\365\377,n\366\377+h\366\377*c\366\377*]\367"
prymula <prymula76@outlook.com>
parents:
diff changeset
122 "\377)W\367\377)R\370\377(L\370\377'H\371\377&C\372\377&=\372\377%9\372\377"
prymula <prymula76@outlook.com>
parents:
diff changeset
123 "%5\372\377$1\373\377$.\373\377#+\373a\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
prymula <prymula76@outlook.com>
parents:
diff changeset
124 "\0\0""3\246\360\2243\240\362\3771\233\361\3770\225\363\3770\217\363\377/"
prymula <prymula76@outlook.com>
parents:
diff changeset
125 "\211\364\377/\203\363\377.}\364\377-w\365\377,r\365\377,l\365\377+f\366\377"
prymula <prymula76@outlook.com>
parents:
diff changeset
126 "*`\366\377*Z\367\377)T\370\377(O\370\377(I\371\377'D\371\377&>\372\377%:"
prymula <prymula76@outlook.com>
parents:
diff changeset
127 "\372\377$5\372\377$0\373\377#,\374\377#(\373\224\0\0\0\0\0\0\0\0\0\0\0\0"
prymula <prymula76@outlook.com>
parents:
diff changeset
128 "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0""2\237\361\2451\231\362\3770\224\362\377"
prymula <prymula76@outlook.com>
parents:
diff changeset
129 "/\215\362\377/\210\364\377/\202\364\377.{\364\377-v\365\377,p\366\377,j\365"
prymula <prymula76@outlook.com>
parents:
diff changeset
130 "\377+d\366\377)^\367\377)X\367\377)S\370\377(M\371\377'G\371\377&A\371\377"
prymula <prymula76@outlook.com>
parents:
diff changeset
131 "&;\372\377%7\373\377%1\373\377$,\373\377#(\374\245\0\0\0\0\0\0\0\0\0\0\0"
prymula <prymula76@outlook.com>
parents:
diff changeset
132 "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0""1\231\361\2241\223\362"
prymula <prymula76@outlook.com>
parents:
diff changeset
133 "\3770\214\363\377/\206\363\377.\201\363\377-z\364\377-t\365\377,n\366\377"
prymula <prymula76@outlook.com>
parents:
diff changeset
134 "+h\366\377+c\366\377*\\\367\377)W\370\377(P\370\377'K\371\377'E\371\377&"
prymula <prymula76@outlook.com>
parents:
diff changeset
135 "?\372\377%:\372\377%4\372\377$.\373\377#)\374\224\0\0\0\0\0\0\0\0\0\0\0\0"
prymula <prymula76@outlook.com>
parents:
diff changeset
136 "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0""0\221\362"
prymula <prymula76@outlook.com>
parents:
diff changeset
137 "a0\214\362\351/\206\364\377.\177\364\377-y\365\377,s\365\377+m\366\377,g"
prymula <prymula76@outlook.com>
parents:
diff changeset
138 "\366\377*b\367\377*[\367\377)U\367\377(O\370\377(I\370\377&C\371\377&=\371"
prymula <prymula76@outlook.com>
parents:
diff changeset
139 "\377%7\372\377$1\372\351$,\373a\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
prymula <prymula76@outlook.com>
parents:
diff changeset
140 "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0""0\213\363"
prymula <prymula76@outlook.com>
parents:
diff changeset
141 "\14/\205\364\203.\177\364\351-y\364\377-s\365\377,m\366\377+g\366\377*`\367"
prymula <prymula76@outlook.com>
parents:
diff changeset
142 "\377)[\367\377(U\370\377(N\370\377'H\371\377&B\372\377&=\371\351%6\372\203"
prymula <prymula76@outlook.com>
parents:
diff changeset
143 "$0\372\14\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
prymula <prymula76@outlook.com>
parents:
diff changeset
144 "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
prymula <prymula76@outlook.com>
parents:
diff changeset
145 "-x\364P-s\365\224+l\365\307+f\366\352+`\367\373)Z\370\373)T\370\352(N\371"
prymula <prymula76@outlook.com>
parents:
diff changeset
146 "\307'H\370\224&A\371P\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
prymula <prymula76@outlook.com>
parents:
diff changeset
147 "\0\0\0\0\0\0\0\0\0\0\0\0\0\0",
prymula <prymula76@outlook.com>
parents:
diff changeset
148 };
prymula <prymula76@outlook.com>
parents:
diff changeset
149
prymula <prymula76@outlook.com>
parents:
diff changeset
150 SDL_Surface * utworz_pilke() {
prymula <prymula76@outlook.com>
parents:
diff changeset
151
prymula <prymula76@outlook.com>
parents:
diff changeset
152 #define PITCH pilka.bytes_per_pixel*pilka.width
prymula <prymula76@outlook.com>
parents:
diff changeset
153
prymula <prymula76@outlook.com>
parents:
diff changeset
154 SDL_Surface * powierzchnia;
prymula <prymula76@outlook.com>
parents:
diff changeset
155 Uint32 rmask, gmask, bmask, amask;
prymula <prymula76@outlook.com>
parents:
diff changeset
156
prymula <prymula76@outlook.com>
parents:
diff changeset
157
prymula <prymula76@outlook.com>
parents:
diff changeset
158 #if SDL_BYTEORDER == SDL_BIG_ENDIAN
prymula <prymula76@outlook.com>
parents:
diff changeset
159 rmask = 0xff000000;
prymula <prymula76@outlook.com>
parents:
diff changeset
160 gmask = 0x00ff0000;
prymula <prymula76@outlook.com>
parents:
diff changeset
161 bmask = 0x0000ff00;
prymula <prymula76@outlook.com>
parents:
diff changeset
162 amask = 0x000000ff;
prymula <prymula76@outlook.com>
parents:
diff changeset
163 #else
prymula <prymula76@outlook.com>
parents:
diff changeset
164 rmask = 0x000000ff;
prymula <prymula76@outlook.com>
parents:
diff changeset
165 gmask = 0x0000ff00;
prymula <prymula76@outlook.com>
parents:
diff changeset
166 bmask = 0x00ff0000;
prymula <prymula76@outlook.com>
parents:
diff changeset
167 amask = 0xff000000;
prymula <prymula76@outlook.com>
parents:
diff changeset
168 #endif
prymula <prymula76@outlook.com>
parents:
diff changeset
169
prymula <prymula76@outlook.com>
parents:
diff changeset
170
prymula <prymula76@outlook.com>
parents:
diff changeset
171
prymula <prymula76@outlook.com>
parents:
diff changeset
172 powierzchnia = SDL_CreateRGBSurfaceFrom((void *) pilka.pixel_data,
prymula <prymula76@outlook.com>
parents:
diff changeset
173 pilka.width, pilka.height, 32, PITCH, rmask, gmask, bmask, amask);
prymula <prymula76@outlook.com>
parents:
diff changeset
174
prymula <prymula76@outlook.com>
parents:
diff changeset
175 // nie dziala obrazek musi byc z bajtem przezroczystosci
prymula <prymula76@outlook.com>
parents:
diff changeset
176 // SDL_SetColorKey(image,SDL_SRCCOLORKEY,getpixel(image,0,0));
prymula <prymula76@outlook.com>
parents:
diff changeset
177
prymula <prymula76@outlook.com>
parents:
diff changeset
178 return powierzchnia;
prymula <prymula76@outlook.com>
parents:
diff changeset
179 }
prymula <prymula76@outlook.com>
parents:
diff changeset
180
prymula <prymula76@outlook.com>
parents:
diff changeset
181