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.

Messages - Josh @ Dreamland

Announcements / Re: Happenings
« on: January 19, 2011, 10:59:23 AM »
The DLLs are small; its the concept that irks me.

Announcements / Re: Happenings
« on: January 19, 2011, 09:41:43 AM »
Since we don't force users to add anything to their path, GCC needs to be invoked with an understanding of where its precious DLLs are. This is the first MinGW release for which this is the case, because the MinGW team decided that DLLs really aren't so bad. So now even programs created with MinGW have dependencies on DLLs, and working around that is difficult.

Announcements / Re: Happenings
« on: January 19, 2011, 09:32:34 AM »
I've fixed it, but now GCC misbehaves if it doesn't have the correct path.

Issues Help Desk / Re: Unit Formations In RTS
« on: January 18, 2011, 01:10:40 PM »
You mean, like an object index? :P
Anyway, the assign is where you'd want to use a switch(), not a for(). :P
And yes, I'm getting to it.

Issues Help Desk / Re: Combining members
« on: January 18, 2011, 10:31:58 AM »
I'll have you know it's JoshmAvaland.

Announcements / Re: Happenings
« on: January 18, 2011, 09:10:56 AM »
MrGriggs: I won't have access to them until later today.

HaRRiKiRi: I've deleted those files twice already. Someone keeps accidentally resurrecting them. I will delete them a third time, if it pleases the court.

MrGriggs: What is that?

Announcements / Re: Happenings
« on: January 16, 2011, 08:38:13 PM »
The installer's been done, the issue is getting the backend to make the correct calls. I'm just finishing that up now. Sign on to the IRC, and say my name if I'm there. I'll tell you what to do.

<-- lol 69

Issues Help Desk / Re: Combining members
« on: January 15, 2011, 07:03:18 PM »
He just said he wanted a foobar::x. He didn't say he wanted to borrow one of the x's.

Issues Help Desk / Re: Combining members
« on: January 15, 2011, 04:50:55 PM »
Have both foo and bar inherit from a base class with X.

Proposals / Re: Shader effects
« on: January 14, 2011, 05:57:39 PM »
Mac seen by Windows = Yes

I pretty much still see them that way.

Announcements / Re: Happenings
« on: January 14, 2011, 04:10:10 PM »
It certainly would, Rusky. But I'm afraid to tell people to do that because they'll call path functions on it or some shit. Path functions will never work on custom classes (without some serious effort poured into the mix).

And yes, selecting variable packages is planned (And about half done).

Announcements / Re: Happenings
« on: January 14, 2011, 10:06:11 AM »
You may not treat custom classes as regular objects, but you can already create them in Definitions using C++ syntax.

Announcements / Re: Happenings
« on: January 13, 2011, 09:34:13 PM »
Two hours for surfaces, probably three hours for switch()... two hours for ds_ functions... I only now got home from school, and I still have more work to do.

Off-Topic / Broken forums
« on: January 12, 2011, 10:50:13 AM »
We've recently upgraded to SMF RC3. This cost us all custom modifications to the SMF forum system. This is what's broken, that we are currently aware:

1) Registration. I implemented a regexp captcha to the SMF engine because its original system was too poor to handle multiple answers. My system allowed them to be set as (answer1|answer2), or however else is legal in the regexp standard. As such, any question with more than one answer is impossible to answer correctly.
2) Unix names. Gary just implemented a system that allows users to give themselves a unix name. It wasn't implemented in the Wiki completely yet, but it's gone now.
3) Code highlighting. The system had a problem with generating previews (the page had to be refreshed to see any modifications), and it didn't distinguish between GML and C++, but it's gone now.

Any other problems, report them here.

I have yet to implement switch(), but there are multiple problems with that code in any case, namely,
1) The point of a switch statement is to allow jumping to a piece of code marked by the correct value. So, "case varname==0" is pointless. Just "case 0" will suffice
2) The point of a switch statement is to quickly decode one value as a set of multiple values. So, "switch(boolean)" is, before optimization, less efficient than if (boolean) {} else {}.