hedgewars/uConsts.pas
changeset 941 b5222ddafe1f
parent 936 ba582673db7d
child 946 42c5cc87cbd1
equal deleted inserted replaced
940:769adb0ad082 941:b5222ddafe1f
   434                                   Ammo: TAmmo;
   434                                   Ammo: TAmmo;
   435                                   Slot: 0..cMaxSlotIndex;
   435                                   Slot: 0..cMaxSlotIndex;
   436                                   TimeAfterTurn: Longword;
   436                                   TimeAfterTurn: Longword;
   437                                   minAngle, maxAngle: Longword;
   437                                   minAngle, maxAngle: Longword;
   438                                   isDamaging: boolean;
   438                                   isDamaging: boolean;
       
   439                                   SkipTurns: Longword;
   439                                   PosCount: Longword;
   440                                   PosCount: Longword;
   440                                   PosSprite: TSprite;
   441                                   PosSprite: TSprite;
   441                                   end = (
   442                                   end = (
   442                                   (NameId: sidGrenade;
   443                                   (NameId: sidGrenade;
   443                                    NameTex: nil;
   444                                    NameTex: nil;
   454                                    Slot: 1;
   455                                    Slot: 1;
   455                                    TimeAfterTurn: 3000;
   456                                    TimeAfterTurn: 3000;
   456                                    minAngle: 0;
   457                                    minAngle: 0;
   457                                    maxAngle: 0;
   458                                    maxAngle: 0;
   458                                    isDamaging: true;
   459                                    isDamaging: true;
       
   460                                    SkipTurns: 0;
   459                                    PosCount: 1;
   461                                    PosCount: 1;
   460                                    PosSprite: sprWater),
   462                                    PosSprite: sprWater),
   461                                   (NameId: sidClusterBomb;
   463                                   (NameId: sidClusterBomb;
   462                                    NameTex: nil;
   464                                    NameTex: nil;
   463                                    Probability: 100;
   465                                    Probability: 100;
   473                                    Slot: 1;
   475                                    Slot: 1;
   474                                    TimeAfterTurn: 3000;
   476                                    TimeAfterTurn: 3000;
   475                                    minAngle: 0;
   477                                    minAngle: 0;
   476                                    maxAngle: 0;
   478                                    maxAngle: 0;
   477                                    isDamaging: true;
   479                                    isDamaging: true;
       
   480                                    SkipTurns: 0;
   478                                    PosCount: 1;
   481                                    PosCount: 1;
   479                                    PosSprite: sprWater),
   482                                    PosSprite: sprWater),
   480                                   (NameId: sidBazooka;
   483                                   (NameId: sidBazooka;
   481                                    NameTex: nil;
   484                                    NameTex: nil;
   482                                    Probability: 0;
   485                                    Probability: 0;
   491                                    Slot: 0;
   494                                    Slot: 0;
   492                                    TimeAfterTurn: 3000;
   495                                    TimeAfterTurn: 3000;
   493                                    minAngle: 0;
   496                                    minAngle: 0;
   494                                    maxAngle: 0;
   497                                    maxAngle: 0;
   495                                    isDamaging: true;
   498                                    isDamaging: true;
       
   499                                    SkipTurns: 0;
   496                                    PosCount: 1;
   500                                    PosCount: 1;
   497                                    PosSprite: sprWater),
   501                                    PosSprite: sprWater),
   498                                   (NameId: sidUFO;
   502                                   (NameId: sidUFO;
   499                                    NameTex: nil;
   503                                    NameTex: nil;
   500                                    Probability: 100;
   504                                    Probability: 100;
   510                                    Slot: 0;
   514                                    Slot: 0;
   511                                    TimeAfterTurn: 3000;
   515                                    TimeAfterTurn: 3000;
   512                                    minAngle: 0;
   516                                    minAngle: 0;
   513                                    maxAngle: 0;
   517                                    maxAngle: 0;
   514                                    isDamaging: true;
   518                                    isDamaging: true;
       
   519                                    SkipTurns: 0;
   515                                    PosCount: 1;
   520                                    PosCount: 1;
   516                                    PosSprite: sprWater),
   521                                    PosSprite: sprWater),
   517                                   (NameId: sidShotgun;
   522                                   (NameId: sidShotgun;
   518                                    NameTex: nil;
   523                                    NameTex: nil;
   519                                    Probability: 0;
   524                                    Probability: 0;
   527                                    Slot: 2;
   532                                    Slot: 2;
   528                                    TimeAfterTurn: 3000;
   533                                    TimeAfterTurn: 3000;
   529                                    minAngle: 0;
   534                                    minAngle: 0;
   530                                    maxAngle: 0;
   535                                    maxAngle: 0;
   531                                    isDamaging: true;
   536                                    isDamaging: true;
       
   537                                    SkipTurns: 0;
   532                                    PosCount: 1;
   538                                    PosCount: 1;
   533                                    PosSprite: sprWater),
   539                                    PosSprite: sprWater),
   534                                   (NameId: sidPickHammer;
   540                                   (NameId: sidPickHammer;
   535                                    NameTex: nil;
   541                                    NameTex: nil;
   536                                    Probability: 0;
   542                                    Probability: 0;
   547                                    Slot: 6;
   553                                    Slot: 6;
   548                                    TimeAfterTurn: 0;
   554                                    TimeAfterTurn: 0;
   549                                    minAngle: 0;
   555                                    minAngle: 0;
   550                                    maxAngle: 0;
   556                                    maxAngle: 0;
   551                                    isDamaging: false;
   557                                    isDamaging: false;
       
   558                                    SkipTurns: 0;
   552                                    PosCount: 1;
   559                                    PosCount: 1;
   553                                    PosSprite: sprWater),
   560                                    PosSprite: sprWater),
   554                                   (NameId: sidSkip;
   561                                   (NameId: sidSkip;
   555                                    NameTex: nil;
   562                                    NameTex: nil;
   556                                    Probability: 0;
   563                                    Probability: 0;
   564                                    Slot: 8;
   571                                    Slot: 8;
   565                                    TimeAfterTurn: 0;
   572                                    TimeAfterTurn: 0;
   566                                    minAngle: 0;
   573                                    minAngle: 0;
   567                                    maxAngle: 0;
   574                                    maxAngle: 0;
   568                                    isDamaging: false;
   575                                    isDamaging: false;
       
   576                                    SkipTurns: 0;
   569                                    PosCount: 1;
   577                                    PosCount: 1;
   570                                    PosSprite: sprWater),
   578                                    PosSprite: sprWater),
   571                                   (NameId: sidRope;
   579                                   (NameId: sidRope;
   572                                    NameTex: nil;
   580                                    NameTex: nil;
   573                                    Probability: 100;
   581                                    Probability: 100;
   584                                    Slot: 7;
   592                                    Slot: 7;
   585                                    TimeAfterTurn: 0;
   593                                    TimeAfterTurn: 0;
   586                                    minAngle: 0;
   594                                    minAngle: 0;
   587                                    maxAngle: cMaxAngle div 2;
   595                                    maxAngle: cMaxAngle div 2;
   588                                    isDamaging: false;
   596                                    isDamaging: false;
       
   597                                    SkipTurns: 0;
   589                                    PosCount: 1;
   598                                    PosCount: 1;
   590                                    PosSprite: sprWater),
   599                                    PosSprite: sprWater),
   591                                   (NameId: sidMine;
   600                                   (NameId: sidMine;
   592                                    NameTex: nil;
   601                                    NameTex: nil;
   593                                    Probability: 100;
   602                                    Probability: 100;
   604                                    Slot: 4;
   613                                    Slot: 4;
   605                                    TimeAfterTurn: 5000;
   614                                    TimeAfterTurn: 5000;
   606                                    minAngle: 0;
   615                                    minAngle: 0;
   607                                    maxAngle: 0;
   616                                    maxAngle: 0;
   608                                    isDamaging: true;
   617                                    isDamaging: true;
       
   618                                    SkipTurns: 0;
   609                                    PosCount: 1;
   619                                    PosCount: 1;
   610                                    PosSprite: sprWater),
   620                                    PosSprite: sprWater),
   611                                   (NameId: sidDEagle;
   621                                   (NameId: sidDEagle;
   612                                    NameTex: nil;
   622                                    NameTex: nil;
   613                                    Probability: 100;
   623                                    Probability: 100;
   621                                    Slot: 2;
   631                                    Slot: 2;
   622                                    TimeAfterTurn: 3000;
   632                                    TimeAfterTurn: 3000;
   623                                    minAngle: 0;
   633                                    minAngle: 0;
   624                                    maxAngle: 0;
   634                                    maxAngle: 0;
   625                                    isDamaging: true;
   635                                    isDamaging: true;
       
   636                                    SkipTurns: 0;
   626                                    PosCount: 1;
   637                                    PosCount: 1;
   627                                    PosSprite: sprWater),
   638                                    PosSprite: sprWater),
   628                                   (NameId: sidDynamite;
   639                                   (NameId: sidDynamite;
   629                                    NameTex: nil;
   640                                    NameTex: nil;
   630                                    Probability: 100;
   641                                    Probability: 100;
   641                                    Slot: 4;
   652                                    Slot: 4;
   642                                    TimeAfterTurn: 5000;
   653                                    TimeAfterTurn: 5000;
   643                                    minAngle: 0;
   654                                    minAngle: 0;
   644                                    maxAngle: 0;
   655                                    maxAngle: 0;
   645                                    isDamaging: true;
   656                                    isDamaging: true;
       
   657                                    SkipTurns: 0;
   646                                    PosCount: 1;
   658                                    PosCount: 1;
   647                                    PosSprite: sprWater),
   659                                    PosSprite: sprWater),
   648                                   (NameId: sidFirePunch;
   660                                   (NameId: sidFirePunch;
   649                                    NameTex: nil;
   661                                    NameTex: nil;
   650                                    Probability: 0;
   662                                    Probability: 0;
   660                                    Slot: 3;
   672                                    Slot: 3;
   661                                    TimeAfterTurn: 3000;
   673                                    TimeAfterTurn: 3000;
   662                                    MinAngle: 0;
   674                                    MinAngle: 0;
   663                                    maxAngle: 0;
   675                                    maxAngle: 0;
   664                                    isDamaging: true;
   676                                    isDamaging: true;
       
   677                                    SkipTurns: 0;
   665                                    PosCount: 1;
   678                                    PosCount: 1;
   666                                    PosSprite: sprWater),
   679                                    PosSprite: sprWater),
   667                                   (NameId: sidWhip;
   680                                   (NameId: sidWhip;
   668                                    NameTex: nil;
   681                                    NameTex: nil;
   669                                    Probability: 0;
   682                                    Probability: 0;
   677                                    Slot: 3;
   690                                    Slot: 3;
   678                                    TimeAfterTurn: 3000;
   691                                    TimeAfterTurn: 3000;
   679                                    MinAngle: 0;
   692                                    MinAngle: 0;
   680                                    maxAngle: 0;
   693                                    maxAngle: 0;
   681                                    isDamaging: true;
   694                                    isDamaging: true;
       
   695                                    SkipTurns: 0;
   682                                    PosCount: 1;
   696                                    PosCount: 1;
   683                                    PosSprite: sprWater),
   697                                    PosSprite: sprWater),
   684                                   (NameId: sidBaseballBat;
   698                                   (NameId: sidBaseballBat;
   685                                    NameTex: nil;
   699                                    NameTex: nil;
   686                                    Probability: 100;
   700                                    Probability: 100;
   694                                    Slot: 3;
   708                                    Slot: 3;
   695                                    TimeAfterTurn: 5000;
   709                                    TimeAfterTurn: 5000;
   696                                    minAngle: 0;
   710                                    minAngle: 0;
   697                                    maxAngle: cMaxAngle div 2;
   711                                    maxAngle: cMaxAngle div 2;
   698                                    isDamaging: true;
   712                                    isDamaging: true;
       
   713                                    SkipTurns: 2;
   699                                    PosCount: 1;
   714                                    PosCount: 1;
   700                                    PosSprite: sprWater),
   715                                    PosSprite: sprWater),
   701                                   (NameId: sidParachute;
   716                                   (NameId: sidParachute;
   702                                    NameTex: nil;
   717                                    NameTex: nil;
   703                                    Probability: 100;
   718                                    Probability: 100;
   715                                    Slot: 7;
   730                                    Slot: 7;
   716                                    TimeAfterTurn: 0;
   731                                    TimeAfterTurn: 0;
   717                                    minAngle: 0;
   732                                    minAngle: 0;
   718                                    maxAngle: 0;
   733                                    maxAngle: 0;
   719                                    isDamaging: false;
   734                                    isDamaging: false;
       
   735                                    SkipTurns: 0;
   720                                    PosCount: 1;
   736                                    PosCount: 1;
   721                                    PosSprite: sprWater),
   737                                    PosSprite: sprWater),
   722                                   (NameId: sidAirAttack;
   738                                   (NameId: sidAirAttack;
   723                                    NameTex: nil;
   739                                    NameTex: nil;
   724                                    Probability: 100;
   740                                    Probability: 100;
   735                                    Slot: 5;
   751                                    Slot: 5;
   736                                    TimeAfterTurn: 0;
   752                                    TimeAfterTurn: 0;
   737                                    minAngle: 0;
   753                                    minAngle: 0;
   738                                    maxAngle: 0;
   754                                    maxAngle: 0;
   739                                    isDamaging: true;
   755                                    isDamaging: true;
       
   756                                    SkipTurns: 5;
   740                                    PosCount: 2;
   757                                    PosCount: 2;
   741                                    PosSprite: sprAmAirplane),
   758                                    PosSprite: sprAmAirplane),
   742                                   (NameId: sidMineStrike;
   759                                   (NameId: sidMineStrike;
   743                                    NameTex: nil;
   760                                    NameTex: nil;
   744                                    Probability: 400;
   761                                    Probability: 400;
   755                                    Slot: 5;
   772                                    Slot: 5;
   756                                    TimeAfterTurn: 0;
   773                                    TimeAfterTurn: 0;
   757                                    minAngle: 0;
   774                                    minAngle: 0;
   758                                    maxAngle: 0;
   775                                    maxAngle: 0;
   759                                    isDamaging: true;
   776                                    isDamaging: true;
       
   777                                    SkipTurns: 5;
   760                                    PosCount: 2;
   778                                    PosCount: 2;
   761                                    PosSprite: sprAmAirplane),
   779                                    PosSprite: sprAmAirplane),
   762                                   (NameId: sidBlowTorch;
   780                                   (NameId: sidBlowTorch;
   763                                    NameTex: nil;
   781                                    NameTex: nil;
   764                                    Probability: 100;
   782                                    Probability: 100;
   772                                    Slot: 6;
   790                                    Slot: 6;
   773                                    TimeAfterTurn: 3000;
   791                                    TimeAfterTurn: 3000;
   774                                    minAngle: 768;
   792                                    minAngle: 768;
   775                                    maxAngle: 1280;
   793                                    maxAngle: 1280;
   776                                    isDamaging: false;
   794                                    isDamaging: false;
       
   795                                    SkipTurns: 0;
   777                                    PosCount: 1;
   796                                    PosCount: 1;
   778                                    PosSprite: sprWater),
   797                                    PosSprite: sprWater),
   779                                   (NameId: sidGirder;
   798                                   (NameId: sidGirder;
   780                                    NameTex: nil;
   799                                    NameTex: nil;
   781                                    Probability: 400;
   800                                    Probability: 400;
   792                                    Slot: 6;
   811                                    Slot: 6;
   793                                    TimeAfterTurn: 3000;
   812                                    TimeAfterTurn: 3000;
   794                                    minAngle: 0;
   813                                    minAngle: 0;
   795                                    maxAngle: 0;
   814                                    maxAngle: 0;
   796                                    isDamaging: false;
   815                                    isDamaging: false;
       
   816                                    SkipTurns: 0;
   797                                    PosCount: 8;
   817                                    PosCount: 8;
   798                                    PosSprite: sprAmGirder),
   818                                    PosSprite: sprAmGirder),
   799                                   (NameId: sidTeleport;
   819                                   (NameId: sidTeleport;
   800                                    NameTex: nil;
   820                                    NameTex: nil;
   801                                    Probability: 400;
   821                                    Probability: 400;
   813                                    Slot: 7;
   833                                    Slot: 7;
   814                                    TimeAfterTurn: 0;
   834                                    TimeAfterTurn: 0;
   815                                    minAngle: 0;
   835                                    minAngle: 0;
   816                                    maxAngle: 0;
   836                                    maxAngle: 0;
   817                                    isDamaging: false;
   837                                    isDamaging: false;
       
   838                                    SkipTurns: 0;
   818                                    PosCount: 1;
   839                                    PosCount: 1;
   819                                    PosSprite: sprWater),
   840                                    PosSprite: sprWater),
   820                                   (NameId: sidSwitch;
   841                                   (NameId: sidSwitch;
   821                                    NameTex: nil;
   842                                    NameTex: nil;
   822                                    Probability: 100;
   843                                    Probability: 100;
   832                                    Slot: 8;
   853                                    Slot: 8;
   833                                    TimeAfterTurn: 0;
   854                                    TimeAfterTurn: 0;
   834                                    minAngle: 0;
   855                                    minAngle: 0;
   835                                    maxAngle: 0;
   856                                    maxAngle: 0;
   836                                    isDamaging: false;
   857                                    isDamaging: false;
       
   858                                    SkipTurns: 0;
   837                                    PosCount: 1;
   859                                    PosCount: 1;
   838                                    PosSprite: sprWater),
   860                                    PosSprite: sprWater),
   839                                   (NameId: sidMortar;
   861                                   (NameId: sidMortar;
   840                                    NameTex: nil;
   862                                    NameTex: nil;
   841                                    Probability: 100;
   863                                    Probability: 100;
   849                                    Slot: 1;
   871                                    Slot: 1;
   850                                    TimeAfterTurn: 3000;
   872                                    TimeAfterTurn: 3000;
   851                                    minAngle: 0;
   873                                    minAngle: 0;
   852                                    maxAngle: 0;
   874                                    maxAngle: 0;
   853                                    isDamaging: true;
   875                                    isDamaging: true;
       
   876                                    SkipTurns: 0;
   854                                    PosCount: 1;
   877                                    PosCount: 1;
   855                                    PosSprite: sprWater)
   878                                    PosSprite: sprWater)
   856                                   );
   879                                   );
   857 
   880 
   858 var CountTexz: array[1..9] of PTexture;
   881 var CountTexz: array[1..9] of PTexture;