Alright, fundies asked me to do this. Simple change here to convert the old drag and drop actions to code as soon as they are read by the GMK or GMX readers. He also wanted
Eventmessage to not have integer ids and subids but instead use a string name like the SOG format.
- Proto2ES does NOT do the actions->gml conversion now
- GMK/GMX converts the actions->gml with some special handling (they are emplaced at the back of a vector that is passed to
Actions2Codelogic was moved from
emake/Proto2ES.cppto its own source in
- A header
CommandLine/Util.hwas created so that we don't keep copying and pasting
- Event no longer has integer based ids and has only a string name based on the same one used by SOG
- GMK/GMX use the shared event parser to convert their integer event ids into a string name
- Proto2ES builds a map like SOG in order to convert the event string names back into ids that are usable by EnigmaStruct
The idea here is that we do not plan on serializing or implementing the old drag and drop format anywhere in the UI. We still want people to be able to run games, so we keep the converted code for them. The new action format, if we get around to doing it, will use JDI to parse the GML and comments into a UI like GMS2.
@@ Coverage Diff @@ ## master #1379 +/- ## ======================================= Coverage 16.82% 16.82% ======================================= Files 165 165 Lines 17307 17307 ======================================= Hits 2912 2912 Misses 14395 14395