mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-25 05:21:02 +00:00
68fbd75897
major change, so I'm making no provisions for using older FMOD DLLs when compiled with the 4.38 API. However, sound positioning is still broken like in 4.28, so you are recommended to continue building with 4.26. Also, the Freeverb-based DSP unit is no longer present in FMOD, so the underwater effect is currently unavailable when using 4.38 until I can figure out how to make it work with the SFX Reverb unit instead. (And on that topic, the Freeverb DSP was officially only for stereo outputs, so I really shouldn't have been using it in the first place.) - Since I would like to eventually figure out the sound positioning issues with the newer FMODs, the following have been added: * snd_drawoutput now labels its outputs with the speakers they represent. * DCanvas::DrawTextA was added as an alias for DrawText, since the Windows headers #define DrawText to a Unicode/non-Unicode variant. * The loopsound console command was added to spawn an actor at the player's location and have it loop a sound infinitely. Hopefully I can figure it out. FMOD's 3D example works, so I assume the problem lies with my code, though I don't really know where to begin looking for the problem. SVN r3350 (trunk)
176 lines
2.9 KiB
Text
176 lines
2.9 KiB
Text
|
|
// Default actor for unregistered doomednums -------------------------------
|
|
|
|
ACTOR Unknown
|
|
{
|
|
Radius 32
|
|
Height 56
|
|
+NOGRAVITY
|
|
+NOBLOCKMAP
|
|
+DONTSPLASH
|
|
States
|
|
{
|
|
Spawn:
|
|
UNKN A -1
|
|
Stop
|
|
}
|
|
}
|
|
|
|
// Route node for monster patrols -------------------------------------------
|
|
|
|
ACTOR PatrolPoint 9024
|
|
{
|
|
Radius 8
|
|
Height 8
|
|
Mass 10
|
|
+NOGRAVITY
|
|
+NOBLOCKMAP
|
|
+DONTSPLASH
|
|
RenderStyle None
|
|
}
|
|
|
|
// A special to execute when a monster reaches a matching patrol point ------
|
|
|
|
ACTOR PatrolSpecial 9047
|
|
{
|
|
Radius 8
|
|
Height 8
|
|
Mass 10
|
|
+NOGRAVITY
|
|
+NOBLOCKMAP
|
|
+DONTSPLASH
|
|
RenderStyle None
|
|
}
|
|
|
|
// Map spot ----------------------------------------------------------------
|
|
|
|
ACTOR MapSpot 9001
|
|
{
|
|
+NOBLOCKMAP
|
|
+NOSECTOR
|
|
+NOGRAVITY
|
|
+DONTSPLASH
|
|
RenderStyle None
|
|
}
|
|
|
|
// same with different editor number for Legacy maps -----------------------
|
|
|
|
ACTOR FS_Mapspot : Mapspot 5004
|
|
{
|
|
}
|
|
|
|
// Map spot with gravity ---------------------------------------------------
|
|
|
|
ACTOR MapSpotGravity : MapSpot 9013
|
|
{
|
|
-NOBLOCKMAP
|
|
-NOSECTOR
|
|
-NOGRAVITY
|
|
}
|
|
|
|
// Point Pushers -----------------------------------------------------------
|
|
|
|
ACTOR PointPusher 5001
|
|
{
|
|
+NOBLOCKMAP
|
|
+INVISIBLE
|
|
}
|
|
|
|
ACTOR PointPuller 5002
|
|
{
|
|
+NOBLOCKMAP
|
|
+INVISIBLE
|
|
}
|
|
|
|
// Bloody gibs -------------------------------------------------------------
|
|
|
|
ACTOR RealGibs
|
|
{
|
|
+DROPOFF
|
|
+CORPSE
|
|
+NOTELEPORT
|
|
+DONTGIB
|
|
States
|
|
{
|
|
Spawn:
|
|
goto GenericCrush
|
|
}
|
|
}
|
|
|
|
// Gibs that can be placed on a map. ---------------------------------------
|
|
//
|
|
// These need to be a separate class from the above, in case someone uses
|
|
// a deh patch to change the gibs, since ZDoom actually creates a gib actor
|
|
// for actors that get crushed instead of changing their state as Doom did.
|
|
|
|
ACTOR Gibs : RealGibs 24
|
|
{
|
|
Game Doom
|
|
SpawnID 146
|
|
ClearFlags
|
|
}
|
|
|
|
// Needed for loading Build maps -------------------------------------------
|
|
|
|
ACTOR CustomSprite 9988 native
|
|
{
|
|
+NOBLOCKMAP
|
|
+NOGRAVITY
|
|
States
|
|
{
|
|
Spawn:
|
|
TNT1 A -1
|
|
Stop
|
|
}
|
|
}
|
|
|
|
// SwitchableDecoration: Activate and Deactivate change state --------------
|
|
|
|
ACTOR SwitchableDecoration native
|
|
{
|
|
}
|
|
|
|
|
|
ACTOR SwitchingDecoration : SwitchableDecoration native
|
|
{
|
|
}
|
|
|
|
// Random spawner ----------------------------------------------------------
|
|
|
|
ACTOR RandomSpawner native
|
|
{
|
|
+NOBLOCKMAP
|
|
+NOSECTOR
|
|
+NOGRAVITY
|
|
+THRUACTORS
|
|
}
|
|
|
|
// Fast projectiles --------------------------------------------------------
|
|
|
|
ACTOR FastProjectile native
|
|
{
|
|
Projectile
|
|
}
|
|
|
|
// Sector flag setter ------------------------------------------------------
|
|
|
|
ACTOR SectorFlagSetter 9041 native
|
|
{
|
|
+NOBLOCKMAP
|
|
+NOGRAVITY
|
|
+DONTSPLASH
|
|
RenderStyle None
|
|
}
|
|
|
|
// Marker for sounds -------------------------------------------------------
|
|
|
|
ACTOR SpeakerIcon : Unknown
|
|
{
|
|
States
|
|
{
|
|
Spawn:
|
|
SPKR A -1 BRIGHT
|
|
Stop
|
|
}
|
|
Scale 0.125
|
|
}
|