ENIGMA Development Environment
Website is in read-only mode due to a recent attack.

Pages: 1
Author Topic: LateralGM And SHELLmain.cpp file  (Read 10755 times)
Offline (Unknown gender) mg_keystrokes
Posted on: July 05, 2019, 06:28:29 PM
Joined: Jul 2019
Posts: 1

View Profile
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.
Offline (Male) Goombert
Reply #1 Posted on: July 08, 2019, 05:04:50 AM

Location: Cappuccino, CA
Joined: Jan 2013
Posts: 2993

View Profile
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.
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.

Pages: 1