Pages: 1 ... 7 8 [9]
  Print  
Author Topic: LateralGM Update  (Read 24421 times)
Offline (Male) cheeseboy
Reply #120 Posted on: November 10, 2013, 05:32:33 AM

Moron
Location: The internet
Joined: Mar 2011
Posts: 94

View Profile
Hmm. Guess I'll play my other game. Owait:
Code: [Select]
.eobjs/Linux/Linux/Run/Universal_System/roomsystem.o: In function `enigma_user::window_views_mouse_set(int, int)':
roomsystem.cpp:(.text+0xf4a): undefined reference to `enigma_user::window_mouse_set(int, int)'
roomsystem.cpp:(.text+0xf5c): undefined reference to `enigma_user::window_view_mouse_set(int, int, int)'
collect2: error: ld returned 1 exit status

Logged
Offline (Unknown gender) TheExDeus
Reply #121 Posted on: November 10, 2013, 06:35:21 AM

Developer
Joined: Apr 2008
Posts: 1886

View Profile
Yeah, Robert sadly does 1000 things at the same time and so very often things break. It's also our fault, as poly and me don't usually thoroughly test the commits before we merge. That is actually the point why Robert cannot merge to ENIGMA master directly. But I would really want that backwards testing though. I think forthevin was the one making it. Would be cool if he finished it.

Also, I do see draw event in that event selector. Don't get the problem there.
Logged
Offline (Male) cheeseboy
Reply #122 Posted on: November 10, 2013, 06:39:40 AM

Moron
Location: The internet
Joined: Mar 2011
Posts: 94

View Profile
the draw event doesnt appear unless you manually stretch it.
Logged
Offline (Unknown gender) TheExDeus
Reply #123 Posted on: November 10, 2013, 06:48:30 AM

Developer
Joined: Apr 2008
Posts: 1886

View Profile
Stretch it? I though you must scroll it. If the scroll is broken then that truly is a bug. Though it works for me. My screen is big enough for the event selector to be full height by default, but if I shrink it and then scroll it works fine.
Logged
Offline (Male) Goombert
Reply #124 Posted on: November 10, 2013, 12:51:17 PM

Contributor
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 2983

View Profile
Harri he's just being lazy, Greg if you don't like the scroll I put the dock event panel option for you in preferences just go back to the old way you're used to.

Quote
Finally Time to build this thing.. Owait:
That's the parser that has nothing to do with the IDE.  (Y)

Quote
undefined reference to
Yah, sorry I had to fix that from Windows with no way of testing. mouse_x is supposed to come from window_views_mouse_get_x() (notice that it is plural; not singular) the old mouse_x and mouse_y code was broken then I attempted to fix it and broke it worse, now I fixed it and it works on Windows, somebody just fix it for XLIB and commit.

However, it should be working, it is defined right here in XLIB and included from platforms_mandatory.h too.
Code: [Select]
void window_mouse_set(double x,double y) {
XWarpPointer(disp,None,win,0,0,0,0,(int)x,(int)y);
}

void window_view_mouse_set(int id, double x,double y) {
XWarpPointer(disp,None,win,0,0,0,0,(int)(view_xview[id] + x),(int)(view_yview[id] + y));
}


As for your NPE, good news, guess what, it wasn't my fault, it was pre-existing code and the same thing would have happened to you regardless of my multiple selection and deletion because my code is not the problem.
Code: [Select]
protected static void addResource(JTree tree, Class<?> r, Resource<?,?> res)
{
ResNode node = (ResNode) tree.getLastSelectedPathComponent();
if (node == null) return;
ResNode parent;
int pos;
if (node.getAllowsChildren()) {
parent = node;
pos = parent.getChildCount();
} else {
parent = (ResNode) node.getParent();
//TODO: Following line causes an NPE for Greg when trying to create a new sprite after deleting several pre-existing ones in his project.
pos = parent.getIndex(node) + 1;
}
putNode(tree,node,parent,r,pos,res);
}

Also, stop replying to this topic LateralGM 1.8.2 is old, I will announce the new one soon enough.
« Last Edit: September 04, 2015, 02:20:00 PM by Robert B Colton » Logged
Pages: 1 ... 7 8 [9]
  Print