Pages: 1
  Print  
Author Topic: Warnings  (Read 1568 times)
Offline (Male) polygone
Posted on: August 24, 2013, 08:05:06 PM

Contributor
Location: England
Joined: Mar 2009
Posts: 803

View Profile
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.
Offline (Male) polygone
Reply #1 Posted on: August 24, 2013, 08:44:58 PM

Contributor
Location: England
Joined: Mar 2009
Posts: 803

View Profile
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.
Offline (Male) Goombert
Reply #2 Posted on: August 24, 2013, 09:52:19 PM

Developer
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 3108

View Profile
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.

Offline (Male) polygone
Reply #3 Posted on: August 24, 2013, 09:56:07 PM

Contributor
Location: England
Joined: Mar 2009
Posts: 803

View Profile
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.
Offline (Male) Goombert
Reply #4 Posted on: August 24, 2013, 10:07:16 PM

Developer
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 3108

View Profile
Idk plionz, GMX stores boolean true as -1 :P
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.

Offline (Male) polygone
Reply #5 Posted on: August 24, 2013, 10:18:03 PM

Contributor
Location: England
Joined: Mar 2009
Posts: 803

View Profile
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.
Offline (Male) Goombert
Reply #6 Posted on: August 24, 2013, 10:50:28 PM

Developer
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 3108

View Profile
https://github.com/enigma-dev/enigma-dev/pull/352

Merge that joystick and exe fix polygonz, enigma.exe now needs settings.ini for which the code is this...

Code: [Select]
[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.

Offline (Male) polygone
Reply #7 Posted on: August 24, 2013, 11:32:33 PM

Contributor
Location: England
Joined: Mar 2009
Posts: 803

View Profile
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.
Pages: 1
  Print