hedgewars/uConsts.pas
changeset 2217 458c08d74ae6
parent 2210 1cb7118a77dd
child 2221 ef52dae4130b
equal deleted inserted replaced
2216:82e7da49c26a 2217:458c08d74ae6
    90 			sndSameTeam, sndNutter, sndReinforce, sndTraitor, sndRegret,
    90 			sndSameTeam, sndNutter, sndReinforce, sndTraitor, sndRegret,
    91 			sndEnemyDown, sndCoward, sndHurry, sndWatchIt, sndKamikaze,
    91 			sndEnemyDown, sndCoward, sndHurry, sndWatchIt, sndKamikaze,
    92 			sndCake, sndOw1, sndOw4, sndFirePunch1, sndFirePunch2,
    92 			sndCake, sndOw1, sndOw4, sndFirePunch1, sndFirePunch2,
    93 			sndFirePunch3, sndFirePunch4, sndFirePunch5, sndFirePunch6,
    93 			sndFirePunch3, sndFirePunch4, sndFirePunch5, sndFirePunch6,
    94 			sndMelon, sndHellish, sndYoohoo, sndRCPlane, sndWhipCrack,
    94 			sndMelon, sndHellish, sndYoohoo, sndRCPlane, sndWhipCrack,
    95 			sndRideOfTheValkyries, sndDenied, sndPlaced, sndBaseballBat, sndVaporize);
    95 			sndRideOfTheValkyries, sndDenied, sndPlaced, sndBaseballBat, 
       
    96 			sndVaporize, sndWarp, sndSuddenDeath);
    96 
    97 
    97 	TAmmoType  = (amGrenade, amClusterBomb, amBazooka, amUFO, amShotgun, amPickHammer,
    98 	TAmmoType  = (amGrenade, amClusterBomb, amBazooka, amUFO, amShotgun, amPickHammer,
    98 			amSkip, amRope, amMine, amDEagle, amDynamite, amFirePunch, amWhip,
    99 			amSkip, amRope, amMine, amDEagle, amDynamite, amFirePunch, amWhip,
    99 			amBaseballBat, amParachute, amAirAttack, amMineStrike, amBlowTorch,
   100 			amBaseballBat, amParachute, amAirAttack, amMineStrike, amBlowTorch,
   100 			amGirder, amTeleport, amSwitch, amMortar, amKamikaze, amCake,
   101 			amGirder, amTeleport, amSwitch, amMortar, amKamikaze, amCake,
   108 			capgrpMessage, capgrpAmmostate);
   109 			capgrpMessage, capgrpAmmostate);
   109 
   110 
   110 	TStatInfoType = (siGameResult, siMaxStepDamage, siMaxStepKills, siKilledHHs,
   111 	TStatInfoType = (siGameResult, siMaxStepDamage, siMaxStepKills, siKilledHHs,
   111 			siClanHealth);
   112 			siClanHealth);
   112 
   113 
   113 	TWave = (waveRollup, waveSad,waveWave, waveHurrah, waveLemonade, waveShrug, waveJuggle);
   114 	TWave = (waveRollup, waveSad, waveWave, waveHurrah, waveLemonade, waveShrug, waveJuggle);
   114 
   115 
   115 	THHFont = record
   116 	THHFont = record
   116 			Handle: PTTF_Font;
   117 			Handle: PTTF_Font;
   117 			Height: LongInt;
   118 			Height: LongInt;
   118 			style: LongInt;
   119 			style: LongInt;
   176     LAND_HEIGHT_MASK = $FFFFF800;
   177     LAND_HEIGHT_MASK = $FFFFF800;
   177 
   178 
   178 	COLOR_LAND           = $FFFFFFFF;  // white
   179 	COLOR_LAND           = $FFFFFFFF;  // white
   179 	COLOR_INDESTRUCTIBLE = $FF0000FF;  // red
   180 	COLOR_INDESTRUCTIBLE = $FF0000FF;  // red
   180 
   181 
   181     GL_BGR = $80E0; // some opengl headers do not have these macros
   182 	// some opengl headers do not have these macros
       
   183     	GL_BGR = $80E0;
   182 	GL_BGRA = $80E1;
   184 	GL_BGRA = $80E1;
   183 
   185 
   184 	cifRandomize = $00000001;
   186 	cifRandomize = $00000001;
   185 	cifTheme     = $00000002;
   187 	cifTheme     = $00000002;
   186 	cifMap       = $00000002; // either theme or map (or map+theme)
   188 	cifMap       = $00000002; // either theme or map (or map+theme)
   637 			(FileName:            'whipcrack.ogg'; Path: ptSounds),// sndWhipCrack
   639 			(FileName:            'whipcrack.ogg'; Path: ptSounds),// sndWhipCrack
   638 			(FileName:'ride_of_the_valkyries.ogg'; Path: ptSounds),// sndRideOfTheValkyries
   640 			(FileName:'ride_of_the_valkyries.ogg'; Path: ptSounds),// sndRideOfTheValkyries
   639 			(FileName:               'denied.ogg'; Path: ptSounds),// sndDenied
   641 			(FileName:               'denied.ogg'; Path: ptSounds),// sndDenied
   640 			(FileName:               'placed.ogg'; Path: ptSounds),// sndPlaced
   642 			(FileName:               'placed.ogg'; Path: ptSounds),// sndPlaced
   641 			(FileName:          'baseballbat.ogg'; Path: ptSounds),// sndBaseballBat
   643 			(FileName:          'baseballbat.ogg'; Path: ptSounds),// sndBaseballBat
   642 			(FileName:                'steam.ogg'; Path: ptSounds) // sndVaporize
   644 			(FileName:                'steam.ogg'; Path: ptSounds),// sndVaporize
       
   645 			(FileName:                 'warp.ogg'; Path: ptSounds),// sndWarp
       
   646 			(FileName:          'suddendeath.ogg'; Path: ptSounds) // sndSuddenDeath
   643 			);
   647 			);
   644 
   648 
   645 	Ammoz: array [TAmmoType] of record
   649 	Ammoz: array [TAmmoType] of record
   646 			NameId: TAmmoStrId;
   650 			NameId: TAmmoStrId;
   647 			NameTex: PTexture;
   651 			NameTex: PTexture;