mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-23 20:42:45 +00:00
- RR: use a meta property for the gambling machine's sound.
This is mainly for the hypothetical map that tries to use this thing from within CON.
This commit is contained in:
parent
b432e94a72
commit
278cfe9216
1 changed files with 7 additions and 13 deletions
|
@ -9,15 +9,13 @@ class RedneckGamblingMachine : DukeActor
|
||||||
extra 0;
|
extra 0;
|
||||||
spriteset "GAMBLINGMACHINE2", "GAMBLINGMACHINE3", "GAMBLINGMACHINE4", "GAMBLINGMACHINE5", "GAMBLINGMACHINE6", "GAMBLINGMACHINE7", "GAMBLINGMACHINE8", "GAMBLINGMACHINEBROKE";
|
spriteset "GAMBLINGMACHINE2", "GAMBLINGMACHINE3", "GAMBLINGMACHINE4", "GAMBLINGMACHINE5", "GAMBLINGMACHINE6", "GAMBLINGMACHINE7", "GAMBLINGMACHINE8", "GAMBLINGMACHINEBROKE";
|
||||||
spritesetindex 3;
|
spritesetindex 3;
|
||||||
}
|
RedneckGamblingMachine.winsound "COW3";
|
||||||
|
|
||||||
Sound winsound;
|
|
||||||
|
|
||||||
override void Initialize()
|
|
||||||
{
|
|
||||||
winsound = "COW3";
|
|
||||||
}
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
meta Sound winsound;
|
||||||
|
property winsound: winsound;
|
||||||
|
|
||||||
override void Tick()
|
override void Tick()
|
||||||
{
|
{
|
||||||
int spriteindex;
|
int spriteindex;
|
||||||
|
@ -123,10 +121,6 @@ class RedneckGamblingMachine2 : RedneckGamblingMachine
|
||||||
default
|
default
|
||||||
{
|
{
|
||||||
spriteset "GAMBLINGMACHINE2_2", "GAMBLINGMACHINE2_3", "GAMBLINGMACHINE2_4", "GAMBLINGMACHINE2_5", "GAMBLINGMACHINE2_6", "GAMBLINGMACHINE2_7", "GAMBLINGMACHINE2_8", "GAMBLINGMACHINE2_BROKE";
|
spriteset "GAMBLINGMACHINE2_2", "GAMBLINGMACHINE2_3", "GAMBLINGMACHINE2_4", "GAMBLINGMACHINE2_5", "GAMBLINGMACHINE2_6", "GAMBLINGMACHINE2_7", "GAMBLINGMACHINE2_8", "GAMBLINGMACHINE2_BROKE";
|
||||||
}
|
RedneckGamblingMachine.winsound "VX_TPIN2";
|
||||||
|
|
||||||
override void Initialize()
|
|
||||||
{
|
|
||||||
winsound = "VX_TPIN2";
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue