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 59 60 61 62 63 64 65 66 67 68 69 70 »
361
Announcements / Re: ENIGMA R4
« on: August 10, 2010, 01:55:51 pm »
EDIT: Updated packages (again). Should work.
362
Announcements / Re: ENIGMA R4
« on: August 10, 2010, 01:28:01 pm »
Okay, I've finished the GNU/Linux packages. Here are the current downloads, and if they could be added to the sourceforge page or something, it would be appreciated. I'll work on RPMs later, but for now, these two should satisfy almost all (if not all) of the current users' needs:
Ubuntu/Debian (deb):Arch Linux (pacman):
363
Announcements / Re: ENIGMA R4
« on: August 10, 2010, 01:05:16 pm »
You mean 326. And it's 327, now.
364
Announcements / Re: ENIGMA R4
« on: August 10, 2010, 07:17:57 am »
Josh, I'll work on assembling a DEB/RPM right now. I'll also throw in the pacman package just for the hell of it.
EDIT: unipkg is amazing. I have the package ready, but I need the proper dependencies for Ubuntu/Debian and Fedora/SUSE.
If someone could check the equivalents of these for those systems, it would help:
libgl libx11 mesa zlib libvorbis libmpeg2 dumb gcc gcc-libs make jre
Also, if the system separates the binaries and development files, include both packages. And if g++ is a separate package, include that too. >_>
EDIT: unipkg is amazing. I have the package ready, but I need the proper dependencies for Ubuntu/Debian and Fedora/SUSE.
If someone could check the equivalents of these for those systems, it would help:
libgl libx11 mesa zlib libvorbis libmpeg2 dumb gcc gcc-libs make jre
Also, if the system separates the binaries and development files, include both packages. And if g++ is a separate package, include that too. >_>
366
General ENIGMA / Someone should
« on: August 09, 2010, 08:21:44 pm »
Make icons for GM5-8 projects (plus an ENIGMA project in the case that it ever gets its own format) so that they can be used for type associations.
Preferably the way that Tango does it, with 16x16, 22x22 (with a 1px transparent border for 24x24), 32x32, and 48x48 (SVG) icons.
I dunno how to do it in Windows (I'm sure that someone here does), but I'll make the config for Linux.
Also, first person to take a the Windows .txt icon and smack a GM logo on it gets shot.
Preferably the way that Tango does it, with 16x16, 22x22 (with a 1px transparent border for 24x24), 32x32, and 48x48 (SVG) icons.
I dunno how to do it in Windows (I'm sure that someone here does), but I'll make the config for Linux.
Also, first person to take a the Windows .txt icon and smack a GM logo on it gets shot.
367
General ENIGMA / Re: collisions....
« on: August 09, 2010, 08:19:25 pm »
I was working on a basic set of shape classes for collisions in C++ but stopped working on them simply because I hate geometry.
368
Announcements / Re: Shortcuts
« on: August 09, 2010, 08:51:24 am »
Another thing to mention, in C++0x:
This code wouldn't work:
Because it's ambiguous. It won't choose the highest precision by default, because functions could be completely different depending on the type. This is also in the regular C++ standard for GCC 4.5+, as I believe, which is why I had that ambiguous error in r208 or something like that.
Code: [Select]
int f(int x) { return x; }
double f(double x) { return x; }
This code wouldn't work:
Code: [Select]
variant x;
int y=f(x);
nor would this:Code: [Select]
variant x;
int y=f((double)x);
Because it's ambiguous. It won't choose the highest precision by default, because functions could be completely different depending on the type. This is also in the regular C++ standard for GCC 4.5+, as I believe, which is why I had that ambiguous error in r208 or something like that.
369
General ENIGMA / ENIGMA Installer for Linux
« on: August 04, 2010, 03:52:06 pm »Code: [Select]
#!/bin/bash
startdir=$(pwd)
_svntrunk=https://enigma-dev.svn.sourceforge.net/svnroot/enigma-dev/
_svnmod=enigma-dev
svn co $_svntrunk
mkdir -p $startdir/pkg/opt/enigma
cp -r $startdir/$_svnmod/trunk -T $startdir/pkg/opt/enigma
cd $startdir/pkg/opt/enigma/CompilerSource
mkdir -p $startdir/pkg/usr/sbin
mkdir -p $startdir/pkg/usr/share/pixmaps
mkdir -p $startdir/pkg/usr/share/applications
mkdir -p $startdir/pkg/usr/share/mime/packages
mv $startdir/pkg/opt/enigma/enigma.svg $startdir/pkg/usr/share/pixmaps
mv $startdir/pkg/opt/enigma/enigma.desktop $startdir/pkg/usr/share/applications
mv $startdir/pkg/opt/enigma/enigma.xml $startdir/pkg/usr/share/mime/packages
mv $startdir/pkg/opt/enigma/enigma $startdir/pkg/usr/sbin
chmod -R 777 $startdir/pkg/opt/enigma
chmod 755 $startdir/pkg/usr/sbin/enigma
chmod 544 $startdir/pkg/usr/share/applications/enigma.desktop $startdir/pkg/usr/share/mime/packages/enigma.xml
make linux
rm -rf $(find $startdir/pkg | grep 'svn$')
rm -r $startdir/pkg/opt/enigma/CompilerSource/.eobjs
This is taken from a PKGBUILD that I made for Arch. It can be applied to install ENIGMA on Ubuntu and other distros. The original PKGBUILD can be found here.
To install this, run sudo cp pkg -T /. Once this is done, run update-mime-database /usr/share/mime to update the MIME database. In GNOME, run nautilus -q to make the changes take effect immediately, however, a safer way would be to log off and then back on.
This will add a link to ENIGMA (LGM, but it's called ENIGMA) in the applications menu as well as adding MIME association for Game Maker executables (identification even without an extension) and also the ability to run "enigma *file*" from a terminal to open LGM.
If anyone feels like making icons for GM projects, I'll add that as well.
Also, [tt] bbcodes are broken; fix them.
370
General ENIGMA / Re: dependencies and updated install instructions needed
« on: August 03, 2010, 10:20:18 pm »
that's dumb
371
General ENIGMA / Re: dependencies and updated install instructions needed
« on: August 03, 2010, 09:31:31 pm »
yeah, that
why can't ubuntu just call it dumb like it's supposed to be called
why can't ubuntu just call it dumb like it's supposed to be called
372
General ENIGMA / Re: dependencies and updated install instructions needed
« on: August 03, 2010, 09:15:19 pm »
New dependencies:
libvorbis-dev, libmpg123-dev, libdumb-dev
or libvorbis, libmpeg, and dumb
libvorbis-dev, libmpg123-dev, libdumb-dev
or libvorbis, libmpeg, and dumb
373
Announcements / Re: Shortcuts
« on: July 30, 2010, 01:28:55 pm »
foreach?
What about the C++0x for?
http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2009/n2930.html
You should probably use that syntax primarily for var considering how it's planned to be an actual element of C++ eventually.
What about the C++0x for?
http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2009/n2930.html
Code: [Select]
int array[5] = { 1, 2, 3, 4, 5 };
for (int& x : array)
x *= 2;
You should probably use that syntax primarily for var considering how it's planned to be an actual element of C++ eventually.
374
Issues Help Desk / Re: screw angle()
« on: July 25, 2010, 05:19:21 pm »
Yeah, and here's how I fixed it:
It seems to work.
Code: [Select]
fmod(value,fabs(max-min))+(value<0 ? std::max(min,max) : std::min(min,max))
It seems to work.
375
Issues Help Desk / Re: screw angle()
« on: July 25, 2010, 07:42:55 am »
It fits a number within a range.
makerange(-45,0,360) should return 315, but it doesn't.
Also, I've fixed this:
makerange(-45,0,360) should return 315, but it doesn't.
Also, I've fixed this:
Code: [Select]
inline double makerange(double value, double min, double max) { return fmod(value,abs(max-min))+(value<0 ? std::max(min,max) : std::min(min,max)); }