Update sprites

This commit is contained in:
Miloslav Číž 2019-10-14 16:05:49 +02:00
parent 24c93368de
commit 21d0eec086
4 changed files with 78 additions and 79 deletions

151
assets.h
View File

@ -593,90 +593,89 @@ uint8_t SFG_weaponImages[][SFG_TEXTURE_SIZE * SFG_TEXTURE_SIZE] =
{
{ // 0, shotgun
175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,
175,175,175,175,175,175,175,175,175,175,1,1,175,175,175,175,175,175,175,175,175,
175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,1,1,1,1,17,
100,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,
175,175,175,175,1,1,1,5,6,4,17,100,101,175,175,175,175,175,175,175,175,175,175,
175,175,175,175,175,175,175,175,175,1,1,1,1,5,6,4,6,5,17,100,101,101,175,175,
175,175,175,175,175,175,175,175,175,175,175,175,175,175,1,1,1,4,4,6,7,7,6,1,3,5,
17,99,101,101,175,175,175,175,175,175,175,175,175,175,175,175,1,1,1,1,5,5,5,7,7,
6,6,6,5,1,3,5,17,99,100,101,175,175,175,175,175,175,175,175,175,175,1,1,6,5,6,6,
7,7,6,6,4,6,7,7,4,6,6,5,17,99,100,101,175,175,175,175,175,175,175,175,175,1,6,6,
3,6,7,6,6,7,7,4,5,6,6,4,4,5,5,4,17,99,99,100,175,175,175,175,175,175,175,175,1,
6,6,6,3,6,7,7,7,7,6,4,4,5,3,3,5,1,3,4,17,98,99,100,175,175,175,175,175,175,175,
175,1,7,7,2,6,7,7,6,5,5,5,5,3,3,74,4,4,1,3,4,17,98,98,99,175,175,175,175,175,
175,175,1,6,6,6,2,6,6,6,5,5,5,5,5,4,4,4,4,4,4,4,4,3,17,18,18,175,175,175,175,
175,175,175,1,6,6,6,4,6,4,4,4,4,4,4,4,4,3,3,3,3,3,3,1,3,74,17,98,175,175,175,
175,175,175,17,1,1,4,4,4,2,4,3,3,3,3,3,3,3,3,3,3,3,3,3,1,3,74,17,17,175,175,175,
175,175,101,99,25,25,1,3,42,2,3,42,3,42,42,42,42,42,42,42,74,42,74,74,42,74,17,
17,1,175,175,175,175,175,17,17,17,25,25,25,25,9,17,17,17,17,17,1,17,1,17,1,1,1,
1,1,1,73,1,1,1,175,175,175,175,175,175,175,1,25,25,25,26,26,26,19,19,19,19,19,
19,19,19,19,19,19,19,26,26,18,73,17,1,175,175,175,175,175,17,17,17,25,25,25,19,
100,100,100,101,101,101,101,101,101,101,101,101,101,101,100,100,19,19,17,1,175,
175,175,175,175,101,99,25,25,1,4,4,26,3,3,3,3,3,3,3,3,3,3,3,3,3,3,1,3,3,17,17,
175,175,175,175,175,175,17,1,1,6,6,4,4,6,6,6,7,7,6,6,6,5,5,5,4,4,4,1,3,3,17,99,
175,175,175,175,175,175,175,1,7,7,7,2,6,7,7,7,7,7,7,7,7,6,6,6,7,7,7,7,5,3,17,
100,175,175,175,175,175,175,175,1,6,6,6,2,5,6,6,6,6,6,7,6,6,7,7,7,6,1,3,7,5,17,
99,100,175,175,175,175,175,175,175,175,1,4,4,2,4,6,5,5,5,5,6,6,4,4,4,6,6,1,3,5,
4,17,100,101,175,175,175,175,175,175,175,175,1,5,5,5,2,5,4,4,4,4,4,74,3,4,3,3,5,
6,6,5,17,99,101,101,175,175,175,175,175,175,175,175,175,1,5,5,4,4,4,4,3,4,4,2,2,
3,3,74,2,4,4,4,17,99,101,101,175,175,175,175,175,175,175,175,175,175,1,1,3,3,53,
5,4,3,3,3,2,42,3,3,2,1,3,3,17,99,100,101,175,175,175,175,175,175,175,175,175,
175,175,175,1,1,1,1,3,5,5,5,5,4,4,3,2,1,3,2,17,99,100,101,175,175,175,175,175,
175,175,175,175,175,175,175,175,175,175,175,1,1,1,84,84,3,5,5,5,2,3,2,17,99,99,
100,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,
1,1,1,1,83,84,74,84,2,17,98,99,100,175,175,175,175,175,175,175,175,175,175,175,
175,175,175,175,175,175,175,175,175,175,175,175,1,1,1,4,4,2,17,98,99,175,175,
175,175,175,175,175,175,175,175,1,1,1,1,175,175,175,175,175,175,175,175,175,175,
175,175,175,175,175,175,175,175,175,175,175,175,175,175,1,1,1,1,17,100,100,100,
175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,
175,175,175,175,1,1,1,1,17,18,175,175,175,175,175,175,175,175,175,175,175,175,
175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,1,1,175,
175,1,1,1,5,6,4,17,100,101,101,101,175,175,175,175,175,175,175,175,175,175,175,
175,175,175,175,175,175,1,1,1,1,5,6,4,6,5,17,100,101,101,21,21,175,175,175,175,
175,175,175,175,175,175,175,175,175,175,1,1,1,4,4,6,7,7,6,1,3,5,17,99,101,101,
21,21,175,175,175,175,175,175,175,175,175,175,1,1,1,1,5,5,5,7,7,6,6,6,5,1,3,5,
17,99,100,101,101,21,175,175,175,175,175,175,175,175,1,1,6,5,6,6,7,7,6,6,4,6,7,
7,4,6,6,5,17,99,100,101,101,21,175,175,175,175,175,175,175,1,6,6,3,6,7,6,6,7,7,
4,5,6,6,4,4,5,5,4,17,99,99,100,101,21,175,175,175,175,175,175,1,6,6,6,3,6,7,7,7,
7,6,4,4,5,3,3,5,1,3,4,17,98,99,100,101,101,175,175,175,175,175,175,1,7,7,2,6,7,
7,6,5,5,5,5,3,3,74,4,4,1,3,4,17,98,98,99,101,101,175,175,175,175,175,1,6,6,6,2,
6,6,6,5,5,5,5,5,4,4,4,4,4,4,4,4,3,17,18,18,101,101,175,175,175,175,175,1,6,6,6,
4,6,4,4,4,4,4,4,4,4,3,3,3,3,3,3,1,3,74,17,98,100,101,175,175,175,175,17,1,1,4,4,
4,2,4,3,3,3,3,3,3,3,3,3,3,3,3,3,1,3,74,17,17,100,101,175,175,175,101,99,25,25,1,
3,42,2,3,42,3,42,42,42,42,42,42,42,74,42,74,74,42,74,17,17,1,98,100,175,175,175,
17,17,17,25,25,25,25,9,17,17,17,17,17,1,17,1,17,1,1,1,1,1,1,73,1,1,1,98,98,175,
175,175,175,175,1,25,25,25,26,26,26,19,19,19,19,19,19,19,19,19,19,19,19,26,26,
18,73,17,1,98,100,175,175,175,17,17,17,25,25,25,19,100,100,100,101,101,101,101,
101,101,101,101,101,101,101,100,100,19,19,17,1,100,101,175,175,175,101,99,25,25,
1,4,4,26,3,3,3,3,3,3,3,3,3,3,3,3,3,3,1,3,3,17,17,100,101,175,175,175,175,17,1,1,
6,6,4,4,6,6,6,7,7,6,6,6,5,5,5,4,4,4,1,3,3,17,99,101,101,175,175,175,175,175,1,7,
7,7,2,6,7,7,7,7,7,7,7,7,6,6,6,7,7,7,7,5,3,17,100,101,101,175,175,175,175,175,1,
6,6,6,2,5,6,6,6,6,6,7,6,6,7,7,7,6,1,3,7,5,17,99,100,101,21,175,175,175,175,175,
175,1,4,4,2,4,6,5,5,5,5,6,6,4,4,4,6,6,1,3,5,4,17,100,101,101,21,175,175,175,175,
175,175,1,5,5,5,2,5,4,4,4,4,4,74,3,4,3,3,5,6,6,5,17,99,101,101,21,21,175,175,
175,175,175,175,175,1,5,5,4,4,4,4,3,4,4,2,2,3,3,74,2,4,4,4,17,99,101,101,21,21,
175,175,175,175,175,175,175,175,1,1,3,3,53,5,4,3,3,3,2,42,3,3,2,1,3,3,17,99,100,
101,101,21,175,175,175,175,175,175,175,175,175,175,1,1,1,1,3,5,5,5,5,4,4,3,2,1,
3,2,17,99,100,101,101,21,175,175,175,175,175,175,175,175,175,175,175,175,175,
175,1,1,1,84,84,3,5,5,5,2,3,2,17,99,99,100,101,101,175,175,175,175,175,175,175,
175,175,175,175,175,175,175,175,175,175,1,1,1,1,83,84,74,84,2,17,98,99,100,101,
101,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,
175,175,1,1,1,4,4,2,17,98,99,101,101,175,175,175,175,175,175,175,175,175,175,
175,175,175,175,175,175,175,175,175,175,175,175,175,175,1,1,1,1,17,18,100,100,
175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,
175,175,175,175,175,175,175,175,175,175,175
175,175,175,175,175,175,175,175,1,1,1,1,175,175,175,175,175,175,175,175,175,175,
175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,
175,175
},
{ // 1, rocket launcher
175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,
175,175,175,175,175,175,175,175,0,0,0,0,175,175,175,175,175,175,175,175,175,175,
175,175,175,175,175,175,175,175,175,175,175,175,175,175,0,0,0,0,5,4,2,2,175,175,
175,175,175,175,175,175,175,0,0,0,0,175,175,175,175,175,175,175,175,175,175,175,
175,175,175,175,175,175,175,175,175,175,175,175,175,0,0,0,0,5,4,2,2,0,175,175,
175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,
175,0,6,6,6,5,4,2,142,141,175,175,175,175,175,175,175,175,175,175,175,175,175,
175,175,175,175,175,175,175,175,175,175,0,4,4,4,4,4,2,142,141,175,175,175,175,
175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,0,3,
3,3,3,3,3,2,1,175,175,175,175,175,175,175,175,175,175,175,0,0,0,0,175,175,175,
175,175,175,175,0,0,1,1,1,1,1,1,1,1,175,175,175,175,175,175,175,175,0,0,0,2,2,2,
2,0,0,175,0,0,0,0,118,118,118,116,1,1,114,114,114,1,175,175,175,175,175,175,0,0,
5,5,2,2,2,2,50,50,2,0,117,117,118,118,117,116,116,115,114,1,114,114,36,36,175,
175,175,175,175,0,5,5,2,2,2,2,2,115,116,116,116,117,116,116,116,115,115,115,115,
116,115,6,116,116,117,117,175,175,175,175,0,20,5,2,2,2,2,115,115,115,115,115,
115,115,115,116,116,116,116,116,117,116,6,117,117,117,117,117,175,175,175,0,20,
23,2,2,2,2,115,116,116,117,116,116,116,116,116,116,117,117,117,37,37,36,6,37,37,
38,38,38,175,175,175,0,23,23,2,2,2,117,117,117,117,117,117,117,117,117,117,37,
37,38,38,5,36,6,38,39,38,38,39,38,175,175,175,0,7,2,2,2,115,117,37,37,37,37,37,
37,37,37,37,6,6,6,6,6,4,7,6,6,6,6,6,6,175,175,0,23,7,2,2,2,117,38,45,45,5,5,5,6,
6,6,6,6,6,6,6,39,4,7,6,39,39,39,39,39,175,175,0,7,7,2,2,2,117,39,39,39,39,7,7,7,
7,7,7,7,7,7,7,7,5,7,7,7,7,7,7,25,175,175,0,7,7,2,2,2,117,39,39,7,7,7,7,7,7,7,7,
7,7,7,7,7,5,7,7,7,7,7,25,100,175,175,0,23,7,2,2,2,117,37,37,37,37,37,38,38,38,
38,38,38,38,38,39,39,37,7,39,39,39,25,109,30,175,175,0,5,7,2,2,2,35,35,36,36,36,
36,36,36,36,117,117,117,118,118,37,37,36,6,38,38,38,25,30,21,175,175,0,5,23,2,2,
2,115,115,115,115,115,115,115,116,116,116,116,116,116,117,117,36,116,6,36,37,37,
25,109,109,175,175,175,0,23,2,2,2,2,115,115,115,115,115,115,115,115,115,115,115,
115,115,116,116,115,6,116,116,36,25,109,21,175,175,175,0,5,20,2,2,2,33,114,114,
114,115,115,115,115,115,115,115,115,115,115,115,115,6,115,115,115,25,109,21,175,
175,175,0,5,5,2,2,2,2,33,33,114,114,114,114,114,114,114,114,115,115,115,115,115,
115,6,115,115,25,109,21,175,175,175,175,0,5,5,2,2,2,2,33,1,1,33,33,33,33,33,114,
114,114,114,114,114,115,6,115,115,25,30,21,175,175,175,175,175,0,5,5,2,2,2,2,2,
41,1,40,41,34,34,41,33,33,33,33,114,114,115,6,114,25,30,21,175,175,175,175,175,
175,0,0,5,5,2,2,2,2,2,2,2,0,1,41,34,49,49,33,33,33,115,6,114,25,109,21,175,175,
175,175,175,175,175,175,0,0,0,2,2,2,2,0,0,175,0,0,0,0,49,33,41,41,34,41,6,25,30,
21,175,175,175,175,175,175,175,175,175,175,175,0,0,0,0,175,175,175,175,175,175,
175,0,0,0,0,57,42,116,25,109,21,175,175,175,175,175,175,175,175,175,175,175,175,
175,175,175,175,175,175,175,175,175,175,175,175,175,175,0,0,0,25,21,21,175,175,
175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,
175,175,175,175,175,175,175,0,100,21,175,175,175,175,175,175,175,175,175,175,
0,6,6,6,5,4,2,142,141,0,175,175,175,175,175,175,175,175,175,175,175,175,175,175,
175,175,175,175,175,175,175,175,0,4,4,4,4,4,2,142,141,0,175,175,175,175,175,175,
175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,0,3,3,3,3,3,3,2,
1,0,175,175,175,175,175,175,175,175,175,175,0,0,0,0,175,175,175,175,175,175,175,
0,0,1,1,1,1,1,1,1,1,1,175,175,175,175,175,175,175,0,0,0,2,2,2,2,0,0,175,0,0,0,0,
118,118,118,116,1,1,114,114,114,1,114,175,175,175,175,175,0,0,5,5,2,2,2,2,50,50,
2,0,117,117,118,118,117,116,116,115,114,1,114,114,36,36,36,175,175,175,175,0,5,
5,2,2,2,2,2,115,116,116,116,117,116,116,116,115,115,115,115,116,115,6,116,116,
117,117,117,175,175,175,0,20,5,2,2,2,2,115,115,115,115,115,115,115,115,116,116,
116,116,116,117,116,6,117,117,117,117,117,117,175,175,0,20,23,2,2,2,2,115,116,
116,117,116,116,116,116,116,116,117,117,117,37,37,36,6,37,37,38,38,38,38,175,
175,0,23,23,2,2,2,117,117,117,117,117,117,117,117,117,117,37,37,38,38,5,36,6,38,
39,38,38,39,38,38,175,175,0,7,2,2,2,115,117,37,37,37,37,37,37,37,37,37,6,6,6,6,
6,4,7,6,6,6,6,6,6,6,175,0,23,7,2,2,2,117,38,45,45,5,5,5,6,6,6,6,6,6,6,6,39,4,7,
6,39,39,39,39,39,39,175,0,7,7,2,2,2,117,39,39,39,39,7,7,7,7,7,7,7,7,7,7,7,5,7,7,
7,7,7,7,25,25,175,0,7,7,2,2,2,117,39,39,7,7,7,7,7,7,7,7,7,7,7,7,7,5,7,7,7,7,7,
25,30,30,175,0,23,7,2,2,2,117,37,37,37,37,37,38,38,38,38,38,38,38,38,39,39,37,7,
39,39,39,25,109,30,21,175,0,5,7,2,2,2,35,35,36,36,36,36,36,36,36,117,117,117,
118,118,37,37,36,6,38,38,38,25,30,21,37,175,0,5,23,2,2,2,115,115,115,115,115,
115,115,116,116,116,116,116,116,117,117,36,116,6,36,37,37,25,109,109,37,175,175,
0,23,2,2,2,2,115,115,115,115,115,115,115,115,115,115,115,115,115,116,116,115,6,
116,116,36,25,109,21,37,175,175,0,5,20,2,2,2,33,114,114,114,115,115,115,115,115,
115,115,115,115,115,115,115,6,115,115,115,25,109,21,37,175,175,0,5,5,2,2,2,2,33,
33,114,114,114,114,114,114,114,114,115,115,115,115,115,115,6,115,115,25,109,21,
37,175,175,175,0,5,5,2,2,2,2,33,1,1,33,33,33,33,33,114,114,114,114,114,114,115,
6,115,115,25,30,21,37,175,175,175,175,0,5,5,2,2,2,2,2,41,1,40,41,34,34,41,33,33,
33,33,114,114,115,6,114,25,30,21,37,175,175,175,175,175,0,0,5,5,2,2,2,2,2,2,2,0,
1,41,34,49,49,33,33,33,115,6,114,25,109,21,37,175,175,175,175,175,175,175,0,0,0,
2,2,2,2,0,0,175,0,0,0,0,49,33,41,41,34,41,6,25,30,21,37,175,175,175,175,175,175,
175,175,175,175,0,0,0,0,175,175,175,175,175,175,175,0,0,0,0,57,42,116,25,109,21,
37,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,
175,175,175,175,175,175,0,0,0,25,21,21,37,175,175,175,175,175,175,175,175,175,
175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,0,
100,100,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,
175,175,175,175,175,175,175,175,175,175,175,175,0,107,175,175,175,175,175,175,
100,21,37,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,
175,175,175,175,175,175,175,175,175,175,175,0,25,100,117,175,175,175,175,175,
175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,
175,175,175,175,175,0
175,175,175,175,0,25,107,175,175,175,175,175,175,175,175,175,175,175,175,175,
175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,0,0
}
};

Binary file not shown.

Before

Width:  |  Height:  |  Size: 960 B

After

Width:  |  Height:  |  Size: 989 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 948 B

After

Width:  |  Height:  |  Size: 999 B

View File

@ -30,14 +30,14 @@
game to run at smaller resolution (with bigger pixels), do his using
SFG_RESOLUTION_SCALEDOWN;
*/
#define SFG_SCREEN_RESOLUTION_X 640
#define SFG_SCREEN_RESOLUTION_X 800
/**
Height of the screen in pixels. Set this to ACTUAL resolution. If you want the
game to run at smaller resolution (with bigger pixels), do his using
SFG_RESOLUTION_SCALEDOWN;
*/
#define SFG_SCREEN_RESOLUTION_Y 480
#define SFG_SCREEN_RESOLUTION_Y 600
/**
How many times the screen resolution will be divided (how many times a game
@ -111,7 +111,7 @@
/**
Weapon bobbing offset in weapon image pixels.
*/
#define SFG_WEAPONBOB_OFFSET 5
#define SFG_WEAPONBOB_OFFSET 4
/**
Camera shearing (looking up/down) speed, in vertical resolutions per second.