Pages: 1 [2] 3
  Print  
Author Topic: Some things just have to be deprecated  (Read 8694 times)
Offline (Male) RetroX
Reply #15 Posted on: December 01, 2008, 05:00:17 PM

Master of all things Linux
Contributor
Location: US
Joined: Apr 2008
Posts: 1055
MSN Messenger - classixretrox@gmail.com
View Profile Email
Any Game Maker game should compile in ENIGMA and run 500x faster.

Although that doesn't mean all ENIGMA games need to be able to save in Game Maker and run.
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 (Male) notachair
Reply #16 Posted on: December 02, 2008, 12:05:07 AM

Definitely not a chair
Contributor
Joined: Feb 2008
Posts: 300

View Profile
Any Game Maker game should compile in ENIGMA and run 500x faster.

Although that doesn't mean all ENIGMA games need to be able to save in Game Maker and run.
Unless it contains execute_script?
Logged
Offline (Male) Rusky
Reply #17 Posted on: December 02, 2008, 07:38:14 PM

Resident Troll
Joined: Feb 2008
Posts: 960
MSN Messenger - rpjohnst@gmail.com
View Profile WWW Email
yes, change that to nearly any. including gcc and the parser is not allowed, neither is including an interpreter.
Logged
Offline (Male) RetroX
Reply #18 Posted on: December 03, 2008, 04:12:23 PM

Master of all things Linux
Contributor
Location: US
Joined: Apr 2008
Posts: 1055
MSN Messenger - classixretrox@gmail.com
View Profile Email
execute_script() is probably the shittiest excuse for a function ever.
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 (Male) sprintf()
Reply #19 Posted on: December 03, 2008, 05:42:23 PM

"Past Contributor"
Location: S. Wales
Joined: Apr 2008
Posts: 72
MSN Messenger - dmgoron@gmail.com
View Profile Email
It's very useful. It allows you to pass a script as a callback to an object or another script.
Logged
Offline (Male) Rusky
Reply #20 Posted on: December 03, 2008, 07:01:22 PM

Resident Troll
Joined: Feb 2008
Posts: 960
MSN Messenger - rpjohnst@gmail.com
View Profile WWW Email
You can do callback without having to stick an interpreter onto the exe.
Logged
Offline (Male) RetroX
Reply #21 Posted on: December 04, 2008, 04:43:26 PM

Master of all things Linux
Contributor
Location: US
Joined: Apr 2008
Posts: 1055
MSN Messenger - classixretrox@gmail.com
View Profile Email
It's very useful. It allows you to pass a script as a callback to an object or another script.
with (obj)
 {
 function();
 }
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 (Male) Rusky
Reply #22 Posted on: December 04, 2008, 06:59:52 PM

Resident Troll
Joined: Feb 2008
Posts: 960
MSN Messenger - rpjohnst@gmail.com
View Profile WWW Email
he's probably thinking more along the lines of giving the other object or script something to execute in some of its code. in most languages, callback is done by giving the name of the function. you can do that in gml by using the name of the script, because it's just a resource id constant.

make a script
then do this
Code: [Select]
script(otherscriptname);
Logged
Offline (Male) RetroX
Reply #23 Posted on: December 04, 2008, 08:57:44 PM

Master of all things Linux
Contributor
Location: US
Joined: Apr 2008
Posts: 1055
MSN Messenger - classixretrox@gmail.com
View Profile Email
Ah.




Still useless.
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 (Male) Rusky
Reply #24 Posted on: December 05, 2008, 06:07:52 PM

Resident Troll
Joined: Feb 2008
Posts: 960
MSN Messenger - rpjohnst@gmail.com
View Profile WWW Email
Yes, execute_string/file are useless- because of what I just said. So "still useless" was what I was agreeing with.
Logged
Offline (Male) Josh @ Dreamland
Reply #25 Posted on: December 06, 2008, 05:51:08 AM

Prince of all Goldfish
Developer
Location: Ohio, United States
Joined: Feb 2008
Posts: 2946

View Profile Email
It's useless, all right.

switch function()
{
case 0: script0()
case 1: script1()
case 2: script2()
}

That's the only piece of code it could replace.

I suppose execute_script would be easy enough to implement. So as soon as I see it on the request page, I'll do it. Ha
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 (Male) RetroX
Reply #26 Posted on: December 06, 2008, 11:03:38 AM

Master of all things Linux
Contributor
Location: US
Joined: Apr 2008
Posts: 1055
MSN Messenger - classixretrox@gmail.com
View Profile Email
...there's a request page?

Also,
http://enigma-dev.org/forums/index.php?topic=221.msg1283
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 (Male) Rusky
Reply #27 Posted on: December 06, 2008, 03:24:50 PM

Resident Troll
Joined: Feb 2008
Posts: 960
MSN Messenger - rpjohnst@gmail.com
View Profile WWW Email
It's useless, all right.

switch function()
{
case 0: script0()
case 1: script1()
case 2: script2()
}

That's the only piece of code it could replace.
but how often do you need that?
Logged
Offline (Male) Josh @ Dreamland
Reply #28 Posted on: December 06, 2008, 06:12:54 PM

Prince of all Goldfish
Developer
Location: Ohio, United States
Joined: Feb 2008
Posts: 2946

View Profile Email
Practically never.
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 (Male) RetroX
Reply #29 Posted on: December 07, 2008, 01:16:56 PM

Master of all things Linux
Contributor
Location: US
Joined: Apr 2008
Posts: 1055
MSN Messenger - classixretrox@gmail.com
View Profile Email
Point proven.  YYG is just trying to add useless functions to make the function list look bigger.
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? :(
Pages: 1 [2] 3
  Print