polygone
|
|
Posted on: August 24, 2013, 08:05:06 pm |
|
|
Location: England Joined: Mar 2009
Posts: 794
|
There's always endless warnings that crop up when compiling. I think as developers we should have a new mandate that instead of ignoring them we should resolve them whenever we see one instead of just always ignoring them. This is the only way I think they will get weeded out of the source.
|
|
|
Logged
|
I honestly don't know wtf I'm talking about but hopefully I can muddle my way through.
|
|
|
polygone
|
|
Reply #1 Posted on: August 24, 2013, 08:44:58 pm |
|
|
Location: England Joined: Mar 2009
Posts: 794
|
Speaking of something related. Does anybody know why the plugin is passing all true booleans as -1 instead of 1? It's not making any difference to the outcome but it's rather dodgy and throws warnings everywhere. It's doing it in all the game settings and room settings and such.
|
|
|
Logged
|
I honestly don't know wtf I'm talking about but hopefully I can muddle my way through.
|
|
|
Goombert
|
|
Reply #2 Posted on: August 24, 2013, 09:52:19 pm |
|
|
Location: Cappuccino, CA Joined: Jan 2013
Posts: 2993
|
Yes we do need to do some warning cleanup you already know that slows down compiling, lots of them are probably my fault I have been ignoring quite a few. But what do you mean the plugin is passing -1's?
|
|
|
Logged
|
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.
|
|
|
polygone
|
|
Reply #3 Posted on: August 24, 2013, 09:56:07 pm |
|
|
Location: England Joined: Mar 2009
Posts: 794
|
Check the output of settings or room array in preprocessor whenever ever there is a boolean variable that's set to true it's printed as -1.
|
|
|
Logged
|
I honestly don't know wtf I'm talking about but hopefully I can muddle my way through.
|
|
|
|
polygone
|
|
Reply #5 Posted on: August 24, 2013, 10:18:03 pm |
|
|
Location: England Joined: Mar 2009
Posts: 794
|
It's sending values of -1 with a blank game as well. -Oh because LGM sets them to -1 also in order to be compatible with GM. But LGM should set them all boolean before sending to the plugin.
|
|
« Last Edit: August 24, 2013, 10:25:59 pm by polygone »
|
Logged
|
I honestly don't know wtf I'm talking about but hopefully I can muddle my way through.
|
|
|
Goombert
|
|
Reply #6 Posted on: August 24, 2013, 10:50:28 pm |
|
|
Location: Cappuccino, CA Joined: Jan 2013
Posts: 2993
|
https://github.com/enigma-dev/enigma-dev/pull/352Merge that joystick and exe fix polygonz, enigma.exe now needs settings.ini for which the code is this... [MAIN] setupcompleted=1 checkforjava=0 redirectoutput=1
Delete the file called compiled, and you can set that to 1 there if you already set up ENIGMA. I've uploaded the new zip already.
|
|
« Last Edit: August 24, 2013, 11:38:04 pm by Robert B Colton »
|
Logged
|
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.
|
|
|
polygone
|
|
Reply #7 Posted on: August 24, 2013, 11:32:33 pm |
|
|
Location: England Joined: Mar 2009
Posts: 794
|
This has nothing to do with the warnings...
|
|
|
Logged
|
I honestly don't know wtf I'm talking about but hopefully I can muddle my way through.
|
|
|
|