home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2002 December
/
PCWorld_2002-12_cd.bin
/
Software
/
Komercni
/
Baltik
/
katB.exe
/
katB
/
CITY
/
CITY.SGP
< prev
next >
Wrap
Text File
|
2002-09-28
|
77KB
|
2,487 lines
SGPC 5.05 032#000001105 10.08.2002 17:43:54 StructNo 9 9
// City Engine(Hlavní MENU) - verze 26t INVEX EDITION II
// V∞voj poƒat 25.5.2002 (sobota)
// Program po dvacátém-τestém t∞dnu v∞voje (28.9.2002)
// poslední úpravy ve ƒtvrtek 26.9.2002
# include <sgpbalt.h>
#define ON 1
#define OFF 0
#define CZ 1
#define EN 0
// TABULKA
typedef struct { char Jmeno[26];
int Body; }TypTabulka;
TypTabulka Tab[6];
int Zapsat,Body;
// Globální prom╪nné
TypAnimP²edm╪t CEL1,CEL2,CEL3,CEL4,CEL5,CEL6,CEL7,CEL8,CEL9,CEL10;
TypAnimP²edm╪t SH1,SH2,SH3,SH4,SH5,SH6,SH7,SH8;
TypAnimP²edm╪t E1,E2,E3,E4,E5,E6;
TypAnimP²edm╪t K1,K2,K3,K4,K5,K6,Myτ;
int Cx,Cy,Sx,Sy,Ey,Ex,Kx,Ky,Mx,My,DélkaDne;
TypMyτUdálost MyτUdálost;
int n,y,z,m,Cframu,Sound,Language;
string Run,Povolání;
struct
{
int X,Y;
TypAnimP²edm╪t Anim1,Anim2,Anim3,Anim4,Anim5,Anim6,Anim7,Anim8,Anim9,Anim10,Anim11,
Anim12,Anim13,Anim14,Anim15,Anim16,Anim17,Anim18,Anim19,Anim20;
} Frame0,Frame1;
// Globální makra
-o1-Globals
-c1-Globals
===Globals
/*-hf(*/
/*-hf-*/
void FrameB( void )
/*-hf-*/;
void FrameA( void )
/*-hf-*/;
void ChooseYourLanguage( void )
/*-hf-*/;
void UloºTabulku( void )
/*-hf-*/;
void NaƒtiTabulku( void )
/*-hf-*/;
void Tabulka( void )
/*-hf-*/;
void NastaveníHry( void )
/*-hf-*/;
void V∞b╪rPovolání( void )
/*-hf-*/;
void ChooseEditor( void )
/*-hf-*/;
void main( void )
/*-hf)*/;
;-h---------------------------------------------------------------------------
void FrameB( void )
-s--FrameB ■ 18 -2 -20 3
FrameB
:Cframu=12!
OBS!
NBS!
MBS!
LBS!
KBS!
:Cframu=7!
JBb!
-o1----------------------SEZNAM OPERAC╓------------TENTO ⁿ╡DEK NEM╖NIT!-------
A /**Vytvo² Frame1**/
Frame1.Anim1 = AnimP²edm╪tVytvo²(5001,1,0,1);
Frame1.Anim2 = AnimP²edm╪tVytvo²(5002,1,0,1);
Frame1.Anim3 = AnimP²edm╪tVytvo²(5016,1,0,1);
Frame1.Anim4 = AnimP²edm╪tVytvo²(5017,1,0,1);
Frame1.Anim5 = AnimP²edm╪tVytvo²(5031,1,0,1);
Frame1.Anim6 = AnimP²edm╪tVytvo²(5032,1,0,1);
Frame1.Anim7 = AnimP²edm╪tVytvo²(5046,1,0,1);
Frame1.Anim8 = AnimP²edm╪tVytvo²(5047,1,0,1);
Frame1.Anim9 = AnimP²edm╪tVytvo²(5061,1,0,1);
Frame1.Anim10= AnimP²edm╪tVytvo²(5062,1,0,1);
Frame1.Anim11= AnimP²edm╪tVytvo²(5076,1,0,1);
Frame1.Anim12= AnimP²edm╪tVytvo²(5077,1,0,1);
Frame1.Anim13= AnimP²edm╪tVytvo²(5091,1,0,1);
Frame1.Anim14= AnimP²edm╪tVytvo²(5092,1,0,1);
Frame1.Anim15= AnimP²edm╪tVytvo²(5106,1,0,1);
Frame1.Anim16= AnimP²edm╪tVytvo²(5107,1,0,1);
C /**Vytvo² Frame1**/
Frame1.Anim1 = AnimP²edm╪tVytvo²(6001,1,0,1);
Frame1.Anim2 = AnimP²edm╪tVytvo²(6002,1,0,1);
Frame1.Anim3 = AnimP²edm╪tVytvo²(6016,1,0,1);
Frame1.Anim4 = AnimP²edm╪tVytvo²(6017,1,0,1);
Frame1.Anim5 = AnimP²edm╪tVytvo²(6031,1,0,1);
Frame1.Anim6 = AnimP²edm╪tVytvo²(6032,1,0,1);
Frame1.Anim7 = AnimP²edm╪tVytvo²(6046,1,0,1);
Frame1.Anim8 = AnimP²edm╪tVytvo²(6047,1,0,1);
Frame1.Anim9 = AnimP²edm╪tVytvo²(6061,1,0,1);
Frame1.Anim10= AnimP²edm╪tVytvo²(6062,1,0,1);
Frame1.Anim11= AnimP²edm╪tVytvo²(6076,1,0,1);
Frame1.Anim12= AnimP²edm╪tVytvo²(6077,1,0,1);
Frame1.Anim13= AnimP²edm╪tVytvo²(6091,1,0,1);
Frame1.Anim14= AnimP²edm╪tVytvo²(6092,1,0,1);
Frame1.Anim15= AnimP²edm╪tVytvo²(6106,1,0,1);
Frame1.Anim16= AnimP²edm╪tVytvo²(6107,1,0,1);
D /**Vytvo² Frame2**/
Frame1.Anim1 = AnimP²edm╪tVytvo²(7001,1,0,1);
Frame1.Anim2 = AnimP²edm╪tVytvo²(7002,1,0,1);
Frame1.Anim3 = AnimP²edm╪tVytvo²(7016,1,0,1);
Frame1.Anim4 = AnimP²edm╪tVytvo²(7017,1,0,1);
Frame1.Anim5 = AnimP²edm╪tVytvo²(7031,1,0,1);
Frame1.Anim6 = AnimP²edm╪tVytvo²(7032,1,0,1);
Frame1.Anim7 = AnimP²edm╪tVytvo²(7046,1,0,1);
Frame1.Anim8 = AnimP²edm╪tVytvo²(7047,1,0,1);
Frame1.Anim9 = AnimP²edm╪tVytvo²(7061,1,0,1);
Frame1.Anim10= AnimP²edm╪tVytvo²(7062,1,0,1);
Frame1.Anim11= AnimP²edm╪tVytvo²(7076,1,0,1);
Frame1.Anim12= AnimP²edm╪tVytvo²(7077,1,0,1);
Frame1.Anim13= AnimP²edm╪tVytvo²(7091,1,0,1);
Frame1.Anim14= AnimP²edm╪tVytvo²(7092,1,0,1);
F /**Vytvo² Frame3**/
Frame1.Anim1 = AnimP²edm╪tVytvo²(8001,1,0,1);
Frame1.Anim2 = AnimP²edm╪tVytvo²(8002,1,0,1);
Frame1.Anim3 = AnimP²edm╪tVytvo²(8016,1,0,1);
Frame1.Anim4 = AnimP²edm╪tVytvo²(8017,1,0,1);
Frame1.Anim5 = AnimP²edm╪tVytvo²(8031,1,0,1);
Frame1.Anim6 = AnimP²edm╪tVytvo²(8032,1,0,1);
Frame1.Anim7 = AnimP²edm╪tVytvo²(8046,1,0,1);
Frame1.Anim8 = AnimP²edm╪tVytvo²(8047,1,0,1);
Frame1.Anim9 = AnimP²edm╪tVytvo²(8061,1,0,1);
Frame1.Anim10= AnimP²edm╪tVytvo²(8062,1,0,1);
Frame1.Anim11= AnimP²edm╪tVytvo²(8076,1,0,1);
Frame1.Anim12= AnimP²edm╪tVytvo²(8077,1,0,1);
Frame1.Anim13= AnimP²edm╪tVytvo²(8091,1,0,1);
Frame1.Anim14= AnimP²edm╪tVytvo²(8092,1,0,1);
G /**Vytvo² Frame4**/
Frame1.Anim1 = AnimP²edm╪tVytvo²(9001,1,0,1);
Frame1.Anim2 = AnimP²edm╪tVytvo²(9002,1,0,1);
Frame1.Anim3 = AnimP²edm╪tVytvo²(9016,1,0,1);
Frame1.Anim4 = AnimP²edm╪tVytvo²(9017,1,0,1);
Frame1.Anim5 = AnimP²edm╪tVytvo²(9031,1,0,1);
Frame1.Anim6 = AnimP²edm╪tVytvo²(9032,1,0,1);
Frame1.Anim7 = AnimP²edm╪tVytvo²(9046,1,0,1);
Frame1.Anim8 = AnimP²edm╪tVytvo²(9047,1,0,1);
Frame1.Anim9 = AnimP²edm╪tVytvo²(9061,1,0,1);
Frame1.Anim10= AnimP²edm╪tVytvo²(9062,1,0,1);
Frame1.Anim11= AnimP²edm╪tVytvo²(9076,1,0,1);
Frame1.Anim12= AnimP²edm╪tVytvo²(9077,1,0,1);
Frame1.Anim13= AnimP²edm╪tVytvo²(9091,1,0,1);
Frame1.Anim14= AnimP²edm╪tVytvo²(9092,1,0,1);
H /**Vytvo² Frame5**/
Frame1.Anim1 = AnimP²edm╪tVytvo²(10001,1,0,1);
Frame1.Anim2 = AnimP²edm╪tVytvo²(10002,1,0,1);
Frame1.Anim3 = AnimP²edm╪tVytvo²(10016,1,0,1);
Frame1.Anim4 = AnimP²edm╪tVytvo²(10017,1,0,1);
Frame1.Anim5 = AnimP²edm╪tVytvo²(10031,1,0,1);
Frame1.Anim6 = AnimP²edm╪tVytvo²(10032,1,0,1);
Frame1.Anim7 = AnimP²edm╪tVytvo²(10046,1,0,1);
Frame1.Anim8 = AnimP²edm╪tVytvo²(10047,1,0,1);
Frame1.Anim9 = AnimP²edm╪tVytvo²(10061,1,0,1);
Frame1.Anim10= AnimP²edm╪tVytvo²(10062,1,0,1);
Frame1.Anim11= AnimP²edm╪tVytvo²(10076,1,0,1);
Frame1.Anim12= AnimP²edm╪tVytvo²(10077,1,0,1);
Frame1.Anim13= AnimP²edm╪tVytvo²(10091,1,0,1);
Frame1.Anim14= AnimP²edm╪tVytvo²(10092,1,0,1);
I /**Vytvo² Frame6**/
Frame1.Anim1 = AnimP²edm╪tVytvo²(11001,1,0,1);
Frame1.Anim2 = AnimP²edm╪tVytvo²(11002,1,0,1);
Frame1.Anim3 = AnimP²edm╪tVytvo²(11016,1,0,1);
Frame1.Anim4 = AnimP²edm╪tVytvo²(11017,1,0,1);
Frame1.Anim5 = AnimP²edm╪tVytvo²(11031,1,0,1);
Frame1.Anim6 = AnimP²edm╪tVytvo²(11032,1,0,1);
Frame1.Anim7 = AnimP²edm╪tVytvo²(11046,1,0,1);
Frame1.Anim8 = AnimP²edm╪tVytvo²(11047,1,0,1);
Frame1.Anim9 = AnimP²edm╪tVytvo²(11061,1,0,1);
Frame1.Anim10= AnimP²edm╪tVytvo²(11062,1,0,1);
Frame1.Anim11= AnimP²edm╪tVytvo²(11076,1,0,1);
Frame1.Anim12= AnimP²edm╪tVytvo²(11077,1,0,1);
Frame1.Anim13= AnimP²edm╪tVytvo²(11091,1,0,1);
Frame1.Anim14= AnimP²edm╪tVytvo²(11092,1,0,1);
Frame1.Anim15= AnimP²edm╪tVytvo²(11106,1,0,1);
Frame1.Anim16= AnimP²edm╪tVytvo²(11107,1,0,1);
J /**Vytvo² Frame7**/
Frame1.Anim1 = AnimP²edm╪tVytvo²(12001,1,0,1);
Frame1.Anim2 = AnimP²edm╪tVytvo²(12002,1,0,1);
Frame1.Anim3 = AnimP²edm╪tVytvo²(12016,1,0,1);
Frame1.Anim4 = AnimP²edm╪tVytvo²(12017,1,0,1);
Frame1.Anim5 = AnimP²edm╪tVytvo²(12031,1,0,1);
Frame1.Anim6 = AnimP²edm╪tVytvo²(12032,1,0,1);
Frame1.Anim7 = AnimP²edm╪tVytvo²(12046,1,0,1);
Frame1.Anim8 = AnimP²edm╪tVytvo²(12047,1,0,1);
Frame1.Anim9 = AnimP²edm╪tVytvo²(12061,1,0,1);
Frame1.Anim10= AnimP²edm╪tVytvo²(12062,1,0,1);
Frame1.Anim11= AnimP²edm╪tVytvo²(12076,1,0,1);
Frame1.Anim12= AnimP²edm╪tVytvo²(12077,1,0,1);
Frame1.Anim13= AnimP²edm╪tVytvo²(12091,1,0,1);
Frame1.Anim14= AnimP²edm╪tVytvo²(12092,1,0,1);
Frame1.Anim15= AnimP²edm╪tVytvo²(12106,1,0,1);
Frame1.Anim16= AnimP²edm╪tVytvo²(12107,1,0,1);
Frame1.Anim17= AnimP²edm╪tVytvo²(12048,1,0,1);
Frame1.Anim18= AnimP²edm╪tVytvo²(12063,1,0,1);
K /**Vytvo² Frame8**/
Frame1.Anim1 = AnimP²edm╪tVytvo²(13001,1,0,1);
Frame1.Anim2 = AnimP²edm╪tVytvo²(13002,1,0,1);
Frame1.Anim3 = AnimP²edm╪tVytvo²(13016,1,0,1);
Frame1.Anim4 = AnimP²edm╪tVytvo²(13017,1,0,1);
Frame1.Anim5 = AnimP²edm╪tVytvo²(13031,1,0,1);
Frame1.Anim6 = AnimP²edm╪tVytvo²(13032,1,0,1);
Frame1.Anim7 = AnimP²edm╪tVytvo²(13046,1,0,1);
Frame1.Anim8 = AnimP²edm╪tVytvo²(13047,1,0,1);
Frame1.Anim9 = AnimP²edm╪tVytvo²(13061,1,0,1);
Frame1.Anim10= AnimP²edm╪tVytvo²(13062,1,0,1);
Frame1.Anim11= AnimP²edm╪tVytvo²(13076,1,0,1);
Frame1.Anim12= AnimP²edm╪tVytvo²(13077,1,0,1);
Frame1.Anim13= AnimP²edm╪tVytvo²(13091,1,0,1);
Frame1.Anim14= AnimP²edm╪tVytvo²(13092,1,0,1);
Frame1.Anim15= AnimP²edm╪tVytvo²(13106,1,0,1);
Frame1.Anim16= AnimP²edm╪tVytvo²(13107,1,0,1);
Frame1.Anim17= AnimP²edm╪tVytvo²(13018,1,0,1);
Frame1.Anim18= AnimP²edm╪tVytvo²(13033,1,0,1);
Frame1.Anim19= AnimP²edm╪tVytvo²(13048,1,0,1);
Frame1.Anim20= AnimP²edm╪tVytvo²(13063,1,0,1);
L /**Vytvo² Frame9**/
Frame1.Anim1 = AnimP²edm╪tVytvo²(14001,1,0,1);
Frame1.Anim2 = AnimP²edm╪tVytvo²(14002,1,0,1);
Frame1.Anim3 = AnimP²edm╪tVytvo²(14016,1,0,1);
Frame1.Anim4 = AnimP²edm╪tVytvo²(14017,1,0,1);
Frame1.Anim5 = AnimP²edm╪tVytvo²(14031,1,0,1);
Frame1.Anim6 = AnimP²edm╪tVytvo²(14032,1,0,1);
Frame1.Anim7 = AnimP²edm╪tVytvo²(14046,1,0,1);
Frame1.Anim8 = AnimP²edm╪tVytvo²(14047,1,0,1);
Frame1.Anim9 = AnimP²edm╪tVytvo²(14061,1,0,1);
Frame1.Anim10= AnimP²edm╪tVytvo²(14062,1,0,1);
Frame1.Anim11= AnimP²edm╪tVytvo²(14076,1,0,1);
Frame1.Anim12= AnimP²edm╪tVytvo²(14077,1,0,1);
Frame1.Anim13= AnimP²edm╪tVytvo²(14091,1,0,1);
Frame1.Anim14= AnimP²edm╪tVytvo²(14092,1,0,1);
Frame1.Anim15= AnimP²edm╪tVytvo²(14018,1,0,1);
Frame1.Anim16= AnimP²edm╪tVytvo²(14033,1,0,1);
Frame1.Anim17= AnimP²edm╪tVytvo²(14048,1,0,1);
Frame1.Anim18= AnimP²edm╪tVytvo²(14063,1,0,1);
B /**Animuj FrameXX**/
AnimP²edm╪tAnimuj(Frame1.Anim1,Frame1.X,Frame1.Y,0);
AnimP²edm╪tAnimuj(Frame1.Anim2,Frame1.X+39,Frame1.Y,0);
AnimP²edm╪tAnimuj(Frame1.Anim3,Frame1.X,Frame1.Y+29,0);
AnimP²edm╪tAnimuj(Frame1.Anim4,Frame1.X+39,Frame1.Y+29,0);
AnimP²edm╪tAnimuj(Frame1.Anim5,Frame1.X,Frame1.Y+58,0);
AnimP²edm╪tAnimuj(Frame1.Anim6,Frame1.X+39,Frame1.Y+58,0);
AnimP²edm╪tAnimuj(Frame1.Anim7,Frame1.X,Frame1.Y+87,0);
AnimP²edm╪tAnimuj(Frame1.Anim8,Frame1.X+39,Frame1.Y+87,0);
AnimP²edm╪tAnimuj(Frame1.Anim9,Frame1.X,Frame1.Y+116,0);
AnimP²edm╪tAnimuj(Frame1.Anim10,Frame1.X+39,Frame1.Y+116,0);
AnimP²edm╪tAnimuj(Frame1.Anim11,Frame1.X,Frame1.Y+145,0);
AnimP²edm╪tAnimuj(Frame1.Anim12,Frame1.X+39,Frame1.Y+145,0);
AnimP²edm╪tAnimuj(Frame1.Anim13,Frame1.X,Frame1.Y+174,0);
AnimP²edm╪tAnimuj(Frame1.Anim14,Frame1.X+39,Frame1.Y+174,0);
if (Cframu != 2 && Cframu != 3 && Cframu != 4 && Cframu != 5 && Cframu != 9 &&
Cframu != 10 && Cframu != 11 && Cframu != 12) {
AnimP²edm╪tAnimuj(Frame1.Anim15,Frame1.X,Frame1.Y+203,0);
AnimP²edm╪tAnimuj(Frame1.Anim16,Frame1.X+39,Frame1.Y+203,0);
}
if (Cframu == 7) {
AnimP²edm╪tAnimuj(Frame1.Anim17,Frame1.X+78,Frame1.Y+87,0);
AnimP²edm╪tAnimuj(Frame1.Anim18,Frame1.X+78,Frame1.Y+116,0);
}
if (Cframu == 8) {
AnimP²edm╪tAnimuj(Frame1.Anim17,Frame1.X+78,Frame1.Y+29,0);
AnimP²edm╪tAnimuj(Frame1.Anim18,Frame1.X+78,Frame1.Y+58,0);
AnimP²edm╪tAnimuj(Frame1.Anim19,Frame1.X+78,Frame1.Y+87,0);
AnimP²edm╪tAnimuj(Frame1.Anim20,Frame1.X+78,Frame1.Y+116,0);
}
if (Cframu == 9) {
AnimP²edm╪tAnimuj(Frame1.Anim15,Frame1.X+78,Frame1.Y+29,0);
AnimP²edm╪tAnimuj(Frame1.Anim16,Frame1.X+78,Frame1.Y+58,0);
AnimP²edm╪tAnimuj(Frame1.Anim17,Frame1.X+78,Frame1.Y+87,0);
AnimP²edm╪tAnimuj(Frame1.Anim18,Frame1.X+78,Frame1.Y+116,0);
}
if (Cframu == 10 || Cframu == 11) {
AnimP²edm╪tAnimuj(Frame1.Anim15,Frame1.X+78,Frame1.Y,0);
}
M /**Vytvo² Frame10**/
Frame1.Anim1 = AnimP²edm╪tVytvo²(15001,1,0,1);
Frame1.Anim2 = AnimP²edm╪tVytvo²(15002,1,0,1);
Frame1.Anim3 = AnimP²edm╪tVytvo²(15016,1,0,1);
Frame1.Anim4 = AnimP²edm╪tVytvo²(15017,1,0,1);
Frame1.Anim5 = AnimP²edm╪tVytvo²(15031,1,0,1);
Frame1.Anim6 = AnimP²edm╪tVytvo²(15032,1,0,1);
Frame1.Anim7 = AnimP²edm╪tVytvo²(15046,1,0,1);
Frame1.Anim8 = AnimP²edm╪tVytvo²(15047,1,0,1);
Frame1.Anim9 = AnimP²edm╪tVytvo²(15061,1,0,1);
Frame1.Anim10= AnimP²edm╪tVytvo²(15062,1,0,1);
Frame1.Anim11= AnimP²edm╪tVytvo²(15076,1,0,1);
Frame1.Anim12= AnimP²edm╪tVytvo²(15077,1,0,1);
Frame1.Anim13= AnimP²edm╪tVytvo²(15091,1,0,1);
Frame1.Anim14= AnimP²edm╪tVytvo²(15092,1,0,1);
Frame1.Anim15= AnimP²edm╪tVytvo²(15003,1,0,1);
N /**Vytvo² Frame11**/
Frame1.Anim1 = AnimP²edm╪tVytvo²(16001,1,0,1);
Frame1.Anim2 = AnimP²edm╪tVytvo²(16002,1,0,1);
Frame1.Anim3 = AnimP²edm╪tVytvo²(16016,1,0,1);
Frame1.Anim4 = AnimP²edm╪tVytvo²(16017,1,0,1);
Frame1.Anim5 = AnimP²edm╪tVytvo²(16031,1,0,1);
Frame1.Anim6 = AnimP²edm╪tVytvo²(16032,1,0,1);
Frame1.Anim7 = AnimP²edm╪tVytvo²(16046,1,0,1);
Frame1.Anim8 = AnimP²edm╪tVytvo²(16047,1,0,1);
Frame1.Anim9 = AnimP²edm╪tVytvo²(16061,1,0,1);
Frame1.Anim10= AnimP²edm╪tVytvo²(16062,1,0,1);
Frame1.Anim11= AnimP²edm╪tVytvo²(16076,1,0,1);
Frame1.Anim12= AnimP²edm╪tVytvo²(16077,1,0,1);
Frame1.Anim13= AnimP²edm╪tVytvo²(16091,1,0,1);
Frame1.Anim14= AnimP²edm╪tVytvo²(16092,1,0,1);
Frame1.Anim15= AnimP²edm╪tVytvo²(16003,1,0,1);
O /**Vytvo² Frame12**/
Frame1.Anim1 = AnimP²edm╪tVytvo²(17001,1,0,1);
Frame1.Anim2 = AnimP²edm╪tVytvo²(17002,1,0,1);
Frame1.Anim3 = AnimP²edm╪tVytvo²(17016,1,0,1);
Frame1.Anim4 = AnimP²edm╪tVytvo²(17017,1,0,1);
Frame1.Anim5 = AnimP²edm╪tVytvo²(17031,1,0,1);
Frame1.Anim6 = AnimP²edm╪tVytvo²(17032,1,0,1);
Frame1.Anim7 = AnimP²edm╪tVytvo²(17046,1,0,1);
Frame1.Anim8 = AnimP²edm╪tVytvo²(17047,1,0,1);
Frame1.Anim9 = AnimP²edm╪tVytvo²(17061,1,0,1);
Frame1.Anim10= AnimP²edm╪tVytvo²(17062,1,0,1);
Frame1.Anim11= AnimP²edm╪tVytvo²(17076,1,0,1);
Frame1.Anim12= AnimP²edm╪tVytvo²(17077,1,0,1);
Frame1.Anim13= AnimP²edm╪tVytvo²(17091,1,0,1);
Frame1.Anim14= AnimP²edm╪tVytvo²(17092,1,0,1);
S /**Zruτ animované p²edm╪ty (FrameXX)**/
¼ekejNaVR();
Cframu--;
¼ekej(50);
Frame1.X-=45;
AnimP²edm╪tZruτ(Frame1.Anim1);
AnimP²edm╪tZruτ(Frame1.Anim2);
AnimP²edm╪tZruτ(Frame1.Anim3);
AnimP²edm╪tZruτ(Frame1.Anim4);
AnimP²edm╪tZruτ(Frame1.Anim5);
AnimP²edm╪tZruτ(Frame1.Anim6);
AnimP²edm╪tZruτ(Frame1.Anim7);
AnimP²edm╪tZruτ(Frame1.Anim8);
AnimP²edm╪tZruτ(Frame1.Anim9);
AnimP²edm╪tZruτ(Frame1.Anim10);
AnimP²edm╪tZruτ(Frame1.Anim11);
AnimP²edm╪tZruτ(Frame1.Anim12);
AnimP²edm╪tZruτ(Frame1.Anim13);
AnimP²edm╪tZruτ(Frame1.Anim14);
AnimP²edm╪tZruτ(Frame1.Anim15);
AnimP²edm╪tZruτ(Frame1.Anim16);
AnimP²edm╪tZruτ(Frame1.Anim17);
AnimP²edm╪tZruτ(Frame1.Anim18);
AnimP²edm╪tZruτ(Frame1.Anim19);
AnimP²edm╪tZruτ(Frame1.Anim20);
b /**Náraz**/
Frame1.Y+=10;
Frame1.X-=5;
for (z=0;z < 4;z++) {
AnimP²edm╪tAnimuj(Frame1.Anim1,Frame1.X,Frame1.Y,0);
AnimP²edm╪tAnimuj(Frame1.Anim2,Frame1.X+39,Frame1.Y,0);
AnimP²edm╪tAnimuj(Frame1.Anim3,Frame1.X,Frame1.Y+29,0);
AnimP²edm╪tAnimuj(Frame1.Anim4,Frame1.X+39,Frame1.Y+29,0);
AnimP²edm╪tAnimuj(Frame1.Anim5,Frame1.X,Frame1.Y+58,0);
AnimP²edm╪tAnimuj(Frame1.Anim6,Frame1.X+39,Frame1.Y+58,0);
AnimP²edm╪tAnimuj(Frame1.Anim7,Frame1.X,Frame1.Y+87,0);
AnimP²edm╪tAnimuj(Frame1.Anim8,Frame1.X+39,Frame1.Y+87,0);
AnimP²edm╪tAnimuj(Frame1.Anim9,Frame1.X,Frame1.Y+116,0);
AnimP²edm╪tAnimuj(Frame1.Anim10,Frame1.X+39,Frame1.Y+116,0);
AnimP²edm╪tAnimuj(Frame1.Anim11,Frame1.X,Frame1.Y+145,0);
AnimP²edm╪tAnimuj(Frame1.Anim12,Frame1.X+39,Frame1.Y+145,0);
AnimP²edm╪tAnimuj(Frame1.Anim13,Frame1.X,Frame1.Y+174,0);
AnimP²edm╪tAnimuj(Frame1.Anim14,Frame1.X+39,Frame1.Y+174,0);
AnimP²edm╪tAnimuj(Frame1.Anim15,Frame1.X,Frame1.Y+203,0);
AnimP²edm╪tAnimuj(Frame1.Anim16,Frame1.X+39,Frame1.Y+203,0);
AnimP²edm╪tAnimuj(Frame1.Anim17,Frame1.X+78,Frame1.Y+87,0);
AnimP²edm╪tAnimuj(Frame1.Anim18,Frame1.X+78,Frame1.Y+116,0);
if (z == 0) {
Frame1.Y-=15;
Frame1.X+=5;
}
else if (z == 1) {
Frame1.X+=10;
}
else if (z == 2) {
Frame1.Y+=10;
}
else if (z == 3) {
Frame1.X-=5;
Frame1.Y-=5;
}
¼ekej(50);
}
-c1----------------------SEZNAM PODM╓NEK-----------TENTO ⁿ╡DEK NEM╖NIT!-------
=SP---------------------------------------------------------------------------
;-h---------------------------------------------------------------------------
void FrameA( void )
-s--FrameA ■ 32 -2 -21 3
FrameA
ABS!
CBS!
DBS!
FBS!
GBS!
HBS!
IBS!
JBS!
KBS!
LBS!
MBS!
NBS!
OBS!
:Cframu=0!
ABb!
-o1----------------------SEZNAM OPERAC╓------------TENTO ⁿ╡DEK NEM╖NIT!-------
A /**Vytvo² Frame0**/
Frame0.Anim1 = AnimP²edm╪tVytvo²(5001,1,0,1);
Frame0.Anim2 = AnimP²edm╪tVytvo²(5002,1,0,1);
Frame0.Anim3 = AnimP²edm╪tVytvo²(5016,1,0,1);
Frame0.Anim4 = AnimP²edm╪tVytvo²(5017,1,0,1);
Frame0.Anim5 = AnimP²edm╪tVytvo²(5031,1,0,1);
Frame0.Anim6 = AnimP²edm╪tVytvo²(5032,1,0,1);
Frame0.Anim7 = AnimP²edm╪tVytvo²(5046,1,0,1);
Frame0.Anim8 = AnimP²edm╪tVytvo²(5047,1,0,1);
Frame0.Anim9 = AnimP²edm╪tVytvo²(5061,1,0,1);
Frame0.Anim10= AnimP²edm╪tVytvo²(5062,1,0,1);
Frame0.Anim11= AnimP²edm╪tVytvo²(5076,1,0,1);
Frame0.Anim12= AnimP²edm╪tVytvo²(5077,1,0,1);
Frame0.Anim13= AnimP²edm╪tVytvo²(5091,1,0,1);
Frame0.Anim14= AnimP²edm╪tVytvo²(5092,1,0,1);
Frame0.Anim15= AnimP²edm╪tVytvo²(5106,1,0,1);
Frame0.Anim16= AnimP²edm╪tVytvo²(5107,1,0,1);
C /**Vytvo² Frame1**/
Frame0.Anim1 = AnimP²edm╪tVytvo²(6001,1,0,1);
Frame0.Anim2 = AnimP²edm╪tVytvo²(6002,1,0,1);
Frame0.Anim3 = AnimP²edm╪tVytvo²(6016,1,0,1);
Frame0.Anim4 = AnimP²edm╪tVytvo²(6017,1,0,1);
Frame0.Anim5 = AnimP²edm╪tVytvo²(6031,1,0,1);
Frame0.Anim6 = AnimP²edm╪tVytvo²(6032,1,0,1);
Frame0.Anim7 = AnimP²edm╪tVytvo²(6046,1,0,1);
Frame0.Anim8 = AnimP²edm╪tVytvo²(6047,1,0,1);
Frame0.Anim9 = AnimP²edm╪tVytvo²(6061,1,0,1);
Frame0.Anim10= AnimP²edm╪tVytvo²(6062,1,0,1);
Frame0.Anim11= AnimP²edm╪tVytvo²(6076,1,0,1);
Frame0.Anim12= AnimP²edm╪tVytvo²(6077,1,0,1);
Frame0.Anim13= AnimP²edm╪tVytvo²(6091,1,0,1);
Frame0.Anim14= AnimP²edm╪tVytvo²(6092,1,0,1);
Frame0.Anim15= AnimP²edm╪tVytvo²(6106,1,0,1);
Frame0.Anim16= AnimP²edm╪tVytvo²(6107,1,0,1);
D /**Vytvo² Frame2**/
Frame0.Anim1 = AnimP²edm╪tVytvo²(7001,1,0,1);
Frame0.Anim2 = AnimP²edm╪tVytvo²(7002,1,0,1);
Frame0.Anim3 = AnimP²edm╪tVytvo²(7016,1,0,1);
Frame0.Anim4 = AnimP²edm╪tVytvo²(7017,1,0,1);
Frame0.Anim5 = AnimP²edm╪tVytvo²(7031,1,0,1);
Frame0.Anim6 = AnimP²edm╪tVytvo²(7032,1,0,1);
Frame0.Anim7 = AnimP²edm╪tVytvo²(7046,1,0,1);
Frame0.Anim8 = AnimP²edm╪tVytvo²(7047,1,0,1);
Frame0.Anim9 = AnimP²edm╪tVytvo²(7061,1,0,1);
Frame0.Anim10= AnimP²edm╪tVytvo²(7062,1,0,1);
Frame0.Anim11= AnimP²edm╪tVytvo²(7076,1,0,1);
Frame0.Anim12= AnimP²edm╪tVytvo²(7077,1,0,1);
Frame0.Anim13= AnimP²edm╪tVytvo²(7091,1,0,1);
Frame0.Anim14= AnimP²edm╪tVytvo²(7092,1,0,1);
F /**Vytvo² Frame3**/
Frame0.Anim1 = AnimP²edm╪tVytvo²(8001,1,0,1);
Frame0.Anim2 = AnimP²edm╪tVytvo²(8002,1,0,1);
Frame0.Anim3 = AnimP²edm╪tVytvo²(8016,1,0,1);
Frame0.Anim4 = AnimP²edm╪tVytvo²(8017,1,0,1);
Frame0.Anim5 = AnimP²edm╪tVytvo²(8031,1,0,1);
Frame0.Anim6 = AnimP²edm╪tVytvo²(8032,1,0,1);
Frame0.Anim7 = AnimP²edm╪tVytvo²(8046,1,0,1);
Frame0.Anim8 = AnimP²edm╪tVytvo²(8047,1,0,1);
Frame0.Anim9 = AnimP²edm╪tVytvo²(8061,1,0,1);
Frame0.Anim10= AnimP²edm╪tVytvo²(8062,1,0,1);
Frame0.Anim11= AnimP²edm╪tVytvo²(8076,1,0,1);
Frame0.Anim12= AnimP²edm╪tVytvo²(8077,1,0,1);
Frame0.Anim13= AnimP²edm╪tVytvo²(8091,1,0,1);
Frame0.Anim14= AnimP²edm╪tVytvo²(8092,1,0,1);
G /**Vytvo² Frame4**/
Frame0.Anim1 = AnimP²edm╪tVytvo²(9001,1,0,1);
Frame0.Anim2 = AnimP²edm╪tVytvo²(9002,1,0,1);
Frame0.Anim3 = AnimP²edm╪tVytvo²(9016,1,0,1);
Frame0.Anim4 = AnimP²edm╪tVytvo²(9017,1,0,1);
Frame0.Anim5 = AnimP²edm╪tVytvo²(9031,1,0,1);
Frame0.Anim6 = AnimP²edm╪tVytvo²(9032,1,0,1);
Frame0.Anim7 = AnimP²edm╪tVytvo²(9046,1,0,1);
Frame0.Anim8 = AnimP²edm╪tVytvo²(9047,1,0,1);
Frame0.Anim9 = AnimP²edm╪tVytvo²(9061,1,0,1);
Frame0.Anim10= AnimP²edm╪tVytvo²(9062,1,0,1);
Frame0.Anim11= AnimP²edm╪tVytvo²(9076,1,0,1);
Frame0.Anim12= AnimP²edm╪tVytvo²(9077,1,0,1);
Frame0.Anim13= AnimP²edm╪tVytvo²(9091,1,0,1);
Frame0.Anim14= AnimP²edm╪tVytvo²(9092,1,0,1);
H /**Vytvo² Frame5**/
Frame0.Anim1 = AnimP²edm╪tVytvo²(10001,1,0,1);
Frame0.Anim2 = AnimP²edm╪tVytvo²(10002,1,0,1);
Frame0.Anim3 = AnimP²edm╪tVytvo²(10016,1,0,1);
Frame0.Anim4 = AnimP²edm╪tVytvo²(10017,1,0,1);
Frame0.Anim5 = AnimP²edm╪tVytvo²(10031,1,0,1);
Frame0.Anim6 = AnimP²edm╪tVytvo²(10032,1,0,1);
Frame0.Anim7 = AnimP²edm╪tVytvo²(10046,1,0,1);
Frame0.Anim8 = AnimP²edm╪tVytvo²(10047,1,0,1);
Frame0.Anim9 = AnimP²edm╪tVytvo²(10061,1,0,1);
Frame0.Anim10= AnimP²edm╪tVytvo²(10062,1,0,1);
Frame0.Anim11= AnimP²edm╪tVytvo²(10076,1,0,1);
Frame0.Anim12= AnimP²edm╪tVytvo²(10077,1,0,1);
Frame0.Anim13= AnimP²edm╪tVytvo²(10091,1,0,1);
Frame0.Anim14= AnimP²edm╪tVytvo²(10092,1,0,1);
I /**Vytvo² Frame6**/
Frame0.Anim1 = AnimP²edm╪tVytvo²(11001,1,0,1);
Frame0.Anim2 = AnimP²edm╪tVytvo²(11002,1,0,1);
Frame0.Anim3 = AnimP²edm╪tVytvo²(11016,1,0,1);
Frame0.Anim4 = AnimP²edm╪tVytvo²(11017,1,0,1);
Frame0.Anim5 = AnimP²edm╪tVytvo²(11031,1,0,1);
Frame0.Anim6 = AnimP²edm╪tVytvo²(11032,1,0,1);
Frame0.Anim7 = AnimP²edm╪tVytvo²(11046,1,0,1);
Frame0.Anim8 = AnimP²edm╪tVytvo²(11047,1,0,1);
Frame0.Anim9 = AnimP²edm╪tVytvo²(11061,1,0,1);
Frame0.Anim10= AnimP²edm╪tVytvo²(11062,1,0,1);
Frame0.Anim11= AnimP²edm╪tVytvo²(11076,1,0,1);
Frame0.Anim12= AnimP²edm╪tVytvo²(11077,1,0,1);
Frame0.Anim13= AnimP²edm╪tVytvo²(11091,1,0,1);
Frame0.Anim14= AnimP²edm╪tVytvo²(11092,1,0,1);
Frame0.Anim15= AnimP²edm╪tVytvo²(11106,1,0,1);
Frame0.Anim16= AnimP²edm╪tVytvo²(11107,1,0,1);
J /**Vytvo² Frame7**/
Frame0.Anim1 = AnimP²edm╪tVytvo²(12001,1,0,1);
Frame0.Anim2 = AnimP²edm╪tVytvo²(12002,1,0,1);
Frame0.Anim3 = AnimP²edm╪tVytvo²(12016,1,0,1);
Frame0.Anim4 = AnimP²edm╪tVytvo²(12017,1,0,1);
Frame0.Anim5 = AnimP²edm╪tVytvo²(12031,1,0,1);
Frame0.Anim6 = AnimP²edm╪tVytvo²(12032,1,0,1);
Frame0.Anim7 = AnimP²edm╪tVytvo²(12046,1,0,1);
Frame0.Anim8 = AnimP²edm╪tVytvo²(12047,1,0,1);
Frame0.Anim9 = AnimP²edm╪tVytvo²(12061,1,0,1);
Frame0.Anim10= AnimP²edm╪tVytvo²(12062,1,0,1);
Frame0.Anim11= AnimP²edm╪tVytvo²(12076,1,0,1);
Frame0.Anim12= AnimP²edm╪tVytvo²(12077,1,0,1);
Frame0.Anim13= AnimP²edm╪tVytvo²(12091,1,0,1);
Frame0.Anim14= AnimP²edm╪tVytvo²(12092,1,0,1);
Frame0.Anim15= AnimP²edm╪tVytvo²(12106,1,0,1);
Frame0.Anim16= AnimP²edm╪tVytvo²(12107,1,0,1);
Frame0.Anim17= AnimP²edm╪tVytvo²(12048,1,0,1);
Frame0.Anim18= AnimP²edm╪tVytvo²(12063,1,0,1);
K /**Vytvo² Frame8**/
Frame0.Anim1 = AnimP²edm╪tVytvo²(13001,1,0,1);
Frame0.Anim2 = AnimP²edm╪tVytvo²(13002,1,0,1);
Frame0.Anim3 = AnimP²edm╪tVytvo²(13016,1,0,1);
Frame0.Anim4 = AnimP²edm╪tVytvo²(13017,1,0,1);
Frame0.Anim5 = AnimP²edm╪tVytvo²(13031,1,0,1);
Frame0.Anim6 = AnimP²edm╪tVytvo²(13032,1,0,1);
Frame0.Anim7 = AnimP²edm╪tVytvo²(13046,1,0,1);
Frame0.Anim8 = AnimP²edm╪tVytvo²(13047,1,0,1);
Frame0.Anim9 = AnimP²edm╪tVytvo²(13061,1,0,1);
Frame0.Anim10= AnimP²edm╪tVytvo²(13062,1,0,1);
Frame0.Anim11= AnimP²edm╪tVytvo²(13076,1,0,1);
Frame0.Anim12= AnimP²edm╪tVytvo²(13077,1,0,1);
Frame0.Anim13= AnimP²edm╪tVytvo²(13091,1,0,1);
Frame0.Anim14= AnimP²edm╪tVytvo²(13092,1,0,1);
Frame0.Anim15= AnimP²edm╪tVytvo²(13106,1,0,1);
Frame0.Anim16= AnimP²edm╪tVytvo²(13107,1,0,1);
Frame0.Anim17= AnimP²edm╪tVytvo²(13018,1,0,1);
Frame0.Anim18= AnimP²edm╪tVytvo²(13033,1,0,1);
Frame0.Anim19= AnimP²edm╪tVytvo²(13048,1,0,1);
Frame0.Anim20= AnimP²edm╪tVytvo²(13063,1,0,1);
L /**Vytvo² Frame9**/
Frame0.Anim1 = AnimP²edm╪tVytvo²(14001,1,0,1);
Frame0.Anim2 = AnimP²edm╪tVytvo²(14002,1,0,1);
Frame0.Anim3 = AnimP²edm╪tVytvo²(14016,1,0,1);
Frame0.Anim4 = AnimP²edm╪tVytvo²(14017,1,0,1);
Frame0.Anim5 = AnimP²edm╪tVytvo²(14031,1,0,1);
Frame0.Anim6 = AnimP²edm╪tVytvo²(14032,1,0,1);
Frame0.Anim7 = AnimP²edm╪tVytvo²(14046,1,0,1);
Frame0.Anim8 = AnimP²edm╪tVytvo²(14047,1,0,1);
Frame0.Anim9 = AnimP²edm╪tVytvo²(14061,1,0,1);
Frame0.Anim10= AnimP²edm╪tVytvo²(14062,1,0,1);
Frame0.Anim11= AnimP²edm╪tVytvo²(14076,1,0,1);
Frame0.Anim12= AnimP²edm╪tVytvo²(14077,1,0,1);
Frame0.Anim13= AnimP²edm╪tVytvo²(14091,1,0,1);
Frame0.Anim14= AnimP²edm╪tVytvo²(14092,1,0,1);
Frame0.Anim15= AnimP²edm╪tVytvo²(14018,1,0,1);
Frame0.Anim16= AnimP²edm╪tVytvo²(14033,1,0,1);
Frame0.Anim17= AnimP²edm╪tVytvo²(14048,1,0,1);
Frame0.Anim18= AnimP²edm╪tVytvo²(14063,1,0,1);
B /**Animuj FrameXX**/
AnimP²edm╪tAnimuj(Frame0.Anim1,Frame0.X,Frame0.Y,0);
AnimP²edm╪tAnimuj(Frame0.Anim2,Frame0.X+39,Frame0.Y,0);
AnimP²edm╪tAnimuj(Frame0.Anim3,Frame0.X,Frame0.Y+29,0);
AnimP²edm╪tAnimuj(Frame0.Anim4,Frame0.X+39,Frame0.Y+29,0);
AnimP²edm╪tAnimuj(Frame0.Anim5,Frame0.X,Frame0.Y+58,0);
AnimP²edm╪tAnimuj(Frame0.Anim6,Frame0.X+39,Frame0.Y+58,0);
AnimP²edm╪tAnimuj(Frame0.Anim7,Frame0.X,Frame0.Y+87,0);
AnimP²edm╪tAnimuj(Frame0.Anim8,Frame0.X+39,Frame0.Y+87,0);
AnimP²edm╪tAnimuj(Frame0.Anim9,Frame0.X,Frame0.Y+116,0);
AnimP²edm╪tAnimuj(Frame0.Anim10,Frame0.X+39,Frame0.Y+116,0);
AnimP²edm╪tAnimuj(Frame0.Anim11,Frame0.X,Frame0.Y+145,0);
AnimP²edm╪tAnimuj(Frame0.Anim12,Frame0.X+39,Frame0.Y+145,0);
AnimP²edm╪tAnimuj(Frame0.Anim13,Frame0.X,Frame0.Y+174,0);
AnimP²edm╪tAnimuj(Frame0.Anim14,Frame0.X+39,Frame0.Y+174,0);
if (Cframu != 2 && Cframu != 3 && Cframu != 4 && Cframu != 5 && Cframu != 9 &&
Cframu != 10 && Cframu != 11 && Cframu != 12) {
AnimP²edm╪tAnimuj(Frame0.Anim15,Frame0.X,Frame0.Y+203,0);
AnimP²edm╪tAnimuj(Frame0.Anim16,Frame0.X+39,Frame0.Y+203,0);
}
if (Cframu == 7) {
AnimP²edm╪tAnimuj(Frame0.Anim17,Frame0.X+78,Frame0.Y+87,0);
AnimP²edm╪tAnimuj(Frame0.Anim18,Frame0.X+78,Frame0.Y+116,0);
}
if (Cframu == 8) {
AnimP²edm╪tAnimuj(Frame0.Anim17,Frame0.X+78,Frame0.Y+29,0);
AnimP²edm╪tAnimuj(Frame0.Anim18,Frame0.X+78,Frame0.Y+58,0);
AnimP²edm╪tAnimuj(Frame0.Anim19,Frame0.X+78,Frame0.Y+87,0);
AnimP²edm╪tAnimuj(Frame0.Anim20,Frame0.X+78,Frame0.Y+116,0);
}
if (Cframu == 9) {
AnimP²edm╪tAnimuj(Frame0.Anim15,Frame0.X+78,Frame0.Y+29,0);
AnimP²edm╪tAnimuj(Frame0.Anim16,Frame0.X+78,Frame0.Y+58,0);
AnimP²edm╪tAnimuj(Frame0.Anim17,Frame0.X+78,Frame0.Y+87,0);
AnimP²edm╪tAnimuj(Frame0.Anim18,Frame0.X+78,Frame0.Y+116,0);
}
if (Cframu == 10 || Cframu == 11) {
AnimP²edm╪tAnimuj(Frame0.Anim15,Frame0.X+78,Frame0.Y,0);
}
M /**Vytvo² Frame10**/
Frame0.Anim1 = AnimP²edm╪tVytvo²(15001,1,0,1);
Frame0.Anim2 = AnimP²edm╪tVytvo²(15002,1,0,1);
Frame0.Anim3 = AnimP²edm╪tVytvo²(15016,1,0,1);
Frame0.Anim4 = AnimP²edm╪tVytvo²(15017,1,0,1);
Frame0.Anim5 = AnimP²edm╪tVytvo²(15031,1,0,1);
Frame0.Anim6 = AnimP²edm╪tVytvo²(15032,1,0,1);
Frame0.Anim7 = AnimP²edm╪tVytvo²(15046,1,0,1);
Frame0.Anim8 = AnimP²edm╪tVytvo²(15047,1,0,1);
Frame0.Anim9 = AnimP²edm╪tVytvo²(15061,1,0,1);
Frame0.Anim10= AnimP²edm╪tVytvo²(15062,1,0,1);
Frame0.Anim11= AnimP²edm╪tVytvo²(15076,1,0,1);
Frame0.Anim12= AnimP²edm╪tVytvo²(15077,1,0,1);
Frame0.Anim13= AnimP²edm╪tVytvo²(15091,1,0,1);
Frame0.Anim14= AnimP²edm╪tVytvo²(15092,1,0,1);
Frame0.Anim15= AnimP²edm╪tVytvo²(15003,1,0,1);
N /**Vytvo² Frame11**/
Frame0.Anim1 = AnimP²edm╪tVytvo²(16001,1,0,1);
Frame0.Anim2 = AnimP²edm╪tVytvo²(16002,1,0,1);
Frame0.Anim3 = AnimP²edm╪tVytvo²(16016,1,0,1);
Frame0.Anim4 = AnimP²edm╪tVytvo²(16017,1,0,1);
Frame0.Anim5 = AnimP²edm╪tVytvo²(16031,1,0,1);
Frame0.Anim6 = AnimP²edm╪tVytvo²(16032,1,0,1);
Frame0.Anim7 = AnimP²edm╪tVytvo²(16046,1,0,1);
Frame0.Anim8 = AnimP²edm╪tVytvo²(16047,1,0,1);
Frame0.Anim9 = AnimP²edm╪tVytvo²(16061,1,0,1);
Frame0.Anim10= AnimP²edm╪tVytvo²(16062,1,0,1);
Frame0.Anim11= AnimP²edm╪tVytvo²(16076,1,0,1);
Frame0.Anim12= AnimP²edm╪tVytvo²(16077,1,0,1);
Frame0.Anim13= AnimP²edm╪tVytvo²(16091,1,0,1);
Frame0.Anim14= AnimP²edm╪tVytvo²(16092,1,0,1);
Frame0.Anim15= AnimP²edm╪tVytvo²(16003,1,0,1);
O /**Vytvo² Frame12**/
Frame0.Anim1 = AnimP²edm╪tVytvo²(17001,1,0,1);
Frame0.Anim2 = AnimP²edm╪tVytvo²(17002,1,0,1);
Frame0.Anim3 = AnimP²edm╪tVytvo²(17016,1,0,1);
Frame0.Anim4 = AnimP²edm╪tVytvo²(17017,1,0,1);
Frame0.Anim5 = AnimP²edm╪tVytvo²(17031,1,0,1);
Frame0.Anim6 = AnimP²edm╪tVytvo²(17032,1,0,1);
Frame0.Anim7 = AnimP²edm╪tVytvo²(17046,1,0,1);
Frame0.Anim8 = AnimP²edm╪tVytvo²(17047,1,0,1);
Frame0.Anim9 = AnimP²edm╪tVytvo²(17061,1,0,1);
Frame0.Anim10= AnimP²edm╪tVytvo²(17062,1,0,1);
Frame0.Anim11= AnimP²edm╪tVytvo²(17076,1,0,1);
Frame0.Anim12= AnimP²edm╪tVytvo²(17077,1,0,1);
Frame0.Anim13= AnimP²edm╪tVytvo²(17091,1,0,1);
Frame0.Anim14= AnimP²edm╪tVytvo²(17092,1,0,1);
S /**Zruτ animované p²edm╪ty (FrameXX)**/
¼ekejNaVR();
Cframu++;
¼ekej(50);
Frame0.X+=10;
AnimP²edm╪tZruτ(Frame0.Anim1);
AnimP²edm╪tZruτ(Frame0.Anim2);
AnimP²edm╪tZruτ(Frame0.Anim3);
AnimP²edm╪tZruτ(Frame0.Anim4);
AnimP²edm╪tZruτ(Frame0.Anim5);
AnimP²edm╪tZruτ(Frame0.Anim6);
AnimP²edm╪tZruτ(Frame0.Anim7);
AnimP²edm╪tZruτ(Frame0.Anim8);
AnimP²edm╪tZruτ(Frame0.Anim9);
AnimP²edm╪tZruτ(Frame0.Anim10);
AnimP²edm╪tZruτ(Frame0.Anim11);
AnimP²edm╪tZruτ(Frame0.Anim12);
AnimP²edm╪tZruτ(Frame0.Anim13);
AnimP²edm╪tZruτ(Frame0.Anim14);
AnimP²edm╪tZruτ(Frame0.Anim15);
AnimP²edm╪tZruτ(Frame0.Anim16);
AnimP²edm╪tZruτ(Frame0.Anim17);
AnimP²edm╪tZruτ(Frame0.Anim18);
AnimP²edm╪tZruτ(Frame0.Anim19);
AnimP²edm╪tZruτ(Frame0.Anim20);
b /**Náraz**/
Frame0.Y+=10;
Frame0.X-=5;
for (z=0;z < 4;z++) {
AnimP²edm╪tAnimuj(Frame0.Anim1,Frame0.X,Frame0.Y,0);
AnimP²edm╪tAnimuj(Frame0.Anim2,Frame0.X+39,Frame0.Y,0);
AnimP²edm╪tAnimuj(Frame0.Anim3,Frame0.X,Frame0.Y+29,0);
AnimP²edm╪tAnimuj(Frame0.Anim4,Frame0.X+39,Frame0.Y+29,0);
AnimP²edm╪tAnimuj(Frame0.Anim5,Frame0.X,Frame0.Y+58,0);
AnimP²edm╪tAnimuj(Frame0.Anim6,Frame0.X+39,Frame0.Y+58,0);
AnimP²edm╪tAnimuj(Frame0.Anim7,Frame0.X,Frame0.Y+87,0);
AnimP²edm╪tAnimuj(Frame0.Anim8,Frame0.X+39,Frame0.Y+87,0);
AnimP²edm╪tAnimuj(Frame0.Anim9,Frame0.X,Frame0.Y+116,0);
AnimP²edm╪tAnimuj(Frame0.Anim10,Frame0.X+39,Frame0.Y+116,0);
AnimP²edm╪tAnimuj(Frame0.Anim11,Frame0.X,Frame0.Y+145,0);
AnimP²edm╪tAnimuj(Frame0.Anim12,Frame0.X+39,Frame0.Y+145,0);
AnimP²edm╪tAnimuj(Frame0.Anim13,Frame0.X,Frame0.Y+174,0);
AnimP²edm╪tAnimuj(Frame0.Anim14,Frame0.X+39,Frame0.Y+174,0);
AnimP²edm╪tAnimuj(Frame0.Anim15,Frame0.X,Frame0.Y+203,0);
AnimP²edm╪tAnimuj(Frame0.Anim16,Frame0.X+39,Frame0.Y+203,0);
if (z == 0) {
Frame0.Y-=15;
Frame0.X+=5;
}
else if (z == 1) {
Frame0.X+=10;
}
else if (z == 2) {
Frame0.Y+=10;
}
else if (z == 3) {
Frame0.X-=5;
Frame0.Y-=5;
}
¼ekej(50);
}
-c1----------------------SEZNAM PODM╓NEK-----------TENTO ⁿ╡DEK NEM╖NIT!-------
=SP---------------------------------------------------------------------------
;-h---------------------------------------------------------------------------
void ChooseYourLanguage( void )
-s--ChooseYourLanguage ■ 4 -2 -18 3
ChooseYourLanguage
0z!e
While
*
________Mouse______
Nastav Akce
pozici /l
1! levé~tl.__
/1 /2 /3
CZ EN ;zvuk
c! b! sz!
-o1----------------------SEZNAM OPERAC╓------------TENTO ⁿ╡DEK NEM╖NIT!-------
1 /**Nastavení myτi**/
;myτ
Myτ¼tiUdálost(MyτUdálost);
;v∞poƒty
Mx=MyτUdálost.X-24;
My=MyτUdálost.Y-10;
;animace
AnimP²edm╪tAnimuj(Myτ,Mx,My,-1);
0 /**Init**/
Myτ= AnimP²edm╪tVytvo²(1031,1,0,1);
MyτZaƒátekObsluhy();
TypSoubor CFG=SouborOtev²i("c:\\temp\\config.dat",SouborP²ístup¼tení|SouborP²ístupTextov∞);
Soubor¼tiI¼íslo(CFG,DélkaDne);
Soubor¼tiNov∞ⁿádek(CFG);
Soubor¼tiI¼íslo(CFG,Sound);
SouborZav²i(CFG);
Sound=0;
if (DélkaDne < 90 || DélkaDne > 230) DélkaDne=90;
b /**beep**/
Language=EN;
break;
c /**CZ**/
Language=CZ;
break;
e /**Ukonƒení**/
MyτKonecObsluhy();
AnimP²edm╪tZruτ(Myτ);
z /**vykresli stav zvuku**/
GrNastavV∞stup(1);
GrNaƒtiBMP(0,0,"*\\city_c\\choose.bmp",0,0,-1,-1,1);
;GrKresliP²edm╪t(3071,1,20,270);
;GrKresliP²edm╪t(3067,1,20+14,270);
;GrKresliP²edm╪t(3066,1,20+(2*14),270);
;GrKresliP²edm╪t(3056,1,20+(3*14),270);
;GrKresliP²edm╪t(3083,1,20+(4*14),270);
;if (Sound == ON) {
; GrKresliP²edm╪t(3046,1,20+(5*14),270);
; GrKresliP²edm╪t(3059,1,20+(6*14),270);
; GrKresliP²edm╪t(3060,1,20+(7*14),270);
;}
;else {
; GrKresliP²edm╪t(3059,1,20+(5*14),270);
; GrKresliP²edm╪t(3050,1,20+(6*14),270);
;}
s /**zm╪σ stav zvuku**/
if (Sound == ON) Sound=OFF;
else Sound=ON;
AnimP²edm╪tSchovej(Myτ);
-c1----------------------SEZNAM PODM╓NEK-----------TENTO ⁿ╡DEK NEM╖NIT!-------
/l MyτUdálost.Typ == MyτUdálostLevéTlDolà
/1 MyτUdálost.X >80 && MyτUdálost.X <260 && MyτUdálost.Y >160 && MyτUdálost.Y <270
/2 MyτUdálost.X >350 && MyτUdálost.X <520 && MyτUdálost.Y >160 && MyτUdálost.Y <270
/3 MyτUdálost.X >20 && MyτUdálost.X <145 && MyτUdálost.Y >270 && MyτUdálost.Y <295
=SP---------------------------------------------------------------------------
;-h---------------------------------------------------------------------------
void UloºTabulku( void )
-s--UloºTabulku ■ 2 -2 -15 3
_________UloºTabulku
Otevri Zapiτ zavri
01! #1 3!
│
2!
-o1----------------------SEZNAM OPERAC╓------------TENTO ⁿ╡DEK NEM╖NIT!-------
0 ;Nastav
TypSoubor Soubor;
int i;
1 ;Otevri
Soubor=SouborOtev²i("c:\\temp\\city.tab",SouborP²ístupZápis);
2 ;Zapiτ
SouborPiτBlok(Soubor,&Tab[i],sizeof(Tab[i]));
3 ;Zavreni souboru
SouborZav²i(Soubor);
-c1----------------------SEZNAM PODM╓NEK-----------TENTO ⁿ╡DEK NEM╖NIT!-------
#1 Od0(i,5)
=SP---------------------------------------------------------------------------
;-h---------------------------------------------------------------------------
void NaƒtiTabulku( void )
-s--NaƒtiTabulku ■ 5 -2 -19 3
____NaƒtiTabulku
Otevri Naƒti zavri
01! #1 3!
│
2!
-o1----------------------SEZNAM OPERAC╓------------TENTO ⁿ╡DEK NEM╖NIT!-------
0 ;Nastav
TypSoubor Soubor;
int i;
1 ;Otevri
if ( SouborExistuje("c:\\temp\\city.tab") ) Soubor=SouborOtev²i("c:\\temp\\city.tab",SouborP²ístup¼tení);
else Soubor=SouborOtev²i("*\\city_e\\blank.tab",SouborP²ístup¼tení);
2 ;Naƒti
Soubor¼tiBlok(Soubor,&Tab[i],sizeof(Tab[i]));
/* vynulování TOP-5 */
;Tab[i].Body=0;
if (Tab[i].Body==0)
Tab[i].Jmeno="........................";
3 ;Zavreni souboru
SouborZav²i(Soubor);
-c1----------------------SEZNAM PODM╓NEK-----------TENTO ⁿ╡DEK NEM╖NIT!-------
#1 Od0(i,5)
=SP---------------------------------------------------------------------------
;-h---------------------------------------------------------------------------
void Tabulka( void )
-s--Tabulka ■ 20 -2 0 3
_________________Tabulka_____________
Inicializace _______Akce_________ Konec
0! /1 / 6!
zápis v∞pis
│ │
______________Zapis~do~tablky_____ 'Vypis
Ma~na~to? Nestaci Staci Srovnat "Vypis
#1 /2 /3 /3 #1
│ │ │ │ │
1! 3! 4! #1 2!
'Vypis │
5!
-o1----------------------SEZNAM OPERAC╓------------TENTO ⁿ╡DEK NEM╖NIT!-------
0 /**tab**/
int i,MaNaTo,Body1,Body2,pos;
string Jmeno,Jmeno2;
i=MaNaTo=0;
int actual=ON;
GrNastavV∞stup(1);
GrNastavBarvuPop²edí(¼erná);
GrNastavText(GrTextBezPozadí);
if (Zapsat == 1) {
TypSoubor LoadScore=SouborOtev²i("c:\\temp\\score.dat",SouborP²ístup¼tení|SouborP²ístupTextov∞);
Soubor¼tiI¼íslo(LoadScore,Body);
SouborZav²i(LoadScore);
}
2 GrNastavPozici(158,127+i*10);
if (i Je pos) {
GrNastavBarvuPop²edí(14);
}
else GrNastavBarvuPop²edí(0);
GrPiτU¼íslo(i+1,1);
GrNastavPozici(185,127+i*10);
GrPiτⁿet╪zec(Tab[i].Jmeno);
GrNastavPozici(363,127+i*10);
GrPiτU¼íslo(Tab[i].Body,5);
1 ;Testuj zda to staci na zapis
if (Body>Tab[i].Body) {
MaNaTo=1;
}
3 ;Vypis neuspech
GrNastavV∞stup(0);
GrNastavBarvuPop²edí(Sv╪tlozelená);
GrNastavBarvuPozadí(¼erná);
GrSmaºOkno();
if (Language == CZ) GrPiτⁿet╪zec("Smàla,máτ málo bodà pro zápis do Top5.");
else GrPiτⁿet╪zec("Not enough score to enter Top5.");
¼ekejNaKlávesu();
VyprázdniFrontuKláves();
GrSmaºOkno();
GrNastavV∞stup(1);
GrNastavBarvuPop²edí(¼erná);
GrNastavText(GrTextBezPozadí);
4 ;Staci na zapis
GrNastavV∞stup(0);
GrNastavBarvuPop²edí(Sv╪tlozelená);
GrNastavBarvuPozadí(¼erná);
GrSmaºOkno();
if (Language == CZ) Gr¼tiSⁿet╪zec("Vaτe ct╪né jméno : ",Jmeno,15,5,1);
else Gr¼tiSⁿet╪zec("Enter your name : ",Jmeno,15,5,1);
if (Jmeno Je "") Jmeno="Anonymous";
Body1=Body;
GrNastavV∞stup(1);
GrNastavBarvuPop²edí(¼erná);
GrNastavText(GrTextBezPozadí);
5 ;Srovnani tabulky
if (Body1>Tab[i].Body){
Body2=Tab[i].Body;
Jmeno2=Tab[i].Jmeno;
Jmeno=Jmeno+"..............................";
Tab[i].Jmeno=Jmeno;
if (actual Je ON) {pos=i;actual=OFF;}
Tab[i].Body=Body1;
Jmeno=Jmeno2;
Body1=Body2;}
6 Zapsat=0;
-c1----------------------SEZNAM PODM╓NEK-----------TENTO ⁿ╡DEK NEM╖NIT!-------
#N ;opakuj n-krát vzestupn╪ pro prom╪nnou #N:(i,8) (8x) i=0,1..7
Od0
#1 Od0(i,5)
/1 Zapsat==1
/2 MaNaTo==0
/3 MaNaTo==1
/4 Zapsat==0
=SP---------------------------------------------------------------------------
;-h---------------------------------------------------------------------------
void NastaveníHry( void )
-s--NastaveníHry ■ 4 -2 -2 3
NastaveníHry
10!k
Ovládání
*
________________________Myτ
Nastavení levé~tl.
3! /l
____________V∞b╪r__
/3 /1 /2
Nastavení Posuvník Zp╪t
k! a!z :break!
while
*1
posunuj
3p!
-o1----------------------SEZNAM OPERAC╓------------TENTO ⁿ╡DEK NEM╖NIT!-------
0 /**Zobraz poloºky**/
int PàvodníV∞stup;
PàvodníV∞stup= GrNastavV∞stup(1);
GrNastavV∞stup(GrV∞stupUºivatelsk∞1|GrV∞stupUºivatelsk∞Nastavení,364,100,430,115);
GrKresliP²edm╪ty(2001,1,0,0,15,10);
AnimP²edm╪tSchovej(Myτ);
MyτZaƒátekObsluhy();
TypAnimP²edm╪t Posuvník;
Myτ= AnimP²edm╪tVytvo²(1031,1,0,1);
Posuvník= AnimP²edm╪tVytvo²(18007,2,0,1);
TypAnimP²edm╪t Pol3= AnimP²edm╪tVytvo²(1007,1,0,1);
if (Language == CZ) GrKresliP²edm╪ty(18004,1,200,10,3,2);
else GrKresliP²edm╪ty(18012,1,200,10,3,2);
if (Language == CZ) GrKresliP²edm╪ty(18001,1,20,100,3,1);
else GrKresliP²edm╪ty(18009,1,20,100,3,1);
GrKresliP²edm╪ty(18031,1,130,100,6,1);
if (DélkaDne == 90) Mx=145;
else if (DélkaDne == 100) Mx=156;
else if (DélkaDne == 110) Mx=167;
else if (DélkaDne == 120) Mx=178;
else if (DélkaDne == 130) Mx=189;
else if (DélkaDne == 140) Mx=200;
else if (DélkaDne == 150) Mx=211;
else if (DélkaDne == 160) Mx=222;
else if (DélkaDne == 170) Mx=233;
else if (DélkaDne == 180) Mx=244;
else if (DélkaDne == 190) Mx=255;
else if (DélkaDne == 200) Mx=266;
else if (DélkaDne == 210) Mx=277;
else if (DélkaDne == 220) Mx=288;
else Mx=300;
AnimP²edm╪tAnimuj(Posuvník,Mx,105,0);
AnimP²edm╪tAnimuj(Pol3,265,180,0);
GrNastavV∞stup(GrV∞stupUºivatelsk∞1);
GrNastavBarvuPozadí(4);
GrNastavBarvuPop²edí(11);
GrSmaºOkno();
GrPiτU¼íslo(DélkaDne*3*55,-1);
GrPiτⁿet╪zec("ms");
GrNastavV∞stup(PàvodníV∞stup);
3 /**Nastavení myτi**/
;myτ
Myτ¼tiUdálost(MyτUdálost);
;v∞poƒty
Mx=MyτUdálost.X-24;
My=MyτUdálost.Y-10;
;animace
AnimP²edm╪tAnimuj(Myτ,Mx,My,-1);
AnimP²edm╪tDejP²ed(Myτ,0);
k MyτKonecObsluhy();
AnimP²edm╪tZruτ(Myτ);
AnimP²edm╪tZruτ(Posuvník);
AnimP²edm╪tZruτ(Pol3);
p /**posunuj posuvník - délka dne**/
GrNastavV∞stup(GrV∞stupUºivatelsk∞1);
GrNastavBarvuPozadí(4);
GrNastavBarvuPop²edí(11);
GrSmaºOkno();
GrPiτU¼íslo(DélkaDne*3*55,-1);
GrPiτⁿet╪zec("ms");
GrNastavV∞stup(PàvodníV∞stup);
AnimP²edm╪tAnimuj(Posuvník,Mx,105,1);
if (Mx >= 145 && Mx <= 155) DélkaDne=90;
else if (Mx >= 156 && Mx <= 166) DélkaDne=100;
else if (Mx >= 167 && Mx <= 177) DélkaDne=110;
else if (Mx >= 178 && Mx <= 188) DélkaDne=120;
else if (Mx >= 189 && Mx <= 199) DélkaDne=130;
else if (Mx >= 200 && Mx <= 210) DélkaDne=140;
else if (Mx >= 211 && Mx <= 221) DélkaDne=150;
else if (Mx >= 222 && Mx <= 232) DélkaDne=160;
else if (Mx >= 233 && Mx <= 243) DélkaDne=170;
else if (Mx >= 244 && Mx <= 254) DélkaDne=180;
else if (Mx >= 255 && Mx <= 265) DélkaDne=190;
else if (Mx >= 266 && Mx <= 276) DélkaDne=200;
else if (Mx >= 277 && Mx <= 287) DélkaDne=210;
else if (Mx >= 288 && Mx <= 298) DélkaDne=220;
else DélkaDne=230;
z /**animuj posuvník**/
MyτNastavRozsah(0,0,586,291);
AnimP²edm╪tAnimuj(Posuvník,Mx,105,0);
SouborSmaº("c:\\temp\\config.dat");
TypSoubor CFG=SouborOtev²i("c:\\temp\\config.dat",SouborP²ístupZápis|SouborP²ístupTextov∞);
SouborPiτU¼íslo(CFG,DélkaDne,-1);
SouborPiτNov∞ⁿádek(CFG);
SouborPiτU¼íslo(CFG,Sound,-1);
SouborZav²i(CFG);
a /**nastav rozsah myτi**/
MyτNastavRozsah(169,My,333,My);
1 /**otev²i konfiguraƒní soubor**/
TypSoubor CFG=SouborOtev²i("c:\\temp\\config.dat",SouborP²ístup¼tení|SouborP²ístupTextov∞);
Soubor¼tiI¼íslo(CFG,DélkaDne);
SouborZav²i(CFG);
-c1----------------------SEZNAM PODM╓NEK-----------TENTO ⁿ╡DEK NEM╖NIT!-------
/l MyτUdálost.Typ == MyτUdálostLevéTlDolà
/3 MyτUdálost.X >450 && MyτUdálost.X <585 && MyτUdálost.Y >10 && MyτUdálost.Y <75
/1 AnimP²edm╪tKolidujeS(Posuvník,Myτ)
/2 AnimP²edm╪tKolidujeS(Pol3,Myτ)
*1 MyτUdálost.Typ != MyτUdálostLevéTlNahoru
=SP---------------------------------------------------------------------------
;-h---------------------------------------------------------------------------
void V∞b╪rPovolání( void )
-s--V∞b╪rPovolání ■ 4 -2 -2 3
V∞b╪rPovolání
012!k
Ovládání
*
________________________Myτ
Nastavení levé~tl.
3! /l
_____________________V∞b╪r_________
/1 /2 /3
policajt zlod╪j Nastavení
a4!:break b54!:break zk!
:NastaveníHry()!
:goto~repeat!
-o1----------------------SEZNAM OPERAC╓------------TENTO ⁿ╡DEK NEM╖NIT!-------
0 /**Zobraz poloºky**/
repeat:
GrKresliP²edm╪ty(2001,1,0,0,15,10);
AnimP²edm╪tSchovej(Myτ);
MyτZaƒátekObsluhy();
Myτ= AnimP²edm╪tVytvo²(1031,1,0,1);
if (Language == CZ) GrKresliP²edm╪ty(5004,1,90,10,9,3);
else GrKresliP²edm╪ty(5109,1,90,10,8,2);
if (Language == CZ) GrKresliP²edm╪ty(18004,1,450,10,3,2);
else GrKresliP²edm╪ty(18012,1,450,10,3,2);
/**Policajt**/
if (Language == CZ) {
GrKresliP²edm╪t(4106,1,50,150);
GrKresliP²edm╪t(4105,1,50+20,150);
GrKresliP²edm╪t(4102,1,50+(2*20),150);
GrKresliP²edm╪t(4099,1,50+(3*20),150);
GrKresliP²edm╪t(4093,1,50+(4*20),150);
GrKresliP²edm╪t(4091,1,50+(5*20),150);
GrKresliP²edm╪t(4100,1,50+(6*20),150);
GrKresliP²edm╪t(4110,1,50+(7*20),150);
}
else {
GrKresliP²edm╪t(4093,1,50+(5*20),150);
GrKresliP²edm╪t(4105,1,50+(6*20),150);
GrKresliP²edm╪t(4106,1,50+(7*20),150);
}
/**Policajt**/
/**Zlod╪j**/
if (Language == CZ) {
GrKresliP²edm╪t(4116,1,50+(2*20),210);
GrKresliP²edm╪t(4102,1,50+(3*20),210);
GrKresliP²edm╪t(4105,1,50+(4*20),210);
GrKresliP²edm╪t(4094,1,50+(5*20),210);
GrKresliP²edm╪t(4095,1,50+(6*20),210);
GrKresliP²edm╪t(4100,1,50+(7*20),210);
}
else {
GrKresliP²edm╪t(4110,1,50+(3*20),210);
GrKresliP²edm╪t(4098,1,50+(4*20),210);
GrKresliP²edm╪t(4099,1,50+(5*20),210);
GrKresliP²edm╪t(4095,1,50+(6*20),210);
GrKresliP²edm╪t(4096,1,50+(7*20),210);
}
/**Zlod╪j**/
1 /**Vytvo²ení ikon**/
/*deklarace*/
struct
{
int X,Y;
TypAnimP²edm╪t Anim1,Anim2,Anim3,Anim4,Anim5,Anim6,Anim7,Anim8,Anim9,Anim10,Anim11,
Anim12;
} Okno0;
struct
{
int X,Y;
TypAnimP²edm╪t Anim1,Anim2,Anim3,Anim4;
} Foto0;
struct
{
int X,Y;
TypAnimP²edm╪t Anim1,Anim2,Anim3,Anim4;
} Foto1;
/*deklarace*/
/*definice*/
Okno0.Anim1 = AnimP²edm╪tVytvo²(5049,1,0,1);
Okno0.Anim2 = AnimP²edm╪tVytvo²(5050,1,0,1);
Okno0.Anim3 = AnimP²edm╪tVytvo²(5051,1,0,1);
Okno0.Anim4 = AnimP²edm╪tVytvo²(5064,1,0,1);
Okno0.Anim5 = AnimP²edm╪tVytvo²(5065,1,0,1);
Okno0.Anim6 = AnimP²edm╪tVytvo²(5066,1,0,1);
Okno0.Anim7 = AnimP²edm╪tVytvo²(5079,1,0,1);
Okno0.Anim8 = AnimP²edm╪tVytvo²(5080,1,0,1);
Okno0.Anim9 = AnimP²edm╪tVytvo²(5081,1,0,1);
Okno0.Anim10= AnimP²edm╪tVytvo²(5094,1,0,1);
Okno0.Anim11= AnimP²edm╪tVytvo²(5095,1,0,1);
Okno0.Anim12= AnimP²edm╪tVytvo²(5096,1,0,1);
Foto0.Anim1 = AnimP²edm╪tVytvo²(5053,1,0,1);
Foto0.Anim2 = AnimP²edm╪tVytvo²(5054,1,0,1);
Foto0.Anim3 = AnimP²edm╪tVytvo²(5068,1,0,1);
Foto0.Anim4 = AnimP²edm╪tVytvo²(5069,1,0,1);
Foto1.Anim1 = AnimP²edm╪tVytvo²(5055,1,0,1);
Foto1.Anim2 = AnimP²edm╪tVytvo²(5056,1,0,1);
Foto1.Anim3 = AnimP²edm╪tVytvo²(5070,1,0,1);
Foto1.Anim4 = AnimP²edm╪tVytvo²(5071,1,0,1);
/*definice*/
2 /**P²íjezd (animace) ikon**/
Okno0.X=585;
Okno0.Y=87;
Foto0.X=212;
Foto0.Y=290;
Foto1.X=212;
Foto1.Y=380;
AnimP²edm╪tDejZa(Foto0.Anim1,0);
AnimP²edm╪tDejZa(Foto0.Anim2,0);
AnimP²edm╪tDejZa(Foto0.Anim3,0);
AnimP²edm╪tDejZa(Foto0.Anim4,0);
AnimP²edm╪tDejZa(Foto1.Anim1,0);
AnimP²edm╪tDejZa(Foto1.Anim2,0);
AnimP²edm╪tDejZa(Foto1.Anim3,0);
AnimP²edm╪tDejZa(Foto1.Anim4,0);
while (Okno0.X > 200) {
AnimP²edm╪tAnimuj(Okno0.Anim1,Okno0.X,Okno0.Y,0);
AnimP²edm╪tAnimuj(Okno0.Anim2,Okno0.X+39,Okno0.Y,0);
AnimP²edm╪tAnimuj(Okno0.Anim3,Okno0.X+78,Okno0.Y,0);
AnimP²edm╪tAnimuj(Okno0.Anim4,Okno0.X,Okno0.Y+29,0);
AnimP²edm╪tAnimuj(Okno0.Anim5,Okno0.X+39,Okno0.Y+29,0);
AnimP²edm╪tAnimuj(Okno0.Anim6,Okno0.X+78,Okno0.Y+29,0);
AnimP²edm╪tAnimuj(Okno0.Anim7,Okno0.X,Okno0.Y+58,0);
AnimP²edm╪tAnimuj(Okno0.Anim8,Okno0.X+39,Okno0.Y+58,0);
AnimP²edm╪tAnimuj(Okno0.Anim9,Okno0.X+78,Okno0.Y+58,0);
AnimP²edm╪tAnimuj(Okno0.Anim10,Okno0.X,Okno0.Y+87,0);
AnimP²edm╪tAnimuj(Okno0.Anim11,Okno0.X+39,Okno0.Y+87,0);
AnimP²edm╪tAnimuj(Okno0.Anim12,Okno0.X+78,Okno0.Y+87,0);
Okno0.X-=3;
if (Foto0.Y > 115) {
AnimP²edm╪tAnimuj(Foto0.Anim1,Foto0.X,Foto0.Y,0);
AnimP²edm╪tAnimuj(Foto0.Anim2,Foto0.X+39,Foto0.Y,0);
AnimP²edm╪tAnimuj(Foto0.Anim3,Foto0.X,Foto0.Y+29,0);
AnimP²edm╪tAnimuj(Foto0.Anim4,Foto0.X+39,Foto0.Y+29,0);
Foto0.Y-=3;
}
if (Foto1.Y > 205) {
AnimP²edm╪tAnimuj(Foto1.Anim1,Foto1.X,Foto1.Y,0);
AnimP²edm╪tAnimuj(Foto1.Anim2,Foto1.X+39,Foto1.Y,0);
AnimP²edm╪tAnimuj(Foto1.Anim3,Foto1.X,Foto1.Y+29,0);
AnimP²edm╪tAnimuj(Foto1.Anim4,Foto1.X+39,Foto1.Y+29,0);
Foto1.Y-=3;
}
}
3 /**Nastavení myτi**/
;myτ
Myτ¼tiUdálost(MyτUdálost);
;v∞poƒty
Mx=MyτUdálost.X-24;
My=MyτUdálost.Y-10;
;animace
AnimP²edm╪tAnimuj(Myτ,Mx,My,-1);
AnimP²edm╪tDejP²ed(Myτ,0);
4 /**odjezd ikon**/
while (Okno0.X < 585) {
AnimP²edm╪tAnimuj(Okno0.Anim1,Okno0.X,Okno0.Y,0);
AnimP²edm╪tAnimuj(Okno0.Anim2,Okno0.X+39,Okno0.Y,0);
AnimP²edm╪tAnimuj(Okno0.Anim3,Okno0.X+78,Okno0.Y,0);
AnimP²edm╪tAnimuj(Okno0.Anim4,Okno0.X,Okno0.Y+29,0);
AnimP²edm╪tAnimuj(Okno0.Anim5,Okno0.X+39,Okno0.Y+29,0);
AnimP²edm╪tAnimuj(Okno0.Anim6,Okno0.X+78,Okno0.Y+29,0);
AnimP²edm╪tAnimuj(Okno0.Anim7,Okno0.X,Okno0.Y+58,0);
AnimP²edm╪tAnimuj(Okno0.Anim8,Okno0.X+39,Okno0.Y+58,0);
AnimP²edm╪tAnimuj(Okno0.Anim9,Okno0.X+78,Okno0.Y+58,0);
AnimP²edm╪tAnimuj(Okno0.Anim10,Okno0.X,Okno0.Y+87,0);
AnimP²edm╪tAnimuj(Okno0.Anim11,Okno0.X+39,Okno0.Y+87,0);
AnimP²edm╪tAnimuj(Okno0.Anim12,Okno0.X+78,Okno0.Y+87,0);
Okno0.X+=6;
if (Foto0.Y < 295) {
AnimP²edm╪tAnimuj(Foto0.Anim1,Foto0.X,Foto0.Y,0);
AnimP²edm╪tAnimuj(Foto0.Anim2,Foto0.X+39,Foto0.Y,0);
AnimP²edm╪tAnimuj(Foto0.Anim3,Foto0.X,Foto0.Y+29,0);
AnimP²edm╪tAnimuj(Foto0.Anim4,Foto0.X+39,Foto0.Y+29,0);
Foto0.Y+=6;
}
if (Foto1.Y < 295) {
AnimP²edm╪tAnimuj(Foto1.Anim1,Foto1.X,Foto1.Y,0);
AnimP²edm╪tAnimuj(Foto1.Anim2,Foto1.X+39,Foto1.Y,0);
AnimP²edm╪tAnimuj(Foto1.Anim3,Foto1.X,Foto1.Y+29,0);
AnimP²edm╪tAnimuj(Foto1.Anim4,Foto1.X+39,Foto1.Y+29,0);
Foto1.Y+=6;
}
}
AnimP²edm╪tZruτ(Foto0.Anim1);
AnimP²edm╪tZruτ(Foto0.Anim2);
AnimP²edm╪tZruτ(Foto0.Anim3);
AnimP²edm╪tZruτ(Foto0.Anim4);
AnimP²edm╪tZruτ(Foto1.Anim1);
AnimP²edm╪tZruτ(Foto1.Anim2);
AnimP²edm╪tZruτ(Foto1.Anim3);
AnimP²edm╪tZruτ(Foto1.Anim4);
AnimP²edm╪tZruτ(Okno0.Anim1);
AnimP²edm╪tZruτ(Okno0.Anim2);
AnimP²edm╪tZruτ(Okno0.Anim3);
AnimP²edm╪tZruτ(Okno0.Anim4);
AnimP²edm╪tZruτ(Okno0.Anim5);
AnimP²edm╪tZruτ(Okno0.Anim6);
AnimP²edm╪tZruτ(Okno0.Anim7);
AnimP²edm╪tZruτ(Okno0.Anim8);
AnimP²edm╪tZruτ(Okno0.Anim9);
AnimP²edm╪tZruτ(Okno0.Anim10);
AnimP²edm╪tZruτ(Okno0.Anim11);
AnimP²edm╪tZruτ(Okno0.Anim12);
k MyτKonecObsluhy();
AnimP²edm╪tZruτ(Myτ);
/**uloº zm╪ny do souboru**/
TypSoubor CFG=SouborOtev²i("c:\\temp\\config.dat",SouborP²ístup¼tení|SouborP²ístupTextov∞);
Soubor¼tiI¼íslo(CFG,DélkaDne);
SouborZav²i(CFG);
SouborSmaº("c:\\temp\\config.dat");
CFG=SouborOtev²i("c:\\temp\\config.dat",SouborP²ístupZápis|SouborP²ístupTextov∞);
SouborPiτU¼íslo(CFG,DélkaDne,-1);
SouborPiτNov∞ⁿádek(CFG);
SouborPiτU¼íslo(CFG,Sound,-1);
SouborZav²i(CFG);
5 /**p²esuσ v∞b╪r na foto1**/
while (Okno0.Y < Foto1.Y-28) {
AnimP²edm╪tAnimuj(Okno0.Anim1,Okno0.X,Okno0.Y,0);
AnimP²edm╪tAnimuj(Okno0.Anim2,Okno0.X+39,Okno0.Y,0);
AnimP²edm╪tAnimuj(Okno0.Anim3,Okno0.X+78,Okno0.Y,0);
AnimP²edm╪tAnimuj(Okno0.Anim4,Okno0.X,Okno0.Y+29,0);
AnimP²edm╪tAnimuj(Okno0.Anim5,Okno0.X+39,Okno0.Y+29,0);
AnimP²edm╪tAnimuj(Okno0.Anim6,Okno0.X+78,Okno0.Y+29,0);
AnimP²edm╪tAnimuj(Okno0.Anim7,Okno0.X,Okno0.Y+58,0);
AnimP²edm╪tAnimuj(Okno0.Anim8,Okno0.X+39,Okno0.Y+58,0);
AnimP²edm╪tAnimuj(Okno0.Anim9,Okno0.X+78,Okno0.Y+58,0);
AnimP²edm╪tAnimuj(Okno0.Anim10,Okno0.X,Okno0.Y+87,0);
AnimP²edm╪tAnimuj(Okno0.Anim11,Okno0.X+39,Okno0.Y+87,0);
AnimP²edm╪tAnimuj(Okno0.Anim12,Okno0.X+78,Okno0.Y+87,0);
Okno0.Y+=6;
}
a Povolání="policajt";
b Povolání="zlod╪j";
z /**zruτ okno a foto**/
AnimP²edm╪tZruτ(Foto0.Anim1);
AnimP²edm╪tZruτ(Foto0.Anim2);
AnimP²edm╪tZruτ(Foto0.Anim3);
AnimP²edm╪tZruτ(Foto0.Anim4);
AnimP²edm╪tZruτ(Foto1.Anim1);
AnimP²edm╪tZruτ(Foto1.Anim2);
AnimP²edm╪tZruτ(Foto1.Anim3);
AnimP²edm╪tZruτ(Foto1.Anim4);
AnimP²edm╪tZruτ(Okno0.Anim1);
AnimP²edm╪tZruτ(Okno0.Anim2);
AnimP²edm╪tZruτ(Okno0.Anim3);
AnimP²edm╪tZruτ(Okno0.Anim4);
AnimP²edm╪tZruτ(Okno0.Anim5);
AnimP²edm╪tZruτ(Okno0.Anim6);
AnimP²edm╪tZruτ(Okno0.Anim7);
AnimP²edm╪tZruτ(Okno0.Anim8);
AnimP²edm╪tZruτ(Okno0.Anim9);
AnimP²edm╪tZruτ(Okno0.Anim10);
AnimP²edm╪tZruτ(Okno0.Anim11);
AnimP²edm╪tZruτ(Okno0.Anim12);
-c1----------------------SEZNAM PODM╓NEK-----------TENTO ⁿ╡DEK NEM╖NIT!-------
/1 AnimP²edm╪tKolidujeS(Myτ,Foto0.Anim1) || AnimP²edm╪tKolidujeS(Myτ,Foto0.Anim2) ||
AnimP²edm╪tKolidujeS(Myτ,Foto0.Anim3) || AnimP²edm╪tKolidujeS(Myτ,Foto0.Anim4)
/2 AnimP²edm╪tKolidujeS(Myτ,Foto1.Anim1) || AnimP²edm╪tKolidujeS(Myτ,Foto1.Anim2) ||
AnimP²edm╪tKolidujeS(Myτ,Foto1.Anim3) || AnimP²edm╪tKolidujeS(Myτ,Foto1.Anim4)
/l MyτUdálost.Typ == MyτUdálostLevéTlDolà
/3 MyτUdálost.X >450 && MyτUdálost.X <585 && MyτUdálost.Y >10 && MyτUdálost.Y <75
=SP---------------------------------------------------------------------------
;-h---------------------------------------------------------------------------
void ChooseEditor( void )
-s--ChooseEditor ■ 4 -2 -8 3
ChooseEditor
0!e
V∞b╪r
*
_________________Myτ
Nastavení Akce
Myτi /l
1! _________levé~tl.__
/1 /2 /3
Car Level Zp╪t
Editor Editor b!
c! l!
-o1----------------------SEZNAM OPERAC╓------------TENTO ⁿ╡DEK NEM╖NIT!-------
0 /**vytvo² a zobraz poloºky**/
TypAnimP²edm╪t Pol1,Pol2,Pol3;
Pol1= AnimP²edm╪tVytvo²(1005,1,0,1);
Pol2= AnimP²edm╪tVytvo²(1006,1,0,1);
Pol3= AnimP²edm╪tVytvo²(1007,1,0,1);
AnimP²edm╪tAnimuj(Pol1,50,150,0);
AnimP²edm╪tAnimuj(Pol2,500,150,0);
AnimP²edm╪tAnimuj(Pol3,265,180,0);
Myτ= AnimP²edm╪tVytvo²(1031,1,0,1);
MyτZaƒátekObsluhy();
1 /**Nastavení myτi**/
;myτ
Myτ¼tiUdálost(MyτUdálost);
;v∞poƒty
Mx=MyτUdálost.X-24;
My=MyτUdálost.Y-10;
;animace
AnimP²edm╪tAnimuj(Myτ,Mx,My,-1);
e MyτKonecObsluhy();
AnimP²edm╪tZruτ(Myτ);
AnimP²edm╪tZruτ(Pol1);
AnimP²edm╪tZruτ(Pol2);
AnimP²edm╪tZruτ(Pol3);
c /**Car Editor**/
Run="Cared";
break;
l /**Level Editor**/
Run="Leveled";
break;
b /**zp╪t**/
Run="";
break;
-c1----------------------SEZNAM PODM╓NEK-----------TENTO ⁿ╡DEK NEM╖NIT!-------
/l MyτUdálost.Typ == MyτUdálostLevéTlDolà
/1 AnimP²edm╪tKolidujeS(Myτ,Pol1)
/2 AnimP²edm╪tKolidujeS(Myτ,Pol2)
/3 AnimP²edm╪tKolidujeS(Myτ,Pol3)
=SP---------------------------------------------------------------------------
;-h---------------------------------------------------------------------------
void main( void )
-s--MENU ■ 4 -2 -7 3
MENU
0!
:FrameA()!
:FrameB()!
2abcd!zQ
While
*
______Menu__
nastavení levé
pozice /l
1! ______tl._____________
/S /E /K /T
Start Editor Konec Top5
Hry E! k! zt!:goto~MainMenu
s!
-o1----------------------SEZNAM OPERAC╓------------TENTO ⁿ╡DEK NEM╖NIT!-------
0 /**Zobraz hlavní menu**/
if ( SouborExistuje("C:\\TEMP\\config.dat") == 0) Adresá²Vytvo²("C:\\TEMP");
Vytvo²Prostor();
Sound=OFF;
/**V∞b╪r jazyka**/
ChooseYourLanguage();
/**Hlavní Menu**/
MainMenu:
GrNastavV∞stup(1);
GrNastavPaletu(2001);
GrKresliP²edm╪ty(2001,1,0,0,15,10);
Myτ= AnimP²edm╪tVytvo²(1031,1,0,1);
TypAnimP²edm╪t T5pol= AnimP²edm╪tVytvo²(1008,1,0,1);
AnimP²edm╪tAnimuj(T5pol,0,261,-1);
Run="";
Cframu=0;
Frame0.X=0;
Frame0.Y=40;
Frame1.X=570;
Frame1.Y=40;
1 /**Nastavení myτi**/
;myτ
Myτ¼tiUdálost(MyτUdálost);
;v∞poƒty
Mx=MyτUdálost.X-24;
My=MyτUdálost.Y-10;
;animace
AnimP²edm╪tAnimuj(Myτ,Mx,My,-1);
AnimP²edm╪tDejP²ed(Myτ,0);
¼ekejNaVR();
2 /**vytvo²ení**/
MyτZaƒátekObsluhy();
CEL1 = AnimP²edm╪tVytvo²(1086,1,0,1);
CEL2 = AnimP²edm╪tVytvo²(1087,1,0,1);
CEL3 = AnimP²edm╪tVytvo²(1088,1,0,1);
CEL4 = AnimP²edm╪tVytvo²(1089,1,0,1);
CEL5 = AnimP²edm╪tVytvo²(1101,1,0,1);
CEL6 = AnimP²edm╪tVytvo²(1102,1,0,1);
CEL7 = AnimP²edm╪tVytvo²(1103,1,0,1);
CEL8 = AnimP²edm╪tVytvo²(1104,1,0,1);
CEL9 = AnimP²edm╪tVytvo²(1116,1,0,1);
CEL10 = AnimP²edm╪tVytvo²(1117,1,0,1);
if (Language == CZ) {
SH1 = AnimP²edm╪tVytvo²(1091,1,0,1);
SH2 = AnimP²edm╪tVytvo²(1092,1,0,1);
SH3 = AnimP²edm╪tVytvo²(1093,1,0,1);
SH4 = AnimP²edm╪tVytvo²(1094,1,0,1);
SH5 = AnimP²edm╪tVytvo²(1106,1,0,1);
SH6 = AnimP²edm╪tVytvo²(1107,1,0,1);
SH7 = AnimP²edm╪tVytvo²(1108,1,0,1);
SH8 = AnimP²edm╪tVytvo²(1109,1,0,1);
}
else {
SH1 = AnimP²edm╪tVytvo²(1095,1,0,1);
SH2 = AnimP²edm╪tVytvo²(1096,1,0,1);
SH3 = AnimP²edm╪tVytvo²(1097,1,0,1);
SH4 = AnimP²edm╪tVytvo²(1098,1,0,1);
SH5 = AnimP²edm╪tVytvo²(1046,1,0,1);
SH6 = AnimP²edm╪tVytvo²(1046,1,0,1);
SH7 = AnimP²edm╪tVytvo²(1046,1,0,1);
SH8 = AnimP²edm╪tVytvo²(1046,1,0,1);
}
E1 = AnimP²edm╪tVytvo²(1001,1,0,1);
E2 = AnimP²edm╪tVytvo²(1002,1,0,1);
E3 = AnimP²edm╪tVytvo²(1003,1,0,1);
E4 = AnimP²edm╪tVytvo²(1016,1,0,1);
E5 = AnimP²edm╪tVytvo²(1017,1,0,1);
E6 = AnimP²edm╪tVytvo²(1018,1,0,1);
if (Language == CZ) {
K1 = AnimP²edm╪tVytvo²(1032,5,0,1);
K2 = AnimP²edm╪tVytvo²(1037,5,0,1);
K3 = AnimP²edm╪tVytvo²(1042,5,0,1);
K4 = AnimP²edm╪tVytvo²(1077,5,0,1);
K5 = AnimP²edm╪tVytvo²(1062,5,0,1);
K6 = AnimP²edm╪tVytvo²(1070,5,0,1);
}
else {
K1 = AnimP²edm╪tVytvo²(1110,5,0,1);
K2 = AnimP²edm╪tVytvo²(1111,5,0,1);
K3 = AnimP²edm╪tVytvo²(1112,5,0,1);
K4 = AnimP²edm╪tVytvo²(1125,5,0,1);
K5 = AnimP²edm╪tVytvo²(1126,5,0,1);
K6 = AnimP²edm╪tVytvo²(1127,5,0,1);
}
Sx=Cx=200;
Ky=Ey=Sy=Cy=290;
Kx=Ex=220;
a /**City Engine Logo**/
for (z=0;z!=140;z++) {
n=y=0;
AnimP²edm╪tAnimuj(CEL1,Cx+(y*39),Cy+(n*29),-1);
y++;
AnimP²edm╪tAnimuj(CEL2,Cx+(y*39),Cy+(n*29),-1);
y++;
AnimP²edm╪tAnimuj(CEL3,Cx+(y*39),Cy+(n*29),-1);
y++;
AnimP²edm╪tAnimuj(CEL4,Cx+(y*39),Cy+(n*29),-1);
n++;
y=0;
AnimP²edm╪tAnimuj(CEL5,Cx+(y*39),Cy+(n*29),-1);
y++;
AnimP²edm╪tAnimuj(CEL6,Cx+(y*39),Cy+(n*29),-1);
y++;
AnimP²edm╪tAnimuj(CEL7,Cx+(y*39),Cy+(n*29),-1);
y++;
AnimP²edm╪tAnimuj(CEL8,Cx+(y*39),Cy+(n*29),-1);
n++;
y=0;
AnimP²edm╪tAnimuj(CEL9,Cx+(y*39),Cy+(n*29),-1);
y++;
AnimP²edm╪tAnimuj(CEL10,Cx+(y*39),Cy+(n*29),-1);
Cy-=2;
}
n=y=0;
Cx-=5;
Cy+=5;
AnimP²edm╪tAnimuj(CEL1,Cx+(y*39),Cy+(n*29),-1);
y++;
AnimP²edm╪tAnimuj(CEL2,Cx+(y*39),Cy+(n*29),-1);
y++;
AnimP²edm╪tAnimuj(CEL3,Cx+(y*39),Cy+(n*29),-1);
y++;
AnimP²edm╪tAnimuj(CEL4,Cx+(y*39),Cy+(n*29),-1);
n++;
y=0;
AnimP²edm╪tAnimuj(CEL5,Cx+(y*39),Cy+(n*29),-1);
y++;
AnimP²edm╪tAnimuj(CEL6,Cx+(y*39),Cy+(n*29),-1);
y++;
AnimP²edm╪tAnimuj(CEL7,Cx+(y*39),Cy+(n*29),-1);
y++;
AnimP²edm╪tAnimuj(CEL8,Cx+(y*39),Cy+(n*29),-1);
n++;
y=0;
AnimP²edm╪tAnimuj(CEL9,Cx+(y*39),Cy+(n*29),-1);
y++;
AnimP²edm╪tAnimuj(CEL10,Cx+(y*39),Cy+(n*29),-1);
n=y=0;
Cx+=5;
Cy-=5;
AnimP²edm╪tAnimuj(CEL1,Cx+(y*39),Cy+(n*29),-1);
y++;
AnimP²edm╪tAnimuj(CEL2,Cx+(y*39),Cy+(n*29),-1);
y++;
AnimP²edm╪tAnimuj(CEL3,Cx+(y*39),Cy+(n*29),-1);
y++;
AnimP²edm╪tAnimuj(CEL4,Cx+(y*39),Cy+(n*29),-1);
n++;
y=0;
AnimP²edm╪tAnimuj(CEL5,Cx+(y*39),Cy+(n*29),-1);
y++;
AnimP²edm╪tAnimuj(CEL6,Cx+(y*39),Cy+(n*29),-1);
y++;
AnimP²edm╪tAnimuj(CEL7,Cx+(y*39),Cy+(n*29),-1);
y++;
AnimP²edm╪tAnimuj(CEL8,Cx+(y*39),Cy+(n*29),-1);
n++;
y=0;
AnimP²edm╪tAnimuj(CEL9,Cx+(y*39),Cy+(n*29),-1);
y++;
AnimP²edm╪tAnimuj(CEL10,Cx+(y*39),Cy+(n*29),-1);
b /**Start Hry**/
for (z=0;z!=75;z++) {
n=y=0;
AnimP²edm╪tAnimuj(SH1,Sx+(y*39),Sy+(n*29),-1);
y++;
AnimP²edm╪tAnimuj(SH2,Sx+(y*39),Sy+(n*29),-1);
y++;
AnimP²edm╪tAnimuj(SH3,Sx+(y*39),Sy+(n*29),-1);
y++;
AnimP²edm╪tAnimuj(SH4,Sx+(y*39),Sy+(n*29),-1);
n++;
y=0;
AnimP²edm╪tAnimuj(SH5,Sx+(y*39),Sy+(n*29),-1);
y++;
AnimP²edm╪tAnimuj(SH6,Sx+(y*39),Sy+(n*29),-1);
y++;
AnimP²edm╪tAnimuj(SH7,Sx+(y*39),Sy+(n*29),-1);
y++;
AnimP²edm╪tAnimuj(SH8,Sx+(y*39),Sy+(n*29),-1);
Sy-=3;
if (Language == EN && z == 70) break;
}
c /**Editor**/
for (z=0;z!=42;z++) {
n=y=0;
AnimP²edm╪tAnimuj(E1,Ex+(y*39),Ey+(n*29),-1);
y++;
AnimP²edm╪tAnimuj(E2,Ex+(y*39),Ey+(n*29),-1);
y++;
AnimP²edm╪tAnimuj(E3,Ex+(y*39),Ey+(n*29),-1);
n++;
y=0;
AnimP²edm╪tAnimuj(E4,Ex+(y*39),Ey+(n*29),-1);
y++;
AnimP²edm╪tAnimuj(E5,Ex+(y*39),Ey+(n*29),-1);
y++;
AnimP²edm╪tAnimuj(E6,Ex+(y*39),Ey+(n*29),-1);
Ey-=4;
}
d /**Konec**/
for (z=0;z!=27;z++) {
n=y=0;
AnimP²edm╪tAnimuj(K1,Kx+(y*39),Ky+(n*29),0);
y++;
AnimP²edm╪tAnimuj(K2,Kx+(y*39),Ky+(n*29),0);
y++;
AnimP²edm╪tAnimuj(K3,Kx+(y*39),Ky+(n*29),0);
n++;
y=0;
AnimP²edm╪tAnimuj(K4,Kx+(y*39),Ky+(n*29),0);
y++;
AnimP²edm╪tAnimuj(K5,Kx+(y*39),Ky+(n*29),0);
y++;
AnimP²edm╪tAnimuj(K6,Kx+(y*39),Ky+(n*29),0);
Ky-=5;
}
k /**konec**/
MyτKonecObsluhy();
m=Mx;
if (Language == CZ) {
for (z=0;z != 5;z++) {
n=y=0;
AnimP²edm╪tAnimuj(K1,Kx+(y*39),Ky+(n*29),z);
y++;
AnimP²edm╪tAnimuj(K2,Kx+(y*39),Ky+(n*29),z);
y++;
AnimP²edm╪tAnimuj(K3,Kx+(y*39),Ky+(n*29),z);
n++;
y=0;
AnimP²edm╪tAnimuj(K4,Kx+(y*39),Ky+(n*29),z);
y++;
AnimP²edm╪tAnimuj(K5,Kx+(y*39),Ky+(n*29),z);
y++;
AnimP²edm╪tAnimuj(K6,Kx+(y*39),Ky+(n*29),z);
¼ekej(100);
}
}
if (Language == CZ) z=4;
else z=0;
while (Ky < 290) {
n=y=0;
AnimP²edm╪tAnimuj(K1,Kx+(y*39),Ky+(n*29),z);
y++;
AnimP²edm╪tAnimuj(K2,Kx+(y*39),Ky+(n*29),z);
y++;
AnimP²edm╪tAnimuj(K3,Kx+(y*39),Ky+(n*29),z);
n++;
y=0;
AnimP²edm╪tAnimuj(K4,Kx+(y*39),Ky+(n*29),z);
y++;
AnimP²edm╪tAnimuj(K5,Kx+(y*39),Ky+(n*29),z);
y++;
AnimP²edm╪tAnimuj(K6,Kx+(y*39),Ky+(n*29),z);
Ky+=5;
}
AnimP²edm╪tZruτ(K1);
AnimP²edm╪tZruτ(K2);
AnimP²edm╪tZruτ(K3);
AnimP²edm╪tZruτ(K4);
AnimP²edm╪tZruτ(K5);
AnimP²edm╪tZruτ(K6);
while (Ey < 290) {
n=y=0;
AnimP²edm╪tAnimuj(E1,Ex+(y*39),Ey+(n*29),0);
y++;
AnimP²edm╪tAnimuj(E2,Ex+(y*39),Ey+(n*29),0);
y++;
AnimP²edm╪tAnimuj(E3,Ex+(y*39),Ey+(n*29),0);
n++;
y=0;
AnimP²edm╪tAnimuj(E4,Ex+(y*39),Ey+(n*29),0);
y++;
AnimP²edm╪tAnimuj(E5,Ex+(y*39),Ey+(n*29),0);
y++;
AnimP²edm╪tAnimuj(E6,Ex+(y*39),Ey+(n*29),0);
Ey+=6;
}
AnimP²edm╪tZruτ(E1);
AnimP²edm╪tZruτ(E2);
AnimP²edm╪tZruτ(E3);
AnimP²edm╪tZruτ(E4);
AnimP²edm╪tZruτ(E5);
AnimP²edm╪tZruτ(E6);
while (Sy < 290) {
n=y=0;
AnimP²edm╪tAnimuj(SH1,Sx+(y*39),Sy+(n*29),-1);
y++;
AnimP²edm╪tAnimuj(SH2,Sx+(y*39),Sy+(n*29),-1);
y++;
AnimP²edm╪tAnimuj(SH3,Sx+(y*39),Sy+(n*29),-1);
y++;
AnimP²edm╪tAnimuj(SH4,Sx+(y*39),Sy+(n*29),-1);
n++;
y=0;
AnimP²edm╪tAnimuj(SH5,Sx+(y*39),Sy+(n*29),-1);
y++;
AnimP²edm╪tAnimuj(SH6,Sx+(y*39),Sy+(n*29),-1);
y++;
AnimP²edm╪tAnimuj(SH7,Sx+(y*39),Sy+(n*29),-1);
y++;
AnimP²edm╪tAnimuj(SH8,Sx+(y*39),Sy+(n*29),-1);
Sy+=7;
}
AnimP²edm╪tZruτ(SH1);
AnimP²edm╪tZruτ(SH2);
AnimP²edm╪tZruτ(SH3);
AnimP²edm╪tZruτ(SH4);
AnimP²edm╪tZruτ(SH5);
AnimP²edm╪tZruτ(SH6);
AnimP²edm╪tZruτ(SH7);
AnimP²edm╪tZruτ(SH8);
while (Cy < 290) {
n=y=0;
AnimP²edm╪tAnimuj(CEL1,Cx+(y*39),Cy+(n*29),-1);
y++;
AnimP²edm╪tAnimuj(CEL2,Cx+(y*39),Cy+(n*29),-1);
y++;
AnimP²edm╪tAnimuj(CEL3,Cx+(y*39),Cy+(n*29),-1);
y++;
AnimP²edm╪tAnimuj(CEL4,Cx+(y*39),Cy+(n*29),-1);
n++;
y=0;
AnimP²edm╪tAnimuj(CEL5,Cx+(y*39),Cy+(n*29),-1);
y++;
AnimP²edm╪tAnimuj(CEL6,Cx+(y*39),Cy+(n*29),-1);
y++;
AnimP²edm╪tAnimuj(CEL7,Cx+(y*39),Cy+(n*29),-1);
y++;
AnimP²edm╪tAnimuj(CEL8,Cx+(y*39),Cy+(n*29),-1);
n++;
y=0;
AnimP²edm╪tAnimuj(CEL9,Cx+(y*39),Cy+(n*29),-1);
y++;
AnimP²edm╪tAnimuj(CEL10,Cx+(y*39),Cy+(n*29),-1);
Cy+=8;
}
AnimP²edm╪tZruτ(CEL1);
AnimP²edm╪tZruτ(CEL2);
AnimP²edm╪tZruτ(CEL3);
AnimP²edm╪tZruτ(CEL4);
AnimP²edm╪tZruτ(CEL5);
AnimP²edm╪tZruτ(CEL6);
AnimP²edm╪tZruτ(CEL7);
AnimP²edm╪tZruτ(CEL8);
AnimP²edm╪tZruτ(CEL9);
AnimP²edm╪tZruτ(CEL10);
while (My < 290) {
Mx=m;
AnimP²edm╪tAnimuj(Myτ,Mx,My,-1);
My+=2;
}
AnimP²edm╪tZruτ(Myτ);
Run="Konec";
break;
Q /**Zruτ prostor**/
if (Run == "Konec") ZruτProstor();
else if (Run == "CityEn") {
V∞b╪rPovolání();
P²epniNaText();
if (Povolání == "policajt") {
if (Language == CZ) DOSProve╘("*\\city_e\\cityeng.exe CZE");
else DOSProve╘("*\\city_e\\cityeng.exe ENG");
}
else if (Povolání == "zlod╪j") {
if (Language == CZ) DOSProve╘("*\\city_e\\citythf.exe CZ");
else DOSProve╘("*\\city_e\\citythf.exe EN");
}
P²epniNaBaltazara();
/**Zobraz tabulku**/
NaƒtiTabulku();
Zapsat=1;
GrNastavV∞stup(1);
GrNaƒtiBMP(0,0,"*\\city.bmp",0,0,-1,-1,1);
Tabulka();
UloºTabulku();
MyτZaƒátekObsluhy();
MyτVyprázdniFrontuUdálostí();
VyprázdniFrontuKláves();
¼ekej(NaKlávesu|NaMyτ);
VyprázdniFrontuKláves();
MyτVyprázdniFrontuUdálostí();
MyτKonecObsluhy();
/**Zobraz tabulku**/
goto MainMenu;
}
else if (Run == "Editor") {
ChooseEditor();
P²epniNaText();
if (Run == "Cared") DOSProve╘("*\\city_e\\cared.exe");
else if (Run == "Leveled") DOSProve╘("*\\city_e\\leveled.exe");
P²epniNaBaltazara();
goto MainMenu;
}
s /**start hry**/
MyτKonecObsluhy();
m=Mx;
while (Sx > -140) {
¼ekejNaVR();
n=y=0;
AnimP²edm╪tAnimuj(SH1,Sx+(y*39),Sy+(n*29),-1);
y++;
AnimP²edm╪tAnimuj(SH2,Sx+(y*39),Sy+(n*29),-1);
y++;
AnimP²edm╪tAnimuj(SH3,Sx+(y*39),Sy+(n*29),-1);
y++;
AnimP²edm╪tAnimuj(SH4,Sx+(y*39),Sy+(n*29),-1);
n++;
y=0;
AnimP²edm╪tAnimuj(SH5,Sx+(y*39),Sy+(n*29),-1);
y++;
AnimP²edm╪tAnimuj(SH6,Sx+(y*39),Sy+(n*29),-1);
y++;
AnimP²edm╪tAnimuj(SH7,Sx+(y*39),Sy+(n*29),-1);
y++;
AnimP²edm╪tAnimuj(SH8,Sx+(y*39),Sy+(n*29),-1);
Sx-=5;
}
AnimP²edm╪tZruτ(SH1);
AnimP²edm╪tZruτ(SH2);
AnimP²edm╪tZruτ(SH3);
AnimP²edm╪tZruτ(SH4);
AnimP²edm╪tZruτ(SH5);
AnimP²edm╪tZruτ(SH6);
AnimP²edm╪tZruτ(SH7);
AnimP²edm╪tZruτ(SH8);
while (Ex < 585) {
¼ekejNaVR();
n=y=0;
AnimP²edm╪tAnimuj(E1,Ex+(y*39),Ey+(n*29),0);
y++;
AnimP²edm╪tAnimuj(E2,Ex+(y*39),Ey+(n*29),0);
y++;
AnimP²edm╪tAnimuj(E3,Ex+(y*39),Ey+(n*29),0);
n++;
y=0;
AnimP²edm╪tAnimuj(E4,Ex+(y*39),Ey+(n*29),0);
y++;
AnimP²edm╪tAnimuj(E5,Ex+(y*39),Ey+(n*29),0);
y++;
AnimP²edm╪tAnimuj(E6,Ex+(y*39),Ey+(n*29),0);
Ex+=6;
}
AnimP²edm╪tZruτ(E1);
AnimP²edm╪tZruτ(E2);
AnimP²edm╪tZruτ(E3);
AnimP²edm╪tZruτ(E4);
AnimP²edm╪tZruτ(E5);
AnimP²edm╪tZruτ(E6);
while (Kx > 0) {
¼ekejNaVR();
n=y=0;
AnimP²edm╪tAnimuj(K1,Kx+(y*39),Ky+(n*29),0);
y++;
AnimP²edm╪tAnimuj(K2,Kx+(y*39),Ky+(n*29),0);
y++;
AnimP²edm╪tAnimuj(K3,Kx+(y*39),Ky+(n*29),0);
n++;
y=0;
AnimP²edm╪tAnimuj(K4,Kx+(y*39),Ky+(n*29),0);
y++;
AnimP²edm╪tAnimuj(K5,Kx+(y*39),Ky+(n*29),0);
y++;
AnimP²edm╪tAnimuj(K6,Kx+(y*39),Ky+(n*29),0);
Kx-=7;
}
AnimP²edm╪tZruτ(K1);
AnimP²edm╪tZruτ(K2);
AnimP²edm╪tZruτ(K3);
AnimP²edm╪tZruτ(K4);
AnimP²edm╪tZruτ(K5);
AnimP²edm╪tZruτ(K6);
while (Cy > 0) {
¼ekejNaVR();
n=y=0;
AnimP²edm╪tAnimuj(CEL1,Cx+(y*39),Cy+(n*29),-1);
y++;
AnimP²edm╪tAnimuj(CEL2,Cx+(y*39),Cy+(n*29),-1);
y++;
AnimP²edm╪tAnimuj(CEL3,Cx+(y*39),Cy+(n*29),-1);
y++;
AnimP²edm╪tAnimuj(CEL4,Cx+(y*39),Cy+(n*29),-1);
n++;
y=0;
AnimP²edm╪tAnimuj(CEL5,Cx+(y*39),Cy+(n*29),-1);
y++;
AnimP²edm╪tAnimuj(CEL6,Cx+(y*39),Cy+(n*29),-1);
y++;
AnimP²edm╪tAnimuj(CEL7,Cx+(y*39),Cy+(n*29),-1);
y++;
AnimP²edm╪tAnimuj(CEL8,Cx+(y*39),Cy+(n*29),-1);
n++;
y=0;
AnimP²edm╪tAnimuj(CEL9,Cx+(y*39),Cy+(n*29),-1);
y++;
AnimP²edm╪tAnimuj(CEL10,Cx+(y*39),Cy+(n*29),-1);
Cy-=1;
}
AnimP²edm╪tZruτ(CEL1);
AnimP²edm╪tZruτ(CEL2);
AnimP²edm╪tZruτ(CEL3);
AnimP²edm╪tZruτ(CEL4);
AnimP²edm╪tZruτ(CEL5);
AnimP²edm╪tZruτ(CEL6);
AnimP²edm╪tZruτ(CEL7);
AnimP²edm╪tZruτ(CEL8);
AnimP²edm╪tZruτ(CEL9);
AnimP²edm╪tZruτ(CEL10);
while (My > 0) {
Mx=m;
AnimP²edm╪tAnimuj(Myτ,Mx,My,-1);
My-=1;
}
AnimP²edm╪tZruτ(Myτ);
Run="CityEn";
break;
E /**editor**/
MyτKonecObsluhy();
m=Mx;
while (Ex < 585) {
¼ekejNaVR();
n=y=0;
AnimP²edm╪tAnimuj(E1,Ex+(y*39),Ey+(n*29),0);
y++;
AnimP²edm╪tAnimuj(E2,Ex+(y*39),Ey+(n*29),0);
y++;
AnimP²edm╪tAnimuj(E3,Ex+(y*39),Ey+(n*29),0);
n++;
y=0;
AnimP²edm╪tAnimuj(E4,Ex+(y*39),Ey+(n*29),0);
y++;
AnimP²edm╪tAnimuj(E5,Ex+(y*39),Ey+(n*29),0);
y++;
AnimP²edm╪tAnimuj(E6,Ex+(y*39),Ey+(n*29),0);
Ex+=6;
}
AnimP²edm╪tZruτ(E1);
AnimP²edm╪tZruτ(E2);
AnimP²edm╪tZruτ(E3);
AnimP²edm╪tZruτ(E4);
AnimP²edm╪tZruτ(E5);
AnimP²edm╪tZruτ(E6);
while (Sx > -140) {
¼ekejNaVR();
n=y=0;
AnimP²edm╪tAnimuj(SH1,Sx+(y*39),Sy+(n*29),-1);
y++;
AnimP²edm╪tAnimuj(SH2,Sx+(y*39),Sy+(n*29),-1);
y++;
AnimP²edm╪tAnimuj(SH3,Sx+(y*39),Sy+(n*29),-1);
y++;
AnimP²edm╪tAnimuj(SH4,Sx+(y*39),Sy+(n*29),-1);
n++;
y=0;
AnimP²edm╪tAnimuj(SH5,Sx+(y*39),Sy+(n*29),-1);
y++;
AnimP²edm╪tAnimuj(SH6,Sx+(y*39),Sy+(n*29),-1);
y++;
AnimP²edm╪tAnimuj(SH7,Sx+(y*39),Sy+(n*29),-1);
y++;
AnimP²edm╪tAnimuj(SH8,Sx+(y*39),Sy+(n*29),-1);
Sx-=5;
}
AnimP²edm╪tZruτ(SH1);
AnimP²edm╪tZruτ(SH2);
AnimP²edm╪tZruτ(SH3);
AnimP²edm╪tZruτ(SH4);
AnimP²edm╪tZruτ(SH5);
AnimP²edm╪tZruτ(SH6);
AnimP²edm╪tZruτ(SH7);
AnimP²edm╪tZruτ(SH8);
while (Kx < 585) {
¼ekejNaVR();
n=y=0;
AnimP²edm╪tAnimuj(K1,Kx+(y*39),Ky+(n*29),0);
y++;
AnimP²edm╪tAnimuj(K2,Kx+(y*39),Ky+(n*29),0);
y++;
AnimP²edm╪tAnimuj(K3,Kx+(y*39),Ky+(n*29),0);
n++;
y=0;
AnimP²edm╪tAnimuj(K4,Kx+(y*39),Ky+(n*29),0);
y++;
AnimP²edm╪tAnimuj(K5,Kx+(y*39),Ky+(n*29),0);
y++;
AnimP²edm╪tAnimuj(K6,Kx+(y*39),Ky+(n*29),0);
Kx+=7;
}
AnimP²edm╪tZruτ(K1);
AnimP²edm╪tZruτ(K2);
AnimP²edm╪tZruτ(K3);
AnimP²edm╪tZruτ(K4);
AnimP²edm╪tZruτ(K5);
AnimP²edm╪tZruτ(K6);
while (Cy > 0) {
¼ekejNaVR();
n=y=0;
AnimP²edm╪tAnimuj(CEL1,Cx+(y*39),Cy+(n*29),-1);
y++;
AnimP²edm╪tAnimuj(CEL2,Cx+(y*39),Cy+(n*29),-1);
y++;
AnimP²edm╪tAnimuj(CEL3,Cx+(y*39),Cy+(n*29),-1);
y++;
AnimP²edm╪tAnimuj(CEL4,Cx+(y*39),Cy+(n*29),-1);
n++;
y=0;
AnimP²edm╪tAnimuj(CEL5,Cx+(y*39),Cy+(n*29),-1);
y++;
AnimP²edm╪tAnimuj(CEL6,Cx+(y*39),Cy+(n*29),-1);
y++;
AnimP²edm╪tAnimuj(CEL7,Cx+(y*39),Cy+(n*29),-1);
y++;
AnimP²edm╪tAnimuj(CEL8,Cx+(y*39),Cy+(n*29),-1);
n++;
y=0;
AnimP²edm╪tAnimuj(CEL9,Cx+(y*39),Cy+(n*29),-1);
y++;
AnimP²edm╪tAnimuj(CEL10,Cx+(y*39),Cy+(n*29),-1);
Cy-=1;
}
AnimP²edm╪tZruτ(CEL1);
AnimP²edm╪tZruτ(CEL2);
AnimP²edm╪tZruτ(CEL3);
AnimP²edm╪tZruτ(CEL4);
AnimP²edm╪tZruτ(CEL5);
AnimP²edm╪tZruτ(CEL6);
AnimP²edm╪tZruτ(CEL7);
AnimP²edm╪tZruτ(CEL8);
AnimP²edm╪tZruτ(CEL9);
AnimP²edm╪tZruτ(CEL10);
while (My > 0) {
Mx=m;
AnimP²edm╪tAnimuj(Myτ,Mx,My,-1);
My-=1;
}
AnimP²edm╪tZruτ(Myτ);
Run="Editor";
break;
z /**zruτ framy**/
AnimP²edm╪tZruτ(T5pol);
AnimP²edm╪tZruτ(Frame0.Anim1);
AnimP²edm╪tZruτ(Frame0.Anim2);
AnimP²edm╪tZruτ(Frame0.Anim3);
AnimP²edm╪tZruτ(Frame0.Anim4);
AnimP²edm╪tZruτ(Frame0.Anim5);
AnimP²edm╪tZruτ(Frame0.Anim6);
AnimP²edm╪tZruτ(Frame0.Anim7);
AnimP²edm╪tZruτ(Frame0.Anim8);
AnimP²edm╪tZruτ(Frame0.Anim9);
AnimP²edm╪tZruτ(Frame0.Anim10);
AnimP²edm╪tZruτ(Frame0.Anim11);
AnimP²edm╪tZruτ(Frame0.Anim12);
AnimP²edm╪tZruτ(Frame0.Anim13);
AnimP²edm╪tZruτ(Frame0.Anim14);
AnimP²edm╪tZruτ(Frame0.Anim15);
AnimP²edm╪tZruτ(Frame0.Anim16);
AnimP²edm╪tZruτ(Frame0.Anim17);
AnimP²edm╪tZruτ(Frame0.Anim18);
AnimP²edm╪tZruτ(Frame0.Anim19);
AnimP²edm╪tZruτ(Frame0.Anim20);
AnimP²edm╪tZruτ(Frame1.Anim1);
AnimP²edm╪tZruτ(Frame1.Anim2);
AnimP²edm╪tZruτ(Frame1.Anim3);
AnimP²edm╪tZruτ(Frame1.Anim4);
AnimP²edm╪tZruτ(Frame1.Anim5);
AnimP²edm╪tZruτ(Frame1.Anim6);
AnimP²edm╪tZruτ(Frame1.Anim7);
AnimP²edm╪tZruτ(Frame1.Anim8);
AnimP²edm╪tZruτ(Frame1.Anim9);
AnimP²edm╪tZruτ(Frame1.Anim10);
AnimP²edm╪tZruτ(Frame1.Anim11);
AnimP²edm╪tZruτ(Frame1.Anim12);
AnimP²edm╪tZruτ(Frame1.Anim13);
AnimP²edm╪tZruτ(Frame1.Anim14);
AnimP²edm╪tZruτ(Frame1.Anim15);
AnimP²edm╪tZruτ(Frame1.Anim16);
AnimP²edm╪tZruτ(Frame1.Anim17);
AnimP²edm╪tZruτ(Frame1.Anim18);
AnimP²edm╪tZruτ(Frame1.Anim19);
AnimP²edm╪tZruτ(Frame1.Anim20);
t /**zobraz tabulku nejlepτích hráƒà**/
AnimP²edm╪tZruτ(Myτ);
AnimP²edm╪tZruτ(K1);
AnimP²edm╪tZruτ(K2);
AnimP²edm╪tZruτ(K3);
AnimP²edm╪tZruτ(K4);
AnimP²edm╪tZruτ(K5);
AnimP²edm╪tZruτ(K6);
AnimP²edm╪tZruτ(E1);
AnimP²edm╪tZruτ(E2);
AnimP²edm╪tZruτ(E3);
AnimP²edm╪tZruτ(E4);
AnimP²edm╪tZruτ(E5);
AnimP²edm╪tZruτ(E6);
AnimP²edm╪tZruτ(SH1);
AnimP²edm╪tZruτ(SH2);
AnimP²edm╪tZruτ(SH3);
AnimP²edm╪tZruτ(SH4);
AnimP²edm╪tZruτ(SH5);
AnimP²edm╪tZruτ(SH6);
AnimP²edm╪tZruτ(SH7);
AnimP²edm╪tZruτ(SH8);
AnimP²edm╪tZruτ(CEL1);
AnimP²edm╪tZruτ(CEL2);
AnimP²edm╪tZruτ(CEL3);
AnimP²edm╪tZruτ(CEL4);
AnimP²edm╪tZruτ(CEL5);
AnimP²edm╪tZruτ(CEL6);
AnimP²edm╪tZruτ(CEL7);
AnimP²edm╪tZruτ(CEL8);
AnimP²edm╪tZruτ(CEL9);
AnimP²edm╪tZruτ(CEL10);
GrNaƒtiBMP(0,0,"*\\city.bmp",0,0,-1,-1,1);
NaƒtiTabulku();
Zapsat=0;
Tabulka();
MyτVyprázdniFrontuUdálostí();
¼ekej(NaKlávesu|NaMyτ);
VyprázdniFrontuKláves();
MyτVyprázdniFrontuUdálostí();
MyτKonecObsluhy();
-c1----------------------SEZNAM PODM╓NEK-----------TENTO ⁿ╡DEK NEM╖NIT!-------
/l MyτUdálost.Typ == MyτUdálostLevéTlDolà
/K AnimP²edm╪tKolidujeS(Myτ,K1) || AnimP²edm╪tKolidujeS(Myτ,K2) ||
AnimP²edm╪tKolidujeS(Myτ,K3) || AnimP²edm╪tKolidujeS(Myτ,K4) ||
AnimP²edm╪tKolidujeS(Myτ,K5) || AnimP²edm╪tKolidujeS(Myτ,K6)
/E AnimP²edm╪tKolidujeS(Myτ,E1) || AnimP²edm╪tKolidujeS(Myτ,E2) ||
AnimP²edm╪tKolidujeS(Myτ,E3) || AnimP²edm╪tKolidujeS(Myτ,E4) ||
AnimP²edm╪tKolidujeS(Myτ,E5) || AnimP²edm╪tKolidujeS(Myτ,E6)
/S AnimP²edm╪tKolidujeS(Myτ,SH1) || AnimP²edm╪tKolidujeS(Myτ,SH2) ||
AnimP²edm╪tKolidujeS(Myτ,SH3) || AnimP²edm╪tKolidujeS(Myτ,SH4) ||
AnimP²edm╪tKolidujeS(Myτ,SH5) || AnimP²edm╪tKolidujeS(Myτ,SH6) ||
AnimP²edm╪tKolidujeS(Myτ,SH7) || AnimP²edm╪tKolidujeS(Myτ,SH8)
/T AnimP²edm╪tKolidujeS(Myτ,T5pol)
=SP---------------------------------------------------------------------------
// Konec souboru