Skip to content

Commit

Permalink
More autocomplete entries for Legacy of Rust
Browse files Browse the repository at this point in the history
  • Loading branch information
bradharding committed Sep 6, 2024
1 parent 664e0db commit f9d5136
Show file tree
Hide file tree
Showing 2 changed files with 65 additions and 1 deletion.
63 changes: 62 additions & 1 deletion src/c_autocomplete.c
Original file line number Diff line number Diff line change
Expand Up @@ -5485,15 +5485,19 @@ autocomplete_t autocompletelist[] =
{ "give boxofbullets", DOOM1AND2 },
{ "give boxofrockets", DOOM1AND2 },
{ "give boxofshells", DOOM1AND2 },
{ "give calamityblade", ID1ONLY },
{ "give cellpack", DOOM1AND2 },
{ "give cells", DOOM1AND2 },
{ "give chaingun", DOOM1AND2 },
{ "give chainsaw", DOOM1AND2 },
{ "give clip", DOOM1AND2 },
{ "give computerareamap", DOOM1AND2 },
{ "give fuelcan", ID1ONLY },
{ "give fueltank", ID1ONLY },
{ "give greenarmor", DOOM1AND2 },
{ "give health", DOOM1AND2 },
{ "give healthbonus", DOOM1AND2 },
{ "give incinerator", ID1ONLY },
{ "give invulnerability", DOOM1AND2 },
{ "give keycards", DOOM1AND2 },
{ "give keys", DOOM1AND2 },
Expand Down Expand Up @@ -8135,6 +8139,10 @@ autocomplete_t autocompletelist[] =
{ "secretmessages on", DOOM1AND2 },
{ "skilllevel ", DOOM1AND2 },
{ "spawn ", DOOM1AND2 },
{ "spawn ambientklaxon", ID1ONLY },
{ "spawn ambientportalclose", ID1ONLY },
{ "spawn ambientportalloop", ID1ONLY },
{ "spawn ambientportalopen", ID1ONLY },
{ "spawn arachnotron", DOOM2ONLY },
{ "spawn archvile", DOOM2ONLY },
{ "spawn armorbonus", DOOM1AND2 },
Expand All @@ -8153,9 +8161,28 @@ autocomplete_t autocompletelist[] =
{ "spawn boxofrockets", DOOM1AND2 },
{ "spawn boxofshells", DOOM1AND2 },
{ "spawn burningbarrel", DOOM2ONLY },
{ "spawn bushshort", ID1ONLY },
{ "spawn bushshortburned1", ID1ONLY },
{ "spawn bushshortburned2", ID1ONLY },
{ "spawn bushtall", ID1ONLY },
{ "spawn bushtallburned1", ID1ONLY },
{ "spawn bushtallburned2", ID1ONLY },
{ "spawn cacodemon", DOOM1AND2 },
{ "spawn calamityblade", ID1ONLY },
{ "spawn candelabra", DOOM1AND2 },
{ "spawn candelabrashort", ID1ONLY },
{ "spawn candlestick", DOOM1AND2 },
{ "spawn caverockcolumn", ID1ONLY },
{ "spawn cavestalactitelarge", ID1ONLY },
{ "spawn cavestalactitelargeblocking", ID1ONLY },
{ "spawn cavestalactitemedium", ID1ONLY },
{ "spawn cavestalactitemediumblocking", ID1ONLY },
{ "spawn cavestalactitesmall", ID1ONLY },
{ "spawn cavestalactitesmallblocking", ID1ONLY },
{ "spawn cavestalagmitelarge", ID1ONLY },
{ "spawn cavestalagmitemedium", ID1ONLY },
{ "spawn cavestalagmitesmall", ID1ONLY },
{ "spawn ceilinglamp", ID1ONLY },
{ "spawn cell", DOOM1AND2 },
{ "spawn cellpack", DOOM1AND2 },
{ "spawn chaingun", DOOM1AND2 },
Expand All @@ -8166,8 +8193,8 @@ autocomplete_t autocompletelist[] =
{ "spawn computerareamap", DOOM1AND2 },
{ "spawn cyberdemon", DOOM1AND2 },
{ "spawn deadcacodemon", DOOM1AND2 },
{ "spawn deadlostsoul", DOOM1AND2 },
{ "spawn deadimp", DOOM1AND2 },
{ "spawn deadlostsoul", DOOM1AND2 },
{ "spawn deadpinkydemon", DOOM1AND2 },
{ "spawn deadplayer", DOOM1AND2 },
{ "spawn deadshotgunguy", DOOM1AND2 },
Expand Down Expand Up @@ -8303,37 +8330,61 @@ autocomplete_t autocompletelist[] =
{ "spawn friendly tyrant", ID1ONLY },
{ "spawn friendly vassago", ID1ONLY },
{ "spawn friendly zombieman", DOOM1AND2 },
{ "spawn fuelcan", ID1ONLY },
{ "spawn fueltank", ID1ONLY },
{ "spawn ghoul", ID1ONLY },
{ "spawn ghoulball", ID1ONLY },
{ "spawn greenarmor", DOOM1AND2 },
{ "spawn hangingbaronofhell", ID1ONLY },
{ "spawn hangingbaronofhellblocking", ID1ONLY },
{ "spawn hangingleg", DOOM1AND2 },
{ "spawn hanginglegblocking", DOOM1AND2 },
{ "spawn hangingpairoflegs", DOOM1AND2 },
{ "spawn hangingpairoflegsblocking", DOOM1AND2 },
{ "spawn hangingtorsobrainremoved", DOOM2ONLY },
{ "spawn hangingtorsochained", ID1ONLY },
{ "spawn hangingtorsochainedblocking", ID1ONLY },
{ "spawn hangingtorsolookingdown", DOOM2ONLY },
{ "spawn hangingtorsolookingup", DOOM2ONLY },
{ "spawn hangingtorsoopenskull", DOOM2ONLY },
{ "spawn hangingvictimarmsbound", ID1ONLY },
{ "spawn hangingvictimarmsboundblocking", ID1ONLY },
{ "spawn hangingvictimarmsout", DOOM1AND2 },
{ "spawn hangingvictimarmsoutblocking", DOOM1AND2 },
{ "spawn hangingvictimbothlegs", ID1ONLY },
{ "spawn hangingvictimbothlegsblocking", ID1ONLY },
{ "spawn hangingvictimchained", ID1ONLY },
{ "spawn hangingvictimchainedblocking", ID1ONLY },
{ "spawn hangingvictimcrucified", ID1ONLY },
{ "spawn hangingvictimcrucifiedblocking", ID1ONLY },
{ "spawn hangingvictimgutsandbrainremoved", DOOM2ONLY },
{ "spawn hangingvictimgutsremoved", DOOM2ONLY },
{ "spawn hangingvictimonelegged", DOOM1AND2 },
{ "spawn hangingvictimoneleggedblocking", DOOM1AND2 },
{ "spawn hangingvictimtwitching", DOOM1AND2 },
{ "spawn hangingvictimtwitchingblocking", DOOM1AND2 },
{ "spawn healthbonus", DOOM1AND2 },
{ "spawn heatwaveripper", ID1ONLY },
{ "spawn heatwavespawner", ID1ONLY },
{ "spawn hellknight", DOOM2ONLY },
{ "spawn humanbbq1", ID1ONLY },
{ "spawn humanbbq2", ID1ONLY },
{ "spawn iconofsin", DOOM1AND2 },
{ "spawn imp", DOOM1AND2 },
{ "spawn impaledhuman", DOOM1AND2 },
{ "spawn incinerator", ID1ONLY },
{ "spawn incineratorflame", ID1ONLY },
{ "spawn invulnerability", DOOM1AND2 },
{ "spawn largebrowntree", DOOM1AND2 },
{ "spawn largecorpsepile", ID1ONLY },
{ "spawn lightamplificationvisor", DOOM1AND2 },
{ "spawn lostsoul", DOOM1AND2 },
{ "spawn mancubus", DOOM2ONLY },
{ "spawn medikit", DOOM1AND2 },
{ "spawn megasphere", DOOM2ONLY },
{ "spawn mindweaver", ID1ONLY },
{ "spawn officechair", ID1ONLY },
{ "spawn officelampbreakable", ID1ONLY },
{ "spawn painelemental", DOOM2ONLY },
{ "spawn partialinvisibility", DOOM1AND2 },
{ "spawn pileofskullsandcandles", DOOM1AND2 },
Expand All @@ -8351,6 +8402,8 @@ autocomplete_t autocompletelist[] =
{ "spawn rockets", DOOM1AND2 },
{ "spawn shell", DOOM1AND2 },
{ "spawn shocktrooper", ID1ONLY },
{ "spawn shocktrooperhead", ID1ONLY },
{ "spawn shocktroopertorso", ID1ONLY },
{ "spawn shortbluefirestick", DOOM1AND2 },
{ "spawn shortgreencolumn", DOOM1AND2 },
{ "spawn shortgreencolumnwithbeatingheart", DOOM1AND2 },
Expand All @@ -8361,11 +8414,14 @@ autocomplete_t autocompletelist[] =
{ "spawn shorttechnofloorlamp", DOOM2ONLY },
{ "spawn shotgun", DOOM1AND2 },
{ "spawn shotgunguy", DOOM1AND2 },
{ "spawn skullgibs", ID1ONLY },
{ "spawn skullonapole", DOOM1AND2 },
{ "spawn skullpoletrio", ID1ONLY },
{ "spawn soulsphere", DOOM1AND2 },
{ "spawn spectre", DOOM1AND2 },
{ "spawn spidermastermind", DOOM1AND2 },
{ "spawn stalagmite", DOOM1AND2 },
{ "spawn stalagmitegray", ID1ONLY },
{ "spawn stimpack", DOOM1AND2 },
{ "spawn supershotgun", DOOM2ONLY },
{ "spawn tallbluefirestick", DOOM1AND2 },
Expand Down Expand Up @@ -8405,6 +8461,7 @@ autocomplete_t autocompletelist[] =
{ "spawn unfriendly vassago", ID1ONLY },
{ "spawn unfriendly zombieman", DOOM1AND2 },
{ "spawn vassago", ID1ONLY },
{ "spawn vassagoflame", ID1ONLY },
{ "spawn wolfensteinss", DOOM2ONLY },
{ "spawn yellowkeycard", DOOM1AND2 },
{ "spawn yellowskullkey", DOOM1AND2 },
Expand Down Expand Up @@ -8432,15 +8489,19 @@ autocomplete_t autocompletelist[] =
{ "take boxofbullets", DOOM1AND2 },
{ "take boxofrockets", DOOM1AND2 },
{ "take boxofshells", DOOM1AND2 },
{ "take calamityblade", ID1ONLY },
{ "take cell", DOOM1AND2 },
{ "take cellpack", DOOM1AND2 },
{ "take chaingun", DOOM1AND2 },
{ "take chainsaw", DOOM1AND2 },
{ "take clip", DOOM1AND2 },
{ "take computerareamap", DOOM1AND2 },
{ "take fuelcan", ID1ONLY },
{ "take fueltank", ID1ONLY },
{ "take greenarmor", DOOM1AND2 },
{ "take health", DOOM1AND2 },
{ "take healthbonus", DOOM1AND2 },
{ "take incinerator", ID1ONLY },
{ "take invulnerability", DOOM1AND2 },
{ "take keycards", DOOM1AND2 },
{ "take keys", DOOM1AND2 },
Expand Down
3 changes: 3 additions & 0 deletions src/r_data.c
Original file line number Diff line number Diff line change
Expand Up @@ -703,6 +703,9 @@ static void R_InitSpriteLumps(void)
s_GOTCELLBOX = M_StringDuplicate("%s picked up a fuel tank.");
s_GOTPLASMA = M_StringDuplicate("%s got the incinerator!");

M_StringCopy(mobjinfo[MT_MISC25].name1, "calamity blade", sizeof(mobjinfo[0].name1));
M_StringCopy(mobjinfo[MT_MISC25].plural1, "calamity blades", sizeof(mobjinfo[0].plural1));

mobjinfo[MT_EXTRA00].flags |= MF_NOBLOOD;
mobjinfo[MT_EXTRA01].flags |= MF_NOBLOOD;
mobjinfo[MT_EXTRA04].flags |= MF_NOBLOOD;
Expand Down

0 comments on commit f9d5136

Please sign in to comment.