ENIGMA Forums

Outsourcing saves money => Issues Help Desk => Topic started by: mg_keystrokes on July 05, 2019, 06:28:29 pm

Title: LateralGM And SHELLmain.cpp file
Post by: mg_keystrokes on July 05, 2019, 06:28:29 pm
ENIGMA has come a long way.  But some time ago there were problems involving the SHELLmain.cpp file when it was advised to add some lines of code to this script file.  I can't remember what it was but printing strings or some other issue might have caused errors in the code in some games.  I wonder if even now the SHELLmain.cpp file needs to be modified.

However, as I saw in the Home page, the current version of LateralGM may have resolved issues that likely may have previously needed to adjust some of the script files.  I ask if I need to modify files such as SHELLmain.cpp.
Title: Re: LateralGM And SHELLmain.cpp file
Post by: Goombert on July 08, 2019, 05:04:50 am
No, you shouldn't need to, that specific problem was largely dealt with. We first patched in a forward-declared std::string which we later removed after merging in the newer JDI that better handles templates. Finally, we have actually restricted the user to the enigma_user namespace by default, so it's practically impossible for conflicts to occur now.

I mean, there's always a possibility you could still change SHELL main for some reason, I mean ENIGMA's whole point is you can change/modify any of it, but it's unlikely you'll need to.