Skip to content

Commit

Permalink
- added MAPINFO parser, based on GZDoom's.
Browse files Browse the repository at this point in the history
This isn't hooked up yet, but all necessary structures and fields have been added so that selected pieces can be tested.
  • Loading branch information
coelckers committed May 1, 2021
1 parent 51aeb6d commit f732d4e
Show file tree
Hide file tree
Showing 19 changed files with 1,337 additions and 56 deletions.
1 change: 1 addition & 0 deletions source/CMakeLists.txt
Expand Up @@ -1048,6 +1048,7 @@ set (PCH_SOURCES
core/gamehud.cpp
core/gamefuncs.cpp
core/gameinput.cpp
core/g_mapinfo.cpp
core/interpolate.cpp
core/inputstate.cpp
core/maphack.cpp
Expand Down
2 changes: 1 addition & 1 deletion source/core/cheats.cpp
Expand Up @@ -294,7 +294,7 @@ static MapRecord* levelwarp_common(FCommandLine& argv, const char *cmdname, cons
Printf(PRINT_BOLD, "Invalid level! Numbers must be > 0\n");
return nullptr;
}
auto map = FindMapByLevelNum(numparm == 1 ? m : levelnum(e - 1, m - 1));
auto map = FindMapByLevelNum(numparm == 1 ? m : makelevelnum(e - 1, m - 1));
if (!map)
{
if (numparm == 2) Printf(PRINT_BOLD, "Level E%s L%s not found!\n", argv[1], argv[2]);
Expand Down

0 comments on commit f732d4e

Please sign in to comment.