hedgewars/uConsts.pas
changeset 830 f07267032194
parent 829 1209eb768acf
child 834 5687fa57a6c1
equal deleted inserted replaced
829:1209eb768acf 830:f07267032194
   393                                   Probability, NumberInCase: Longword;
   393                                   Probability, NumberInCase: Longword;
   394                                   Ammo: TAmmo;
   394                                   Ammo: TAmmo;
   395                                   Slot: 0..cMaxSlotIndex;
   395                                   Slot: 0..cMaxSlotIndex;
   396                                   TimeAfterTurn: Longword;
   396                                   TimeAfterTurn: Longword;
   397                                   minAngle, maxAngle: Longword;
   397                                   minAngle, maxAngle: Longword;
       
   398                                   isDamaging: boolean;
   398                                   PosCount: Longword;
   399                                   PosCount: Longword;
   399                                   PosSprite: TSprite;
   400                                   PosSprite: TSprite;
   400                                   end = (
   401                                   end = (
   401                                   (NameId: sidGrenade;
   402                                   (NameId: sidGrenade;
   402                                    Probability: 0;
   403                                    Probability: 0;
   410                                           AmmoType: amGrenade);
   411                                           AmmoType: amGrenade);
   411                                    Slot: 1;
   412                                    Slot: 1;
   412                                    TimeAfterTurn: 3000;
   413                                    TimeAfterTurn: 3000;
   413                                    minAngle: 0;
   414                                    minAngle: 0;
   414                                    maxAngle: 0;
   415                                    maxAngle: 0;
       
   416                                    isDamaging: true;
   415                                    PosCount: 1;
   417                                    PosCount: 1;
   416                                    PosSprite: sprWater),
   418                                    PosSprite: sprWater),
   417                                   (NameId: sidClusterBomb;
   419                                   (NameId: sidClusterBomb;
   418                                    Probability: 100;
   420                                    Probability: 100;
   419                                    NumberInCase: 3;
   421                                    NumberInCase: 3;
   426                                           AmmoType: amClusterBomb);
   428                                           AmmoType: amClusterBomb);
   427                                    Slot: 1;
   429                                    Slot: 1;
   428                                    TimeAfterTurn: 3000;
   430                                    TimeAfterTurn: 3000;
   429                                    minAngle: 0;
   431                                    minAngle: 0;
   430                                    maxAngle: 0;
   432                                    maxAngle: 0;
       
   433                                    isDamaging: true;
   431                                    PosCount: 1;
   434                                    PosCount: 1;
   432                                    PosSprite: sprWater),
   435                                    PosSprite: sprWater),
   433                                   (NameId: sidBazooka;
   436                                   (NameId: sidBazooka;
   434                                    Probability: 0;
   437                                    Probability: 0;
   435                                    NumberInCase: 1;
   438                                    NumberInCase: 1;
   441                                           AmmoType: amBazooka);
   444                                           AmmoType: amBazooka);
   442                                    Slot: 0;
   445                                    Slot: 0;
   443                                    TimeAfterTurn: 3000;
   446                                    TimeAfterTurn: 3000;
   444                                    minAngle: 0;
   447                                    minAngle: 0;
   445                                    maxAngle: 0;
   448                                    maxAngle: 0;
       
   449                                    isDamaging: true;
   446                                    PosCount: 1;
   450                                    PosCount: 1;
   447                                    PosSprite: sprWater),
   451                                    PosSprite: sprWater),
   448                                   (NameId: sidUFO;
   452                                   (NameId: sidUFO;
   449                                    Probability: 100;
   453                                    Probability: 100;
   450                                    NumberInCase: 1;
   454                                    NumberInCase: 1;
   458                                           AmmoType: amUFO);
   462                                           AmmoType: amUFO);
   459                                    Slot: 0;
   463                                    Slot: 0;
   460                                    TimeAfterTurn: 3000;
   464                                    TimeAfterTurn: 3000;
   461                                    minAngle: 0;
   465                                    minAngle: 0;
   462                                    maxAngle: 0;
   466                                    maxAngle: 0;
       
   467                                    isDamaging: true;
   463                                    PosCount: 1;
   468                                    PosCount: 1;
   464                                    PosSprite: sprWater),
   469                                    PosSprite: sprWater),
   465                                   (NameId: sidShotgun;
   470                                   (NameId: sidShotgun;
   466                                    Probability: 0;
   471                                    Probability: 0;
   467                                    NumberInCase: 1;
   472                                    NumberInCase: 1;
   473                                           AmmoType: amShotgun);
   478                                           AmmoType: amShotgun);
   474                                    Slot: 2;
   479                                    Slot: 2;
   475                                    TimeAfterTurn: 3000;
   480                                    TimeAfterTurn: 3000;
   476                                    minAngle: 0;
   481                                    minAngle: 0;
   477                                    maxAngle: 0;
   482                                    maxAngle: 0;
       
   483                                    isDamaging: true;
   478                                    PosCount: 1;
   484                                    PosCount: 1;
   479                                    PosSprite: sprWater),
   485                                    PosSprite: sprWater),
   480                                   (NameId: sidPickHammer;
   486                                   (NameId: sidPickHammer;
   481                                    Probability: 0;
   487                                    Probability: 0;
   482                                    NumberInCase: 1;
   488                                    NumberInCase: 1;
   491                                           AmmoType: amPickHammer);
   497                                           AmmoType: amPickHammer);
   492                                    Slot: 6;
   498                                    Slot: 6;
   493                                    TimeAfterTurn: 0;
   499                                    TimeAfterTurn: 0;
   494                                    minAngle: 0;
   500                                    minAngle: 0;
   495                                    maxAngle: 0;
   501                                    maxAngle: 0;
       
   502                                    isDamaging: false;
   496                                    PosCount: 1;
   503                                    PosCount: 1;
   497                                    PosSprite: sprWater),
   504                                    PosSprite: sprWater),
   498                                   (NameId: sidSkip;
   505                                   (NameId: sidSkip;
   499                                    Probability: 0;
   506                                    Probability: 0;
   500                                    NumberInCase: 1;
   507                                    NumberInCase: 1;
   506                                           AmmoType: amSkip);
   513                                           AmmoType: amSkip);
   507                                    Slot: 8;
   514                                    Slot: 8;
   508                                    TimeAfterTurn: 0;
   515                                    TimeAfterTurn: 0;
   509                                    minAngle: 0;
   516                                    minAngle: 0;
   510                                    maxAngle: 0;
   517                                    maxAngle: 0;
       
   518                                    isDamaging: false;
   511                                    PosCount: 1;
   519                                    PosCount: 1;
   512                                    PosSprite: sprWater),
   520                                    PosSprite: sprWater),
   513                                   (NameId: sidRope;
   521                                   (NameId: sidRope;
   514                                    Probability: 100;
   522                                    Probability: 100;
   515                                    NumberInCase: 3;
   523                                    NumberInCase: 3;
   523                                           AmmoType: amRope);
   531                                           AmmoType: amRope);
   524                                    Slot: 7;
   532                                    Slot: 7;
   525                                    TimeAfterTurn: 0;
   533                                    TimeAfterTurn: 0;
   526                                    minAngle: 0;
   534                                    minAngle: 0;
   527                                    maxAngle: cMaxAngle div 2;
   535                                    maxAngle: cMaxAngle div 2;
       
   536                                    isDamaging: false;
   528                                    PosCount: 1;
   537                                    PosCount: 1;
   529                                    PosSprite: sprWater),
   538                                    PosSprite: sprWater),
   530                                   (NameId: sidMine;
   539                                   (NameId: sidMine;
   531                                    Probability: 100;
   540                                    Probability: 100;
   532                                    NumberInCase: 1;
   541                                    NumberInCase: 1;
   539                                           AmmoType: amMine);
   548                                           AmmoType: amMine);
   540                                    Slot: 4;
   549                                    Slot: 4;
   541                                    TimeAfterTurn: 5000;
   550                                    TimeAfterTurn: 5000;
   542                                    minAngle: 0;
   551                                    minAngle: 0;
   543                                    maxAngle: 0;
   552                                    maxAngle: 0;
       
   553                                    isDamaging: true;
   544                                    PosCount: 1;
   554                                    PosCount: 1;
   545                                    PosSprite: sprWater),
   555                                    PosSprite: sprWater),
   546                                   (NameId: sidDEagle;
   556                                   (NameId: sidDEagle;
   547                                    Probability: 100;
   557                                    Probability: 100;
   548                                    NumberInCase: 2;
   558                                    NumberInCase: 2;
   554                                           AmmoType: amDEagle);
   564                                           AmmoType: amDEagle);
   555                                    Slot: 2;
   565                                    Slot: 2;
   556                                    TimeAfterTurn: 3000;
   566                                    TimeAfterTurn: 3000;
   557                                    minAngle: 0;
   567                                    minAngle: 0;
   558                                    maxAngle: 0;
   568                                    maxAngle: 0;
       
   569                                    isDamaging: true;
   559                                    PosCount: 1;
   570                                    PosCount: 1;
   560                                    PosSprite: sprWater),
   571                                    PosSprite: sprWater),
   561                                   (NameId: sidDynamite;
   572                                   (NameId: sidDynamite;
   562                                    Probability: 100;
   573                                    Probability: 100;
   563                                    NumberInCase: 1;
   574                                    NumberInCase: 1;
   571                                           AmmoType: amDynamite);
   582                                           AmmoType: amDynamite);
   572                                    Slot: 4;
   583                                    Slot: 4;
   573                                    TimeAfterTurn: 5000;
   584                                    TimeAfterTurn: 5000;
   574                                    minAngle: 0;
   585                                    minAngle: 0;
   575                                    maxAngle: 0;
   586                                    maxAngle: 0;
       
   587                                    isDamaging: true;
   576                                    PosCount: 1;
   588                                    PosCount: 1;
   577                                    PosSprite: sprWater),
   589                                    PosSprite: sprWater),
   578                                   (NameId: sidFirePunch;
   590                                   (NameId: sidFirePunch;
   579                                    Probability: 0;
   591                                    Probability: 0;
   580                                    NumberInCase: 1;
   592                                    NumberInCase: 1;
   588                                           AmmoType: amFirePunch);
   600                                           AmmoType: amFirePunch);
   589                                    Slot: 3;
   601                                    Slot: 3;
   590                                    TimeAfterTurn: 3000;
   602                                    TimeAfterTurn: 3000;
   591                                    MinAngle: 0;
   603                                    MinAngle: 0;
   592                                    maxAngle: 0;
   604                                    maxAngle: 0;
       
   605                                    isDamaging: true;
   593                                    PosCount: 1;
   606                                    PosCount: 1;
   594                                    PosSprite: sprWater),
   607                                    PosSprite: sprWater),
   595                                   (NameId: sidBaseballBat;
   608                                   (NameId: sidBaseballBat;
   596                                    Probability: 100;
   609                                    Probability: 100;
   597                                    NumberInCase: 1;
   610                                    NumberInCase: 1;
   603                                           AmmoType: amBaseballBat);
   616                                           AmmoType: amBaseballBat);
   604                                    Slot: 3;
   617                                    Slot: 3;
   605                                    TimeAfterTurn: 5000;
   618                                    TimeAfterTurn: 5000;
   606                                    minAngle: 0;
   619                                    minAngle: 0;
   607                                    maxAngle: cMaxAngle div 2;
   620                                    maxAngle: cMaxAngle div 2;
       
   621                                    isDamaging: true;
   608                                    PosCount: 1;
   622                                    PosCount: 1;
   609                                    PosSprite: sprWater),
   623                                    PosSprite: sprWater),
   610                                   (NameId: sidParachute;
   624                                   (NameId: sidParachute;
   611                                    Probability: 100;
   625                                    Probability: 100;
   612                                    NumberInCase: 1;
   626                                    NumberInCase: 1;
   621                                           AmmoType: amParachute);
   635                                           AmmoType: amParachute);
   622                                    Slot: 7;
   636                                    Slot: 7;
   623                                    TimeAfterTurn: 0;
   637                                    TimeAfterTurn: 0;
   624                                    minAngle: 0;
   638                                    minAngle: 0;
   625                                    maxAngle: 0;
   639                                    maxAngle: 0;
       
   640                                    isDamaging: false;
   626                                    PosCount: 1;
   641                                    PosCount: 1;
   627                                    PosSprite: sprWater),
   642                                    PosSprite: sprWater),
   628                                   (NameId: sidAirAttack;
   643                                   (NameId: sidAirAttack;
   629                                    Probability: 100;
   644                                    Probability: 100;
   630                                    NumberInCase: 1;
   645                                    NumberInCase: 1;
   639                                           AmmoType: amAirAttack);
   654                                           AmmoType: amAirAttack);
   640                                    Slot: 5;
   655                                    Slot: 5;
   641                                    TimeAfterTurn: 0;
   656                                    TimeAfterTurn: 0;
   642                                    minAngle: 0;
   657                                    minAngle: 0;
   643                                    maxAngle: 0;
   658                                    maxAngle: 0;
       
   659                                    isDamaging: true;
   644                                    PosCount: 2;
   660                                    PosCount: 2;
   645                                    PosSprite: sprAmAirplane),
   661                                    PosSprite: sprAmAirplane),
   646                                   (NameId: sidMineStrike;
   662                                   (NameId: sidMineStrike;
   647                                    Probability: 400;
   663                                    Probability: 400;
   648                                    NumberInCase: 1;
   664                                    NumberInCase: 1;
   657                                           AmmoType: amMineStrike);
   673                                           AmmoType: amMineStrike);
   658                                    Slot: 5;
   674                                    Slot: 5;
   659                                    TimeAfterTurn: 0;
   675                                    TimeAfterTurn: 0;
   660                                    minAngle: 0;
   676                                    minAngle: 0;
   661                                    maxAngle: 0;
   677                                    maxAngle: 0;
       
   678                                    isDamaging: true;
   662                                    PosCount: 2;
   679                                    PosCount: 2;
   663                                    PosSprite: sprAmAirplane),
   680                                    PosSprite: sprAmAirplane),
   664                                   (NameId: sidBlowTorch;
   681                                   (NameId: sidBlowTorch;
   665                                    Probability: 100;
   682                                    Probability: 100;
   666                                    NumberInCase: 2;
   683                                    NumberInCase: 2;
   672                                           AmmoType: amBlowTorch);
   689                                           AmmoType: amBlowTorch);
   673                                    Slot: 6;
   690                                    Slot: 6;
   674                                    TimeAfterTurn: 3000;
   691                                    TimeAfterTurn: 3000;
   675                                    minAngle: 768;
   692                                    minAngle: 768;
   676                                    maxAngle: 1280;
   693                                    maxAngle: 1280;
       
   694                                    isDamaging: false;
   677                                    PosCount: 1;
   695                                    PosCount: 1;
   678                                    PosSprite: sprWater),
   696                                    PosSprite: sprWater),
   679                                   (NameId: sidGirder;
   697                                   (NameId: sidGirder;
   680                                    Probability: 400;
   698                                    Probability: 400;
   681                                    NumberInCase: 3;
   699                                    NumberInCase: 3;
   690                                           AmmoType: amGirder);
   708                                           AmmoType: amGirder);
   691                                    Slot: 6;
   709                                    Slot: 6;
   692                                    TimeAfterTurn: 3000;
   710                                    TimeAfterTurn: 3000;
   693                                    minAngle: 0;
   711                                    minAngle: 0;
   694                                    maxAngle: 0;
   712                                    maxAngle: 0;
       
   713                                    isDamaging: false;
   695                                    PosCount: 8;
   714                                    PosCount: 8;
   696                                    PosSprite: sprAmGirder),
   715                                    PosSprite: sprAmGirder),
   697                                   (NameId: sidTeleport;
   716                                   (NameId: sidTeleport;
   698                                    Probability: 400;
   717                                    Probability: 400;
   699                                    NumberInCase: 1;
   718                                    NumberInCase: 1;
   709                                           AmmoType: amTeleport);
   728                                           AmmoType: amTeleport);
   710                                    Slot: 7;
   729                                    Slot: 7;
   711                                    TimeAfterTurn: 0;
   730                                    TimeAfterTurn: 0;
   712                                    minAngle: 0;
   731                                    minAngle: 0;
   713                                    maxAngle: 0;
   732                                    maxAngle: 0;
       
   733                                    isDamaging: false;
   714                                    PosCount: 1;
   734                                    PosCount: 1;
   715                                    PosSprite: sprWater),
   735                                    PosSprite: sprWater),
   716                                   (NameId: sidSwitch;
   736                                   (NameId: sidSwitch;
   717                                    Probability: 100;
   737                                    Probability: 100;
   718                                    NumberInCase: 1;
   738                                    NumberInCase: 1;
   726                                           AmmoType: amSwitch);
   746                                           AmmoType: amSwitch);
   727                                    Slot: 8;
   747                                    Slot: 8;
   728                                    TimeAfterTurn: 0;
   748                                    TimeAfterTurn: 0;
   729                                    minAngle: 0;
   749                                    minAngle: 0;
   730                                    maxAngle: 0;
   750                                    maxAngle: 0;
       
   751                                    isDamaging: false;
   731                                    PosCount: 1;
   752                                    PosCount: 1;
   732                                    PosSprite: sprWater));
   753                                    PosSprite: sprWater));
   733 
   754 
   734 implementation
   755 implementation
   735 
   756