43 |
43 |
44 TGameType = (gmtLocal, gmtDemo, gmtNet, gmtSave, gmtLandPreview); |
44 TGameType = (gmtLocal, gmtDemo, gmtNet, gmtSave, gmtLandPreview); |
45 |
45 |
46 TPathType = (ptNone, ptData, ptGraphics, ptThemes, ptCurrTheme, ptTeams, ptMaps, |
46 TPathType = (ptNone, ptData, ptGraphics, ptThemes, ptCurrTheme, ptTeams, ptMaps, |
47 ptMapCurrent, ptDemos, ptSounds, ptGraves, ptFonts, ptForts, |
47 ptMapCurrent, ptDemos, ptSounds, ptGraves, ptFonts, ptForts, |
48 ptLocale, ptAmmoMenu, ptHedgehog, ptVoices, ptHats); |
48 ptLocale, ptAmmoMenu, ptHedgehog, ptVoices, ptHats, ptFlags); |
49 |
49 |
50 TSprite = (sprWater, sprCloud, sprBomb, sprBigDigit, sprFrame, |
50 TSprite = (sprWater, sprCloud, sprBomb, sprBigDigit, sprFrame, |
51 sprLag, sprArrow, sprGrenade, sprTargetP, sprUFO, |
51 sprLag, sprArrow, sprGrenade, sprTargetP, sprUFO, |
52 sprSmokeTrace, sprRopeHook, sprExplosion50, sprMineOff, |
52 sprSmokeTrace, sprRopeHook, sprExplosion50, sprMineOff, |
53 sprMineOn, sprCase, sprFAid, sprDynamite, sprPower, |
53 sprMineOn, sprCase, sprFAid, sprDynamite, sprPower, |
180 |
180 |
181 // color constants |
181 // color constants |
182 cWhiteColorChannels : TSDL_Color = (r:$FF; g:$FF; b:$FF; unused:$FF); |
182 cWhiteColorChannels : TSDL_Color = (r:$FF; g:$FF; b:$FF; unused:$FF); |
183 cNearBlackColorChannels : TSDL_Color = (r:$00; g:$00; b:$10; unused:$FF); |
183 cNearBlackColorChannels : TSDL_Color = (r:$00; g:$00; b:$10; unused:$FF); |
184 |
184 |
185 cWhiteColor : Longword = $FFFFFFFF; |
185 cWhiteColor : Longword = $FFFFFFFF; |
186 cYellowColor : Longword = $FFFFFF00; |
186 cYellowColor : Longword = $FFFFFF00; |
187 cExplosionBorderColor : LongWord = $FF808080; |
187 cNearBlackColor : Longword = $FF000010; |
|
188 cExplosionBorderColor : LongWord = $FF808080; |
188 |
189 |
189 {$WARNINGS OFF} |
190 {$WARNINGS OFF} |
190 cAirPlaneSpeed: hwFloat = (isNegative: false; QWordValue: 3006477107); // 1.4 |
191 cAirPlaneSpeed: hwFloat = (isNegative: false; QWordValue: 3006477107); // 1.4 |
191 cBombsSpeed : hwFloat = (isNegative: false; QWordValue: 429496729); |
192 cBombsSpeed : hwFloat = (isNegative: false; QWordValue: 429496729); |
192 {$WARNINGS ON} |
193 {$WARNINGS ON} |
350 ammoprop_DontHold = $00000100; |
351 ammoprop_DontHold = $00000100; |
351 ammoprop_AltAttack = $00000200; |
352 ammoprop_AltAttack = $00000200; |
352 ammoprop_AltUse = $00000400; |
353 ammoprop_AltUse = $00000400; |
353 ammoprop_NotBorder = $00000800; |
354 ammoprop_NotBorder = $00000800; |
354 ammoprop_Utility = $00001000; |
355 ammoprop_Utility = $00001000; |
355 |
356 ammoprop_NoRoundEndHint=$10000000; |
|
357 |
356 AMMO_INFINITE = 100; |
358 AMMO_INFINITE = 100; |
357 |
359 |
358 EXPLAllDamageInRadius = $00000001; |
360 EXPLAllDamageInRadius = $00000001; |
359 EXPLAutoSound = $00000002; |
361 EXPLAutoSound = $00000002; |
360 EXPLNoDamage = $00000004; |
362 EXPLNoDamage = $00000004; |
491 (FileName: 'Slot'; Path: ptAmmoMenu; AltPath: ptNone; Texture: nil; Surface: nil; |
493 (FileName: 'Slot'; Path: ptAmmoMenu; AltPath: ptNone; Texture: nil; Surface: nil; |
492 Width: 202; Height: 33; imageWidth: 0; imageHeight: 0; saveSurf: false),// sprAMSlot |
494 Width: 202; Height: 33; imageWidth: 0; imageHeight: 0; saveSurf: false),// sprAMSlot |
493 (FileName: 'AmmoName'; Path: ptAmmoMenu; AltPath: ptNone; Texture: nil; Surface: nil; |
495 (FileName: 'AmmoName'; Path: ptAmmoMenu; AltPath: ptNone; Texture: nil; Surface: nil; |
494 Width: 202; Height: 33; imageWidth: 0; imageHeight: 0; saveSurf: false),// sprAMSlotName |
496 Width: 202; Height: 33; imageWidth: 0; imageHeight: 0; saveSurf: false),// sprAMSlotName |
495 (FileName: 'Ammos'; Path: ptAmmoMenu; AltPath: ptNone; Texture: nil; Surface: nil; |
497 (FileName: 'Ammos'; Path: ptAmmoMenu; AltPath: ptNone; Texture: nil; Surface: nil; |
496 Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false),// sprAMAmmos |
498 Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: true),// sprAMAmmos |
497 (FileName: 'SlotKeys'; Path: ptAmmoMenu; AltPath: ptNone; Texture: nil; Surface: nil; |
499 (FileName: 'SlotKeys'; Path: ptAmmoMenu; AltPath: ptNone; Texture: nil; Surface: nil; |
498 Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false),// sprAMSlotKeys |
500 Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false),// sprAMSlotKeys |
499 (FileName: 'Selection'; Path: ptAmmoMenu; AltPath: ptNone; Texture: nil; Surface: nil; |
501 (FileName: 'Selection'; Path: ptAmmoMenu; AltPath: ptNone; Texture: nil; Surface: nil; |
500 Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false),// sprAMSelection |
502 Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false),// sprAMSelection |
501 (FileName: 'Finger'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
503 (FileName: 'Finger'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil; |
1049 PosSprite: sprWater), |
1054 PosSprite: sprWater), |
1050 (NameId: sidParachute; |
1055 (NameId: sidParachute; |
1051 NameTex: nil; |
1056 NameTex: nil; |
1052 Probability: 100; |
1057 Probability: 100; |
1053 NumberInCase: 1; |
1058 NumberInCase: 1; |
1054 Ammo: (Propz: ammoprop_ForwMsgs or |
1059 Ammo: (Propz: ammoprop_NoRoundEndHint or |
|
1060 ammoprop_ForwMsgs or |
1055 ammoprop_AttackInMove or |
1061 ammoprop_AttackInMove or |
1056 ammoprop_NoCrosshair or |
1062 ammoprop_NoCrosshair or |
1057 ammoprop_DontHold or |
1063 ammoprop_DontHold or |
1058 ammoprop_AltAttack; |
1064 ammoprop_AltAttack; |
1059 Count: 2; |
1065 Count: 2; |
1394 PosSprite: sprWater), |
1406 PosSprite: sprWater), |
1395 (NameId: sidLowGravity; |
1407 (NameId: sidLowGravity; |
1396 NameTex: nil; |
1408 NameTex: nil; |
1397 Probability: 20; |
1409 Probability: 20; |
1398 NumberInCase: 1; |
1410 NumberInCase: 1; |
1399 Ammo: (Propz: ammoprop_NoCrosshair or ammoprop_DontHold or ammoprop_AltUse or ammoprop_Utility; |
1411 Ammo: (Propz: ammoprop_NoRoundEndHint or |
1400 Count: 1; |
1412 ammoprop_NoCrosshair or |
1401 NumPerTurn: 0; |
1413 ammoprop_DontHold or |
1402 Timer: 0; |
1414 ammoprop_AltUse or |
1403 Pos: 0; |
1415 ammoprop_Utility; |
1404 AmmoType: amLowGravity; |
1416 Count: 1; |
1405 AttackVoice: sndNone); |
1417 NumPerTurn: 0; |
|
1418 Timer: 0; |
|
1419 Pos: 0; |
|
1420 AmmoType: amLowGravity; |
|
1421 AttackVoice: sndNone); |
1406 Slot: 8; |
1422 Slot: 8; |
1407 TimeAfterTurn: 0; |
1423 TimeAfterTurn: 0; |
1408 minAngle: 0; |
1424 minAngle: 0; |
1409 maxAngle: 0; |
1425 maxAngle: 0; |
1410 isDamaging: false; |
1426 isDamaging: false; |
1413 PosSprite: sprWater), |
1429 PosSprite: sprWater), |
1414 (NameId: sidExtraDamage; |
1430 (NameId: sidExtraDamage; |
1415 NameTex: nil; |
1431 NameTex: nil; |
1416 Probability: 15; |
1432 Probability: 15; |
1417 NumberInCase: 1; |
1433 NumberInCase: 1; |
1418 Ammo: (Propz: ammoprop_NoCrosshair or ammoprop_DontHold or ammoprop_AltUse or ammoprop_Utility; |
1434 Ammo: (Propz: ammoprop_NoRoundEndHint or |
1419 Count: 1; |
1435 ammoprop_NoCrosshair or |
1420 NumPerTurn: 0; |
1436 ammoprop_DontHold or |
1421 Timer: 0; |
1437 ammoprop_AltUse or |
1422 Pos: 0; |
1438 ammoprop_Utility; |
1423 AmmoType: amExtraDamage; |
1439 Count: 1; |
1424 AttackVoice: sndNone); |
1440 NumPerTurn: 0; |
|
1441 Timer: 0; |
|
1442 Pos: 0; |
|
1443 AmmoType: amExtraDamage; |
|
1444 AttackVoice: sndNone); |
1425 Slot: 8; |
1445 Slot: 8; |
1426 TimeAfterTurn: 0; |
1446 TimeAfterTurn: 0; |
1427 minAngle: 0; |
1447 minAngle: 0; |
1428 maxAngle: 0; |
1448 maxAngle: 0; |
1429 isDamaging: false; |
1449 isDamaging: false; |
1432 PosSprite: sprWater), |
1452 PosSprite: sprWater), |
1433 (NameId: sidInvulnerable; |
1453 (NameId: sidInvulnerable; |
1434 NameTex: nil; |
1454 NameTex: nil; |
1435 Probability: 20; |
1455 Probability: 20; |
1436 NumberInCase: 1; |
1456 NumberInCase: 1; |
1437 Ammo: (Propz: ammoprop_NoCrosshair or ammoprop_DontHold or ammoprop_AltUse or ammoprop_Utility; |
1457 Ammo: (Propz: ammoprop_NoRoundEndHint or |
1438 Count: 1; |
1458 ammoprop_NoCrosshair or |
1439 NumPerTurn: 0; |
1459 ammoprop_DontHold or |
1440 Timer: 0; |
1460 ammoprop_AltUse or |
1441 Pos: 0; |
1461 ammoprop_Utility; |
1442 AmmoType: amInvulnerable; |
1462 Count: 1; |
1443 AttackVoice: sndNone); |
1463 NumPerTurn: 0; |
|
1464 Timer: 0; |
|
1465 Pos: 0; |
|
1466 AmmoType: amInvulnerable; |
|
1467 AttackVoice: sndNone); |
1444 Slot: 8; |
1468 Slot: 8; |
1445 TimeAfterTurn: 0; |
1469 TimeAfterTurn: 0; |
1446 minAngle: 0; |
1470 minAngle: 0; |
1447 maxAngle: 0; |
1471 maxAngle: 0; |
1448 isDamaging: false; |
1472 isDamaging: false; |
1451 PosSprite: sprWater), |
1475 PosSprite: sprWater), |
1452 (NameId: sidExtraTime; |
1476 (NameId: sidExtraTime; |
1453 NameTex: nil; |
1477 NameTex: nil; |
1454 Probability: 30; |
1478 Probability: 30; |
1455 NumberInCase: 1; |
1479 NumberInCase: 1; |
1456 Ammo: (Propz: ammoprop_NoCrosshair or ammoprop_DontHold or ammoprop_AltUse or ammoprop_Utility; |
1480 Ammo: (Propz: ammoprop_NoRoundEndHint or |
1457 Count: 1; |
1481 ammoprop_NoCrosshair or |
1458 NumPerTurn: 0; |
1482 ammoprop_DontHold or |
1459 Timer: 0; |
1483 ammoprop_AltUse or |
1460 Pos: 0; |
1484 ammoprop_Utility; |
1461 AmmoType: amExtraTime; |
1485 Count: 1; |
1462 AttackVoice: sndNone); |
1486 NumPerTurn: 0; |
|
1487 Timer: 0; |
|
1488 Pos: 0; |
|
1489 AmmoType: amExtraTime; |
|
1490 AttackVoice: sndNone); |
1463 Slot: 7; |
1491 Slot: 7; |
1464 TimeAfterTurn: 0; |
1492 TimeAfterTurn: 0; |
1465 minAngle: 0; |
1493 minAngle: 0; |
1466 maxAngle: 0; |
1494 maxAngle: 0; |
1467 isDamaging: false; |
1495 isDamaging: false; |
1470 PosSprite: sprWater), |
1498 PosSprite: sprWater), |
1471 (NameId: sidLaserSight; |
1499 (NameId: sidLaserSight; |
1472 NameTex: nil; |
1500 NameTex: nil; |
1473 Probability: 15; |
1501 Probability: 15; |
1474 NumberInCase: 1; |
1502 NumberInCase: 1; |
1475 Ammo: (Propz: ammoprop_NoCrosshair or ammoprop_DontHold or ammoprop_AltUse or ammoprop_Utility; |
1503 Ammo: (Propz: ammoprop_NoRoundEndHint or |
1476 Count: 1; |
1504 ammoprop_NoCrosshair or |
1477 NumPerTurn: 0; |
1505 ammoprop_DontHold or |
1478 Timer: 0; |
1506 ammoprop_AltUse or |
1479 Pos: 0; |
1507 ammoprop_Utility; |
1480 AmmoType: amLaserSight; |
1508 Count: 1; |
1481 AttackVoice: sndNone); |
1509 NumPerTurn: 0; |
|
1510 Timer: 0; |
|
1511 Pos: 0; |
|
1512 AmmoType: amLaserSight; |
|
1513 AttackVoice: sndNone); |
1482 Slot: 7; |
1514 Slot: 7; |
1483 TimeAfterTurn: 0; |
1515 TimeAfterTurn: 0; |
1484 minAngle: 0; |
1516 minAngle: 0; |
1485 maxAngle: 0; |
1517 maxAngle: 0; |
1486 isDamaging: false; |
1518 isDamaging: false; |
1489 PosSprite: sprWater), |
1521 PosSprite: sprWater), |
1490 (NameId: sidVampiric; |
1522 (NameId: sidVampiric; |
1491 NameTex: nil; |
1523 NameTex: nil; |
1492 Probability: 15; |
1524 Probability: 15; |
1493 NumberInCase: 1; |
1525 NumberInCase: 1; |
1494 Ammo: (Propz: ammoprop_NoCrosshair or ammoprop_DontHold or ammoprop_AltUse or ammoprop_Utility; |
1526 Ammo: (Propz: ammoprop_NoRoundEndHint or |
1495 Count: 1; |
1527 ammoprop_NoCrosshair or |
1496 NumPerTurn: 0; |
1528 ammoprop_DontHold or |
1497 Timer: 0; |
1529 ammoprop_AltUse or |
1498 Pos: 0; |
1530 ammoprop_Utility; |
1499 AmmoType: amVampiric; |
1531 Count: 1; |
1500 AttackVoice: sndNone); |
1532 NumPerTurn: 0; |
|
1533 Timer: 0; |
|
1534 Pos: 0; |
|
1535 AmmoType: amVampiric; |
|
1536 AttackVoice: sndNone); |
1501 Slot: 6; |
1537 Slot: 6; |
1502 TimeAfterTurn: 0; |
1538 TimeAfterTurn: 0; |
1503 minAngle: 0; |
1539 minAngle: 0; |
1504 maxAngle: 0; |
1540 maxAngle: 0; |
1505 isDamaging: false; |
1541 isDamaging: false; |
1527 PosSprite: sprWater), |
1563 PosSprite: sprWater), |
1528 (NameId: sidJetpack; |
1564 (NameId: sidJetpack; |
1529 NameTex: nil; |
1565 NameTex: nil; |
1530 Probability: 20; |
1566 Probability: 20; |
1531 NumberInCase: 1; |
1567 NumberInCase: 1; |
1532 Ammo: (Propz: ammoprop_ForwMsgs or |
1568 Ammo: (Propz: ammoprop_NoRoundEndHint or |
|
1569 ammoprop_ForwMsgs or |
1533 ammoprop_AttackInMove or |
1570 ammoprop_AttackInMove or |
1534 ammoprop_NoCrosshair or |
1571 ammoprop_NoCrosshair or |
1535 ammoprop_DontHold or |
1572 ammoprop_DontHold or |
1536 ammoprop_AltAttack; |
1573 ammoprop_AltAttack; |
1537 Count: 1; |
1574 Count: 1; |
1621 'Forts', // ptForts |
1657 'Forts', // ptForts |
1622 'Locale', // ptLocale |
1658 'Locale', // ptLocale |
1623 'Graphics/AmmoMenu', // ptAmmoMenu |
1659 'Graphics/AmmoMenu', // ptAmmoMenu |
1624 'Graphics/Hedgehog', // ptHedgehog |
1660 'Graphics/Hedgehog', // ptHedgehog |
1625 'Sounds/voices', // ptVoices |
1661 'Sounds/voices', // ptVoices |
1626 'Graphics/Hats' // ptHats |
1662 'Graphics/Hats', // ptHats |
|
1663 'Graphics/Flags' // ptFlags |
1627 ); |
1664 ); |
1628 begin |
1665 begin |
1629 PathPrefix := './'; |
1666 PathPrefix := './'; |
1630 Pathz:= cPathz; |
1667 Pathz:= cPathz; |
1631 end; |
1668 end; |