|
Josh @ Dreamland
|
|
Reply #1 Posted on: January 26, 2014, 01:49:35 pm |
|
|
Prince of all Goldfish
Location: Pittsburgh, PA, USA Joined: Feb 2008
Posts: 2950
|
C++ code is always generated, and can be sent to any compiler. You won't want to edit the generated code; it is not pretty.
The compilers the code can be sent to are listed under Compilers/PLATFORM/*.ey. If you like, you can create a new one for a different compiler. You can then select your preferred compiler from Enigma Settings, under the API tab.
|
|
|
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
|
|
|
Goombert
|
|
Reply #2 Posted on: January 26, 2014, 02:14:40 pm |
|
|
Location: Cappuccino, CA Joined: Jan 2013
Posts: 2993
|
On Windows Vista or later the generated C++ is in C:/ProgramData/ENIGMA/Preprocessor_Environment_Editable
|
|
|
Logged
|
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.
|
|
|
Jimmy_D
|
|
Reply #3 Posted on: February 14, 2014, 11:37:06 pm |
|
|
Joined: Jan 2014
Posts: 69
|
C++ code is always generated, and can be sent to any compiler. You won't want to edit the generated code; it is not pretty.
You got that right ! Nothing is pretty about the program you fucked up and painted yourself in a corner now. You ought to be ashamed of yourself motherfucker.
|
|
|
Logged
|
|
|
|
Josh @ Dreamland
|
|
Reply #4 Posted on: February 15, 2014, 08:36:09 am |
|
|
Prince of all Goldfish
Location: Pittsburgh, PA, USA Joined: Feb 2008
Posts: 2950
|
The purpose of generated code is not to be pretty. ENIGMA's generated code is C++ with wildly bloated loops and gotos. GCC's generated code is then assembly with nothing but a dozen instructions for any piece of a loop, and gotos for any branching at all. That is the nature of compilation; it isn't a flaw in a compiler by any means.
|
|
|
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
|
|
|
Goombert
|
|
Reply #5 Posted on: February 15, 2014, 11:02:43 am |
|
|
Location: Cappuccino, CA Joined: Jan 2013
Posts: 2993
|
Jimmy, I've warned you several times already about hijacking peoples topics, you're not only being rude to people not even affiliated with the project, you're filling the forums with spam. You've had your chance to make a topic of your own already, and you did, so you can either start obeying the forum rules, or leave, simple as that.
|
|
|
Logged
|
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.
|
|
|
|
Goombert
|
|
Reply #7 Posted on: February 16, 2014, 02:00:16 am |
|
|
Location: Cappuccino, CA Joined: Jan 2013
Posts: 2993
|
Allow me to quote YYG's own bug tracker. http://experimental.yoyogames.com/view.php?id=13489To throw an error when setting some extra-brackets, still valid GML-code, without mathematical functionality, but just to make the structure clearer for reading, reveals some deeper lacks in evaluating expressions. By the way, the ENIGMA-compiler accepts the GML-code above in both versions without errors.
|
|
|
Logged
|
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.
|
|
|
Darkstar2
|
|
Reply #8 Posted on: February 16, 2014, 02:24:04 am |
|
|
Joined: Jan 2014
Posts: 1238
|
They fixed that in the latest EA build but.... Enigma 1 GM 0 I am curious and almost dying to know how many people (those who do not own master collection) paid $299 to purchase the YYC Compiler export. I get a sense that it still has many issues from what I read on GMC and elsewhere. Now I'm also dying to know of those who paid $299, how many wish they could go back in time !
|
|
|
Logged
|
|
|
|
Goombert
|
|
Reply #9 Posted on: February 16, 2014, 12:39:02 pm |
|
|
Location: Cappuccino, CA Joined: Jan 2013
Posts: 2993
|
Yeah but our current compiler is 5 years old and written by a 15 year old.
|
|
|
Logged
|
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.
|
|
|
|