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

436
Announcements / Re: Install script - Ubuntu
« on: May 23, 2010, 08:28:38 AM »
Well, apparently, Ism can't check for null pointers.

437
Announcements / Re: Install script - Ubuntu
« on: May 22, 2010, 06:29:45 PM »
Here's the PKGBUILD:
Code: [Select]
pkgname=enigma-dev
pkgver=238
pkgrel=1
pkgdesc="An open-source alternative to YoYoGame's Game Maker, written in C++."
arch=('i686' 'x86_64')
url="http://enigma-dev.org"
license=('GPL')
depends=('libgl' 'zlib')
makedepends=('pkgconfig' 'subversion')
sources=()
md5sums=()
_svntrunk=https://enigma-dev.svn.sourceforge.net/svnroot/enigma-dev/
_svnmod=enigma-dev

build() {
  svn co $_svntrunk
  mkdir $startdir/pkg/opt
  mkdir $startdir/pkg/opt/enigma
  cp -r $startdir/src/$_svnmod/trunk -T $startdir/pkg/opt/enigma
  cd $startdir/pkg/opt/enigma/CompilerSource

  rm -rf $(find $startdir/pkg | grep 'svn$')
  rm -rf '$startdir/pkg/opt/enigma/CompilerSource/.eobjs'

  mkdir $startdir/pkg/usr
  mkdir $startdir/pkg/usr/share
  mkdir $startdir/pkg/usr/share/pixmaps
  mkdir $startdir/pkg/usr/share/applications
  cp $startdir/pkg/opt/enigma/enigma.svg $startdir/pkg/usr/share/pixmaps
  cp $startdir/pkg/opt/enigma/enigma.desktop $startdir/pkg/usr/share/applications

  make linux || return 1
  }

438
Announcements / Re: Install script - Ubuntu
« on: May 22, 2010, 05:03:56 PM »
I was working on a PKGBUILD for ENIGMA; let me go and look for it.

439
Get it?  That's something very nuisance.

440
Proposals / Re: LGM-ENIGMA options panel.
« on: May 20, 2010, 08:25:13 PM »
We could also compile various objects and just link them on runtime.  But that's not exactly a "workable" option.

441
Off-Topic / Re: c++0x
« on: May 18, 2010, 08:14:41 PM »
POINTING to MEMORY!?!?!?

I don't get it.


Yes, there's a few *somewhat* complicated things in C++, but it's not nearly as bad as you make it out to be.  It's not that hard to learn.

442
Announcements / Re: Fixed those Makefiles
« on: May 18, 2010, 08:12:39 PM »
Random thing to note: put an "all" target at the top of the makefile and make it link.  Otherwise, you have to specific "make link" every time. :/

And another thing to note, as I mysteriously found out today:
ld *.o -o all.o -lc
This will link objects together.  Would probably be useful somehow.

443
General ENIGMA / Re: Tradeoff
« on: May 18, 2010, 07:32:03 PM »
Others stick around and complain all the time, without contributing so much as a comment to Enigma.

 :troll:
(Y)

444
Off-Topic / Re: c++0x
« on: May 18, 2010, 07:31:04 PM »
Which it is, unless you're blind.
I seem to have pretty good eye sight, and it looks quite simple to me.

445
Off-Topic / Re: c++0x
« on: May 18, 2010, 06:58:39 PM »
That is, implying that C++ is an incredibly complicated language.

446
Off-Topic / Re: c++0x
« on: May 18, 2010, 06:21:15 PM »
I had to include it along with cstdint, so, I just got into the habit of including -std=c++0x on compile.  I never looked into it, though. :/

447
Off-Topic / Re: c++0x
« on: May 18, 2010, 04:20:56 PM »
Basically that, yeah.

It also had a pseudo-foreach:
Code: [Select]
int x[5];
for (int &i : x) { std::cout << x[i] << " "; }

and a pseudo-typeof:
Code: [Select]
int x;
decltype(x) y;

448
Off-Topic / c++0x
« on: May 18, 2010, 03:55:06 PM »
I should have looked the standards up ages ago

This is wonderful

idgaf if it doesn't work in VC++, but it works with G++

449
Issues Help Desk / Re: C++, Linux and 39DLL.
« on: May 17, 2010, 09:02:12 PM »
39dll is merely a wrapper for WinAPI calls... which are actually the Berkely sockets API, and are thus cross-platform.
wait what really

450
Announcements / Re: Updates, Updates, Updates on the way.
« on: May 17, 2010, 07:30:03 PM »
Or just append ;bbparser=josh and use the semicolon rather than the amperstand.