1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-24 03:47:18 +02:00

added requirements for some towns (to be tested - they're probably good, but seem to don't work)

This commit is contained in:
mateuszb 2008-03-20 14:23:54 +00:00
parent 3a279a7964
commit db12ede837
2 changed files with 146 additions and 7 deletions

View File

@ -1,16 +1,22 @@
1
2
0
1 0
2 1
3 2
4 3
8 7
9 8
11 5
12 11 0 14 16
13 12 7 8 9
22 5
21 7 16 30 33
15 14
16 10
17 6
18 7 16 30 32 33
19 7 16 30 39 33
20 6
21 7 16 30 33
22 5
30 7
31 7 30
32 7 16 30 33
@ -26,3 +32,136 @@
42 35
43 36
-1
1
1 0
2 1
3 2
4 3
8 7
9 8
11 5
12 11 0 14 16
13 12 7 8 9
15 14
16 10
18 31
19 38
21 17
22 31
24 34
25 41
30 7
31 30
32 30
33 32
34 32
35 33 34
36 35 1
37 30
38 31
39 32
40 33
41 34
42 35
43 36 2
-1
2
1 0
2 1
3 2
4 3
8 7
9 8
11 5
12 11 0 14 16
13 12 7 8 9
15 14
16 10
17 14
18 31
19 38
21 7
22 0
23 0
30 7
31 30
32 30
33 0 31 32
34 33
35 33
36 34 35
37 30
38 31
39 32
40 33 22
41 34
42 35
43 36
-1
3
1 0
2 1
3 2
4 3
8 7
9 8
11 5
12 11 0 14 16
13 12 7 8 9
15 14
16 10
18 30
19 37
21 7
22 8
23 0
24 32
25 39
30 7
31 30
32 30
33 31
34 33
35 0 33
36 34 35
37 30
38 31
39 32
40 33
41 34 1
42 35
43 36
-1
4
1 0
2 1
3 2
4 3
8 7
9 8
11 5
12 11 0 14 16
13 12 7 8 9
15 14
16 10
17 7
18 30
19 37
20 6
21 0
22 30
30 7
31 30
32 30
33 31
34 0 31
35 33 34
36 35
37 30
38 31
39 32
40 33 21
41 34
42 35
43 36
-1

View File

@ -71,13 +71,13 @@ void CMusicHandler::playClick()
void CMusicHandler::playLodSnd(std::string sndname)
{
int size;
unsigned char *data;
int size;
unsigned char *data;
SDL_RWops *ops;
Mix_Chunk *chunk;
int channel;
if ((data = sndh->extract(sndname, size)) == NULL)
if ((data = sndh->extract(sndname, size)) == NULL)
return;
ops = SDL_RWFromConstMem(data, size);