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 - RetroX

316
Proposals / Re: GM Function Implementations
« on: August 26, 2010, 10:36:33 AM »
#define action_if(x) if (x)
What if someone stupid runs "action_if();"?

It would be parsed as if(x); and that wouldn't work.

317
Proposals / Re: GM Function Implementations
« on: August 25, 2010, 12:06:25 PM »
I think that someone should get to work on making the Drag-and-Drop (action_) functions work.  At least, for the currently implemented functions.

How exactly will we do that, anyways?  Would it be like:
action_if();

Because in that case, it would likely have to be implemented into the parser.

318
Proposals / GM Function Implementations
« on: August 25, 2010, 10:37:28 AM »
Considering how it's been asked, I figured that I'd make a topic about it.  If a function is not implemented, you can post a C++ or GML (preferably C++) equivalent here for others to use.  Before you do, please check out the latest version of ENIGMA from the SVN to ensure that it is not already implemented.  If it shows up in the list under ENIGMA > Keywords > Functions, try running "grep function_name $(find)" in the ENIGMA directory (bash-only).  It might take a few seconds, but once it's done, it will direct you to the file that the function is defined in.

Anything that involves actual game resources (sprites, sounds, etc.) shouldn't be worked on and the actual ENIGMA devs should handle it.  But other than that, go ahead.  Anything that isn't actually implemented in GM but might be useful should also be posted.

Note that the current graphics/audio systems run on OpenGL/OpenAL and that the current window managers are a giant mess because we have six completely different versions that will be used.  Eventually, Direct3D/DirectAudio will likely be implemented for Windows simply because Intel sucks cocks.

319
General ENIGMA / Re: Help File?
« on: August 23, 2010, 06:21:25 PM »
Italics are nice.

320
General ENIGMA / Re: Help File?
« on: August 23, 2010, 04:03:01 PM »
It gives you an error because you're giving a double and not an int

321
General ENIGMA / Re: Help File?
« on: August 23, 2010, 02:09:56 PM »
Also, I'd recommend using "sprite_id" instead of "sprite" because really, you could probably enter any number and it would be considered acceptable by the compiler.

322
General ENIGMA / Re: Help File?
« on: August 23, 2010, 01:53:05 PM »
I'd put it in C-style with the argument type.

323
Announcements / Re: Where do we stand?
« on: August 23, 2010, 12:30:18 PM »
For an IDE, use Code::Blocks.  I personally just use gedit and the G++ via command-line, but that's more suited for linux stuff.

324
Announcements / Re: Where do we stand?
« on: August 23, 2010, 12:28:38 PM »
Worst-case scenario, figure out the current working directory and parse it to remove everything besides the drive letter.

325
Announcements / Re: Where do we stand?
« on: August 23, 2010, 08:46:08 AM »
Yeah, Josh was complaining to me about that last night.  He still wants SVN updating.  I told him that if he really wants, we'll do it for now, but in the future, full releases should be packages, and there should be no auto-updater.

Here's an idea that I had - separate ENIGMA into multiple packages under Linux and make repositories to hold them, and people can just add them to their list and type "sudo apt-get install enigma-dev" or something like that.  One for the headers, one for the compiler binaries, and one for LGM.  That way, if any one of those updated while the others didn't, you only had to download that part.

326
General ENIGMA / Re: Someone should
« on: August 23, 2010, 08:09:41 AM »
Ism: Here's one:
http://dl.dropbox.com/u/6125077/enigma/lgm-logo4.svg

A bit dirtier blue than I was hoping, but it's a step closer.

EDIT: Eh, side-by-side, it looks terrible.  I'll work on it later.

327
Announcements / Re: Where do we stand?
« on: August 23, 2010, 08:01:14 AM »
My package downloads ENIGMA from the SVN and moves the lateralgm script, the MIME associations, and the desktop icon to their proper places.  There are post-install scripts that will symbolically link the lateralgm script so that either "lateralgm" or "enigma-dev" can be typed in a terminal to start ENIGMA, and I've also made it so that whatever the hell that LGM's named, it will be linked to /opt/enigma/lateralgm.jar.

/opt/enigma will have 777 permissions for the time being because I don't know what files that ENIGMA modifies when it compiles the games.  If I could receive more info on this, I could set some parts to 755 without breaking it, which would be a step in the right direction.

328
General ENIGMA / Re: Help File?
« on: August 22, 2010, 08:19:39 PM »
CHM is MSHTML.  Don't use it. :V

330
General ENIGMA / Re: Help File?
« on: August 22, 2010, 10:38:28 AM »
There will not be a CHM for ENIGMA.

kthx, bai

Also, I mentioned ENIGMA on the GMC once, and a staff member actually deleted my post and PMed me saying that it was rude.