hedgewars/uConsts.pas
changeset 2716 b9ca1bfca24f
parent 2715 0e4e0db79e2a
child 2726 a84fc5113d01
equal deleted inserted replaced
2715:0e4e0db79e2a 2716:b9ca1bfca24f
   265 	cShotgunRadius = 22;
   265 	cShotgunRadius = 22;
   266 	cBlowTorchC    = 6;
   266 	cBlowTorchC    = 6;
   267 
   267 
   268 	cKeyMaxIndex = 1023;
   268 	cKeyMaxIndex = 1023;
   269 
   269 
       
   270 {$IFDEF IPHONEOS}
       
   271 	cMaxCaptions = 3;
       
   272 {$ELSE}
   270 	cMaxCaptions = 4;
   273 	cMaxCaptions = 4;
       
   274 {$ENDIF}
   271 
   275 
   272 	cSendEmptyPacketTime = 1000;
   276 	cSendEmptyPacketTime = 1000;
   273 
   277 
   274 	// from uTriggers
   278 	// from uTriggers
   275 	trigTurns = $80000001;
   279 	trigTurns = $80000001;
   374 	cCHFileName = 'Crosshair';
   378 	cCHFileName = 'Crosshair';
   375 	cThemeCFGFilename = 'theme.cfg';
   379 	cThemeCFGFilename = 'theme.cfg';
   376 	
   380 	
   377 	FontBorder = 2;
   381 	FontBorder = 2;
   378 var	PathPrefix: string;
   382 var	PathPrefix: string;
       
   383 	Pathz: array[TPathType] of String;
       
   384 	CountTexz: array[1..Pred(AMMO_INFINITE)] of PTexture;
   379 
   385 
   380 const	cTagsMasks : array[0..7] of byte = (
   386 const	cTagsMasks : array[0..7] of byte = (
   381 				htTeamName or htName or htHealth,
   387 				htTeamName or htName or htHealth,
   382 				htName or htHealth,
   388 				htName or htHealth,
   383 				htHealth,
   389 				htHealth,
   413 			Height: 10;
   419 			Height: 10;
   414 			style: TTF_STYLE_NORMAL;
   420 			style: TTF_STYLE_NORMAL;
   415 			Name: 'DroidSansFallback.ttf')
   421 			Name: 'DroidSansFallback.ttf')
   416 			);
   422 			);
   417 
   423 
   418 var	Pathz: array[TPathType] of String;
   424 	SpritesData: array[TSprite] of record
   419 	
       
   420 const	SpritesData: array[TSprite] of record
       
   421 			FileName: String[14];
   425 			FileName: String[14];
   422 			Path, AltPath: TPathType;
   426 			Path, AltPath: TPathType;
   423 			Texture: PTexture;
   427 			Texture: PTexture;
   424 			Surface: PSDL_Surface;
   428 			Surface: PSDL_Surface;
   425 			Width, Height, imageWidth, imageHeight: LongInt;
   429 			Width, Height, imageWidth, imageHeight: LongInt;
   758 			end = (
   762 			end = (
   759 			(NameId: sidNothing;
   763 			(NameId: sidNothing;
   760 			NameTex: nil;
   764 			NameTex: nil;
   761 			Probability: 0;
   765 			Probability: 0;
   762 			NumberInCase: 0;
   766 			NumberInCase: 0;
   763 			Ammo: (Propz: ammoprop_NoCrosshair or
   767 			Ammo: (Propz: ammoprop_NoCrosshair or ammoprop_DontHold or ammoprop_Utility;
   764 						  ammoprop_DontHold or
   768 				Count: AMMO_INFINITE;
   765                           ammoprop_Utility;
   769 				NumPerTurn: 0;
   766 					Count: AMMO_INFINITE;
   770 				Timer: 0;
   767 					NumPerTurn: 0;
   771 				Pos: 0;
   768 					Timer: 0;
   772 				AmmoType: amNothing;
   769 					Pos: 0;
   773 				AttackVoice: sndNone);
   770 					AmmoType: amNothing;
       
   771 					AttackVoice: sndNone);
       
   772 			Slot: 0;
   774 			Slot: 0;
   773 			TimeAfterTurn: 0;
   775 			TimeAfterTurn: 0;
   774 			minAngle: 0;
   776 			minAngle: 0;
   775 			maxAngle: 0;
   777 			maxAngle: 0;
   776 			isDamaging: false;
   778 			isDamaging: false;
   779 			PosSprite: sprWater),
   781 			PosSprite: sprWater),
   780 			(NameId: sidGrenade;
   782 			(NameId: sidGrenade;
   781 			NameTex: nil;
   783 			NameTex: nil;
   782 			Probability: 0;
   784 			Probability: 0;
   783 			NumberInCase: 1;
   785 			NumberInCase: 1;
   784 			Ammo: (Propz: ammoprop_Timerable or
   786 			Ammo: (Propz: ammoprop_Timerable or ammoprop_Power or ammoprop_AltUse;
   785 							ammoprop_Power or
   787 				Count: AMMO_INFINITE;
   786 							ammoprop_AltUse;
   788 				NumPerTurn: 0;
   787 					Count: AMMO_INFINITE;
   789 				Timer: 3000;
   788 					NumPerTurn: 0;
   790 				Pos: 0;
   789 					Timer: 3000;
   791 				AmmoType: amGrenade;
   790 					Pos: 0;
   792 				AttackVoice: sndCover);
   791 					AmmoType: amGrenade;
       
   792 					AttackVoice: sndCover);
       
   793 			Slot: 1;
   793 			Slot: 1;
   794 			TimeAfterTurn: 3000;
   794 			TimeAfterTurn: 3000;
   795 			minAngle: 0;
   795 			minAngle: 0;
   796 			maxAngle: 0;
   796 			maxAngle: 0;
   797 			isDamaging: true;
   797 			isDamaging: true;
   800 			PosSprite: sprWater),
   800 			PosSprite: sprWater),
   801 			(NameId: sidClusterBomb;
   801 			(NameId: sidClusterBomb;
   802 			NameTex: nil;
   802 			NameTex: nil;
   803 			Probability: 100;
   803 			Probability: 100;
   804 			NumberInCase: 3;
   804 			NumberInCase: 3;
   805 			Ammo: (Propz: ammoprop_Timerable or
   805 			Ammo: (Propz: ammoprop_Timerable or ammoprop_Power or ammoprop_AltUse;
   806 							ammoprop_Power or
   806 				Count: 5;
   807 							ammoprop_AltUse;
   807 				NumPerTurn: 0;
   808 					Count: 5;
   808 				Timer: 3000;
   809 					NumPerTurn: 0;
   809 				Pos: 0;
   810 					Timer: 3000;
   810 				AmmoType: amClusterBomb;
   811 					Pos: 0;
   811 				AttackVoice: sndCover);
   812 					AmmoType: amClusterBomb;
       
   813 					AttackVoice: sndCover);
       
   814 			Slot: 1;
   812 			Slot: 1;
   815 			TimeAfterTurn: 3000;
   813 			TimeAfterTurn: 3000;
   816 			minAngle: 0;
   814 			minAngle: 0;
   817 			maxAngle: 0;
   815 			maxAngle: 0;
   818 			isDamaging: true;
   816 			isDamaging: true;
   821 			PosSprite: sprWater),
   819 			PosSprite: sprWater),
   822 			(NameId: sidBazooka;
   820 			(NameId: sidBazooka;
   823 			NameTex: nil;
   821 			NameTex: nil;
   824 			Probability: 0;
   822 			Probability: 0;
   825 			NumberInCase: 1;
   823 			NumberInCase: 1;
   826 			Ammo: (Propz: ammoprop_Power or
   824 			Ammo: (Propz: ammoprop_Power or ammoprop_AltUse;
   827 							ammoprop_AltUse;
   825 				Count: AMMO_INFINITE;
   828 					Count: AMMO_INFINITE;
   826 				NumPerTurn: 0;
   829 					NumPerTurn: 0;
   827 				Timer: 0;
   830 					Timer: 0;
   828 				Pos: 0;
   831 					Pos: 0;
   829 				AmmoType: amBazooka;
   832 					AmmoType: amBazooka;
   830 				AttackVoice: sndNone);
   833 					AttackVoice: sndNone);
       
   834 			Slot: 0;
   831 			Slot: 0;
   835 			TimeAfterTurn: 3000;
   832 			TimeAfterTurn: 3000;
   836 			minAngle: 0;
   833 			minAngle: 0;
   837 			maxAngle: 0;
   834 			maxAngle: 0;
   838 			isDamaging: true;
   835 			isDamaging: true;
   841 			PosSprite: sprWater),
   838 			PosSprite: sprWater),
   842 			(NameId: sidUFO;
   839 			(NameId: sidUFO;
   843 			NameTex: nil;
   840 			NameTex: nil;
   844 			Probability: 100;
   841 			Probability: 100;
   845 			NumberInCase: 1;
   842 			NumberInCase: 1;
   846 			Ammo: (Propz: ammoprop_Power or
   843 			Ammo: (Propz: ammoprop_Power or	ammoprop_NeedTarget or ammoprop_DontHold;
   847 							ammoprop_NeedTarget or
   844 				Count: 2;
   848 							ammoprop_DontHold;
   845 				NumPerTurn: 0;
   849 					Count: 2;
   846 				Timer: 0;
   850 					NumPerTurn: 0;
   847 				Pos: 0;
   851 					Timer: 0;
   848 				AmmoType: amUFO;
   852 					Pos: 0;
   849 				AttackVoice: sndNone);
   853 					AmmoType: amUFO;
       
   854 					AttackVoice: sndNone);
       
   855 			Slot: 0;
   850 			Slot: 0;
   856 			TimeAfterTurn: 3000;
   851 			TimeAfterTurn: 3000;
   857 			minAngle: 0;
   852 			minAngle: 0;
   858 			maxAngle: 0;
   853 			maxAngle: 0;
   859 			isDamaging: true;
   854 			isDamaging: true;
   863 			(NameId: sidShotgun;
   858 			(NameId: sidShotgun;
   864 			NameTex: nil;
   859 			NameTex: nil;
   865 			Probability: 0;
   860 			Probability: 0;
   866 			NumberInCase: 1;
   861 			NumberInCase: 1;
   867 			Ammo: (Propz: ammoprop_ForwMsgs;
   862 			Ammo: (Propz: ammoprop_ForwMsgs;
   868 					Count: AMMO_INFINITE;
   863 				Count: AMMO_INFINITE;
   869 					NumPerTurn: 1;
   864 				NumPerTurn: 1;
   870 					Timer: 0;
   865 				Timer: 0;
   871 					Pos: 0;
   866 				Pos: 0;
   872 					AmmoType: amShotgun;
   867 				AmmoType: amShotgun;
   873 					AttackVoice: sndNone);
   868 				AttackVoice: sndNone);
   874 			Slot: 2;
   869 			Slot: 2;
   875 			TimeAfterTurn: 3000;
   870 			TimeAfterTurn: 3000;
   876 			minAngle: 0;
   871 			minAngle: 0;
   877 			maxAngle: 0;
   872 			maxAngle: 0;
   878 			isDamaging: true;
   873 			isDamaging: true;
   881 			PosSprite: sprWater),
   876 			PosSprite: sprWater),
   882 			(NameId: sidPickHammer;
   877 			(NameId: sidPickHammer;
   883 			NameTex: nil;
   878 			NameTex: nil;
   884 			Probability: 0;
   879 			Probability: 0;
   885 			NumberInCase: 1;
   880 			NumberInCase: 1;
   886 			Ammo: (Propz: ammoprop_ForwMsgs or
   881 			Ammo: (Propz: ammoprop_ForwMsgs or ammoprop_AttackInMove or ammoprop_NoCrosshair or ammoprop_DontHold;
   887 							ammoprop_AttackInMove or
   882 				Count: 2;
   888 							ammoprop_NoCrosshair or
   883 				NumPerTurn: 0;
   889 							ammoprop_DontHold;
   884 				Timer: 0;
   890 					Count: 2;
   885 				Pos: 0;
   891 					NumPerTurn: 0;
   886 				AmmoType: amPickHammer;
   892 					Timer: 0;
   887 				AttackVoice: sndNone);
   893 					Pos: 0;
       
   894 					AmmoType: amPickHammer;
       
   895 					AttackVoice: sndNone);
       
   896 			Slot: 6;
   888 			Slot: 6;
   897 			TimeAfterTurn: 0;
   889 			TimeAfterTurn: 0;
   898 			minAngle: 0;
   890 			minAngle: 0;
   899 			maxAngle: 0;
   891 			maxAngle: 0;
   900 			isDamaging: false;
   892 			isDamaging: false;
   903 			PosSprite: sprWater),
   895 			PosSprite: sprWater),
   904 			(NameId: sidSkip;
   896 			(NameId: sidSkip;
   905 			NameTex: nil;
   897 			NameTex: nil;
   906 			Probability: 0;
   898 			Probability: 0;
   907 			NumberInCase: 1;
   899 			NumberInCase: 1;
   908 			Ammo: (Propz: ammoprop_NoCrosshair or
   900 			Ammo: (Propz: ammoprop_NoCrosshair or ammoprop_DontHold;
   909 							ammoprop_DontHold;
   901 				Count: AMMO_INFINITE;
   910 					Count: AMMO_INFINITE;
   902 				NumPerTurn: 0;
   911 					NumPerTurn: 0;
   903 				Timer: 0;
   912 					Timer: 0;
   904 				Pos: 0;
   913 					Pos: 0;
   905 				AmmoType: amSkip;
   914 					AmmoType: amSkip;
   906 				AttackVoice: sndNone);
   915 					AttackVoice: sndNone);
       
   916 			Slot: 8;
   907 			Slot: 8;
   917 			TimeAfterTurn: 0;
   908 			TimeAfterTurn: 0;
   918 			minAngle: 0;
   909 			minAngle: 0;
   919 			maxAngle: 0;
   910 			maxAngle: 0;
   920 			isDamaging: false;
   911 			isDamaging: false;
   923 			PosSprite: sprWater),
   914 			PosSprite: sprWater),
   924 			(NameId: sidRope;
   915 			(NameId: sidRope;
   925 			NameTex: nil;
   916 			NameTex: nil;
   926 			Probability: 100;
   917 			Probability: 100;
   927 			NumberInCase: 3;
   918 			NumberInCase: 3;
   928 			Ammo: (Propz: ammoprop_ForwMsgs or
   919 			Ammo: (Propz: ammoprop_ForwMsgs or ammoprop_AttackInMove or ammoprop_AltAttack;
   929 							ammoprop_AttackInMove or
   920 				Count: 5;
   930 							ammoprop_AltAttack;
   921 				NumPerTurn: 0;
   931 					Count: 5;
   922 				Timer: 0;
   932 					NumPerTurn: 0;
   923 				Pos: 0;
   933 					Timer: 0;
   924 				AmmoType: amRope;
   934 					Pos: 0;
   925 				AttackVoice: sndNone);
   935 					AmmoType: amRope;
       
   936 					AttackVoice: sndNone);
       
   937 			Slot: 7;
   926 			Slot: 7;
   938 			TimeAfterTurn: 0;
   927 			TimeAfterTurn: 0;
   939 			minAngle: 0;
   928 			minAngle: 0;
   940 			maxAngle: cMaxAngle div 2;
   929 			maxAngle: cMaxAngle div 2;
   941 			isDamaging: false;
   930 			isDamaging: false;
   944 			PosSprite: sprWater),
   933 			PosSprite: sprWater),
   945 			(NameId: sidMine;
   934 			(NameId: sidMine;
   946 			NameTex: nil;
   935 			NameTex: nil;
   947 			Probability: 100;
   936 			Probability: 100;
   948 			NumberInCase: 1;
   937 			NumberInCase: 1;
   949 			Ammo: (Propz: ammoprop_NoCrosshair or
   938 			Ammo: (Propz: ammoprop_NoCrosshair or ammoprop_AttackInMove or ammoprop_DontHold or ammoprop_AltUse;
   950 							ammoprop_AttackInMove or
   939 				Count: 2;
   951 							ammoprop_DontHold or
   940 				NumPerTurn: 0;
   952 							ammoprop_AltUse;
   941 				Timer: 0;
   953 					Count: 2;
   942 				Pos: 0;
   954 					NumPerTurn: 0;
   943 				AmmoType: amMine;
   955 					Timer: 0;
   944 				AttackVoice: sndLaugh);
   956 					Pos: 0;
       
   957 					AmmoType: amMine;
       
   958 					AttackVoice: sndLaugh);
       
   959 			Slot: 4;
   945 			Slot: 4;
   960 			TimeAfterTurn: 5000;
   946 			TimeAfterTurn: 5000;
   961 			minAngle: 0;
   947 			minAngle: 0;
   962 			maxAngle: 0;
   948 			maxAngle: 0;
   963 			isDamaging: true;
   949 			isDamaging: true;
   967 			(NameId: sidDEagle;
   953 			(NameId: sidDEagle;
   968 			NameTex: nil;
   954 			NameTex: nil;
   969 			Probability: 20;
   955 			Probability: 20;
   970 			NumberInCase: 2;
   956 			NumberInCase: 2;
   971 			Ammo: (Propz: 0;
   957 			Ammo: (Propz: 0;
   972 					Count: 3;
   958 				Count: 3;
   973 					NumPerTurn: 3;
   959 				NumPerTurn: 3;
   974 					Timer: 0;
   960 				Timer: 0;
   975 					Pos: 0;
   961 				Pos: 0;
   976 					AmmoType: amDEagle;
   962 				AmmoType: amDEagle;
   977 					AttackVoice: sndNone);
   963 				AttackVoice: sndNone);
   978 			Slot: 2;
   964 			Slot: 2;
   979 			TimeAfterTurn: 3000;
   965 			TimeAfterTurn: 3000;
   980 			minAngle: 0;
   966 			minAngle: 0;
   981 			maxAngle: 0;
   967 			maxAngle: 0;
   982 			isDamaging: true;
   968 			isDamaging: true;
   985 			PosSprite: sprWater),
   971 			PosSprite: sprWater),
   986 			(NameId: sidDynamite;
   972 			(NameId: sidDynamite;
   987 			NameTex: nil;
   973 			NameTex: nil;
   988 			Probability: 100;
   974 			Probability: 100;
   989 			NumberInCase: 1;
   975 			NumberInCase: 1;
   990 			Ammo: (Propz: ammoprop_NoCrosshair or
   976 			Ammo: (Propz: ammoprop_NoCrosshair or ammoprop_AttackInMove or ammoprop_DontHold or ammoprop_AltUse;
   991 							ammoprop_AttackInMove or
   977 				Count: 1;
   992 							ammoprop_DontHold or
   978 				NumPerTurn: 0;
   993 							ammoprop_AltUse;
   979 				Timer: 0;
   994 					Count: 1;
   980 				Pos: 0;
   995 					NumPerTurn: 0;
   981 				AmmoType: amDynamite;
   996 					Timer: 0;
   982 				AttackVoice: sndLaugh);
   997 					Pos: 0;
       
   998 					AmmoType: amDynamite;
       
   999 					AttackVoice: sndLaugh);
       
  1000 			Slot: 4;
   983 			Slot: 4;
  1001 			TimeAfterTurn: 5000;
   984 			TimeAfterTurn: 5000;
  1002 			minAngle: 0;
   985 			minAngle: 0;
  1003 			maxAngle: 0;
   986 			maxAngle: 0;
  1004 			isDamaging: true;
   987 			isDamaging: true;
  1007 			PosSprite: sprWater),
   990 			PosSprite: sprWater),
  1008 			(NameId: sidFirePunch;
   991 			(NameId: sidFirePunch;
  1009 			NameTex: nil;
   992 			NameTex: nil;
  1010 			Probability: 0;
   993 			Probability: 0;
  1011 			NumberInCase: 1;
   994 			NumberInCase: 1;
  1012 			Ammo: (Propz: ammoprop_NoCrosshair or
   995 			Ammo: (Propz: ammoprop_NoCrosshair or ammoprop_ForwMsgs or ammoprop_AttackInMove;
  1013 							ammoprop_ForwMsgs or
   996 				Count: AMMO_INFINITE;
  1014 							ammoprop_AttackInMove;
   997 				NumPerTurn: 0;
  1015 					Count: AMMO_INFINITE;
   998 				Timer: 0;
  1016 					NumPerTurn: 0;
   999 				Pos: 0;
  1017 					Timer: 0;
  1000 				AmmoType: amFirePunch;
  1018 					Pos: 0;
  1001 				AttackVoice: sndNone);
  1019 					AmmoType: amFirePunch;
       
  1020 					AttackVoice: sndNone);
       
  1021 			Slot: 3;
  1002 			Slot: 3;
  1022 			TimeAfterTurn: 3000;
  1003 			TimeAfterTurn: 3000;
  1023 			MinAngle: 0;
  1004 			MinAngle: 0;
  1024 			maxAngle: 0;
  1005 			maxAngle: 0;
  1025 			isDamaging: true;
  1006 			isDamaging: true;
  1029 			(NameId: sidWhip;
  1010 			(NameId: sidWhip;
  1030 			NameTex: nil;
  1011 			NameTex: nil;
  1031 			Probability: 0;
  1012 			Probability: 0;
  1032 			NumberInCase: 1;
  1013 			NumberInCase: 1;
  1033 			Ammo: (Propz: ammoprop_NoCrosshair;
  1014 			Ammo: (Propz: ammoprop_NoCrosshair;
  1034 					Count: AMMO_INFINITE;
  1015 				Count: AMMO_INFINITE;
  1035 					NumPerTurn: 0;
  1016 				NumPerTurn: 0;
  1036 					Timer: 0;
  1017 				Timer: 0;
  1037 					Pos: 0;
  1018 				Pos: 0;
  1038 					AmmoType: amWhip;
  1019 				AmmoType: amWhip;
  1039 					AttackVoice: sndNone);
  1020 				AttackVoice: sndNone);
  1040 			Slot: 3;
  1021 			Slot: 3;
  1041 			TimeAfterTurn: 3000;
  1022 			TimeAfterTurn: 3000;
  1042 			MinAngle: 0;
  1023 			MinAngle: 0;
  1043 			maxAngle: 0;
  1024 			maxAngle: 0;
  1044 			isDamaging: true;
  1025 			isDamaging: true;
  1048 			(NameId: sidBaseballBat;
  1029 			(NameId: sidBaseballBat;
  1049 			NameTex: nil;
  1030 			NameTex: nil;
  1050 			Probability: 100;
  1031 			Probability: 100;
  1051 			NumberInCase: 1;
  1032 			NumberInCase: 1;
  1052 			Ammo: (Propz: ammoprop_DontHold;
  1033 			Ammo: (Propz: ammoprop_DontHold;
  1053 					Count: 1;
  1034 				Count: 1;
  1054 					NumPerTurn: 0;
  1035 				NumPerTurn: 0;
  1055 					Timer: 0;
  1036 				Timer: 0;
  1056 					Pos: 0;
  1037 				Pos: 0;
  1057 					AmmoType: amBaseballBat;
  1038 				AmmoType: amBaseballBat;
  1058 					AttackVoice: sndNone);
  1039 				AttackVoice: sndNone);
  1059 			Slot: 3;
  1040 			Slot: 3;
  1060 			TimeAfterTurn: 5000;
  1041 			TimeAfterTurn: 5000;
  1061 			minAngle: 0;
  1042 			minAngle: 0;
  1062 			maxAngle: cMaxAngle div 2;
  1043 			maxAngle: cMaxAngle div 2;
  1063 			isDamaging: true;
  1044 			isDamaging: true;
  1071 			Ammo: (Propz: ammoprop_ForwMsgs or
  1052 			Ammo: (Propz: ammoprop_ForwMsgs or
  1072 							ammoprop_AttackInMove or
  1053 							ammoprop_AttackInMove or
  1073 							ammoprop_NoCrosshair or
  1054 							ammoprop_NoCrosshair or
  1074 							ammoprop_DontHold or
  1055 							ammoprop_DontHold or
  1075 							ammoprop_AltAttack;
  1056 							ammoprop_AltAttack;
  1076 					Count: 2;
  1057 				Count: 2;
  1077 					NumPerTurn: 0;
  1058 				NumPerTurn: 0;
  1078 					Timer: 0;
  1059 				Timer: 0;
  1079 					Pos: 0;
  1060 				Pos: 0;
  1080 					AmmoType: amParachute;
  1061 				AmmoType: amParachute;
  1081 					AttackVoice: sndNone);
  1062 				AttackVoice: sndNone);
  1082 			Slot: 7;
  1063 			Slot: 7;
  1083 			TimeAfterTurn: 0;
  1064 			TimeAfterTurn: 0;
  1084 			minAngle: 0;
  1065 			minAngle: 0;
  1085 			maxAngle: 0;
  1066 			maxAngle: 0;
  1086 			isDamaging: false;
  1067 			isDamaging: false;
  1094 			Ammo: (Propz: ammoprop_NoCrosshair or
  1075 			Ammo: (Propz: ammoprop_NoCrosshair or
  1095 							ammoprop_NeedTarget or
  1076 							ammoprop_NeedTarget or
  1096 							ammoprop_AttackingPut or
  1077 							ammoprop_AttackingPut or
  1097 							ammoprop_DontHold or
  1078 							ammoprop_DontHold or
  1098 							ammoprop_NotBorder;
  1079 							ammoprop_NotBorder;
  1099 					Count: 1;
  1080 				Count: 1;
  1100 					NumPerTurn: 0;
  1081 				NumPerTurn: 0;
  1101 					Timer: 0;
  1082 				Timer: 0;
  1102 					Pos: 0;
  1083 				Pos: 0;
  1103 					AmmoType: amAirAttack;
  1084 				AmmoType: amAirAttack;
  1104 					AttackVoice: sndIncoming);
  1085 				AttackVoice: sndIncoming);
  1105 			Slot: 5;
  1086 			Slot: 5;
  1106 			TimeAfterTurn: 0;
  1087 			TimeAfterTurn: 0;
  1107 			minAngle: 0;
  1088 			minAngle: 0;
  1108 			maxAngle: 0;
  1089 			maxAngle: 0;
  1109 			isDamaging: true;
  1090 			isDamaging: true;
  1117 			Ammo: (Propz: ammoprop_NoCrosshair or
  1098 			Ammo: (Propz: ammoprop_NoCrosshair or
  1118 							ammoprop_NeedTarget or
  1099 							ammoprop_NeedTarget or
  1119 							ammoprop_AttackingPut or
  1100 							ammoprop_AttackingPut or
  1120 							ammoprop_DontHold or
  1101 							ammoprop_DontHold or
  1121 							ammoprop_NotBorder;
  1102 							ammoprop_NotBorder;
  1122 					Count: 1;
  1103 				Count: 1;
  1123 					NumPerTurn: 0;
  1104 				NumPerTurn: 0;
  1124 					Timer: 0;
  1105 				Timer: 0;
  1125 					Pos: 0;
  1106 				Pos: 0;
  1126 					AmmoType: amMineStrike;
  1107 				AmmoType: amMineStrike;
  1127 					AttackVoice: sndNone);
  1108 				AttackVoice: sndNone);
  1128 			Slot: 5;
  1109 			Slot: 5;
  1129 			TimeAfterTurn: 0;
  1110 			TimeAfterTurn: 0;
  1130 			minAngle: 0;
  1111 			minAngle: 0;
  1131 			maxAngle: 0;
  1112 			maxAngle: 0;
  1132 			isDamaging: true;
  1113 			isDamaging: true;
  1136 			(NameId: sidBlowTorch;
  1117 			(NameId: sidBlowTorch;
  1137 			NameTex: nil;
  1118 			NameTex: nil;
  1138 			Probability: 100;
  1119 			Probability: 100;
  1139 			NumberInCase: 2;
  1120 			NumberInCase: 2;
  1140 			Ammo: (Propz: ammoprop_ForwMsgs;
  1121 			Ammo: (Propz: ammoprop_ForwMsgs;
  1141 					Count: 1;
  1122 				Count: 1;
  1142 					NumPerTurn: 0;
  1123 				NumPerTurn: 0;
  1143 					Timer: 0;
  1124 				Timer: 0;
  1144 					Pos: 0;
  1125 				Pos: 0;
  1145 					AmmoType: amBlowTorch;
  1126 				AmmoType: amBlowTorch;
  1146 					AttackVoice: sndNone);
  1127 				AttackVoice: sndNone);
  1147 			Slot: 6;
  1128 			Slot: 6;
  1148 			TimeAfterTurn: 3000;
  1129 			TimeAfterTurn: 3000;
  1149 			minAngle: 768;
  1130 			minAngle: 768;
  1150 			maxAngle: 1280;
  1131 			maxAngle: 1280;
  1151 			isDamaging: false;
  1132 			isDamaging: false;
  1154 			PosSprite: sprWater),
  1135 			PosSprite: sprWater),
  1155 			(NameId: sidGirder;
  1136 			(NameId: sidGirder;
  1156 			NameTex: nil;
  1137 			NameTex: nil;
  1157 			Probability: 150;
  1138 			Probability: 150;
  1158 			NumberInCase: 3;
  1139 			NumberInCase: 3;
  1159 			Ammo: (Propz: ammoprop_NoCrosshair or
  1140 			Ammo: (Propz: ammoprop_NoCrosshair or ammoprop_NeedTarget or ammoprop_AttackingPut;
  1160 							ammoprop_NeedTarget or
  1141 				Count: 1;
  1161 							ammoprop_AttackingPut;
  1142 				NumPerTurn: 0;
  1162 					Count: 1;
  1143 				Timer: 0;
  1163 					NumPerTurn: 0;
  1144 				Pos: 0;
  1164 					Timer: 0;
  1145 				AmmoType: amGirder;
  1165 					Pos: 0;
  1146 				AttackVoice: sndNone);
  1166 					AmmoType: amGirder;
       
  1167 					AttackVoice: sndNone);
       
  1168 			Slot: 6;
  1147 			Slot: 6;
  1169 			TimeAfterTurn: 3000;
  1148 			TimeAfterTurn: 3000;
  1170 			minAngle: 0;
  1149 			minAngle: 0;
  1171 			maxAngle: 0;
  1150 			maxAngle: 0;
  1172 			isDamaging: false;
  1151 			isDamaging: false;
  1180 			Ammo: (Propz: ammoprop_ForwMsgs or
  1159 			Ammo: (Propz: ammoprop_ForwMsgs or
  1181 							ammoprop_NoCrosshair or
  1160 							ammoprop_NoCrosshair or
  1182 							ammoprop_NeedTarget or
  1161 							ammoprop_NeedTarget or
  1183 							ammoprop_AttackingPut or
  1162 							ammoprop_AttackingPut or
  1184 							ammoprop_DontHold;
  1163 							ammoprop_DontHold;
  1185 					Count: 2;
  1164 				Count: 2;
  1186 					NumPerTurn: 0;
  1165 				NumPerTurn: 0;
  1187 					Timer: 0;
  1166 				Timer: 0;
  1188 					Pos: 0;
  1167 				Pos: 0;
  1189 					AmmoType: amTeleport;
  1168 				AmmoType: amTeleport;
  1190 					AttackVoice: sndNone);
  1169 				AttackVoice: sndNone);
  1191 			Slot: 7;
  1170 			Slot: 7;
  1192 			TimeAfterTurn: 0;
  1171 			TimeAfterTurn: 0;
  1193 			minAngle: 0;
  1172 			minAngle: 0;
  1194 			maxAngle: 0;
  1173 			maxAngle: 0;
  1195 			isDamaging: false;
  1174 			isDamaging: false;
  1198 			PosSprite: sprWater),
  1177 			PosSprite: sprWater),
  1199 			(NameId: sidSwitch;
  1178 			(NameId: sidSwitch;
  1200 			NameTex: nil;
  1179 			NameTex: nil;
  1201 			Probability: 100;
  1180 			Probability: 100;
  1202 			NumberInCase: 1;
  1181 			NumberInCase: 1;
  1203 			Ammo: (Propz: ammoprop_ForwMsgs or
  1182 			Ammo: (Propz: ammoprop_ForwMsgs or ammoprop_NoCrosshair or ammoprop_DontHold;
  1204 							ammoprop_NoCrosshair or
  1183 				Count: 3;
  1205 							ammoprop_DontHold;
  1184 				NumPerTurn: 0;
  1206 					Count: 3;
  1185 				Timer: 0;
  1207 					NumPerTurn: 0;
  1186 				Pos: 0;
  1208 					Timer: 0;
  1187 				AmmoType: amSwitch;
  1209 					Pos: 0;
  1188 				AttackVoice: sndNone);
  1210 					AmmoType: amSwitch;
       
  1211 					AttackVoice: sndNone);
       
  1212 			Slot: 8;
  1189 			Slot: 8;
  1213 			TimeAfterTurn: 0;
  1190 			TimeAfterTurn: 0;
  1214 			minAngle: 0;
  1191 			minAngle: 0;
  1215 			maxAngle: 0;
  1192 			maxAngle: 0;
  1216 			isDamaging: false;
  1193 			isDamaging: false;
  1220 			(NameId: sidMortar;
  1197 			(NameId: sidMortar;
  1221 			NameTex: nil;
  1198 			NameTex: nil;
  1222 			Probability: 100;
  1199 			Probability: 100;
  1223 			NumberInCase: 4;
  1200 			NumberInCase: 4;
  1224 			Ammo: (Propz: 0;
  1201 			Ammo: (Propz: 0;
  1225 					Count: 4;
  1202 				Count: 4;
  1226 					NumPerTurn: 0;
  1203 				NumPerTurn: 0;
  1227 					Timer: 0;
  1204 				Timer: 0;
  1228 					Pos: 0;
  1205 				Pos: 0;
  1229 					AmmoType: amMortar;
  1206 				AmmoType: amMortar;
  1230 					AttackVoice: sndNone);
  1207 				AttackVoice: sndNone);
  1231 			Slot: 1;
  1208 			Slot: 1;
  1232 			TimeAfterTurn: 3000;
  1209 			TimeAfterTurn: 3000;
  1233 			minAngle: 0;
  1210 			minAngle: 0;
  1234 			maxAngle: 0;
  1211 			maxAngle: 0;
  1235 			isDamaging: true;
  1212 			isDamaging: true;
  1238 			PosSprite: sprWater),
  1215 			PosSprite: sprWater),
  1239 			(NameId: sidKamikaze;
  1216 			(NameId: sidKamikaze;
  1240 			NameTex: nil;
  1217 			NameTex: nil;
  1241 			Probability: 100;
  1218 			Probability: 100;
  1242 			NumberInCase: 1;
  1219 			NumberInCase: 1;
  1243 			Ammo: (Propz: ammoprop_ForwMsgs or
  1220 			Ammo: (Propz: ammoprop_ForwMsgs or ammoprop_DontHold or ammoprop_AttackInMove;
  1244 							ammoprop_DontHold or
  1221 				Count: 1;
  1245 							ammoprop_AttackInMove;
  1222 				NumPerTurn: 0;
  1246 					Count: 1;
  1223 				Timer: 0;
  1247 					NumPerTurn: 0;
  1224 				Pos: 0;
  1248 					Timer: 0;
  1225 				AmmoType: amKamikaze;
  1249 					Pos: 0;
  1226 				AttackVoice: sndNone);
  1250 					AmmoType: amKamikaze;
       
  1251 					AttackVoice: sndNone);
       
  1252 			Slot: 3;
  1227 			Slot: 3;
  1253 			TimeAfterTurn: 0;
  1228 			TimeAfterTurn: 0;
  1254 			minAngle: 0;
  1229 			minAngle: 0;
  1255 			maxAngle: 0;
  1230 			maxAngle: 0;
  1256 			isDamaging: true;
  1231 			isDamaging: true;
  1259 			PosSprite: sprWater),
  1234 			PosSprite: sprWater),
  1260 			(NameId: sidCake;
  1235 			(NameId: sidCake;
  1261 			NameTex: nil;
  1236 			NameTex: nil;
  1262 			Probability: 100;
  1237 			Probability: 100;
  1263 			NumberInCase: 1;
  1238 			NumberInCase: 1;
  1264 			Ammo: (Propz: ammoprop_ForwMsgs or
  1239 			Ammo: (Propz: ammoprop_ForwMsgs or ammoprop_NoCrosshair or ammoprop_DontHold;
  1265 							ammoprop_NoCrosshair or
  1240 				Count: 1;
  1266 							ammoprop_DontHold;
  1241 				NumPerTurn: 0;
  1267 					Count: 1;
  1242 				Timer: 0;
  1268 					NumPerTurn: 0;
  1243 				Pos: 0;
  1269 					Timer: 0;
  1244 				AmmoType: amCake;
  1270 					Pos: 0;
  1245 				AttackVoice: sndLaugh);
  1271 					AmmoType: amCake;
       
  1272 					AttackVoice: sndLaugh);
       
  1273 			Slot: 4;
  1246 			Slot: 4;
  1274 			TimeAfterTurn: 0;
  1247 			TimeAfterTurn: 0;
  1275 			minAngle: 0;
  1248 			minAngle: 0;
  1276 			maxAngle: 0;
  1249 			maxAngle: 0;
  1277 			isDamaging: true;
  1250 			isDamaging: true;
  1281 			(NameId: sidSeduction;
  1254 			(NameId: sidSeduction;
  1282 			NameTex: nil;
  1255 			NameTex: nil;
  1283 			Probability: 100;
  1256 			Probability: 100;
  1284 			NumberInCase: 1;
  1257 			NumberInCase: 1;
  1285 			Ammo: (Propz: ammoprop_ForwMsgs or ammoprop_DontHold;
  1258 			Ammo: (Propz: ammoprop_ForwMsgs or ammoprop_DontHold;
  1286 					Count: 1;
  1259 				Count: 1;
  1287 					NumPerTurn: 0;
  1260 				NumPerTurn: 0;
  1288 					Timer: 0;
  1261 				Timer: 0;
  1289 					Pos: 0;
  1262 				Pos: 0;
  1290 					AmmoType: amSeduction;
  1263 				AmmoType: amSeduction;
  1291 					AttackVoice: sndNone);
  1264 				AttackVoice: sndNone);
  1292 			Slot: 2;
  1265 			Slot: 2;
  1293 			TimeAfterTurn: 0;
  1266 			TimeAfterTurn: 0;
  1294 			minAngle: 0;
  1267 			minAngle: 0;
  1295 			maxAngle: 0;
  1268 			maxAngle: 0;
  1296 			isDamaging: false;
  1269 			isDamaging: false;
  1299 			PosSprite: sprWater),
  1272 			PosSprite: sprWater),
  1300 			(NameId: sidWatermelon;
  1273 			(NameId: sidWatermelon;
  1301 			NameTex: nil;
  1274 			NameTex: nil;
  1302 			Probability: 400;
  1275 			Probability: 400;
  1303 			NumberInCase: 1;
  1276 			NumberInCase: 1;
  1304 			Ammo: (Propz: ammoprop_Timerable or
  1277 			Ammo: (Propz: ammoprop_Timerable or ammoprop_Power or ammoprop_AltUse;
  1305 							ammoprop_Power or
  1278 				Count: 0;
  1306 							ammoprop_AltUse;
  1279 				NumPerTurn: 0;
  1307 					Count: 0;
  1280 				Timer: 3000;
  1308 					NumPerTurn: 0;
  1281 				Pos: 0;
  1309 					Timer: 3000;
  1282 				AmmoType: amWatermelon;
  1310 					Pos: 0;
  1283 				AttackVoice: sndMelon);
  1311 					AmmoType: amWatermelon;
       
  1312 					AttackVoice: sndMelon);
       
  1313 			Slot: 1;
  1284 			Slot: 1;
  1314 			TimeAfterTurn: 3000;
  1285 			TimeAfterTurn: 3000;
  1315 			minAngle: 0;
  1286 			minAngle: 0;
  1316 			maxAngle: 0;
  1287 			maxAngle: 0;
  1317 			isDamaging: true;
  1288 			isDamaging: true;
  1320 			PosSprite: sprWater),
  1291 			PosSprite: sprWater),
  1321 			(NameId: sidHellishBomb;
  1292 			(NameId: sidHellishBomb;
  1322 			NameTex: nil;
  1293 			NameTex: nil;
  1323 			Probability: 400;
  1294 			Probability: 400;
  1324 			NumberInCase: 1;
  1295 			NumberInCase: 1;
  1325 			Ammo: (Propz:  ammoprop_Power or
  1296 			Ammo: (Propz:  ammoprop_Power or ammoprop_AltUse;
  1326 							ammoprop_AltUse;
  1297 				Count: 0;
  1327 					Count: 0;
  1298 				NumPerTurn: 0;
  1328 					NumPerTurn: 0;
  1299 				Timer: 5000;
  1329 					Timer: 5000;
  1300 				Pos: 0;
  1330 					Pos: 0;
  1301 				AmmoType: amHellishBomb;
  1331 					AmmoType: amHellishBomb;
  1302 				AttackVoice: sndNone);
  1332 					AttackVoice: sndNone);
       
  1333 			Slot: 4;
  1303 			Slot: 4;
  1334 			TimeAfterTurn: 3000;
  1304 			TimeAfterTurn: 3000;
  1335 			minAngle: 0;
  1305 			minAngle: 0;
  1336 			maxAngle: 0;
  1306 			maxAngle: 0;
  1337 			isDamaging: true;
  1307 			isDamaging: true;
  1345 			Ammo: (Propz: ammoprop_NoCrosshair or
  1315 			Ammo: (Propz: ammoprop_NoCrosshair or
  1346 							ammoprop_NeedTarget or
  1316 							ammoprop_NeedTarget or
  1347 							ammoprop_AttackingPut or
  1317 							ammoprop_AttackingPut or
  1348 							ammoprop_DontHold or
  1318 							ammoprop_DontHold or
  1349 							ammoprop_NotBorder;
  1319 							ammoprop_NotBorder;
  1350 					Count: 1;
  1320 				Count: 1;
  1351 					NumPerTurn: 0;
  1321 				NumPerTurn: 0;
  1352 					Timer: 0;
  1322 				Timer: 0;
  1353 					Pos: 0;
  1323 				Pos: 0;
  1354 					AmmoType: amNapalm;
  1324 				AmmoType: amNapalm;
  1355 					AttackVoice: sndNone);
  1325 				AttackVoice: sndNone);
  1356 			Slot: 5;
  1326 			Slot: 5;
  1357 			TimeAfterTurn: 0;
  1327 			TimeAfterTurn: 0;
  1358 			minAngle: 0;
  1328 			minAngle: 0;
  1359 			maxAngle: 0;
  1329 			maxAngle: 0;
  1360 			isDamaging: true;
  1330 			isDamaging: true;
  1363 			PosSprite: sprAmAirplane),
  1333 			PosSprite: sprAmAirplane),
  1364 			(NameId: sidDrill;
  1334 			(NameId: sidDrill;
  1365 			NameTex: nil;
  1335 			NameTex: nil;
  1366 			Probability: 300;
  1336 			Probability: 300;
  1367 			NumberInCase: 1;
  1337 			NumberInCase: 1;
  1368 			Ammo: (Propz: ammoprop_Power or
  1338 			Ammo: (Propz: ammoprop_Power or ammoprop_AltUse;
  1369 							ammoprop_AltUse;
  1339 				Count: AMMO_INFINITE;
  1370 					Count: AMMO_INFINITE;
  1340 				NumPerTurn: 0;
  1371 					NumPerTurn: 0;
  1341 				Timer: 0;
  1372 					Timer: 0;
  1342 				Pos: 0;
  1373 					Pos: 0;
  1343 				AmmoType: amDrill;
  1374 					AmmoType: amDrill;
  1344 				AttackVoice: sndNone);
  1375 					AttackVoice: sndNone);
       
  1376 			Slot: 0;
  1345 			Slot: 0;
  1377 			TimeAfterTurn: 3000;
  1346 			TimeAfterTurn: 3000;
  1378 			minAngle: 0;
  1347 			minAngle: 0;
  1379 			maxAngle: 0;
  1348 			maxAngle: 0;
  1380 			isDamaging: true;
  1349 			isDamaging: true;
  1383 			PosSprite: sprDrill),
  1352 			PosSprite: sprDrill),
  1384 			(NameId: sidBallgun;
  1353 			(NameId: sidBallgun;
  1385 			NameTex: nil;
  1354 			NameTex: nil;
  1386 			Probability: 400;
  1355 			Probability: 400;
  1387 			NumberInCase: 1;
  1356 			NumberInCase: 1;
  1388 			Ammo: (Propz:  ammoprop_ForwMsgs or
  1357 			Ammo: (Propz:  ammoprop_ForwMsgs or ammoprop_DontHold;
  1389 							 ammoprop_DontHold;
  1358 				Count: AMMO_INFINITE;
  1390 					Count: AMMO_INFINITE;
  1359 				NumPerTurn: 0;
  1391 					NumPerTurn: 0;
  1360 				Timer: 5001;
  1392 					Timer: 5001;
  1361 				Pos: 0;
  1393 					Pos: 0;
  1362 				AmmoType: amBallgun;
  1394 					AmmoType: amBallgun;
  1363 				AttackVoice: sndNone);
  1395 					AttackVoice: sndNone);
       
  1396 			Slot: 2;
  1364 			Slot: 2;
  1397 			TimeAfterTurn: 0;
  1365 			TimeAfterTurn: 0;
  1398 			minAngle: 0;
  1366 			minAngle: 0;
  1399 			maxAngle: 0;
  1367 			maxAngle: 0;
  1400 			isDamaging: true;
  1368 			isDamaging: true;
  1406 			Probability: 200;
  1374 			Probability: 200;
  1407 			NumberInCase: 1;
  1375 			NumberInCase: 1;
  1408 			Ammo: (Propz: ammoprop_ForwMsgs{ or
  1376 			Ammo: (Propz: ammoprop_ForwMsgs{ or
  1409 							ammoprop_DontHold or
  1377 							ammoprop_DontHold or
  1410 							ammoprop_AltAttack};
  1378 							ammoprop_AltAttack};
  1411 					Count: 1;
  1379 				Count: 1;
  1412 					NumPerTurn: 0;
  1380 				NumPerTurn: 0;
  1413 					Timer: 0;
  1381 				Timer: 0;
  1414 					Pos: 0;
  1382 				Pos: 0;
  1415 					AmmoType: amRCPlane;
  1383 				AmmoType: amRCPlane;
  1416 					AttackVoice: sndNone);
  1384 				AttackVoice: sndNone);
  1417 			Slot: 6;
  1385 			Slot: 6;
  1418 			TimeAfterTurn: 0;
  1386 			TimeAfterTurn: 0;
  1419 			minAngle: 0;
  1387 			minAngle: 0;
  1420 			maxAngle: 0;
  1388 			maxAngle: 0;
  1421 			isDamaging: true;
  1389 			isDamaging: true;
  1424 			PosSprite: sprWater),
  1392 			PosSprite: sprWater),
  1425 			(NameId: sidLowGravity;
  1393 			(NameId: sidLowGravity;
  1426 			NameTex: nil;
  1394 			NameTex: nil;
  1427 			Probability: 20;
  1395 			Probability: 20;
  1428 			NumberInCase: 1;
  1396 			NumberInCase: 1;
  1429 			Ammo: (Propz: ammoprop_NoCrosshair or
  1397 			Ammo: (Propz: ammoprop_NoCrosshair or ammoprop_DontHold or ammoprop_AltUse or ammoprop_Utility;
  1430 						  ammoprop_DontHold or
  1398 				Count: 1;
  1431 						  ammoprop_AltUse or
  1399 				NumPerTurn: 0;
  1432                           ammoprop_Utility;
  1400 				Timer: 0;
  1433 					Count: 1;
  1401 				Pos: 0;
  1434 					NumPerTurn: 0;
  1402 				AmmoType: amLowGravity;
  1435 					Timer: 0;
  1403 				AttackVoice: sndNone);
  1436 					Pos: 0;
       
  1437 					AmmoType: amLowGravity;
       
  1438 					AttackVoice: sndNone);
       
  1439 			Slot: 8;
  1404 			Slot: 8;
  1440 			TimeAfterTurn: 0;
  1405 			TimeAfterTurn: 0;
  1441 			minAngle: 0;
  1406 			minAngle: 0;
  1442 			maxAngle: 0;
  1407 			maxAngle: 0;
  1443 			isDamaging: false;
  1408 			isDamaging: false;
  1446 			PosSprite: sprWater),
  1411 			PosSprite: sprWater),
  1447 			(NameId: sidExtraDamage;
  1412 			(NameId: sidExtraDamage;
  1448 			NameTex: nil;
  1413 			NameTex: nil;
  1449 			Probability: 15;
  1414 			Probability: 15;
  1450 			NumberInCase: 1;
  1415 			NumberInCase: 1;
  1451 			Ammo: (Propz: ammoprop_NoCrosshair or
  1416 			Ammo: (Propz: ammoprop_NoCrosshair or ammoprop_DontHold or ammoprop_AltUse or ammoprop_Utility;
  1452 						  ammoprop_DontHold or
  1417 				Count: 1;
  1453 						  ammoprop_AltUse or
  1418 				NumPerTurn: 0;
  1454                           ammoprop_Utility;
  1419 				Timer: 0;
  1455 					Count: 1;
  1420 				Pos: 0;
  1456 					NumPerTurn: 0;
  1421 				AmmoType: amExtraDamage;
  1457 					Timer: 0;
  1422 				AttackVoice: sndNone);
  1458 					Pos: 0;
       
  1459 					AmmoType: amExtraDamage;
       
  1460 					AttackVoice: sndNone);
       
  1461 			Slot: 8;
  1423 			Slot: 8;
  1462 			TimeAfterTurn: 0;
  1424 			TimeAfterTurn: 0;
  1463 			minAngle: 0;
  1425 			minAngle: 0;
  1464 			maxAngle: 0;
  1426 			maxAngle: 0;
  1465 			isDamaging: false;
  1427 			isDamaging: false;
  1468 			PosSprite: sprWater),
  1430 			PosSprite: sprWater),
  1469 			(NameId: sidInvulnerable;
  1431 			(NameId: sidInvulnerable;
  1470 			NameTex: nil;
  1432 			NameTex: nil;
  1471 			Probability: 20;
  1433 			Probability: 20;
  1472 			NumberInCase: 1;
  1434 			NumberInCase: 1;
  1473 			Ammo: (Propz: ammoprop_NoCrosshair or
  1435 			Ammo: (Propz: ammoprop_NoCrosshair or ammoprop_DontHold or ammoprop_AltUse or ammoprop_Utility;
  1474 						  ammoprop_DontHold or
  1436 				Count: 1;
  1475 						  ammoprop_AltUse or
  1437 				NumPerTurn: 0;
  1476                           ammoprop_Utility;
  1438 				Timer: 0;
  1477 					Count: 1;
  1439 				Pos: 0;
  1478 					NumPerTurn: 0;
  1440 				AmmoType: amInvulnerable;
  1479 					Timer: 0;
  1441 				AttackVoice: sndNone);
  1480 					Pos: 0;
       
  1481 					AmmoType: amInvulnerable;
       
  1482 					AttackVoice: sndNone);
       
  1483 			Slot: 8;
  1442 			Slot: 8;
  1484 			TimeAfterTurn: 0;
  1443 			TimeAfterTurn: 0;
  1485 			minAngle: 0;
  1444 			minAngle: 0;
  1486 			maxAngle: 0;
  1445 			maxAngle: 0;
  1487 			isDamaging: false;
  1446 			isDamaging: false;
  1490 			PosSprite: sprWater),
  1449 			PosSprite: sprWater),
  1491 			(NameId: sidExtraTime;
  1450 			(NameId: sidExtraTime;
  1492 			NameTex: nil;
  1451 			NameTex: nil;
  1493 			Probability: 30;
  1452 			Probability: 30;
  1494 			NumberInCase: 1;
  1453 			NumberInCase: 1;
  1495 			Ammo: (Propz: ammoprop_NoCrosshair or
  1454 			Ammo: (Propz: ammoprop_NoCrosshair or ammoprop_DontHold or ammoprop_AltUse or ammoprop_Utility;
  1496 						  ammoprop_DontHold or
  1455 				Count: 1;
  1497 						  ammoprop_AltUse or
  1456 				NumPerTurn: 0;
  1498                           ammoprop_Utility;
  1457 				Timer: 0;
  1499 					Count: 1;
  1458 				Pos: 0;
  1500 					NumPerTurn: 0;
  1459 				AmmoType: amExtraTime;
  1501 					Timer: 0;
  1460 				AttackVoice: sndNone);
  1502 					Pos: 0;
       
  1503 					AmmoType: amExtraTime;
       
  1504 					AttackVoice: sndNone);
       
  1505 			Slot: 7;
  1461 			Slot: 7;
  1506 			TimeAfterTurn: 0;
  1462 			TimeAfterTurn: 0;
  1507 			minAngle: 0;
  1463 			minAngle: 0;
  1508 			maxAngle: 0;
  1464 			maxAngle: 0;
  1509 			isDamaging: false;
  1465 			isDamaging: false;
  1512 			PosSprite: sprWater),
  1468 			PosSprite: sprWater),
  1513 			(NameId: sidLaserSight;
  1469 			(NameId: sidLaserSight;
  1514 			NameTex: nil;
  1470 			NameTex: nil;
  1515 			Probability: 15;
  1471 			Probability: 15;
  1516 			NumberInCase: 1;
  1472 			NumberInCase: 1;
  1517 			Ammo: (Propz: ammoprop_NoCrosshair or
  1473 			Ammo: (Propz: ammoprop_NoCrosshair or ammoprop_DontHold or ammoprop_AltUse or ammoprop_Utility;
  1518 						  ammoprop_DontHold or
  1474 				Count: 1;
  1519 						  ammoprop_AltUse or
  1475 				NumPerTurn: 0;
  1520                           ammoprop_Utility;
  1476 				Timer: 0;
  1521 					Count: 1;
  1477 				Pos: 0;
  1522 					NumPerTurn: 0;
  1478 				AmmoType: amLaserSight;
  1523 					Timer: 0;
  1479 				AttackVoice: sndNone);
  1524 					Pos: 0;
       
  1525 					AmmoType: amLaserSight;
       
  1526 					AttackVoice: sndNone);
       
  1527 			Slot: 7;
  1480 			Slot: 7;
  1528 			TimeAfterTurn: 0;
  1481 			TimeAfterTurn: 0;
  1529 			minAngle: 0;
  1482 			minAngle: 0;
  1530 			maxAngle: 0;
  1483 			maxAngle: 0;
  1531 			isDamaging: false;
  1484 			isDamaging: false;
  1534 			PosSprite: sprWater),
  1487 			PosSprite: sprWater),
  1535 			(NameId: sidVampiric;
  1488 			(NameId: sidVampiric;
  1536 			NameTex: nil;
  1489 			NameTex: nil;
  1537 			Probability: 15;
  1490 			Probability: 15;
  1538 			NumberInCase: 1;
  1491 			NumberInCase: 1;
  1539 			Ammo: (Propz: ammoprop_NoCrosshair or
  1492 			Ammo: (Propz: ammoprop_NoCrosshair or  ammoprop_DontHold or  ammoprop_AltUse or ammoprop_Utility;
  1540 						  ammoprop_DontHold or
  1493 				Count: 1;
  1541 						  ammoprop_AltUse or
  1494 				NumPerTurn: 0;
  1542                           ammoprop_Utility;
  1495 				Timer: 0;
  1543 					Count: 1;
  1496 				Pos: 0;
  1544 					NumPerTurn: 0;
  1497 				AmmoType: amVampiric;
  1545 					Timer: 0;
  1498 				AttackVoice: sndNone);
  1546 					Pos: 0;
       
  1547 					AmmoType: amVampiric;
       
  1548 					AttackVoice: sndNone);
       
  1549 			Slot: 6;
  1499 			Slot: 6;
  1550 			TimeAfterTurn: 0;
  1500 			TimeAfterTurn: 0;
  1551 			minAngle: 0;
  1501 			minAngle: 0;
  1552 			maxAngle: 0;
  1502 			maxAngle: 0;
  1553 			isDamaging: false;
  1503 			isDamaging: false;
  1557 			(NameId: sidSniperRifle;
  1507 			(NameId: sidSniperRifle;
  1558 			NameTex: nil;
  1508 			NameTex: nil;
  1559 			Probability: 20;
  1509 			Probability: 20;
  1560 			NumberInCase: 2;
  1510 			NumberInCase: 2;
  1561 			Ammo: (Propz: 0;
  1511 			Ammo: (Propz: 0;
  1562 					Count: 2;
  1512 				Count: 2;
  1563 					NumPerTurn: 1;
  1513 				NumPerTurn: 1;
  1564 					Timer: 0;
  1514 				Timer: 0;
  1565 					Pos: 0;
  1515 				Pos: 0;
  1566 					AmmoType: amSniperRifle;
  1516 				AmmoType: amSniperRifle;
  1567 					AttackVoice: sndNone);
  1517 				AttackVoice: sndNone);
  1568 			Slot: 2;
  1518 			Slot: 2;
  1569 			TimeAfterTurn: 3000;
  1519 			TimeAfterTurn: 3000;
  1570 			minAngle: 0;
  1520 			minAngle: 0;
  1571 			maxAngle: 0;
  1521 			maxAngle: 0;
  1572 			isDamaging: true;
  1522 			isDamaging: true;
  1580 			Ammo: (Propz: ammoprop_ForwMsgs or
  1530 			Ammo: (Propz: ammoprop_ForwMsgs or
  1581 							ammoprop_AttackInMove or
  1531 							ammoprop_AttackInMove or
  1582 							ammoprop_NoCrosshair or
  1532 							ammoprop_NoCrosshair or
  1583 							ammoprop_DontHold or
  1533 							ammoprop_DontHold or
  1584 							ammoprop_AltAttack;
  1534 							ammoprop_AltAttack;
  1585 					Count: 1;
  1535 				Count: 1;
  1586 					NumPerTurn: 1;
  1536 				NumPerTurn: 1;
  1587 					Timer: 0;
  1537 				Timer: 0;
  1588 					Pos: 0;
  1538 				Pos: 0;
  1589 					AmmoType: amJetpack;
  1539 				AmmoType: amJetpack;
  1590 					AttackVoice: sndNone);
  1540 				AttackVoice: sndNone);
  1591 			Slot: 3;
  1541 			Slot: 3;
  1592 			TimeAfterTurn: 3000;
  1542 			TimeAfterTurn: 3000;
  1593 			minAngle: 0;
  1543 			minAngle: 0;
  1594 			maxAngle: 0;
  1544 			maxAngle: 0;
  1595 			isDamaging: false;
  1545 			isDamaging: false;
  1599 
  1549 
  1600 			(NameId: sidMolotov;
  1550 			(NameId: sidMolotov;
  1601 			NameTex: nil;
  1551 			NameTex: nil;
  1602 			Probability: 0;
  1552 			Probability: 0;
  1603 			NumberInCase: 1;
  1553 			NumberInCase: 1;
  1604 			Ammo: (Propz: ammoprop_Power or
  1554 			Ammo: (Propz: ammoprop_Power or ammoprop_AltUse;
  1605 							ammoprop_AltUse;
  1555 				Count: AMMO_INFINITE;
  1606 					Count: AMMO_INFINITE;
  1556 				NumPerTurn: 0;
  1607 					NumPerTurn: 0;
  1557 				Timer: 3000;
  1608 					Timer: 3000;
  1558 				Pos: 0;
  1609 					Pos: 0;
  1559 				AmmoType: amMolotov;
  1610 					AmmoType: amMolotov;
  1560 				AttackVoice: sndNone);
  1611 					AttackVoice: sndNone);
       
  1612 			Slot: 1;
  1561 			Slot: 1;
  1613 			TimeAfterTurn: 3000;
  1562 			TimeAfterTurn: 3000;
  1614 			minAngle: 0;
  1563 			minAngle: 0;
  1615 			maxAngle: 0;
  1564 			maxAngle: 0;
  1616 			isDamaging: true;
  1565 			isDamaging: true;
  1646 		colorkey: 0;
  1595 		colorkey: 0;
  1647 		alpha : 255
  1596 		alpha : 255
  1648 	);
  1597 	);
  1649 			
  1598 			
  1650 
  1599 
  1651 var CountTexz: array[1..Pred(AMMO_INFINITE)] of PTexture;
       
  1652 
       
  1653 procedure init_uConsts;
  1600 procedure init_uConsts;
       
  1601 procedure free_uConsts;
  1654 
  1602 
  1655 implementation
  1603 implementation
  1656 
  1604 
  1657 procedure init_uConsts;
  1605 procedure init_uConsts;
  1658 var cPathz: array[TPathType] of String = (
  1606 var cPathz: array[TPathType] of String = (
  1678 begin
  1626 begin
  1679 	PathPrefix := './';
  1627 	PathPrefix := './';
  1680 	Pathz:= cPathz;
  1628 	Pathz:= cPathz;
  1681 end;
  1629 end;
  1682 
  1630 
       
  1631 procedure free_uConsts;
       
  1632 begin
       
  1633 
       
  1634 end;
       
  1635 
  1683 end.
  1636 end.