Skip to content

Commit

Permalink
Update CHANGELOG, port new DDFGAME NO_SKILL_MENU mechanics to ZMAPINF…
Browse files Browse the repository at this point in the history
…O/MAPINFO parsing
  • Loading branch information
dashodanger committed Oct 5, 2023
1 parent f058024 commit 591bb65
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,23 @@ New Features
- ATTACKS.DDF: Attack special "PLAYER_ATTACK" makes attack behave as if originating from the
player, even if it's an indirect secondary attack i.e. the player gets his VAMPIRE health and KillBenefits.

- GAMES.DDF: "NO_SKILL_MENU" boolean command added (Courtesy of akaAgar - https://github.com/edge-classic/EDGE-classic/pull/577)
- If true, will skip difficulty menu and start selected episode at skill 2 ("Hurt Me Plenty" for Doom)
- Intent is for mapsets that have a Quake-style initial skill-select level or where the author may not implement/want
to present skill levels
- Default value is false



General Improvements/Changes
--------------------
- Windowed Mode resolution list will now dynamically populate based off of available display information instead of using presets
- Video Options crosshair selection will not be shown when switching to/from weapons that have DDF custom crosshairs
- Slightly re-organized the Key binding menu to accomodate the new 3rd and 4th attacks.
- Implemented 'episode' UMAPINFO key; EDGE-Classic now fully supports the UMAPINFO spec, Revision 2.2
- ZMAPINFO/MAPINFO episode definitions will now be parsed as well
- ZMAPINFO/MAPINFO will now respect the 'noskillmenu' episode definition key
- Leverages the new NO_SKILL_MENU DDFGAME command mentioned above

Bugs fixed
----------
Expand Down
8 changes: 8 additions & 0 deletions source_files/edge/p_umapinfo.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1220,7 +1220,11 @@ void Parse_MAPINFO(const std::string& buffer)
lex.MatchKeep("linecheck"); // doesn't matter, just need to update LastLine

if (key_line != lex.LastLine()) // key-only value, parse if supported and move on
{
if (epi::case_cmp(key, "noskillmenu") == 0)
new_epi->no_skill_menu = true;
continue;
}

lex.Match("="); // optional

Expand Down Expand Up @@ -1707,7 +1711,11 @@ void Parse_ZMAPINFO(const std::string& buffer)
lex.MatchKeep("linecheck"); // doesn't matter, just need to update LastLine

if (key_line != lex.LastLine()) // key-only value, parse if supported and move on
{
if (epi::case_cmp(key, "noskillmenu") == 0)
new_epi->no_skill_menu = true;
continue;
}

lex.Match("="); // optional

Expand Down

0 comments on commit 591bb65

Please sign in to comment.