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.
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 »
481
Function Peer Review / Re: move_contact functions optimised for bbox
« on: January 01, 2011, 09:29:49 pm »
I like these lines of code:
const double left1 = inst1->x + inst1->bbox_left, top1 = inst1->x + inst1->bbox_top,
right1 = inst1->x + inst1->bbox_right, bottom1 = inst1->x + inst1->bbox_bottom;
const double left2 = inst2->x + inst2->bbox_left, top2 = inst2->x + inst2->bbox_top,
right2 = inst2->x + inst2->bbox_right, bottom2 = inst2->x + inst2->bbox_bottom;
const double left1 = inst1->x + inst1->bbox_left, top1 = inst1->x + inst1->bbox_top,
right1 = inst1->x + inst1->bbox_right, bottom1 = inst1->x + inst1->bbox_bottom;
const double left2 = inst2->x + inst2->bbox_left, top2 = inst2->x + inst2->bbox_top,
right2 = inst2->x + inst2->bbox_right, bottom2 = inst2->x + inst2->bbox_bottom;
482
Issues Help Desk / Re: Segfalt with enigma compiler
« on: December 30, 2010, 12:33:13 pm »
something like that would require changes in the behavior of the textarea in order to underline the words or otherwise indicate where problems are. That would be a fair bit more extensive. Once that's done, it would be a simple matter of figuring out some efficient way to perform the check.
483
Issues Help Desk / Re: Segfalt with enigma compiler
« on: December 29, 2010, 11:38:09 pm »@polygone: LGM doesn't perform syntax checking, it delegates that task off to ENIGMA, since that's where the competent parser is.OK. Would the interface not need to be done by LGM though?
What interface? I add a button somewhere that delegates to Enigma's checkForDuplicateVariables method?
JButton b = new JButton("DupVars");
b.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { EnigmaDriver.checkForDuplicateVariables(); } });
add(b);
done.
484
Issues Help Desk / Re: Segfalt with enigma compiler
« on: December 29, 2010, 11:18:52 am »
@polygone: LGM doesn't perform syntax checking, it delegates that task off to ENIGMA, since that's where the competent parser is.
485
Announcements / Re: ENIGMA R4
« on: December 29, 2010, 01:32:14 am »
I agree. You're experiencing a dozen different problems here which I don't know if we've corrected half of them with later revisions or what. Truth is, the zip has become dreadfully outdated now. I'd recommend doing a fresh checkout from the SVN. Join the IRC for more instructions. It's ok to experience problems with it, it's probably not your fault, it's probably ours - stuff we still need to fix. So do report your problems before you just hack it together to work for yourself, but also realize that we have broken some of our older release stuff that should have been kept stable or at least updated. Meh, it's a work in progress, what can I say.
486
Proposals / Re: Additions to new platform system
« on: December 29, 2010, 01:15:48 am »
So because the user fails at setting up their own path variable, we give them assistance? I don't... nevermind...
487
Proposals / Re: Additions to new platform system
« on: December 28, 2010, 03:38:50 pm »
What is the bin path for? What makes that vary?
Also, you should clarify why you need to specify the makefile location.
Also, you should clarify why you need to specify the makefile location.
488
Proposals / Re: Introduction / Profile Forum?
« on: December 28, 2010, 03:33:43 pm »
Skeptical, not dubious. If a part of you is dubious, that means that it's hard to believe that part of you - e.g. questioning part of your existence... On the other hand, skeptical indicates that the part of you is still questioning things. Dubious applies *to* something, skepticism comes *from* something.
489
Function Peer Review / Re: distance_to_object
« on: December 27, 2010, 06:18:57 pm »
If you make it complex enough and it works, nobody will bother touching it.
490
Proposals / Re: Introduction / Profile Forum?
« on: December 26, 2010, 01:58:03 pm »
That's what I was thinking from the start.
491
Function Peer Review / Re: distance_to_object
« on: December 26, 2010, 01:56:36 pm »
For low-level functions that intend to go into the back-end, it's not uncommon for people to use straight C++ rather than EDL.
492
Proposals / Re: Welcome PM
« on: December 26, 2010, 01:54:23 pm »
We can have a wiki page that provides a fairly full introduction for beginners. Our wiki isn't just for explaining individual components, it's for general documentation, and can house tutorials and instructions.
493
Function Peer Review / Re: distance_to_object
« on: December 26, 2010, 01:43:56 pm »
I'm pretty sure with() just gets converted into the iterator, so there's no speed benefit one way or the other.
494
Proposals / Re: Introduction / Profile Forum?
« on: December 25, 2010, 08:01:20 pm »
Actually the wiki might be part of the solution here. First off, if it's not already the case, we're highly interested in linking up the wiki login with site login, so you don't have to create a new account. Once on the wiki, every user has a user page, which is kinda your blank slate profile information which other users can also edit and contribute to.
495
General ENIGMA / Re: Some common GML issues, and dealing with them in Enigma?
« on: December 25, 2010, 04:58:29 pm »
LGM passed font information to ENIGMA, and passes each glyph separately. Josh asked for a compression callback, so I provided one. Everyone was using font_load_from_sprite, which required each subimage be a separate glyph, so to alleviate the processs I added in sprite strip loading into LGM. At this point, LGM+Plugin does everything ever asked of it to make the font support easier, short of drawing the glyphs itself each draw event... the rest is Josh being too lazy to do anything about it, or to even bother finding out/reporting any problems with the stuff I provided him.
Edit: guy32123 was nice enough to report that populating the font glyphs sometimes somehow populates more than 255 glyphs, causing an ArrayIndexOutOfBoundsException. I'm investigating it right now and trying to reproduce it.
Edit2: I think I fixed that. Should be in for the next revision (r583).
Edit: guy32123 was nice enough to report that populating the font glyphs sometimes somehow populates more than 255 glyphs, causing an ArrayIndexOutOfBoundsException. I'm investigating it right now and trying to reproduce it.
Edit2: I think I fixed that. Should be in for the next revision (r583).