Modify analyser sounds
This commit is contained in:
@@ -179,8 +179,8 @@ testInventory = IM.fromList $ zip [0..]
|
|||||||
, makeTypeCraftNum 3 PUMP
|
, makeTypeCraftNum 3 PUMP
|
||||||
-- , makeTypeCraftNum 1 MAGNET
|
-- , makeTypeCraftNum 1 MAGNET
|
||||||
, makeTypeCraftNum 1 TRANSMITTER
|
, makeTypeCraftNum 1 TRANSMITTER
|
||||||
, makeTypeCraftNum 1 HARDWARE
|
, makeTypeCraftNum 10 HARDWARE
|
||||||
-- , makeTypeCraftNum 3 SPRING
|
, makeTypeCraftNum 3 SPRING
|
||||||
, makeTypeCraftNum 10 CAN
|
, makeTypeCraftNum 10 CAN
|
||||||
, makeTypeCraftNum 3 TIN
|
, makeTypeCraftNum 3 TIN
|
||||||
, makeTypeCraftNum 3 PLANK
|
, makeTypeCraftNum 3 PLANK
|
||||||
|
|||||||
+2
-2
@@ -36,8 +36,8 @@ import System.Random
|
|||||||
initialAnoTree :: RandomGen g => Tree [Annotation g]
|
initialAnoTree :: RandomGen g => Tree [Annotation g]
|
||||||
initialAnoTree = padSucWithDoors $ treeFromTrunk
|
initialAnoTree = padSucWithDoors $ treeFromTrunk
|
||||||
[[AnoApplyInt 0 startRoom]
|
[[AnoApplyInt 0 startRoom]
|
||||||
, [AnoApplyInt 100 healthTest]
|
-- , [AnoApplyInt 100 healthTest]
|
||||||
-- , [SpecificRoom $ return . UseAll <$> tanksRoom [] []]
|
, [SpecificRoom $ return . UseAll <$> tanksRoom [] []]
|
||||||
, [PassthroughLockKeyLists 2 lockRoomKeyItems itemRooms]
|
, [PassthroughLockKeyLists 2 lockRoomKeyItems itemRooms]
|
||||||
, [SpecificRoom randomChallenges]
|
, [SpecificRoom randomChallenges]
|
||||||
, [AnoApplyInt 1 lasSensorTurretTest]
|
, [AnoApplyInt 1 lasSensorTurretTest]
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ bangCane = defaultGun
|
|||||||
, _itConsumption = defaultAmmo
|
, _itConsumption = defaultAmmo
|
||||||
{ _aoType = basicBullet
|
{ _aoType = basicBullet
|
||||||
, _ammoBaseMax = 1
|
, _ammoBaseMax = 1
|
||||||
, _reloadTime = 20
|
, _reloadTime = 15
|
||||||
, _reloadType = ActivePartial 1
|
, _reloadType = ActivePartial 1
|
||||||
}
|
}
|
||||||
, _itUse = ruseAmmoParamsRate 6 upHammer
|
, _itUse = ruseAmmoParamsRate 6 upHammer
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ bangStick i = defaultGun
|
|||||||
, _itConsumption = defaultAmmo
|
, _itConsumption = defaultAmmo
|
||||||
{ _aoType = basicBullet
|
{ _aoType = basicBullet
|
||||||
, _ammoBaseMax = i
|
, _ammoBaseMax = i
|
||||||
, _reloadTime = 15
|
, _reloadTime = 10
|
||||||
, _reloadType = ActivePartial 1
|
, _reloadType = ActivePartial 1
|
||||||
}
|
}
|
||||||
, _itUse = ruseAmmoParamsRate 8 upHammer
|
, _itUse = ruseAmmoParamsRate 8 upHammer
|
||||||
@@ -123,7 +123,7 @@ revolver = pistol
|
|||||||
{ _aoType = basicBullet
|
{ _aoType = basicBullet
|
||||||
, _ammoBaseMax = 6
|
, _ammoBaseMax = 6
|
||||||
, _ammoLoaded = 0
|
, _ammoLoaded = 0
|
||||||
, _reloadTime = 15
|
, _reloadTime = 10
|
||||||
, _reloadType = ActivePartial 1
|
, _reloadType = ActivePartial 1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -13,6 +13,11 @@ import Dodge.Item
|
|||||||
import System.Random
|
import System.Random
|
||||||
import Control.Monad.State
|
import Control.Monad.State
|
||||||
|
|
||||||
|
bossKeyItems :: RandomGen g => [ (State g (SubCompTree Room), State g CombineType) ]
|
||||||
|
bossKeyItems =
|
||||||
|
[(return . UseAll <$> bossRoom autoCrit, takeOne [PISTOL])
|
||||||
|
]
|
||||||
|
|
||||||
lockRoomKeyItems :: RandomGen g => [ (Int -> State g (SubCompTree Room) , State g CombineType ) ]
|
lockRoomKeyItems :: RandomGen g => [ (Int -> State g (SubCompTree Room) , State g CombineType ) ]
|
||||||
lockRoomKeyItems =
|
lockRoomKeyItems =
|
||||||
-- [(lasCenSensEdge, takeOne [LAUNCHER,LASGUN,SPARKGUN,FLATSHIELD] )
|
-- [(lasCenSensEdge, takeOne [LAUNCHER,LASGUN,SPARKGUN,FLATSHIELD] )
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ analyser' starts sucs fails afters upf pslight psmc = extTrigLitPos pslight $ \t
|
|||||||
TerminalParams
|
TerminalParams
|
||||||
{ _termDisplayedLines = []
|
{ _termDisplayedLines = []
|
||||||
, _termFutureLines =
|
, _termFutureLines =
|
||||||
map simpleline topflush
|
map simpleline (topFlushStrings allstrings)
|
||||||
++ map simpleline starts
|
++ map simpleline starts
|
||||||
++ [testline' (_mcID mc)]
|
++ [testline' (_mcID mc)]
|
||||||
++ map simpleline afters
|
++ map simpleline afters
|
||||||
@@ -72,7 +72,6 @@ analyser' starts sucs fails afters upf pslight psmc = extTrigLitPos pslight $ \t
|
|||||||
(\mc -> upf mc . (triggers . ix (fromJust $ _plMID tp) .~ const (_sensToggle $ _mcSensor mc))
|
(\mc -> upf mc . (triggers . ix (fromJust $ _plMID tp) .~ const (_sensToggle $ _mcSensor mc))
|
||||||
)
|
)
|
||||||
allstrings = sucs : fails : afters ++ starts
|
allstrings = sucs : fails : afters ++ starts
|
||||||
topflush = [replicate i ' ' ++ "*" | i <- [0,3 .. maximum (map length allstrings)]]
|
|
||||||
simpleline str = TerminalLineDisplay {_tlPause = 0, _tlString = const (str,white)}
|
simpleline str = TerminalLineDisplay {_tlPause = 0, _tlString = const (str,white)}
|
||||||
testline' mcid = TerminalLineDisplay 0 (testline mcid)
|
testline' mcid = TerminalLineDisplay 0 (testline mcid)
|
||||||
testline mcid w = case w ^? machines . ix mcid . mcSensor . sensToggle of
|
testline mcid w = case w ^? machines . ix mcid . mcSensor . sensToggle of
|
||||||
@@ -124,9 +123,9 @@ analyserTest t mc w = case
|
|||||||
(_,True,_,_) -> w
|
(_,True,_,_) -> w
|
||||||
(_,False,True,True) -> w
|
(_,False,True,True) -> w
|
||||||
& machines . ix (_mcID mc) . mcSensor . sensToggle .~ True
|
& machines . ix (_mcID mc) . mcSensor . sensToggle .~ True
|
||||||
& playsound dededaS
|
& playsound dedaS
|
||||||
& machines . ix (_mcID mc) . mcSensor . sensCloseToggle .~ IsClose
|
& machines . ix (_mcID mc) . mcSensor . sensCloseToggle .~ IsClose
|
||||||
(NotClose,_,False,True) -> w & playsound dededumS
|
(NotClose,_,False,True) -> w & playsound dedumS
|
||||||
& machines . ix (_mcID mc) . mcSensor . sensCloseToggle .~ IsClose
|
& machines . ix (_mcID mc) . mcSensor . sensCloseToggle .~ IsClose
|
||||||
(_,_,_,False) -> w & machines . ix (_mcID mc) . mcSensor . sensCloseToggle .~ NotClose
|
(_,_,_,False) -> w & machines . ix (_mcID mc) . mcSensor . sensCloseToggle .~ NotClose
|
||||||
_ -> w
|
_ -> w
|
||||||
@@ -136,7 +135,7 @@ analyserTest t mc w = case
|
|||||||
sens = _mcSensor mc
|
sens = _mcSensor mc
|
||||||
|
|
||||||
testYouHave :: CombineType -> Machine -> World -> World
|
testYouHave :: CombineType -> Machine -> World -> World
|
||||||
testYouHave ct = analyserTest (\w -> any (\itm -> _itType itm == ct) (_crInv (you w)))
|
testYouHave ct = analyserTest (any (\itm -> _itType itm == ct) . _crInv . you )
|
||||||
|
|
||||||
testYourHealth :: Int -> Machine -> World -> World
|
testYourHealth :: Int -> Machine -> World -> World
|
||||||
testYourHealth hp = analyserTest (\w -> _crHP (you w) >= hp)
|
testYourHealth hp = analyserTest (\w -> _crHP (you w) >= hp)
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ module Dodge.Placement.Instance.Terminal
|
|||||||
, putTerminal'
|
, putTerminal'
|
||||||
, simpleTermMessage
|
, simpleTermMessage
|
||||||
, genTermMessage
|
, genTermMessage
|
||||||
|
, topFlushStrings
|
||||||
) where
|
) where
|
||||||
import Dodge.Data
|
import Dodge.Data
|
||||||
import Dodge.LevelGen.Data
|
import Dodge.LevelGen.Data
|
||||||
@@ -86,27 +87,31 @@ simpleTermMessage :: [String] -> (GenParams -> TerminalParams)
|
|||||||
simpleTermMessage ss = const $ TerminalParams
|
simpleTermMessage ss = const $ TerminalParams
|
||||||
{_termDisplayedLines = []
|
{_termDisplayedLines = []
|
||||||
,_termFutureLines = TerminalLineEffect 0 termsound
|
,_termFutureLines = TerminalLineEffect 0 termsound
|
||||||
: map totermline (topflush ++ ss)
|
: map totermline (topFlushStrings ss ++ ss)
|
||||||
,_termMaxLines = 7
|
,_termMaxLines = 7
|
||||||
,_termTitle = "TERMINAL"
|
,_termTitle = "TERMINAL"
|
||||||
}
|
}
|
||||||
where
|
where
|
||||||
topflush = [replicate i ' ' ++ "*" | i <- [0,2 .. maximum (map length ss)]]
|
|
||||||
totermline s = TerminalLineDisplay 0 (const (s,white))
|
totermline s = TerminalLineDisplay 0 (const (s,white))
|
||||||
termsound subinv w' = soundStart TerminalSound tpos computerBeepingS Nothing w'
|
termsound subinv w' = soundStart TerminalSound tpos computerBeepingS Nothing w'
|
||||||
where
|
where
|
||||||
tpos = fromMaybe 0 $ w' ^? buttons . ix (_termID subinv) . btPos
|
tpos = fromMaybe 0 $ w' ^? buttons . ix (_termID subinv) . btPos
|
||||||
|
|
||||||
|
topFlushStrings :: [String] -> [String]
|
||||||
|
topFlushStrings = topFlush . maximum . map length
|
||||||
|
|
||||||
|
topFlush :: Int -> [String]
|
||||||
|
topFlush twidth = [replicate i ' ' ++ "*" | i <- [0, max 1 $ twidth `div` 5 .. twidth]]
|
||||||
|
|
||||||
genTermMessage :: (GenParams -> [String]) -> (GenParams -> TerminalParams)
|
genTermMessage :: (GenParams -> [String]) -> (GenParams -> TerminalParams)
|
||||||
genTermMessage f = \gp -> TerminalParams
|
genTermMessage f = \gp -> TerminalParams
|
||||||
{_termDisplayedLines = []
|
{_termDisplayedLines = []
|
||||||
,_termFutureLines = termSoundLine computerBeepingS
|
,_termFutureLines = termSoundLine computerBeepingS
|
||||||
: map totermline (topflush (f gp) ++ f gp)
|
: map totermline (topFlushStrings (f gp) ++ f gp)
|
||||||
,_termMaxLines = 7
|
,_termMaxLines = 7
|
||||||
,_termTitle = "TERMINAL"
|
,_termTitle = "TERMINAL"
|
||||||
}
|
}
|
||||||
where
|
where
|
||||||
topflush ss = [replicate i ' ' ++ "*" | i <- [0,2 .. maximum (map length ss)]]
|
|
||||||
totermline s = TerminalLineDisplay 0 (const (s,white))
|
totermline s = TerminalLineDisplay 0 (const (s,white))
|
||||||
|
|
||||||
termSoundLine :: SoundID -> TerminalLine
|
termSoundLine :: SoundID -> TerminalLine
|
||||||
|
|||||||
@@ -16,10 +16,10 @@ import Dodge.RandomHelp
|
|||||||
import Dodge.Tree
|
import Dodge.Tree
|
||||||
import Dodge.LevelGen.StaticWalls
|
import Dodge.LevelGen.StaticWalls
|
||||||
import Geometry
|
import Geometry
|
||||||
|
import LensHelp
|
||||||
|
|
||||||
import Data.Tree
|
import Data.Tree
|
||||||
import Control.Monad.State
|
import Control.Monad.State
|
||||||
import Control.Lens
|
|
||||||
import System.Random
|
import System.Random
|
||||||
roomGlassOctogon
|
roomGlassOctogon
|
||||||
:: Float -- ^ Size
|
:: Float -- ^ Size
|
||||||
@@ -56,7 +56,7 @@ roomGlassOctogon x = createPathGrid $ defaultRoom
|
|||||||
]
|
]
|
||||||
|
|
||||||
bossRoom :: RandomGen g => Creature -> State g Room
|
bossRoom :: RandomGen g => Creature -> State g Room
|
||||||
bossRoom cr = randomMediumRoom <&> rmPmnts %~ ( sPS (V2 0 100) (negate $ pi/2) (PutCrit cr) :)
|
bossRoom cr = randomMediumRoom <&> rmPmnts .:~ sPS (V2 0 100) (negate $ pi/2) (PutCrit cr)
|
||||||
|
|
||||||
armouredChasers :: RandomGen g => State g (Tree Room)
|
armouredChasers :: RandomGen g => State g (Tree Room)
|
||||||
armouredChasers = do
|
armouredChasers = do
|
||||||
|
|||||||
@@ -91,8 +91,8 @@ keyCardAnalyserByDoor keyid = analyserByDoor
|
|||||||
(bar : replicate 2 "")
|
(bar : replicate 2 "")
|
||||||
(machineAddSound fridgeHumS $ testYouHave (KEYCARD 0))
|
(machineAddSound fridgeHumS $ testYouHave (KEYCARD 0))
|
||||||
where
|
where
|
||||||
hic = "HEALTH INTEGRITY CHECK"
|
hic = "SECURITY CHECK"
|
||||||
bar = replicate (length hic) '-'
|
bar = replicate 18 '-'
|
||||||
|
|
||||||
healthAnalyserByDoor :: Int -> Room -> Room
|
healthAnalyserByDoor :: Int -> Room -> Room
|
||||||
healthAnalyserByDoor = analyserByDoor
|
healthAnalyserByDoor = analyserByDoor
|
||||||
@@ -113,8 +113,6 @@ analyserByDoor sa sb sc sd mcf outplid rm = rm
|
|||||||
& rmPmnts .++~
|
& rmPmnts .++~
|
||||||
[ psPt atFstLnkOut $ PutShape $ colorSH yellow
|
[ psPt atFstLnkOut $ PutShape $ colorSH yellow
|
||||||
$ barPP 1.5 (V3 20 (-1) 0) (V3 20 (-1) 80)
|
$ barPP 1.5 (V3 20 (-1) 0) (V3 20 (-1) 80)
|
||||||
, heightWallPS (atNthLnkOutShiftInward 1 100) 30 covershape
|
|
||||||
, heightWallPS (atFstLnkOutShiftInward 100) 30 covershape
|
|
||||||
]
|
]
|
||||||
& rmOutPmnt .~
|
& rmOutPmnt .~
|
||||||
[OutPlacement
|
[OutPlacement
|
||||||
@@ -125,8 +123,7 @@ analyserByDoor sa sb sc sd mcf outplid rm = rm
|
|||||||
)
|
)
|
||||||
outplid]
|
outplid]
|
||||||
where
|
where
|
||||||
covershape = rectNSEW 10 (-10) 20 (-20)
|
sensorshift (p,a) = (p +.+ rotateV a (V2 30 (-10)), a)
|
||||||
sensorshift (p,a) = (p +.+ rotateV a (V2 60 (-20)), a)
|
|
||||||
|
|
||||||
healthTest :: RandomGen g => Int -> State g (SubCompTree Room)
|
healthTest :: RandomGen g => Int -> State g (SubCompTree Room)
|
||||||
healthTest n = do
|
healthTest n = do
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- generated at 2022-03-22 10:04:11.692663796 UTC
|
-- generated at 2022-03-22 15:35:37.255279739 UTC
|
||||||
module Dodge.SoundLogic.ExternallyGeneratedSounds where
|
module Dodge.SoundLogic.ExternallyGeneratedSounds where
|
||||||
import Sound.Data
|
import Sound.Data
|
||||||
soundToVol :: SoundID -> Float
|
soundToVol :: SoundID -> Float
|
||||||
@@ -26,51 +26,53 @@ soundToVol v = case _getSoundID v of
|
|||||||
20 -> 4000
|
20 -> 4000
|
||||||
21 -> 5000
|
21 -> 5000
|
||||||
22 -> 5000
|
22 -> 5000
|
||||||
23 -> 20000
|
23 -> 5000
|
||||||
24 -> 4000
|
24 -> 20000
|
||||||
25 -> 10000
|
25 -> 4000
|
||||||
26 -> 8000
|
26 -> 10000
|
||||||
27 -> 4000
|
27 -> 8000
|
||||||
28 -> 2000
|
28 -> 4000
|
||||||
29 -> 6000
|
29 -> 2000
|
||||||
30 -> 500
|
30 -> 6000
|
||||||
31 -> 5000
|
31 -> 500
|
||||||
32 -> 8000
|
32 -> 5000
|
||||||
33 -> 8000
|
33 -> 8000
|
||||||
34 -> 8000
|
34 -> 8000
|
||||||
35 -> 5000
|
35 -> 8000
|
||||||
36 -> 8000
|
36 -> 5000
|
||||||
37 -> 4000
|
37 -> 8000
|
||||||
38 -> 3000
|
38 -> 4000
|
||||||
39 -> 8000
|
39 -> 3000
|
||||||
40 -> 2000
|
40 -> 8000
|
||||||
41 -> 10000
|
41 -> 2000
|
||||||
42 -> 5000
|
42 -> 10000
|
||||||
43 -> 2000
|
43 -> 5000
|
||||||
44 -> 3000
|
44 -> 2000
|
||||||
45 -> 5000
|
45 -> 3000
|
||||||
46 -> 10000
|
46 -> 5000
|
||||||
47 -> 12000
|
47 -> 10000
|
||||||
48 -> 5000
|
48 -> 12000
|
||||||
49 -> 10000
|
49 -> 5000
|
||||||
50 -> 12000
|
50 -> 10000
|
||||||
51 -> 2000
|
51 -> 12000
|
||||||
52 -> 3000
|
52 -> 2000
|
||||||
53 -> 8000
|
53 -> 3000
|
||||||
54 -> 5000
|
54 -> 8000
|
||||||
55 -> 2000
|
55 -> 5000
|
||||||
56 -> 3000
|
56 -> 2000
|
||||||
57 -> 10000
|
57 -> 3000
|
||||||
58 -> 500
|
58 -> 10000
|
||||||
59 -> 10000
|
59 -> 500
|
||||||
60 -> 3000
|
60 -> 10000
|
||||||
61 -> 15000
|
61 -> 3000
|
||||||
62 -> 10000
|
62 -> 15000
|
||||||
63 -> 3000
|
63 -> 10000
|
||||||
64 -> 1000
|
64 -> 3000
|
||||||
65 -> 15000
|
65 -> 1000
|
||||||
66 -> 10000
|
66 -> 15000
|
||||||
67 -> 8000
|
67 -> 10000
|
||||||
|
68 -> 5000
|
||||||
|
69 -> 8000
|
||||||
_ -> 50
|
_ -> 50
|
||||||
soundToOnomato :: SoundID -> String
|
soundToOnomato :: SoundID -> String
|
||||||
soundToOnomato v = case _getSoundID v of
|
soundToOnomato v = case _getSoundID v of
|
||||||
@@ -96,52 +98,54 @@ soundToOnomato v = case _getSoundID v of
|
|||||||
19 -> "TNKTNKTNK"
|
19 -> "TNKTNKTNK"
|
||||||
20 -> "TIPTAP"
|
20 -> "TIPTAP"
|
||||||
21 -> "WRR"
|
21 -> "WRR"
|
||||||
22 -> "HSS"
|
22 -> "DEDUM"
|
||||||
23 -> "BOOM"
|
23 -> "HSS"
|
||||||
24 -> "CLNK"
|
24 -> "BOOM"
|
||||||
25 -> "BRAP"
|
25 -> "CLNK"
|
||||||
26 -> "CRSNK"
|
26 -> "BRAP"
|
||||||
27 -> "TAPP"
|
27 -> "CRSNK"
|
||||||
28 -> "BLIH"
|
28 -> "TAPP"
|
||||||
29 -> "TAPTIP"
|
29 -> "BLIH"
|
||||||
30 -> "CLICK"
|
30 -> "TAPTIP"
|
||||||
31 -> "FWUMP"
|
31 -> "CLICK"
|
||||||
32 -> "RINGGG"
|
32 -> "FWUMP"
|
||||||
33 -> "BRAP"
|
33 -> "RINGGG"
|
||||||
34 -> "CRUMPLE"
|
34 -> "BRAP"
|
||||||
35 -> "TRINKL"
|
35 -> "CRUMPLE"
|
||||||
36 -> "TAK"
|
36 -> "TRINKL"
|
||||||
37 -> "SMACK"
|
37 -> "TAK"
|
||||||
38 -> "DRR"
|
38 -> "SMACK"
|
||||||
39 -> "CRASH"
|
39 -> "DRR"
|
||||||
40 -> "SWSH"
|
40 -> "CRASH"
|
||||||
41 -> "CRAKLE"
|
41 -> "SWSH"
|
||||||
42 -> "CRTINK"
|
42 -> "CRAKLE"
|
||||||
43 -> "FHP"
|
43 -> "CRTINK"
|
||||||
44 -> "CHPCHPCHP"
|
44 -> "FHP"
|
||||||
45 -> "BIPBIPBIP"
|
45 -> "CHPCHPCHP"
|
||||||
46 -> "CHUGUGUG"
|
46 -> "BIPBIPBIP"
|
||||||
47 -> "BRPBRPBRP"
|
47 -> "CHUGUGUG"
|
||||||
48 -> "CHNKCHNKCHUNK"
|
48 -> "BRPBRPBRP"
|
||||||
49 -> "WRRR"
|
49 -> "CHNKCHNKCHUNK"
|
||||||
50 -> "BRDBRDBRD"
|
50 -> "WRRR"
|
||||||
51 -> "PHF"
|
51 -> "BRDBRDBRD"
|
||||||
52 -> "BWAAH"
|
52 -> "PHF"
|
||||||
53 -> "BEP"
|
53 -> "BWAAH"
|
||||||
54 -> "HSSS"
|
54 -> "BEP"
|
||||||
55 -> "SHUHP"
|
55 -> "HSSS"
|
||||||
56 -> "THUD"
|
56 -> "SHUHP"
|
||||||
57 -> "WHSSH"
|
57 -> "THUD"
|
||||||
58 -> "HMM"
|
58 -> "WHSSH"
|
||||||
59 -> "BRAHCHCH"
|
59 -> "HMM"
|
||||||
60 -> "TIP"
|
60 -> "BRAHCHCH"
|
||||||
61 -> "BANGG"
|
61 -> "TIP"
|
||||||
62 -> "ZHM"
|
62 -> "BANGG"
|
||||||
63 -> "TAP"
|
63 -> "ZHM"
|
||||||
64 -> "BLPCHCH"
|
64 -> "TAP"
|
||||||
65 -> "BANG"
|
65 -> "BLPCHCH"
|
||||||
66 -> "CHUGUGUG"
|
66 -> "BANG"
|
||||||
67 -> "CRISH"
|
67 -> "CHUGUGUG"
|
||||||
|
68 -> "DEDA"
|
||||||
|
69 -> "CRISH"
|
||||||
_ -> error "unitialised sound"
|
_ -> error "unitialised sound"
|
||||||
soundPathList :: [String]
|
soundPathList :: [String]
|
||||||
soundPathList =
|
soundPathList =
|
||||||
@@ -167,6 +171,7 @@ soundPathList =
|
|||||||
, "reload.TNKTNKTNK.3000.wav"
|
, "reload.TNKTNKTNK.3000.wav"
|
||||||
, "twoStep.TIPTAP.4000.wav"
|
, "twoStep.TIPTAP.4000.wav"
|
||||||
, "fire.WRR.5000.wav"
|
, "fire.WRR.5000.wav"
|
||||||
|
, "dedum.DEDUM.5000.wav"
|
||||||
, "foamSprayFadeOut.HSS.5000.wav"
|
, "foamSprayFadeOut.HSS.5000.wav"
|
||||||
, "explosion.BOOM.20000.wav"
|
, "explosion.BOOM.20000.wav"
|
||||||
, "tapQuiet.CLNK.4000.wav"
|
, "tapQuiet.CLNK.4000.wav"
|
||||||
@@ -212,6 +217,7 @@ soundPathList =
|
|||||||
, "oldMachineBoot.BLPCHCH.1000.wav"
|
, "oldMachineBoot.BLPCHCH.1000.wav"
|
||||||
, "bang.BANG.15000.wav"
|
, "bang.BANG.15000.wav"
|
||||||
, "seagullChatter.CHUGUGUG.10000.wav"
|
, "seagullChatter.CHUGUGUG.10000.wav"
|
||||||
|
, "deda.DEDA.5000.wav"
|
||||||
, "impact4.CRISH.8000.wav"
|
, "impact4.CRISH.8000.wav"
|
||||||
]
|
]
|
||||||
tone440sawtoothquietS :: SoundID
|
tone440sawtoothquietS :: SoundID
|
||||||
@@ -258,95 +264,99 @@ twoStepS :: SoundID
|
|||||||
twoStepS = SoundID 20
|
twoStepS = SoundID 20
|
||||||
fireS :: SoundID
|
fireS :: SoundID
|
||||||
fireS = SoundID 21
|
fireS = SoundID 21
|
||||||
|
dedumS :: SoundID
|
||||||
|
dedumS = SoundID 22
|
||||||
foamSprayFadeOutS :: SoundID
|
foamSprayFadeOutS :: SoundID
|
||||||
foamSprayFadeOutS = SoundID 22
|
foamSprayFadeOutS = SoundID 23
|
||||||
explosionS :: SoundID
|
explosionS :: SoundID
|
||||||
explosionS = SoundID 23
|
explosionS = SoundID 24
|
||||||
tapQuietS :: SoundID
|
tapQuietS :: SoundID
|
||||||
tapQuietS = SoundID 24
|
tapQuietS = SoundID 25
|
||||||
autoGunS :: SoundID
|
autoGunS :: SoundID
|
||||||
autoGunS = SoundID 25
|
autoGunS = SoundID 26
|
||||||
glassShat1S :: SoundID
|
glassShat1S :: SoundID
|
||||||
glassShat1S = SoundID 26
|
glassShat1S = SoundID 27
|
||||||
foot3S :: SoundID
|
foot3S :: SoundID
|
||||||
foot3S = SoundID 27
|
foot3S = SoundID 28
|
||||||
healS :: SoundID
|
healS :: SoundID
|
||||||
healS = SoundID 28
|
healS = SoundID 29
|
||||||
twoStep1S :: SoundID
|
twoStep1S :: SoundID
|
||||||
twoStep1S = SoundID 29
|
twoStep1S = SoundID 30
|
||||||
click1S :: SoundID
|
click1S :: SoundID
|
||||||
click1S = SoundID 30
|
click1S = SoundID 31
|
||||||
tap4S :: SoundID
|
tap4S :: SoundID
|
||||||
tap4S = SoundID 31
|
tap4S = SoundID 32
|
||||||
tinitusS :: SoundID
|
tinitusS :: SoundID
|
||||||
tinitusS = SoundID 32
|
tinitusS = SoundID 33
|
||||||
tap3S :: SoundID
|
tap3S :: SoundID
|
||||||
tap3S = SoundID 33
|
tap3S = SoundID 34
|
||||||
impact3S :: SoundID
|
impact3S :: SoundID
|
||||||
impact3S = SoundID 34
|
impact3S = SoundID 35
|
||||||
smallGlass1S :: SoundID
|
smallGlass1S :: SoundID
|
||||||
smallGlass1S = SoundID 35
|
smallGlass1S = SoundID 36
|
||||||
tap1S :: SoundID
|
tap1S :: SoundID
|
||||||
tap1S = SoundID 36
|
tap1S = SoundID 37
|
||||||
hit1S :: SoundID
|
hit1S :: SoundID
|
||||||
hit1S = SoundID 37
|
hit1S = SoundID 38
|
||||||
slideDoorS :: SoundID
|
slideDoorS :: SoundID
|
||||||
slideDoorS = SoundID 38
|
slideDoorS = SoundID 39
|
||||||
impact1S :: SoundID
|
impact1S :: SoundID
|
||||||
impact1S = SoundID 39
|
impact1S = SoundID 40
|
||||||
knifeS :: SoundID
|
knifeS :: SoundID
|
||||||
knifeS = SoundID 40
|
knifeS = SoundID 41
|
||||||
elecCrackleS :: SoundID
|
elecCrackleS :: SoundID
|
||||||
elecCrackleS = SoundID 41
|
elecCrackleS = SoundID 42
|
||||||
smallGlass3S :: SoundID
|
smallGlass3S :: SoundID
|
||||||
smallGlass3S = SoundID 42
|
smallGlass3S = SoundID 43
|
||||||
whiteNoiseFadeInS :: SoundID
|
whiteNoiseFadeInS :: SoundID
|
||||||
whiteNoiseFadeInS = SoundID 43
|
whiteNoiseFadeInS = SoundID 44
|
||||||
reload1S :: SoundID
|
reload1S :: SoundID
|
||||||
reload1S = SoundID 44
|
reload1S = SoundID 45
|
||||||
computerBeepingS :: SoundID
|
computerBeepingS :: SoundID
|
||||||
computerBeepingS = SoundID 45
|
computerBeepingS = SoundID 46
|
||||||
seagullChatter1S :: SoundID
|
seagullChatter1S :: SoundID
|
||||||
seagullChatter1S = SoundID 46
|
seagullChatter1S = SoundID 47
|
||||||
miniS :: SoundID
|
miniS :: SoundID
|
||||||
miniS = SoundID 47
|
miniS = SoundID 48
|
||||||
crankSlowS :: SoundID
|
crankSlowS :: SoundID
|
||||||
crankSlowS = SoundID 48
|
crankSlowS = SoundID 49
|
||||||
fireLoudS :: SoundID
|
fireLoudS :: SoundID
|
||||||
fireLoudS = SoundID 49
|
fireLoudS = SoundID 50
|
||||||
mini1S :: SoundID
|
mini1S :: SoundID
|
||||||
mini1S = SoundID 50
|
mini1S = SoundID 51
|
||||||
whiteNoiseFadeOutS :: SoundID
|
whiteNoiseFadeOutS :: SoundID
|
||||||
whiteNoiseFadeOutS = SoundID 51
|
whiteNoiseFadeOutS = SoundID 52
|
||||||
sineRaisePitchTwoSecS :: SoundID
|
sineRaisePitchTwoSecS :: SoundID
|
||||||
sineRaisePitchTwoSecS = SoundID 52
|
sineRaisePitchTwoSecS = SoundID 53
|
||||||
tone440S :: SoundID
|
tone440S :: SoundID
|
||||||
tone440S = SoundID 53
|
tone440S = SoundID 54
|
||||||
foamSprayLoopS :: SoundID
|
foamSprayLoopS :: SoundID
|
||||||
foamSprayLoopS = SoundID 54
|
foamSprayLoopS = SoundID 55
|
||||||
pickUpS :: SoundID
|
pickUpS :: SoundID
|
||||||
pickUpS = SoundID 55
|
pickUpS = SoundID 56
|
||||||
hitS :: SoundID
|
hitS :: SoundID
|
||||||
hitS = SoundID 56
|
hitS = SoundID 57
|
||||||
missileLaunchS :: SoundID
|
missileLaunchS :: SoundID
|
||||||
missileLaunchS = SoundID 57
|
missileLaunchS = SoundID 58
|
||||||
fridgeHumS :: SoundID
|
fridgeHumS :: SoundID
|
||||||
fridgeHumS = SoundID 58
|
fridgeHumS = SoundID 59
|
||||||
shotgunS :: SoundID
|
shotgunS :: SoundID
|
||||||
shotgunS = SoundID 59
|
shotgunS = SoundID 60
|
||||||
foot1S :: SoundID
|
foot1S :: SoundID
|
||||||
foot1S = SoundID 60
|
foot1S = SoundID 61
|
||||||
bangEchoS :: SoundID
|
bangEchoS :: SoundID
|
||||||
bangEchoS = SoundID 61
|
bangEchoS = SoundID 62
|
||||||
teleS :: SoundID
|
teleS :: SoundID
|
||||||
teleS = SoundID 62
|
teleS = SoundID 63
|
||||||
foot2S :: SoundID
|
foot2S :: SoundID
|
||||||
foot2S = SoundID 63
|
foot2S = SoundID 64
|
||||||
oldMachineBootS :: SoundID
|
oldMachineBootS :: SoundID
|
||||||
oldMachineBootS = SoundID 64
|
oldMachineBootS = SoundID 65
|
||||||
bangS :: SoundID
|
bangS :: SoundID
|
||||||
bangS = SoundID 65
|
bangS = SoundID 66
|
||||||
seagullChatterS :: SoundID
|
seagullChatterS :: SoundID
|
||||||
seagullChatterS = SoundID 66
|
seagullChatterS = SoundID 67
|
||||||
|
dedaS :: SoundID
|
||||||
|
dedaS = SoundID 68
|
||||||
impact4S :: SoundID
|
impact4S :: SoundID
|
||||||
impact4S = SoundID 67
|
impact4S = SoundID 69
|
||||||
|
|||||||
Reference in New Issue
Block a user