- added resources needed for MBF support.
- removed unused score items from DECORATE file. - added 2 MBF code pointers I forgot in the last commit. SVN r1825 (trunk)
|
@ -1,7 +1,10 @@
|
||||||
September 14, 2009 (Changes by Graf Zahl)
|
September 14, 2009 (Changes by Graf Zahl)
|
||||||
|
- added resources needed for MBF support.
|
||||||
|
- removed unused score items from DECORATE file.
|
||||||
- Fixed: Argument count for UsePuzzleItem was wrong.
|
- Fixed: Argument count for UsePuzzleItem was wrong.
|
||||||
- Added a few things from Gez's experimental build:
|
- Added a few things from Gez's experimental build:
|
||||||
* MBF Dehacked emulation.
|
* MBF Dehacked emulation but removed the COMPATF_MBFDEHACKED flag because
|
||||||
|
it wouldn't work and is more or less useless anyway.
|
||||||
* MBF's dog (definition only, no sprites yet.)
|
* MBF's dog (definition only, no sprites yet.)
|
||||||
* User variables. There's an array of 10. They can be set and checked in
|
* User variables. There's an array of 10. They can be set and checked in
|
||||||
both DECORATE and ACS.
|
both DECORATE and ACS.
|
||||||
|
|
|
@ -1109,7 +1109,6 @@ static menuitem_t CompatibilityItems[] = {
|
||||||
{ bitflag, "Allow any bossdeath for level special", {&compatflags}, {0}, {0}, {0}, {(value_t *)COMPATF_ANYBOSSDEATH} },
|
{ bitflag, "Allow any bossdeath for level special", {&compatflags}, {0}, {0}, {0}, {(value_t *)COMPATF_ANYBOSSDEATH} },
|
||||||
{ bitflag, "No Minotaur floor flames in water", {&compatflags}, {0}, {0}, {0}, {(value_t *)COMPATF_MINOTAUR} },
|
{ bitflag, "No Minotaur floor flames in water", {&compatflags}, {0}, {0}, {0}, {(value_t *)COMPATF_MINOTAUR} },
|
||||||
{ bitflag, "Original A_Mushroom speed in DEH mods", {&compatflags}, {0}, {0}, {0}, {(value_t *)COMPATF_MUSHROOM} },
|
{ bitflag, "Original A_Mushroom speed in DEH mods", {&compatflags}, {0}, {0}, {0}, {(value_t *)COMPATF_MUSHROOM} },
|
||||||
{ bitflag, "Allow MBF pseudo-torque effects", {&compatflags}, {0}, {0}, {0}, {(value_t *)COMPATF_MBFTORQUE} },
|
|
||||||
{ bitflag, "Monster movement is affected by effects", {&compatflags}, {0}, {0}, {0}, {(value_t *)COMPATF_MBFMONSTERMOVE} },
|
{ bitflag, "Monster movement is affected by effects", {&compatflags}, {0}, {0}, {0}, {(value_t *)COMPATF_MBFMONSTERMOVE} },
|
||||||
{ bitflag, "Crushed monsters can be resurrected", {&compatflags}, {0}, {0}, {0}, {(value_t *)COMPATF_CORPSEGIBS} },
|
{ bitflag, "Crushed monsters can be resurrected", {&compatflags}, {0}, {0}, {0}, {(value_t *)COMPATF_CORPSEGIBS} },
|
||||||
{ bitflag, "Friendly monsters aren't blocked", {&compatflags}, {0}, {0}, {0}, {(value_t *)COMPATF_NOBLOCKFRIENDS} },
|
{ bitflag, "Friendly monsters aren't blocked", {&compatflags}, {0}, {0}, {0}, {(value_t *)COMPATF_NOBLOCKFRIENDS} },
|
||||||
|
|
|
@ -2871,3 +2871,41 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_SetUserVar)
|
||||||
self->uservar[pos] = value;
|
self->uservar[pos] = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// A few action functions for super-duper enhanced MBF compatibility. They're all deprecated and shouldn't be used in
|
||||||
|
// DECORATE. The other MBF new functions, A_Detonate, A_Mushroom and A_Die are all already elsewhere, and as for
|
||||||
|
// A_PlaySound, it is an instance of name conflict, so it has been given a default sound to work from dehacked as well.
|
||||||
|
|
||||||
|
DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_Turn)
|
||||||
|
{
|
||||||
|
ACTION_PARAM_START(1);
|
||||||
|
ACTION_PARAM_ANGLE(angle, 0);
|
||||||
|
self->angle += angle;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
// This allows linedef effects to be activated inside deh frames.
|
||||||
|
//
|
||||||
|
|
||||||
|
void P_TranslateLineDef (line_t *ld, maplinedef_t *mld);
|
||||||
|
DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_LineEffect)
|
||||||
|
{
|
||||||
|
ACTION_PARAM_START(2);
|
||||||
|
ACTION_PARAM_INT(special, 0);
|
||||||
|
ACTION_PARAM_INT(tag, 1);
|
||||||
|
|
||||||
|
line_t junk; maplinedef_t oldjunk;
|
||||||
|
bool res = false;
|
||||||
|
if (!(self->flags6 & MF6_LINEDONE)) // Unless already used up
|
||||||
|
{
|
||||||
|
if ((oldjunk.special = special)) // Linedef type
|
||||||
|
{
|
||||||
|
oldjunk.tag = tag; // Sector tag for linedef
|
||||||
|
P_TranslateLineDef(&junk, &oldjunk); // Turn into native type
|
||||||
|
res = !!LineSpecials[junk.special](NULL, self, false, junk.args[0],
|
||||||
|
junk.args[1], junk.args[2], junk.args[3], junk.args[4]);
|
||||||
|
if (res && !(junk.flags & ML_REPEAT_SPECIAL)) // If only once,
|
||||||
|
self->flags6 |= MF6_LINEDONE; // no more for this thing
|
||||||
|
}
|
||||||
|
}
|
||||||
|
ACTION_SET_RESULT(res);
|
||||||
|
}
|
||||||
|
|
|
@ -83,30 +83,11 @@ ACTOR DoomUnusedStates
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Actor DemonicDagger : ScoreItem
|
// MBF Beta emulation items
|
||||||
{
|
|
||||||
Inventory.PickupMessage "$BETA_BONUS1"
|
|
||||||
States
|
|
||||||
{
|
|
||||||
Spawn:
|
|
||||||
BON1 A 6
|
|
||||||
Loop
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
Actor SkullChest : ScoreItem
|
|
||||||
{
|
|
||||||
Inventory.PickupMessage "$BETA_BONUS2"
|
|
||||||
States
|
|
||||||
{
|
|
||||||
Spawn:
|
|
||||||
BON2 A 6
|
|
||||||
Loop
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
Actor EvilSceptre : ScoreItem 2016
|
Actor EvilSceptre : ScoreItem 2016
|
||||||
{
|
{
|
||||||
|
Game Doom
|
||||||
Inventory.PickupMessage "$BETA_BONUS3"
|
Inventory.PickupMessage "$BETA_BONUS3"
|
||||||
States
|
States
|
||||||
{
|
{
|
||||||
|
@ -118,6 +99,7 @@ Actor EvilSceptre : ScoreItem 2016
|
||||||
|
|
||||||
Actor UnholyBible : ScoreItem 2017
|
Actor UnholyBible : ScoreItem 2017
|
||||||
{
|
{
|
||||||
|
Game Doom
|
||||||
Inventory.PickupMessage "$BETA_BONUS4"
|
Inventory.PickupMessage "$BETA_BONUS4"
|
||||||
States
|
States
|
||||||
{
|
{
|
||||||
|
|
BIN
wadsrc/static/sounds/DSDGACT.flac
Normal file
BIN
wadsrc/static/sounds/DSDGATK.flac
Normal file
BIN
wadsrc/static/sounds/DSDGDTH.flac
Normal file
BIN
wadsrc/static/sounds/DSDGPAIN.flac
Normal file
BIN
wadsrc/static/sounds/DSDGSIT.flac
Normal file
BIN
wadsrc/static/sprites/PLS1A0.png
Normal file
After Width: | Height: | Size: 331 B |
BIN
wadsrc/static/sprites/PLS1B0.png
Normal file
After Width: | Height: | Size: 337 B |
BIN
wadsrc/static/sprites/PLS1C0.png
Normal file
After Width: | Height: | Size: 331 B |
BIN
wadsrc/static/sprites/PLS1D0.png
Normal file
After Width: | Height: | Size: 337 B |
BIN
wadsrc/static/sprites/PLS1E0.png
Normal file
After Width: | Height: | Size: 860 B |
BIN
wadsrc/static/sprites/PLS1F0.png
Normal file
After Width: | Height: | Size: 860 B |
BIN
wadsrc/static/sprites/PLS1G0.png
Normal file
After Width: | Height: | Size: 639 B |
BIN
wadsrc/static/sprites/PLS2A0.png
Normal file
After Width: | Height: | Size: 275 B |
BIN
wadsrc/static/sprites/PLS2B0.png
Normal file
After Width: | Height: | Size: 264 B |
BIN
wadsrc/static/sprites/PLS2C0.png
Normal file
After Width: | Height: | Size: 301 B |
BIN
wadsrc/static/sprites/PLS2D0.png
Normal file
After Width: | Height: | Size: 259 B |
BIN
wadsrc/static/sprites/PLS2E0.png
Normal file
After Width: | Height: | Size: 292 B |
BIN
wadsrc/static/sprites/dogs/DOGSA1.png
Normal file
After Width: | Height: | Size: 432 B |
BIN
wadsrc/static/sprites/dogs/DOGSA2A8.png
Normal file
After Width: | Height: | Size: 490 B |
BIN
wadsrc/static/sprites/dogs/DOGSA3A7.png
Normal file
After Width: | Height: | Size: 505 B |
BIN
wadsrc/static/sprites/dogs/DOGSA4A6.png
Normal file
After Width: | Height: | Size: 467 B |
BIN
wadsrc/static/sprites/dogs/DOGSA5.png
Normal file
After Width: | Height: | Size: 403 B |
BIN
wadsrc/static/sprites/dogs/DOGSB1.png
Normal file
After Width: | Height: | Size: 421 B |
BIN
wadsrc/static/sprites/dogs/DOGSB2B8.png
Normal file
After Width: | Height: | Size: 490 B |
BIN
wadsrc/static/sprites/dogs/DOGSB3B7.png
Normal file
After Width: | Height: | Size: 499 B |
BIN
wadsrc/static/sprites/dogs/DOGSB4B6.png
Normal file
After Width: | Height: | Size: 470 B |
BIN
wadsrc/static/sprites/dogs/DOGSB5.png
Normal file
After Width: | Height: | Size: 418 B |
BIN
wadsrc/static/sprites/dogs/DOGSC1.png
Normal file
After Width: | Height: | Size: 375 B |
BIN
wadsrc/static/sprites/dogs/DOGSC2C8.png
Normal file
After Width: | Height: | Size: 501 B |
BIN
wadsrc/static/sprites/dogs/DOGSC3C7.png
Normal file
After Width: | Height: | Size: 535 B |
BIN
wadsrc/static/sprites/dogs/DOGSC4C6.png
Normal file
After Width: | Height: | Size: 484 B |
BIN
wadsrc/static/sprites/dogs/DOGSC5.png
Normal file
After Width: | Height: | Size: 405 B |
BIN
wadsrc/static/sprites/dogs/DOGSD1.png
Normal file
After Width: | Height: | Size: 409 B |
BIN
wadsrc/static/sprites/dogs/DOGSD2D8.png
Normal file
After Width: | Height: | Size: 481 B |
BIN
wadsrc/static/sprites/dogs/DOGSD3D7.png
Normal file
After Width: | Height: | Size: 527 B |
BIN
wadsrc/static/sprites/dogs/DOGSD4D6.png
Normal file
After Width: | Height: | Size: 462 B |
BIN
wadsrc/static/sprites/dogs/DOGSD5.png
Normal file
After Width: | Height: | Size: 383 B |
BIN
wadsrc/static/sprites/dogs/DOGSE1.png
Normal file
After Width: | Height: | Size: 432 B |
BIN
wadsrc/static/sprites/dogs/DOGSE2.png
Normal file
After Width: | Height: | Size: 490 B |
BIN
wadsrc/static/sprites/dogs/DOGSE3.png
Normal file
After Width: | Height: | Size: 505 B |
BIN
wadsrc/static/sprites/dogs/DOGSE4.png
Normal file
After Width: | Height: | Size: 467 B |
BIN
wadsrc/static/sprites/dogs/DOGSE5.png
Normal file
After Width: | Height: | Size: 403 B |
BIN
wadsrc/static/sprites/dogs/DOGSE6.png
Normal file
After Width: | Height: | Size: 508 B |
BIN
wadsrc/static/sprites/dogs/DOGSE7.png
Normal file
After Width: | Height: | Size: 540 B |
BIN
wadsrc/static/sprites/dogs/DOGSE8.png
Normal file
After Width: | Height: | Size: 491 B |
BIN
wadsrc/static/sprites/dogs/DOGSF1.png
Normal file
After Width: | Height: | Size: 478 B |
BIN
wadsrc/static/sprites/dogs/DOGSF2.png
Normal file
After Width: | Height: | Size: 490 B |
BIN
wadsrc/static/sprites/dogs/DOGSF3.png
Normal file
After Width: | Height: | Size: 499 B |
BIN
wadsrc/static/sprites/dogs/DOGSF4.png
Normal file
After Width: | Height: | Size: 470 B |
BIN
wadsrc/static/sprites/dogs/DOGSF5.png
Normal file
After Width: | Height: | Size: 418 B |
BIN
wadsrc/static/sprites/dogs/DOGSF6.png
Normal file
After Width: | Height: | Size: 493 B |
BIN
wadsrc/static/sprites/dogs/DOGSF7.png
Normal file
After Width: | Height: | Size: 509 B |
BIN
wadsrc/static/sprites/dogs/DOGSF8.png
Normal file
After Width: | Height: | Size: 446 B |
BIN
wadsrc/static/sprites/dogs/DOGSG1.png
Normal file
After Width: | Height: | Size: 526 B |
BIN
wadsrc/static/sprites/dogs/DOGSG2.png
Normal file
After Width: | Height: | Size: 501 B |
BIN
wadsrc/static/sprites/dogs/DOGSG3.png
Normal file
After Width: | Height: | Size: 535 B |
BIN
wadsrc/static/sprites/dogs/DOGSG4.png
Normal file
After Width: | Height: | Size: 484 B |
BIN
wadsrc/static/sprites/dogs/DOGSG5.png
Normal file
After Width: | Height: | Size: 405 B |
BIN
wadsrc/static/sprites/dogs/DOGSG6.png
Normal file
After Width: | Height: | Size: 485 B |
BIN
wadsrc/static/sprites/dogs/DOGSG7.png
Normal file
After Width: | Height: | Size: 553 B |
BIN
wadsrc/static/sprites/dogs/DOGSG8.png
Normal file
After Width: | Height: | Size: 492 B |
BIN
wadsrc/static/sprites/dogs/DOGSH1.png
Normal file
After Width: | Height: | Size: 534 B |
BIN
wadsrc/static/sprites/dogs/DOGSH2.png
Normal file
After Width: | Height: | Size: 481 B |
BIN
wadsrc/static/sprites/dogs/DOGSH3.png
Normal file
After Width: | Height: | Size: 527 B |
BIN
wadsrc/static/sprites/dogs/DOGSH4.png
Normal file
After Width: | Height: | Size: 462 B |
BIN
wadsrc/static/sprites/dogs/DOGSH5.png
Normal file
After Width: | Height: | Size: 383 B |
BIN
wadsrc/static/sprites/dogs/DOGSH6.png
Normal file
After Width: | Height: | Size: 465 B |
BIN
wadsrc/static/sprites/dogs/DOGSH7.png
Normal file
After Width: | Height: | Size: 514 B |
BIN
wadsrc/static/sprites/dogs/DOGSH8.png
Normal file
After Width: | Height: | Size: 480 B |
BIN
wadsrc/static/sprites/dogs/DOGSI0.png
Normal file
After Width: | Height: | Size: 565 B |
BIN
wadsrc/static/sprites/dogs/DOGSJ0.png
Normal file
After Width: | Height: | Size: 606 B |
BIN
wadsrc/static/sprites/dogs/DOGSK0.png
Normal file
After Width: | Height: | Size: 606 B |
BIN
wadsrc/static/sprites/dogs/DOGSL0.png
Normal file
After Width: | Height: | Size: 616 B |
BIN
wadsrc/static/sprites/dogs/DOGSM0.png
Normal file
After Width: | Height: | Size: 616 B |
BIN
wadsrc/static/sprites/dogs/DOGSN0.png
Normal file
After Width: | Height: | Size: 429 B |
BIN
wadsrc/static/sprites/sgrna5.png
Normal file
After Width: | Height: | Size: 270 B |
BIN
wadsrc/static/sprites/sgrna6a4.png
Normal file
After Width: | Height: | Size: 343 B |
BIN
wadsrc/static/sprites/sgrna7a3.png
Normal file
After Width: | Height: | Size: 289 B |
BIN
wadsrc/static/sprites/sgrna8a2.png
Normal file
After Width: | Height: | Size: 347 B |