Textmap parser
This introduces a barebones textmap parser. All of the UDMF features and changes are missing so far, and it behaves much like a binary map save for the format itself. Loading an UDMF map produces a console warning, to alert users to the fact that the format is incomplete and will change in the future.
The linedef types that abuse the texture fields to pass text parameters are broken in UDMF right now. We opted not to fix this because the fix would not be trivial and would have to be undone anyway once we implement linedef arguments.
Test files:
- srb2win-textmap.exe (Updated Jan 2)
- UDMF_0.wad
Edited by MascaraSnake
Merge request reports
Activity
Filter activity
added 1 commit
- 493c6c8a - AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
added 1 commit
- e43df299 - Move TextmapFixFlatOffsets() above P_LoadTextmap() so that it can compile.
added 1 commit
- c6c00aa7 - Tweak TextmapCount()'s bracket detection to account for multiple levels, if that ever happens.
added Enhancement UDMF labels
added 4 commits
- 7ae2143c - Add a disclaimer when loading textmaps/UDMF.
- f9d6e265 - Replace INT16_MAX with LUMPERROR in lump check.
- 4a549847 - Make P_LoadMapData() a return a boolean as well as P_LoadMapFromFile(); if they…
- 99aace19 - Merge branch 'textmap-parser' of https://git.magicalgirl.moe/STJr/SRB2/ into textmap-parser
Toggle commit listadded 1 commit
- 72bb6732 - Some minor refactoring of textmap loading code
added 1 commit
- 05a97530 - Add support for flat offset and rotation fields in UDMF
added 1 commit
- 013f1f70 - -Set defaults for vertex and mapthing fields in textmap
added 1 commit
- 24d68ba0 - P_LoadTextmap: Set defaults for all linedef and sidedef fields that UDMF is allowed to set
added 1 commit
- b59532bc - Setup repeatcnt in P_LoadSidedefs instead of P_ProcessLinedefsWithSidedefs,…
added 1 commit
- fe198b8a - Check if certain mandatory linedef and sidedef fields are set, and use fallback values if not
- Resolved by MascaraSnake
- Resolved by MascaraSnake
- Resolved by toaster
added 1 commit
- a41c6405 - Move shared parts of sidedef initialization into P_InitializeSidedef
Please register or sign in to reply