hedgewars/uConsts.pas
changeset 553 5478386d935f
parent 547 b81a055f2d06
child 559 6083fffc9e2f
equal deleted inserted replaced
552:2167020d3bc0 553:5478386d935f
   171       ammoprop_NeedTarget   = $00000004;
   171       ammoprop_NeedTarget   = $00000004;
   172       ammoprop_ForwMsgs     = $00000008;
   172       ammoprop_ForwMsgs     = $00000008;
   173       ammoprop_AttackInMove = $00000010;
   173       ammoprop_AttackInMove = $00000010;
   174       ammoprop_NoCrosshair  = $00000040;
   174       ammoprop_NoCrosshair  = $00000040;
   175       ammoprop_AttackingPut = $00000080;
   175       ammoprop_AttackingPut = $00000080;
       
   176       ammoprop_DontHold     = $00000100;
   176       AMMO_INFINITE = High(LongWord);
   177       AMMO_INFINITE = High(LongWord);
   177 
   178 
   178       EXPLAllDamageInRadius = $00000001;
   179       EXPLAllDamageInRadius = $00000001;
   179       EXPLAutoSound         = $00000002;
   180       EXPLAutoSound         = $00000002;
   180       EXPLNoDamage          = $00000004;
   181       EXPLNoDamage          = $00000004;
   406                                    PosSprite: sprWater),
   407                                    PosSprite: sprWater),
   407                                   (NameId: sidUFO;
   408                                   (NameId: sidUFO;
   408                                    Probability: 100;
   409                                    Probability: 100;
   409                                    NumberInCase: 1;
   410                                    NumberInCase: 1;
   410                                    Ammo: (Propz: ammoprop_Power or
   411                                    Ammo: (Propz: ammoprop_Power or
   411                                                  ammoprop_NeedTarget;
   412                                                  ammoprop_NeedTarget or
       
   413                                                  ammoprop_DontHold;
   412                                           Count: 2;
   414                                           Count: 2;
   413                                           NumPerTurn: 0;
   415                                           NumPerTurn: 0;
   414                                           Timer: 0;
   416                                           Timer: 0;
   415                                           Pos: 0;
   417                                           Pos: 0;
   416                                           AmmoType: amUFO);
   418                                           AmmoType: amUFO);
   438                                   (NameId: sidPickHammer;
   440                                   (NameId: sidPickHammer;
   439                                    Probability: 0;
   441                                    Probability: 0;
   440                                    NumberInCase: 1;
   442                                    NumberInCase: 1;
   441                                    Ammo: (Propz: ammoprop_ForwMsgs or
   443                                    Ammo: (Propz: ammoprop_ForwMsgs or
   442                                                  ammoprop_AttackInMove or
   444                                                  ammoprop_AttackInMove or
   443                                                  ammoprop_NoCrosshair;
   445                                                  ammoprop_NoCrosshair or
       
   446                                                  ammoprop_DontHold;
   444                                           Count: 2;
   447                                           Count: 2;
   445                                           NumPerTurn: 0;
   448                                           NumPerTurn: 0;
   446                                           Timer: 0;
   449                                           Timer: 0;
   447                                           Pos: 0;
   450                                           Pos: 0;
   448                                           AmmoType: amPickHammer);
   451                                           AmmoType: amPickHammer);
   453                                    PosCount: 1;
   456                                    PosCount: 1;
   454                                    PosSprite: sprWater),
   457                                    PosSprite: sprWater),
   455                                   (NameId: sidSkip;
   458                                   (NameId: sidSkip;
   456                                    Probability: 0;
   459                                    Probability: 0;
   457                                    NumberInCase: 1;
   460                                    NumberInCase: 1;
   458                                    Ammo: (Propz: 0;
   461                                    Ammo: (Propz: ammoprop_DontHold;
   459                                           Count: AMMO_INFINITE;
   462                                           Count: AMMO_INFINITE;
   460                                           NumPerTurn: 0;
   463                                           NumPerTurn: 0;
   461                                           Timer: 0;
   464                                           Timer: 0;
   462                                           Pos: 0;
   465                                           Pos: 0;
   463                                           AmmoType: amSkip);
   466                                           AmmoType: amSkip);
   469                                    PosSprite: sprWater),
   472                                    PosSprite: sprWater),
   470                                   (NameId: sidRope;
   473                                   (NameId: sidRope;
   471                                    Probability: 100;
   474                                    Probability: 100;
   472                                    NumberInCase: 3;
   475                                    NumberInCase: 3;
   473                                    Ammo: (Propz: ammoprop_ForwMsgs or
   476                                    Ammo: (Propz: ammoprop_ForwMsgs or
   474                                                  ammoprop_AttackInMove;
   477                                                  ammoprop_AttackInMove or
       
   478                                                  ammoprop_DontHold;
   475                                           Count: 5;
   479                                           Count: 5;
   476                                           NumPerTurn: 0;
   480                                           NumPerTurn: 0;
   477                                           Timer: 0;
   481                                           Timer: 0;
   478                                           Pos: 0;
   482                                           Pos: 0;
   479                                           AmmoType: amRope);
   483                                           AmmoType: amRope);
   484                                    PosCount: 1;
   488                                    PosCount: 1;
   485                                    PosSprite: sprWater),
   489                                    PosSprite: sprWater),
   486                                   (NameId: sidMine;
   490                                   (NameId: sidMine;
   487                                    Probability: 100;
   491                                    Probability: 100;
   488                                    NumberInCase: 1;
   492                                    NumberInCase: 1;
   489                                    Ammo: (Propz: ammoprop_NoCrosshair;
   493                                    Ammo: (Propz: ammoprop_NoCrosshair or
       
   494                                                  ammoprop_DontHold;
   490                                           Count: 2;
   495                                           Count: 2;
   491                                           NumPerTurn: 0;
   496                                           NumPerTurn: 0;
   492                                           Timer: 0;
   497                                           Timer: 0;
   493                                           Pos: 0;
   498                                           Pos: 0;
   494                                           AmmoType: amMine);
   499                                           AmmoType: amMine);
   515                                    PosSprite: sprWater),
   520                                    PosSprite: sprWater),
   516                                   (NameId: sidDynamite;
   521                                   (NameId: sidDynamite;
   517                                    Probability: 100;
   522                                    Probability: 100;
   518                                    NumberInCase: 1;
   523                                    NumberInCase: 1;
   519                                    Ammo: (Propz: ammoprop_NoCrosshair or
   524                                    Ammo: (Propz: ammoprop_NoCrosshair or
   520                                                  ammoprop_AttackInMove;
   525                                                  ammoprop_AttackInMove or
       
   526                                                  ammoprop_DontHold;
   521                                           Count: 1;
   527                                           Count: 1;
   522                                           NumPerTurn: 0;
   528                                           NumPerTurn: 0;
   523                                           Timer: 0;
   529                                           Timer: 0;
   524                                           Pos: 0;
   530                                           Pos: 0;
   525                                           AmmoType: amDynamite);
   531                                           AmmoType: amDynamite);
   547                                    PosCount: 1;
   553                                    PosCount: 1;
   548                                    PosSprite: sprWater),
   554                                    PosSprite: sprWater),
   549                                   (NameId: sidBaseballBat;
   555                                   (NameId: sidBaseballBat;
   550                                    Probability: 100;
   556                                    Probability: 100;
   551                                    NumberInCase: 1;
   557                                    NumberInCase: 1;
   552                                    Ammo: (Propz: 0;
   558                                    Ammo: (Propz: ammoprop_DontHold;
   553                                           Count: 1;
   559                                           Count: 1;
   554                                           NumPerTurn: 0;
   560                                           NumPerTurn: 0;
   555                                           Timer: 0;
   561                                           Timer: 0;
   556                                           Pos: 0;
   562                                           Pos: 0;
   557                                           AmmoType: amBaseballBat);
   563                                           AmmoType: amBaseballBat);
   564                                   (NameId: sidParachute;
   570                                   (NameId: sidParachute;
   565                                    Probability: 100;
   571                                    Probability: 100;
   566                                    NumberInCase: 1;
   572                                    NumberInCase: 1;
   567                                    Ammo: (Propz: ammoprop_ForwMsgs or
   573                                    Ammo: (Propz: ammoprop_ForwMsgs or
   568                                                  ammoprop_AttackInMove or
   574                                                  ammoprop_AttackInMove or
   569                                                  ammoprop_NoCrosshair;
   575                                                  ammoprop_NoCrosshair or
       
   576                                                  ammoprop_DontHold;
   570                                           Count: 2;
   577                                           Count: 2;
   571                                           NumPerTurn: 0;
   578                                           NumPerTurn: 0;
   572                                           Timer: 0;
   579                                           Timer: 0;
   573                                           Pos: 0;
   580                                           Pos: 0;
   574                                           AmmoType: amParachute);
   581                                           AmmoType: amParachute);
   581                                   (NameId: sidAirAttack;
   588                                   (NameId: sidAirAttack;
   582                                    Probability: 100;
   589                                    Probability: 100;
   583                                    NumberInCase: 1;
   590                                    NumberInCase: 1;
   584                                    Ammo: (Propz: ammoprop_NoCrosshair or
   591                                    Ammo: (Propz: ammoprop_NoCrosshair or
   585                                                  ammoprop_NeedTarget or
   592                                                  ammoprop_NeedTarget or
   586                                                  ammoprop_AttackingPut;
   593                                                  ammoprop_AttackingPut or
       
   594                                                  ammoprop_DontHold;
   587                                           Count: 1;
   595                                           Count: 1;
   588                                           NumPerTurn: 0;
   596                                           NumPerTurn: 0;
   589                                           Timer: 0;
   597                                           Timer: 0;
   590                                           Pos: 0;
   598                                           Pos: 0;
   591                                           AmmoType: amAirAttack);
   599                                           AmmoType: amAirAttack);
   598                                   (NameId: sidMineStrike;
   606                                   (NameId: sidMineStrike;
   599                                    Probability: 400;
   607                                    Probability: 400;
   600                                    NumberInCase: 1;
   608                                    NumberInCase: 1;
   601                                    Ammo: (Propz: ammoprop_NoCrosshair or
   609                                    Ammo: (Propz: ammoprop_NoCrosshair or
   602                                                  ammoprop_NeedTarget or
   610                                                  ammoprop_NeedTarget or
   603                                                  ammoprop_AttackingPut;
   611                                                  ammoprop_AttackingPut or
       
   612                                                  ammoprop_DontHold;
   604                                           Count: 1;
   613                                           Count: 1;
   605                                           NumPerTurn: 0;
   614                                           NumPerTurn: 0;
   606                                           Timer: 0;
   615                                           Timer: 0;
   607                                           Pos: 0;
   616                                           Pos: 0;
   608                                           AmmoType: amMineStrike);
   617                                           AmmoType: amMineStrike);
   630                                   (NameId: sidGirder;
   639                                   (NameId: sidGirder;
   631                                    Probability: 400;
   640                                    Probability: 400;
   632                                    NumberInCase: 3;
   641                                    NumberInCase: 3;
   633                                    Ammo: (Propz: ammoprop_NoCrosshair or
   642                                    Ammo: (Propz: ammoprop_NoCrosshair or
   634                                                  ammoprop_NeedTarget or
   643                                                  ammoprop_NeedTarget or
   635                                                  ammoprop_AttackingPut;
   644                                                  ammoprop_AttackingPut or
       
   645                                                  ammoprop_DontHold;
   636                                           Count: 1;
   646                                           Count: 1;
   637                                           NumPerTurn: 0;
   647                                           NumPerTurn: 0;
   638                                           Timer: 0;
   648                                           Timer: 0;
   639                                           Pos: 0;
   649                                           Pos: 0;
   640                                           AmmoType: amGirder);
   650                                           AmmoType: amGirder);
   648                                    Probability: 400;
   658                                    Probability: 400;
   649                                    NumberInCase: 1;
   659                                    NumberInCase: 1;
   650                                    Ammo: (Propz: ammoprop_ForwMsgs or
   660                                    Ammo: (Propz: ammoprop_ForwMsgs or
   651                                                  ammoprop_NoCrosshair or
   661                                                  ammoprop_NoCrosshair or
   652                                                  ammoprop_NeedTarget or
   662                                                  ammoprop_NeedTarget or
   653                                                  ammoprop_AttackingPut;
   663                                                  ammoprop_AttackingPut or
       
   664                                                  ammoprop_DontHold;
   654                                           Count: 2;
   665                                           Count: 2;
   655                                           NumPerTurn: 0;
   666                                           NumPerTurn: 0;
   656                                           Timer: 0;
   667                                           Timer: 0;
   657                                           Pos: 0;
   668                                           Pos: 0;
   658                                           AmmoType: amTeleport);
   669                                           AmmoType: amTeleport);
   664                                    PosSprite: sprWater),
   675                                    PosSprite: sprWater),
   665                                   (NameId: sidSwitch;
   676                                   (NameId: sidSwitch;
   666                                    Probability: 100;
   677                                    Probability: 100;
   667                                    NumberInCase: 1;
   678                                    NumberInCase: 1;
   668                                    Ammo: (Propz: ammoprop_ForwMsgs or
   679                                    Ammo: (Propz: ammoprop_ForwMsgs or
   669                                                  ammoprop_NoCrosshair;
   680                                                  ammoprop_NoCrosshair or
       
   681                                                  ammoprop_DontHold;
   670                                           Count: 3;
   682                                           Count: 3;
   671                                           NumPerTurn: 0;
   683                                           NumPerTurn: 0;
   672                                           Timer: 0;
   684                                           Timer: 0;
   673                                           Pos: 0;
   685                                           Pos: 0;
   674                                           AmmoType: amSwitch);
   686                                           AmmoType: amSwitch);