2
This commit is contained in:
parent
0cb1113314
commit
986073e9ae
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -189,7 +189,7 @@ int main()
|
||||
konrolka = 0;
|
||||
} while (akcja != 't');
|
||||
|
||||
if (ilosc_plonow >= 250 or ilosc_trupow >= 50)
|
||||
if (ilosc_plonow >= 230 or ilosc_trupow >= 50)
|
||||
{
|
||||
gra = false;
|
||||
}
|
||||
|
@ -998,14 +998,14 @@ void idz() // alg||ytmy chodzenia trakt||a dla zadanej drogi
|
||||
zapis << tab[x][y].kolor << ' ' << tab[x][y].kwiat << ' ' << tab[x][y].lisc;
|
||||
while (konrolka != 0);
|
||||
|
||||
for (i = 0; i <= tab[x][y].wod_check; i++)
|
||||
for (i = tab[x][y].wod; i <= tab[x][y].wod_check; i++)
|
||||
{
|
||||
konrolka = 1;
|
||||
keybd_event(VkKeyScan('p'), 0, 0, 0);
|
||||
keybd_event(VkKeyScan('p'), 0, KEYEVENTF_KEYUP, 0);
|
||||
while (konrolka != 0);
|
||||
}
|
||||
for (i = 0; i <= tab[x][y].naw_check; i++)
|
||||
for (i = tab[x][y].naw; i <= tab[x][y].naw_check; i++)
|
||||
{
|
||||
konrolka = 1;
|
||||
keybd_event(VkKeyScan('o'), 0, 0, 0);
|
||||
@ -1022,7 +1022,7 @@ void idz() // alg||ytmy chodzenia trakt||a dla zadanej drogi
|
||||
zapis << tab[x][y].kolor << ' ' << tab[x][y].kwiat << ' ' << tab[x][y].lisc;
|
||||
while (konrolka != 0);
|
||||
|
||||
for (i = 0; i <= tab[x][y].wod_check; i++)
|
||||
for (i = tab[x][y].wod; i <= tab[x][y].wod_check; i++)
|
||||
{
|
||||
konrolka = 1;
|
||||
keybd_event(VkKeyScan('l'), 0, 0, 0);
|
||||
@ -1030,7 +1030,7 @@ void idz() // alg||ytmy chodzenia trakt||a dla zadanej drogi
|
||||
while (konrolka != 0);
|
||||
}
|
||||
|
||||
for (i = 0; i <= tab[x][y].naw_check; i++)
|
||||
for (i = tab[x][y].naw; i <= tab[x][y].naw_check; i++)
|
||||
{
|
||||
konrolka = 1;
|
||||
keybd_event(VkKeyScan('k'), 0, 0, 0);
|
||||
@ -1310,14 +1310,14 @@ void idz() // alg||ytmy chodzenia trakt||a dla zadanej drogi
|
||||
zapis << tab[x][y].kolor << ' ' << tab[x][y].kwiat << ' ' << tab[x][y].lisc;
|
||||
while (konrolka != 0);
|
||||
|
||||
for (i = 0; i <= tab[x][y].wod_check; i++)
|
||||
for (i = tab[x][y].wod; i <= tab[x][y].wod_check; i++)
|
||||
{
|
||||
konrolka = 1;
|
||||
keybd_event(VkKeyScan('p'), 0, 0, 0);
|
||||
keybd_event(VkKeyScan('p'), 0, KEYEVENTF_KEYUP, 0);
|
||||
while (konrolka != 0);
|
||||
}
|
||||
for (i = 0; i <= tab[x][y].naw_check; i++)
|
||||
for (i = tab[x][y].naw; i <= tab[x][y].naw_check; i++)
|
||||
{
|
||||
konrolka = 1;
|
||||
keybd_event(VkKeyScan('o'), 0, 0, 0);
|
||||
@ -1334,7 +1334,7 @@ void idz() // alg||ytmy chodzenia trakt||a dla zadanej drogi
|
||||
zapis << tab[x][y].kolor << ' ' << tab[x][y].kwiat << ' ' << tab[x][y].lisc;
|
||||
while (konrolka != 0);
|
||||
|
||||
for (i = 0; i <= tab[x][y].wod_check; i++)
|
||||
for (i = tab[x][y].wod; i <= tab[x][y].wod_check; i++)
|
||||
{
|
||||
konrolka = 1;
|
||||
keybd_event(VkKeyScan('l'), 0, 0, 0);
|
||||
@ -1342,7 +1342,7 @@ void idz() // alg||ytmy chodzenia trakt||a dla zadanej drogi
|
||||
while (konrolka != 0);
|
||||
}
|
||||
|
||||
for (i = 0; i <= tab[x][y].naw_check; i++)
|
||||
for (i = tab[x][y].naw; i <= tab[x][y].naw_check; i++)
|
||||
{
|
||||
konrolka = 1;
|
||||
keybd_event(VkKeyScan('k'), 0, 0, 0);
|
||||
@ -1619,14 +1619,14 @@ void idz() // alg||ytmy chodzenia trakt||a dla zadanej drogi
|
||||
zapis << tab[x][y].kolor << ' ' << tab[x][y].kwiat << ' ' << tab[x][y].lisc;
|
||||
while (konrolka != 0);
|
||||
|
||||
for (i = 0; i <= tab[x][y].wod_check; i++)
|
||||
for (i = tab[x][y].wod; i <= tab[x][y].wod_check; i++)
|
||||
{
|
||||
konrolka = 1;
|
||||
keybd_event(VkKeyScan('p'), 0, 0, 0);
|
||||
keybd_event(VkKeyScan('p'), 0, KEYEVENTF_KEYUP, 0);
|
||||
while (konrolka != 0);
|
||||
}
|
||||
for (i = 0; i <= tab[x][y].naw_check; i++)
|
||||
for (i = tab[x][y].naw; i <= tab[x][y].naw_check; i++)
|
||||
{
|
||||
konrolka = 1;
|
||||
keybd_event(VkKeyScan('o'), 0, 0, 0);
|
||||
@ -1643,7 +1643,7 @@ void idz() // alg||ytmy chodzenia trakt||a dla zadanej drogi
|
||||
zapis << tab[x][y].kolor << ' ' << tab[x][y].kwiat << ' ' << tab[x][y].lisc;
|
||||
while (konrolka != 0);
|
||||
|
||||
for (i = 0; i <= tab[x][y].wod_check; i++)
|
||||
for (i = tab[x][y].wod; i <= tab[x][y].wod_check; i++)
|
||||
{
|
||||
konrolka = 1;
|
||||
keybd_event(VkKeyScan('l'), 0, 0, 0);
|
||||
@ -1651,7 +1651,7 @@ void idz() // alg||ytmy chodzenia trakt||a dla zadanej drogi
|
||||
while (konrolka != 0);
|
||||
}
|
||||
|
||||
for (i = 0; i <= tab[x][y].naw_check; i++)
|
||||
for (i = tab[x][y].naw; i <= tab[x][y].naw_check; i++)
|
||||
{
|
||||
konrolka = 1;
|
||||
keybd_event(VkKeyScan('k'), 0, 0, 0);
|
||||
@ -1929,14 +1929,14 @@ void idz() // alg||ytmy chodzenia trakt||a dla zadanej drogi
|
||||
zapis << tab[x][y].kolor << ' ' << tab[x][y].kwiat << ' ' << tab[x][y].lisc;
|
||||
while (konrolka != 0);
|
||||
|
||||
for (i = 0; i <= tab[x][y].wod_check; i++)
|
||||
for (i = tab[x][y].wod; i <= tab[x][y].wod_check; i++)
|
||||
{
|
||||
konrolka = 1;
|
||||
keybd_event(VkKeyScan('p'), 0, 0, 0);
|
||||
keybd_event(VkKeyScan('p'), 0, KEYEVENTF_KEYUP, 0);
|
||||
while (konrolka != 0);
|
||||
}
|
||||
for (i = 0; i <= tab[x][y].naw_check; i++)
|
||||
for (i = tab[x][y].naw; i <= tab[x][y].naw_check; i++)
|
||||
{
|
||||
konrolka = 1;
|
||||
keybd_event(VkKeyScan('o'), 0, 0, 0);
|
||||
@ -1953,7 +1953,7 @@ void idz() // alg||ytmy chodzenia trakt||a dla zadanej drogi
|
||||
zapis << tab[x][y].kolor << ' ' << tab[x][y].kwiat << ' ' << tab[x][y].lisc;
|
||||
while (konrolka != 0);
|
||||
|
||||
for (i = 0; i <= tab[x][y].wod_check; i++)
|
||||
for (i = tab[x][y].wod; i <= tab[x][y].wod_check; i++)
|
||||
{
|
||||
konrolka = 1;
|
||||
keybd_event(VkKeyScan('l'), 0, 0, 0);
|
||||
@ -1961,7 +1961,7 @@ void idz() // alg||ytmy chodzenia trakt||a dla zadanej drogi
|
||||
while (konrolka != 0);
|
||||
}
|
||||
|
||||
for (i = 0; i <= tab[x][y].naw_check; i++)
|
||||
for (i = tab[x][y].naw; i <= tab[x][y].naw_check; i++)
|
||||
{
|
||||
konrolka = 1;
|
||||
keybd_event(VkKeyScan('k'), 0, 0, 0);
|
||||
@ -2008,14 +2008,14 @@ void idz() // alg||ytmy chodzenia trakt||a dla zadanej drogi
|
||||
zapis << tab[x][y].kolor << ' ' << tab[x][y].kwiat << ' ' << tab[x][y].lisc;
|
||||
while (konrolka != 0);
|
||||
|
||||
for (i = 0; i <= tab[x][y].wod_check; i++)
|
||||
for (i = tab[x][y].wod; i <= tab[x][y].wod_check; i++)
|
||||
{
|
||||
konrolka = 1;
|
||||
keybd_event(VkKeyScan('p'), 0, 0, 0);
|
||||
keybd_event(VkKeyScan('p'), 0, KEYEVENTF_KEYUP, 0);
|
||||
while (konrolka != 0);
|
||||
}
|
||||
for (i = 0; i <= tab[x][y].naw_check; i++)
|
||||
for (i = tab[x][y].naw; i <= tab[x][y].naw_check; i++)
|
||||
{
|
||||
konrolka = 1;
|
||||
keybd_event(VkKeyScan('o'), 0, 0, 0);
|
||||
@ -2032,7 +2032,7 @@ void idz() // alg||ytmy chodzenia trakt||a dla zadanej drogi
|
||||
zapis << tab[x][y].kolor << ' ' << tab[x][y].kwiat << ' ' << tab[x][y].lisc;
|
||||
while (konrolka != 0);
|
||||
|
||||
for (i = 0; i <= tab[x][y].wod_check; i++)
|
||||
for (i = tab[x][y].wod; i <= tab[x][y].wod_check; i++)
|
||||
{
|
||||
konrolka = 1;
|
||||
keybd_event(VkKeyScan('l'), 0, 0, 0);
|
||||
@ -2040,7 +2040,7 @@ void idz() // alg||ytmy chodzenia trakt||a dla zadanej drogi
|
||||
while (konrolka != 0);
|
||||
}
|
||||
|
||||
for (i = 0; i <= tab[x][y].naw_check; i++)
|
||||
for (i = tab[x][y].naw; i <= tab[x][y].naw_check; i++)
|
||||
{
|
||||
konrolka = 1;
|
||||
keybd_event(VkKeyScan('k'), 0, 0, 0);
|
||||
@ -2061,14 +2061,14 @@ void idz() // alg||ytmy chodzenia trakt||a dla zadanej drogi
|
||||
zapis << tab[x][y].kolor << ' ' << tab[x][y].kwiat << ' ' << tab[x][y].lisc;
|
||||
while (konrolka != 0);
|
||||
|
||||
for (i = 0; i <= tab[x][y].wod_check; i++)
|
||||
for (i = tab[x][y].wod; i <= tab[x][y].wod_check; i++)
|
||||
{
|
||||
konrolka = 1;
|
||||
keybd_event(VkKeyScan('p'), 0, 0, 0);
|
||||
keybd_event(VkKeyScan('p'), 0, KEYEVENTF_KEYUP, 0);
|
||||
while (konrolka != 0);
|
||||
}
|
||||
for (i = 0; i <= tab[x][y].naw_check; i++)
|
||||
for (i = tab[x][y].naw; i <= tab[x][y].naw_check; i++)
|
||||
{
|
||||
konrolka = 1;
|
||||
keybd_event(VkKeyScan('o'), 0, 0, 0);
|
||||
@ -2085,7 +2085,7 @@ void idz() // alg||ytmy chodzenia trakt||a dla zadanej drogi
|
||||
zapis << tab[x][y].kolor << ' ' << tab[x][y].kwiat << ' ' << tab[x][y].lisc;
|
||||
while (konrolka != 0);
|
||||
|
||||
for (i = 0; i <= tab[x][y].wod_check; i++)
|
||||
for (i = tab[x][y].wod; i <= tab[x][y].wod_check; i++)
|
||||
{
|
||||
konrolka = 1;
|
||||
keybd_event(VkKeyScan('l'), 0, 0, 0);
|
||||
@ -2093,7 +2093,7 @@ void idz() // alg||ytmy chodzenia trakt||a dla zadanej drogi
|
||||
while (konrolka != 0);
|
||||
}
|
||||
|
||||
for (i = 0; i <= tab[x][y].naw_check; i++)
|
||||
for (i = tab[x][y].naw; i <= tab[x][y].naw_check; i++)
|
||||
{
|
||||
konrolka = 1;
|
||||
keybd_event(VkKeyScan('k'), 0, 0, 0);
|
||||
|
@ -31,8 +31,6 @@ struct sciezka
|
||||
int koniec;
|
||||
}sciezka;
|
||||
|
||||
|
||||
|
||||
//definicja struktury rosliny
|
||||
typedef
|
||||
struct roslina
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user