Pages: 1
  Print  
Author Topic: Enigma/GM, different code?  (Read 8814 times)
Offline (Unknown gender) score_under
Posted on: November 03, 2008, 03:54:16 pm

Member
Joined: Aug 2008
Posts: 308

View Profile
If I wanted to maintain 2 different copies of code for one thing, one for Enigma and one for GM, I don't want to have to do everything twice... so do I have to wait until enigma is fully compatible, or will there be something like this implemented?
Code: [Select]
/*ENIGMA
Some enigma-specific code
...
etc
END*/
/*GM*/
Some gm-specific code
...
etc etc etc you get the idea
/*END*/
Logged
Offline (Male) Rusky
Reply #1 Posted on: November 03, 2008, 06:39:33 pm

Resident Troll
Joined: Feb 2008
Posts: 954
MSN Messenger - rpjohnst@gmail.com
View Profile WWW Email
What are you trying to do in ENIGMA at this point anyway? It's still in alpha/beta/greeklettera
Logged
Offline (Unknown gender) score_under
Reply #2 Posted on: November 04, 2008, 08:30:20 am

Member
Joined: Aug 2008
Posts: 308

View Profile
Exactly :P meaning I have to write Enigma's code in cpp { } (for lack of a better operator) and hacky tricks, and GM's in GML...
Logged
Offline (Male) Rusky
Reply #3 Posted on: November 04, 2008, 07:07:09 pm

Resident Troll
Joined: Feb 2008
Posts: 954
MSN Messenger - rpjohnst@gmail.com
View Profile WWW Email
more like meaning you shouldn't be trying to make games with it :P
Logged
Offline (Unknown gender) score_under
Reply #4 Posted on: November 05, 2008, 06:58:49 am

Member
Joined: Aug 2008
Posts: 308

View Profile
I know! I'll try making pretty viruses with it!
Logged
Offline (Male) RetroX
Reply #5 Posted on: November 06, 2008, 04:02:01 pm

Master of all things Linux
Contributor
Location: US
Joined: Apr 2008
Posts: 1055
MSN Messenger - classixretrox@gmail.com
View Profile Email
Now, now.  You know that's not nice.  Stop it or I'm going to beat you with a rather large stick.
Logged
My Box: Phenom II 3.4GHz X4 | ASUS ATI RadeonHD 5770, 1GB GDDR5 RAM | 1x4GB DDR3 SRAM | Arch Linux, x86_64 (Cube) / Windows 7 x64 (Blob)
Quote from: Fede-lasse
Why do all the pro-Microsoft people have troll avatars? :(
Offline (Unknown gender) score_under
Reply #6 Posted on: November 07, 2008, 12:30:12 pm

Member
Joined: Aug 2008
Posts: 308

View Profile
Oh come on, I was only going to put ONE backdoor in it  :(
Logged
Offline (Male) Josh @ Dreamland
Reply #7 Posted on: November 16, 2008, 08:16:17 am

Prince of all Goldfish
Developer
Location: Pittsburgh, PA, USA
Joined: Feb 2008
Posts: 2950

View Profile Email
cpp {} isn't mandatory, you great sillies. It just gives you C++. (Go figure)

EDL is backwards compatible with GML. This means you can drag your nastiest GML into ENIGMA, and it will compile it.

I can't say they are totally compatible, however, because when you start taking advantage of features of compiled code, there's no going back to GML.
Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Offline (Unknown gender) score_under
Reply #8 Posted on: November 19, 2008, 06:05:14 pm

Member
Joined: Aug 2008
Posts: 308

View Profile
EDL is backwards compatible with GML.

Or rather, "Will be some time in about, say, a year and a half or so".
Logged
Offline (Male) Josh @ Dreamland
Reply #9 Posted on: November 23, 2008, 09:49:40 am

Prince of all Goldfish
Developer
Location: Pittsburgh, PA, USA
Joined: Feb 2008
Posts: 2950

View Profile Email
Or rather, "Will be some time in about, say, a year and a half or so".

Sounds about right. I see what you mean, you want it for temporary use.

Hmm...

I don't wanna defile comments, but I guess I could easily do it. Again, I'll think about it. (Probably a yes)
Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Pages: 1
  Print