Josh @ Dreamland
|
|
Posted on: September 09, 2010, 12:24:09 pm |
|
|
Prince of all Goldfish
Location: Pittsburgh, PA, USA Joined: Feb 2008
Posts: 2950
|
Greetings, all.
This board was added with the completion (However temporary) of ENIGMA's C++ Definitions resource.
Using this resource, users can add their own C++ functions and types to ENIGMA, or include them from other headers.
This board is for users who wish to share their C++ function sets, and perhaps even include them in the specification. If you meet developer peer review, and your function is included in the Game Maker spec, it will almost certainly be added.
Basic board rules apply. No flaming; every contribution or attempt at a contribution, however poor or inefficient, is welcome. A sad cry of a stab in the dark at implementing a function may even provoke a developer to implement it correctly and add it in.
Cheers.
|
|
« Last Edit: September 09, 2010, 12:25:46 pm by Josh @ Dreamland »
|
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
|
|
|
Post made September 20, 2010, 01:28:33 am was deleted at the author's request.
|
Josh @ Dreamland
|
|
Reply #2 Posted on: September 20, 2010, 09:11:38 am |
|
|
Prince of all Goldfish
Location: Pittsburgh, PA, USA Joined: Feb 2008
Posts: 2950
|
If they work when added as a function in Whitespace, or are really worth porting, I don't see why not.
|
|
|
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
|
|
|
|
|
TheExDeus
|
|
Reply #5 Posted on: September 25, 2010, 01:02:42 pm |
|
|
Joined: Apr 2008
Posts: 1860
|
Thanks for the information. It works. Edit: Now I just have to wait until backgrounds are in so I can make all of those functions too. Edit2: And where are draw_text function? I can't find it anywhere. I wanted to make text functions (I know fonts are not implemented yet, but stuff like scaling etc, should be possible).
|
|
« Last Edit: September 25, 2010, 01:35:55 pm by HaRRiKiRi »
|
Logged
|
|
|
|
|
Josh @ Dreamland
|
|
Reply #7 Posted on: September 25, 2010, 09:09:17 pm |
|
|
Prince of all Goldfish
Location: Pittsburgh, PA, USA Joined: Feb 2008
Posts: 2950
|
Also, console_show_message().
|
|
|
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
|
|
|
TheExDeus
|
|
Reply #8 Posted on: September 26, 2010, 08:54:41 am |
|
|
Joined: Apr 2008
Posts: 1860
|
text functions don't exist because fonts aren't implemented yet. If you want to build on top of them, feel free, just make a dummy draw_text function to build on top of. I thought there was draw_text.. I think I even used it before. Thou it doesn't work now (it doesn't trow an error either). So I guess I will need to wait a little. Also, console_show_message(). Do I need to declare it somewhere? Because it won't work if I just use it in a function. Anyhow, print and prinf does suffice. Also, when background are going to be in? If you could implement it and make a draw_background function, then I will do all the rest of them.
|
|
|
Logged
|
|
|
|
Josh @ Dreamland
|
|
Reply #9 Posted on: September 26, 2010, 02:19:54 pm |
|
|
Prince of all Goldfish
Location: Pittsburgh, PA, USA Joined: Feb 2008
Posts: 2950
|
Once upon a time, there was. It used wgl to generate lists from font glyphs, then it drew them as primitives. However, the triangle count sometimes damaged it more than a like-sized bitmap draw would have, and there was no anti-aliasing... It was nasty. Not to mention it wasn't even remotely cross-platform, as most resources should be. All that being the case, it ended up getting buried. We'll be re-implementing them after Ism finds a way to get Java to render the glyphs white-on-black in an image.
I will add backgrounds to my list, but I have no ETA on them.
Maybe it was cons_show_message(). But it's just a string wrapper to puts(), so...
|
|
|
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
|
|
|
|
|