Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - polygone

#106
Announcements / Re: LateralGM Update
August 12, 2013, 06:48:12 PM
Thank God that stupid maximizing shit has gone.
#107
General ENIGMA / Re: MSYS No Longer Bundled with MinGW
August 11, 2013, 01:39:55 PM
Josh said he's already fixed those errors. Suggests pulling the newest JDI.
#108
General ENIGMA / Re: MSYS No Longer Bundled with MinGW
August 11, 2013, 01:29:46 PM
The installer is fine. Josh just needs to fix those errors.
#109
General ENIGMA / Re: MSYS No Longer Bundled with MinGW
August 11, 2013, 12:43:02 AM
Will be Josh's fault but surely once those ambiguities are resolved it will work for you?
#110
General ENIGMA / Re: MSYS No Longer Bundled with MinGW
August 10, 2013, 06:34:48 PM
Harri can you try the installer zip again, does it work for you now?
#111
General ENIGMA / Re: MSYS No Longer Bundled with MinGW
August 10, 2013, 05:21:35 PM
Quote from: Josh @ Dreamland on August 10, 2013, 03:27:56 AM
That thing has been failing since its conception. It's a short matter of time before everyone is sick of maintaining it.

Also, post 2468. I win.
Robert said yesterday that he's fixed it, it should be fine now. Also it doesn't need maintaining, well the dependencies should still be put on-line and downloaded so they can be maintained separately but overall it doesn't need to be changed any more.
#112
General ENIGMA / Re: MSYS No Longer Bundled with MinGW
August 10, 2013, 01:36:10 AM
Or people can just use the installer zip?
#113
Oh I was actually going to suggest something like that, never mind.
#114
Fenris78 did you have mingw already installed before you tried the Installer zip?

I think the problem some people still have is with that hack cheeseboy did to set the env path.
#115
Who the fuck is going to use a million objects?
#116
So basically you are finished now?
#117
In the circle functions:


        if (intersects)
        {
            if (inside)
            {
                inst->deactivate();
                enigma::instance_deactivated_list.insert(inode_pair((*it)->id,it.it));
            }
        }
        else
        {
            if (!inside)
            {
                inst->deactivate();
                enigma::instance_deactivated_list.insert(inode_pair((*it)->id,it.it));
            }
        }
#118
Quote from: egofree on June 23, 2013, 07:57:06 AM
I've searched in the source code of ENIGMA the function and i found in coll_funcs.cpp the following code :

            if (inside) {
            inst->deactivate();
            enigma::instance_deactivated_list.insert(inode_pair((*it)->id,it.it));
            }
        } else {
            if (!inside) {
                inst->deactivate();
                enigma::instance_deactivated_list.insert(inode_pair((*it)->id,it.it));
            }



I am not an expert in C++ but it seems to me that the code is the same, whatever the value of inside. Am i right ?

That's not the full code, this is:

        if (left <= (rleft+rwidth) && rleft <= right && top <= (rtop+rheight) && rtop <= bottom) {
            if (inside) {
            inst->deactivate();
            enigma::instance_deactivated_list.insert(inode_pair((*it)->id,it.it));
            }
        } else {
            if (!inside) {
                inst->deactivate();
                enigma::instance_deactivated_list.insert(inode_pair((*it)->id,it.it));
            }
        }


ie it requires:

if (((left <= (rleft+rwidth) && rleft <= right && top <= (rtop+rheight) && rtop <= bottom) && inside)   ||
(!(left <= (rleft+rwidth) && rleft <= right && top <= (rtop+rheight) && rtop <= bottom) && !inside))


But yes that could be simplified to:

if ((left <= (rleft+rwidth) && rleft <= right && top <= (rtop+rheight) && rtop <= bottom) == inside)

EDIT: and I've just seen that Josh has already committed that, though he didn't think to look through the rest of the file for the same thing.
#119
In this instance I think GM would have been better starting indexes at 1 and using 0 for noone.
#120
So ForTheVin what percentage are you exactly through the enigma user move? And when is Josh going to change JDI to deal with it.