mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-26 05:51:20 +00:00
- Fixed: Mace SpawnID was assigned to the MacePowered actor instead.
- Fixed: Sorcerer2FX1's SpawnID was not restricted to Heretic. SVN r1097 (trunk)
This commit is contained in:
parent
ff2680baa9
commit
21a7564c98
4 changed files with 64 additions and 56 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
July 31, 2008
|
||||||
|
- Fixed: Mace SpawnID was assigned to the MacePowered actor instead.
|
||||||
|
- Fixed: Sorcerer2FX1's SpawnID was not restricted to Heretic.
|
||||||
|
|
||||||
July 24, 2008
|
July 24, 2008
|
||||||
- Applied Blzut3's 5:4 SBARINFO patch. (At least I think that's what it's
|
- Applied Blzut3's 5:4 SBARINFO patch. (At least I think that's what it's
|
||||||
for.)
|
for.)
|
||||||
|
|
|
@ -398,7 +398,7 @@ FState AMace::States[] =
|
||||||
S_NORMAL (MACE, 'A', 8, A_ReFire , &States[S_MACEREADY])
|
S_NORMAL (MACE, 'A', 8, A_ReFire , &States[S_MACEREADY])
|
||||||
};
|
};
|
||||||
|
|
||||||
IMPLEMENT_ACTOR (AMace, Heretic, -1, 0)
|
IMPLEMENT_ACTOR (AMace, Heretic, -1, 31)
|
||||||
PROP_Flags (MF_SPECIAL)
|
PROP_Flags (MF_SPECIAL)
|
||||||
PROP_SpawnState (0)
|
PROP_SpawnState (0)
|
||||||
|
|
||||||
|
@ -419,7 +419,7 @@ IMPLEMENT_ACTOR (AMace, Heretic, -1, 0)
|
||||||
PROP_Inventory_PickupMessage("$TXT_WPNMACE")
|
PROP_Inventory_PickupMessage("$TXT_WPNMACE")
|
||||||
END_DEFAULTS
|
END_DEFAULTS
|
||||||
|
|
||||||
IMPLEMENT_STATELESS_ACTOR (AMacePowered, Heretic, -1, 31)
|
IMPLEMENT_STATELESS_ACTOR (AMacePowered, Heretic, -1, 0)
|
||||||
PROP_Weapon_Flags (WIF_POWERED_UP|WIF_BOT_REACTION_SKILL_THING|WIF_BOT_EXPLOSIVE)
|
PROP_Weapon_Flags (WIF_POWERED_UP|WIF_BOT_REACTION_SKILL_THING|WIF_BOT_EXPLOSIVE)
|
||||||
PROP_Weapon_AmmoUse1 (USE_MACE_AMMO_2)
|
PROP_Weapon_AmmoUse1 (USE_MACE_AMMO_2)
|
||||||
PROP_Weapon_AmmoGive1 (0)
|
PROP_Weapon_AmmoGive1 (0)
|
||||||
|
|
|
@ -238,10 +238,13 @@ yy20:
|
||||||
yy21:
|
yy21:
|
||||||
#line 124 "scanner.re"
|
#line 124 "scanner.re"
|
||||||
{
|
{
|
||||||
printf("unexpected character: %c\n", *s->tok);
|
if (*s->tok != '\r')
|
||||||
|
{
|
||||||
|
printf("unexpected character: %c (%#02x)\n", *s->tok, *s->tok);
|
||||||
|
}
|
||||||
goto std;
|
goto std;
|
||||||
}
|
}
|
||||||
#line 245 "scanner.c"
|
#line 248 "scanner.c"
|
||||||
yy22:
|
yy22:
|
||||||
++YYCURSOR;
|
++YYCURSOR;
|
||||||
yych = *YYCURSOR;
|
yych = *YYCURSOR;
|
||||||
|
@ -249,67 +252,67 @@ yy22:
|
||||||
yy23:
|
yy23:
|
||||||
#line 99 "scanner.re"
|
#line 99 "scanner.re"
|
||||||
{ goto std; }
|
{ goto std; }
|
||||||
#line 253 "scanner.c"
|
#line 256 "scanner.c"
|
||||||
yy24:
|
yy24:
|
||||||
++YYCURSOR;
|
++YYCURSOR;
|
||||||
#line 101 "scanner.re"
|
#line 101 "scanner.re"
|
||||||
{ RET(OR); }
|
{ RET(OR); }
|
||||||
#line 258 "scanner.c"
|
#line 261 "scanner.c"
|
||||||
yy26:
|
yy26:
|
||||||
++YYCURSOR;
|
++YYCURSOR;
|
||||||
#line 102 "scanner.re"
|
#line 102 "scanner.re"
|
||||||
{ RET(XOR); }
|
{ RET(XOR); }
|
||||||
#line 263 "scanner.c"
|
#line 266 "scanner.c"
|
||||||
yy28:
|
yy28:
|
||||||
++YYCURSOR;
|
++YYCURSOR;
|
||||||
#line 103 "scanner.re"
|
#line 103 "scanner.re"
|
||||||
{ RET(AND); }
|
{ RET(AND); }
|
||||||
#line 268 "scanner.c"
|
#line 271 "scanner.c"
|
||||||
yy30:
|
yy30:
|
||||||
++YYCURSOR;
|
++YYCURSOR;
|
||||||
#line 104 "scanner.re"
|
#line 104 "scanner.re"
|
||||||
{ RET(MINUS); }
|
{ RET(MINUS); }
|
||||||
#line 273 "scanner.c"
|
#line 276 "scanner.c"
|
||||||
yy32:
|
yy32:
|
||||||
++YYCURSOR;
|
++YYCURSOR;
|
||||||
#line 105 "scanner.re"
|
#line 105 "scanner.re"
|
||||||
{ RET(PLUS); }
|
{ RET(PLUS); }
|
||||||
#line 278 "scanner.c"
|
#line 281 "scanner.c"
|
||||||
yy34:
|
yy34:
|
||||||
++YYCURSOR;
|
++YYCURSOR;
|
||||||
#line 106 "scanner.re"
|
#line 106 "scanner.re"
|
||||||
{ RET(MULTIPLY); }
|
{ RET(MULTIPLY); }
|
||||||
#line 283 "scanner.c"
|
#line 286 "scanner.c"
|
||||||
yy36:
|
yy36:
|
||||||
++YYCURSOR;
|
++YYCURSOR;
|
||||||
#line 108 "scanner.re"
|
#line 108 "scanner.re"
|
||||||
{ RET(LPAREN); }
|
{ RET(LPAREN); }
|
||||||
#line 288 "scanner.c"
|
#line 291 "scanner.c"
|
||||||
yy38:
|
yy38:
|
||||||
++YYCURSOR;
|
++YYCURSOR;
|
||||||
#line 109 "scanner.re"
|
#line 109 "scanner.re"
|
||||||
{ RET(RPAREN); }
|
{ RET(RPAREN); }
|
||||||
#line 293 "scanner.c"
|
#line 296 "scanner.c"
|
||||||
yy40:
|
yy40:
|
||||||
++YYCURSOR;
|
++YYCURSOR;
|
||||||
#line 110 "scanner.re"
|
#line 110 "scanner.re"
|
||||||
{ RET(COMMA); }
|
{ RET(COMMA); }
|
||||||
#line 298 "scanner.c"
|
#line 301 "scanner.c"
|
||||||
yy42:
|
yy42:
|
||||||
++YYCURSOR;
|
++YYCURSOR;
|
||||||
#line 111 "scanner.re"
|
#line 111 "scanner.re"
|
||||||
{ RET(LBRACE); }
|
{ RET(LBRACE); }
|
||||||
#line 303 "scanner.c"
|
#line 306 "scanner.c"
|
||||||
yy44:
|
yy44:
|
||||||
++YYCURSOR;
|
++YYCURSOR;
|
||||||
#line 112 "scanner.re"
|
#line 112 "scanner.re"
|
||||||
{ RET(RBRACE); }
|
{ RET(RBRACE); }
|
||||||
#line 308 "scanner.c"
|
#line 311 "scanner.c"
|
||||||
yy46:
|
yy46:
|
||||||
++YYCURSOR;
|
++YYCURSOR;
|
||||||
#line 113 "scanner.re"
|
#line 113 "scanner.re"
|
||||||
{ RET(SEMICOLON); }
|
{ RET(SEMICOLON); }
|
||||||
#line 313 "scanner.c"
|
#line 316 "scanner.c"
|
||||||
yy48:
|
yy48:
|
||||||
++YYCURSOR;
|
++YYCURSOR;
|
||||||
#line 117 "scanner.re"
|
#line 117 "scanner.re"
|
||||||
|
@ -318,7 +321,7 @@ yy48:
|
||||||
s->pos = cursor; s->line++;
|
s->pos = cursor; s->line++;
|
||||||
goto std;
|
goto std;
|
||||||
}
|
}
|
||||||
#line 322 "scanner.c"
|
#line 325 "scanner.c"
|
||||||
yy50:
|
yy50:
|
||||||
yych = *++YYCURSOR;
|
yych = *++YYCURSOR;
|
||||||
goto yy21;
|
goto yy21;
|
||||||
|
@ -407,7 +410,7 @@ yy57:
|
||||||
++YYCURSOR;
|
++YYCURSOR;
|
||||||
#line 97 "scanner.re"
|
#line 97 "scanner.re"
|
||||||
{ RET(STRING); }
|
{ RET(STRING); }
|
||||||
#line 411 "scanner.c"
|
#line 414 "scanner.c"
|
||||||
yy59:
|
yy59:
|
||||||
++YYCURSOR;
|
++YYCURSOR;
|
||||||
if(YYLIMIT == YYCURSOR) YYFILL(1);
|
if(YYLIMIT == YYCURSOR) YYFILL(1);
|
||||||
|
@ -561,7 +564,7 @@ yy73:
|
||||||
yy84:
|
yy84:
|
||||||
#line 89 "scanner.re"
|
#line 89 "scanner.re"
|
||||||
{ RET(RenderStyles); }
|
{ RET(RenderStyles); }
|
||||||
#line 565 "scanner.c"
|
#line 568 "scanner.c"
|
||||||
yy85:
|
yy85:
|
||||||
yych = *++YYCURSOR;
|
yych = *++YYCURSOR;
|
||||||
if(yych != 'r') goto yy72;
|
if(yych != 'r') goto yy72;
|
||||||
|
@ -595,7 +598,7 @@ yy85:
|
||||||
yy94:
|
yy94:
|
||||||
#line 88 "scanner.re"
|
#line 88 "scanner.re"
|
||||||
{ RET(FirstState); }
|
{ RET(FirstState); }
|
||||||
#line 599 "scanner.c"
|
#line 602 "scanner.c"
|
||||||
yy95:
|
yy95:
|
||||||
yych = *++YYCURSOR;
|
yych = *++YYCURSOR;
|
||||||
if(yych != 'a') goto yy72;
|
if(yych != 'a') goto yy72;
|
||||||
|
@ -629,7 +632,7 @@ yy95:
|
||||||
yy104:
|
yy104:
|
||||||
#line 86 "scanner.re"
|
#line 86 "scanner.re"
|
||||||
{ RET(DeathState); }
|
{ RET(DeathState); }
|
||||||
#line 633 "scanner.c"
|
#line 636 "scanner.c"
|
||||||
yy105:
|
yy105:
|
||||||
yych = *++YYCURSOR;
|
yych = *++YYCURSOR;
|
||||||
if(yych != 'i') goto yy72;
|
if(yych != 'i') goto yy72;
|
||||||
|
@ -661,7 +664,7 @@ yy105:
|
||||||
yy113:
|
yy113:
|
||||||
#line 85 "scanner.re"
|
#line 85 "scanner.re"
|
||||||
{ RET(ThingBits); }
|
{ RET(ThingBits); }
|
||||||
#line 665 "scanner.c"
|
#line 668 "scanner.c"
|
||||||
yy114:
|
yy114:
|
||||||
yych = *++YYCURSOR;
|
yych = *++YYCURSOR;
|
||||||
if(yych != 'f') goto yy72;
|
if(yych != 'f') goto yy72;
|
||||||
|
@ -693,7 +696,7 @@ yy114:
|
||||||
yy122:
|
yy122:
|
||||||
#line 84 "scanner.re"
|
#line 84 "scanner.re"
|
||||||
{ RET(InfoNames); }
|
{ RET(InfoNames); }
|
||||||
#line 697 "scanner.c"
|
#line 700 "scanner.c"
|
||||||
yy123:
|
yy123:
|
||||||
yych = *++YYCURSOR;
|
yych = *++YYCURSOR;
|
||||||
if(yych == 'u') goto yy142;
|
if(yych == 'u') goto yy142;
|
||||||
|
@ -731,7 +734,7 @@ yy125:
|
||||||
yy132:
|
yy132:
|
||||||
#line 82 "scanner.re"
|
#line 82 "scanner.re"
|
||||||
{ RET(StateMap); }
|
{ RET(StateMap); }
|
||||||
#line 735 "scanner.c"
|
#line 738 "scanner.c"
|
||||||
yy133:
|
yy133:
|
||||||
yych = *++YYCURSOR;
|
yych = *++YYCURSOR;
|
||||||
if(yych != 'w') goto yy72;
|
if(yych != 'w') goto yy72;
|
||||||
|
@ -763,7 +766,7 @@ yy133:
|
||||||
yy141:
|
yy141:
|
||||||
#line 87 "scanner.re"
|
#line 87 "scanner.re"
|
||||||
{ RET(SpawnState); }
|
{ RET(SpawnState); }
|
||||||
#line 767 "scanner.c"
|
#line 770 "scanner.c"
|
||||||
yy142:
|
yy142:
|
||||||
yych = *++YYCURSOR;
|
yych = *++YYCURSOR;
|
||||||
if(yych != 'n') goto yy72;
|
if(yych != 'n') goto yy72;
|
||||||
|
@ -791,7 +794,7 @@ yy142:
|
||||||
yy148:
|
yy148:
|
||||||
#line 83 "scanner.re"
|
#line 83 "scanner.re"
|
||||||
{ RET(SoundMap); }
|
{ RET(SoundMap); }
|
||||||
#line 795 "scanner.c"
|
#line 798 "scanner.c"
|
||||||
yy149:
|
yy149:
|
||||||
yych = *++YYCURSOR;
|
yych = *++YYCURSOR;
|
||||||
if(yych != 'd') goto yy72;
|
if(yych != 'd') goto yy72;
|
||||||
|
@ -823,7 +826,7 @@ yy149:
|
||||||
yy157:
|
yy157:
|
||||||
#line 80 "scanner.re"
|
#line 80 "scanner.re"
|
||||||
{ RET(CodePConv); }
|
{ RET(CodePConv); }
|
||||||
#line 827 "scanner.c"
|
#line 830 "scanner.c"
|
||||||
yy158:
|
yy158:
|
||||||
yych = *++YYCURSOR;
|
yych = *++YYCURSOR;
|
||||||
if(yych != 'g') goto yy72;
|
if(yych != 'g') goto yy72;
|
||||||
|
@ -866,7 +869,7 @@ yy161:
|
||||||
yy169:
|
yy169:
|
||||||
#line 81 "scanner.re"
|
#line 81 "scanner.re"
|
||||||
{ RET(OrgSprNames); }
|
{ RET(OrgSprNames); }
|
||||||
#line 870 "scanner.c"
|
#line 873 "scanner.c"
|
||||||
yy170:
|
yy170:
|
||||||
yych = *++YYCURSOR;
|
yych = *++YYCURSOR;
|
||||||
if(yych != 'i') goto yy72;
|
if(yych != 'i') goto yy72;
|
||||||
|
@ -894,7 +897,7 @@ yy170:
|
||||||
yy176:
|
yy176:
|
||||||
#line 78 "scanner.re"
|
#line 78 "scanner.re"
|
||||||
{ RET(OrgHeights); }
|
{ RET(OrgHeights); }
|
||||||
#line 898 "scanner.c"
|
#line 901 "scanner.c"
|
||||||
yy177:
|
yy177:
|
||||||
yych = *++YYCURSOR;
|
yych = *++YYCURSOR;
|
||||||
if(yych != 't') goto yy72;
|
if(yych != 't') goto yy72;
|
||||||
|
@ -923,7 +926,7 @@ yy177:
|
||||||
yy183:
|
yy183:
|
||||||
#line 77 "scanner.re"
|
#line 77 "scanner.re"
|
||||||
{ RET(Actions); }
|
{ RET(Actions); }
|
||||||
#line 927 "scanner.c"
|
#line 930 "scanner.c"
|
||||||
yy184:
|
yy184:
|
||||||
yych = *++YYCURSOR;
|
yych = *++YYCURSOR;
|
||||||
if(yych != 'i') goto yy72;
|
if(yych != 'i') goto yy72;
|
||||||
|
@ -947,7 +950,7 @@ yy184:
|
||||||
yy188:
|
yy188:
|
||||||
#line 79 "scanner.re"
|
#line 79 "scanner.re"
|
||||||
{ RET(ActionList); }
|
{ RET(ActionList); }
|
||||||
#line 951 "scanner.c"
|
#line 954 "scanner.c"
|
||||||
yy189:
|
yy189:
|
||||||
yych = *++YYCURSOR;
|
yych = *++YYCURSOR;
|
||||||
if(yych != 'i') goto yy72;
|
if(yych != 'i') goto yy72;
|
||||||
|
@ -971,7 +974,7 @@ yy189:
|
||||||
yy193:
|
yy193:
|
||||||
#line 76 "scanner.re"
|
#line 76 "scanner.re"
|
||||||
{ RET(PRINT); }
|
{ RET(PRINT); }
|
||||||
#line 975 "scanner.c"
|
#line 978 "scanner.c"
|
||||||
yy194:
|
yy194:
|
||||||
yych = *++YYCURSOR;
|
yych = *++YYCURSOR;
|
||||||
if(yych != 'd') goto yy72;
|
if(yych != 'd') goto yy72;
|
||||||
|
@ -993,7 +996,7 @@ yy194:
|
||||||
yy197:
|
yy197:
|
||||||
#line 75 "scanner.re"
|
#line 75 "scanner.re"
|
||||||
{ RET(ENDL); }
|
{ RET(ENDL); }
|
||||||
#line 997 "scanner.c"
|
#line 1000 "scanner.c"
|
||||||
yy198:
|
yy198:
|
||||||
++YYCURSOR;
|
++YYCURSOR;
|
||||||
if(YYLIMIT == YYCURSOR) YYFILL(1);
|
if(YYLIMIT == YYCURSOR) YYFILL(1);
|
||||||
|
@ -1004,7 +1007,7 @@ yy200:
|
||||||
++YYCURSOR;
|
++YYCURSOR;
|
||||||
#line 67 "scanner.re"
|
#line 67 "scanner.re"
|
||||||
{ goto comment; }
|
{ goto comment; }
|
||||||
#line 1008 "scanner.c"
|
#line 1011 "scanner.c"
|
||||||
yy202:
|
yy202:
|
||||||
++YYCURSOR;
|
++YYCURSOR;
|
||||||
#line 69 "scanner.re"
|
#line 69 "scanner.re"
|
||||||
|
@ -1013,14 +1016,14 @@ yy202:
|
||||||
s->tok = s->pos = cursor; s->line++;
|
s->tok = s->pos = cursor; s->line++;
|
||||||
goto std;
|
goto std;
|
||||||
}
|
}
|
||||||
#line 1017 "scanner.c"
|
#line 1020 "scanner.c"
|
||||||
}
|
}
|
||||||
#line 128 "scanner.re"
|
#line 131 "scanner.re"
|
||||||
|
|
||||||
|
|
||||||
comment:
|
comment:
|
||||||
|
|
||||||
#line 1024 "scanner.c"
|
#line 1027 "scanner.c"
|
||||||
{
|
{
|
||||||
YYCTYPE yych;
|
YYCTYPE yych;
|
||||||
if((YYLIMIT - YYCURSOR) < 2) YYFILL(2);
|
if((YYLIMIT - YYCURSOR) < 2) YYFILL(2);
|
||||||
|
@ -1030,28 +1033,28 @@ comment:
|
||||||
++YYCURSOR;
|
++YYCURSOR;
|
||||||
if((yych = *YYCURSOR) == '/') goto yy211;
|
if((yych = *YYCURSOR) == '/') goto yy211;
|
||||||
yy207:
|
yy207:
|
||||||
#line 139 "scanner.re"
|
#line 142 "scanner.re"
|
||||||
{ goto comment; }
|
{ goto comment; }
|
||||||
#line 1036 "scanner.c"
|
#line 1039 "scanner.c"
|
||||||
yy208:
|
yy208:
|
||||||
++YYCURSOR;
|
++YYCURSOR;
|
||||||
#line 134 "scanner.re"
|
#line 137 "scanner.re"
|
||||||
{
|
{
|
||||||
if(cursor == s->eof) RET(EOI);
|
if(cursor == s->eof) RET(EOI);
|
||||||
s->tok = s->pos = cursor; s->line++;
|
s->tok = s->pos = cursor; s->line++;
|
||||||
goto comment;
|
goto comment;
|
||||||
}
|
}
|
||||||
#line 1045 "scanner.c"
|
#line 1048 "scanner.c"
|
||||||
yy210:
|
yy210:
|
||||||
yych = *++YYCURSOR;
|
yych = *++YYCURSOR;
|
||||||
goto yy207;
|
goto yy207;
|
||||||
yy211:
|
yy211:
|
||||||
++YYCURSOR;
|
++YYCURSOR;
|
||||||
#line 132 "scanner.re"
|
#line 135 "scanner.re"
|
||||||
{ goto std; }
|
{ goto std; }
|
||||||
#line 1053 "scanner.c"
|
#line 1056 "scanner.c"
|
||||||
}
|
}
|
||||||
#line 140 "scanner.re"
|
#line 143 "scanner.re"
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -188,6 +188,7 @@ ACTOR Sorcerer2
|
||||||
|
|
||||||
ACTOR Sorcerer2FX1
|
ACTOR Sorcerer2FX1
|
||||||
{
|
{
|
||||||
|
Game Heretic
|
||||||
SpawnID 145
|
SpawnID 145
|
||||||
Radius 10
|
Radius 10
|
||||||
Height 6
|
Height 6
|
||||||
|
|
Loading…
Reference in a new issue