RetroX
|
|
Reply #30 Posted on: May 16, 2010, 02:14:32 pm |
|
|
Master of all things Linux
Location: US Joined: Apr 2008
Posts: 1055
|
Wow. You're seriously assuming that Java has a bug before assuming that X has a bug?
X doesn't have bugs. It's just brainfuck to use it and everyone makes bugs by using it. And as for the EXE extension, yes, it will. It's just that Nautilus, Dolphin, Thunar, and any other file manager will assume that because it has a .exe extension, it is an EXE, and it will try to run it in WINE.
|
|
« Last Edit: May 16, 2010, 02:16:09 pm by RetroX »
|
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)Why do all the pro-Microsoft people have troll avatars?
|
|
|
Josh @ Dreamland
|
|
Reply #31 Posted on: May 16, 2010, 02:16:12 pm |
|
|
Prince of all Goldfish
Location: Pittsburgh, PA, USA Joined: Feb 2008
Posts: 2950
|
You forgot the Also, that's why "Compile" lets you choose the full filename. The 'exe' is meant for ENIGMA to run/work with.
|
|
|
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
|
|
|
|
|
Josh @ Dreamland
|
|
Reply #34 Posted on: May 16, 2010, 04:45:15 pm |
|
|
Prince of all Goldfish
Location: Pittsburgh, PA, USA Joined: Feb 2008
Posts: 2950
|
Oh, that was just one of the 600 problems I've encountered on the way. Indented comments were executed; that was a more recent one.
The one I'm dealing with now is that parameters work differently on Windows. make GRAPHICS=OpenGL doesn't work anymore.
|
|
|
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
|
|
|
|
|
Josh @ Dreamland
|
|
Reply #37 Posted on: May 17, 2010, 11:43:26 pm |
|
|
Prince of all Goldfish
Location: Pittsburgh, PA, USA Joined: Feb 2008
Posts: 2950
|
Indeed. And I could write it to a config file, and may end up doing so later depending on circumstances, but for now it's unnecessary and inconvenient; I'd rather it just worked for now.
Sprites work in R4 now. LGM is odd about its support for importing images with transparency, so be weary. ENIGMA doesn't mind them, however. Now's not the time to benchmark due to debug... scaffolding, we'll call it... left in place. I'll remove it promptly enough.
For now, good night.
|
|
« Last Edit: May 18, 2010, 01:13:11 pm by IsmAvatar »
|
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
|
|
|
IsmAvatar
|
|
Reply #38 Posted on: May 18, 2010, 01:22:49 pm |
|
|
LateralGM Developer
Location: Pennsylvania/USA Joined: Apr 2008
Posts: 877
|
Also, for those of you checking out r230 or later, you will notice the splash screen has returned.
For those of you experiencing X crashes on Linux when trying to Drag and Drop: Open lgm16b4.jar with a zip manager. Go to META-INF, and edit MANIFEST.MF with a text editor. Remove the Splash Screen line (the 5th line), resave, and update the jar. Sadly, X-crash-fixers will not get to enjoy the Splash Screen, because it was the least intrusive functionality I had to remove in order to stop the X crash. The other options were: Do not jar, disable D&D, or fix X/Java so they play nicely. You will need to repeat this modification each time the LateralGM jar is replaced, unless I figure out and implement a workaround (seeing as the bug reports offer none at this time after dozens of heads have tried to think of one, I'm going to say the prospects of me finding one are grim).
For those of you not experiencing X crashes, enjoy your splash screen, and laugh politely at the X-crashers.
|
|
|
Logged
|
|
|
|
|
Josh @ Dreamland
|
|
Reply #40 Posted on: May 18, 2010, 09:11:13 pm |
|
|
Prince of all Goldfish
Location: Pittsburgh, PA, USA Joined: Feb 2008
Posts: 2950
|
Retro: All my makefiles use *.o to quickly link. The link target is depended on by Windows' and Linux' targets. The assumption is that you're using one of those. I separated it to avoid reprinting all its dependencies.
|
|
|
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
|
|
|
IsmAvatar
|
|
Reply #41 Posted on: May 19, 2010, 11:20:39 am |
|
|
LateralGM Developer
Location: Pennsylvania/USA Joined: Apr 2008
Posts: 877
|
Bug: keyword mod is not implemented. Workaround: Replace every occurrance of "mod" with "%"
Another Bug: I've encountered a strange issue relating to scope and comparisons of numbers less than or equal to 8. Sorry, it's difficult to simplify any further. Create event:
x = room_width / 2; y = 0; nextdir = 180; direction = 180; speed = 4; Normal Step event:
if (y == 0) direction = nextdir; nextdir = 0; //this seems to lose scope before the next step rolls around
//enigma handling code x += hspeed; y += vspeed; Draw event: draw something at x,y so you can see what's going on. The figure should always move right, but seems to always move left.
Also, to add to the strange behavior, set y to 24, and then in the step even replace if (y == 0) with if (y == 24). You'll notice it now moves right. In fact, any value greater 8 will work properly. Set it to any number from 0 through 8, and it will lose scope.
Workaround: In the create event, prefix nextdir with "var ", such that it becomes "var nextdir = 180;"
|
|
« Last Edit: May 19, 2010, 11:57:27 am by IsmAvatar »
|
Logged
|
|
|
|
Josh @ Dreamland
|
|
Reply #42 Posted on: May 19, 2010, 05:34:04 pm |
|
|
Prince of all Goldfish
Location: Pittsburgh, PA, USA Joined: Feb 2008
Posts: 2950
|
Well, mod is easily fixed by--and this needs done soon anyway--creating a file of syntax quirks and in it placing #define mod %. I will do that soon enough; but it won't work for everything because the syntax checker doesn't actually unroll macros yet, even though everything else does.
I'm not sure what's causing your other bugs, Ism, if they are bugs at all. We'll check the outputted C++ next we talk.
|
|
|
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
|
|
|
|
Josh @ Dreamland
|
|
Reply #44 Posted on: May 19, 2010, 06:56:25 pm |
|
|
Prince of all Goldfish
Location: Pittsburgh, PA, USA Joined: Feb 2008
Posts: 2950
|
Scratch that. As it happens, sin(180*pi/180) = 1.2246063538223773e-16.
GM implemented a threshold for such in its == operators. I guess ENIGMA will have to do the same. Morbidly disappointing, really.
|
|
« Last Edit: May 19, 2010, 07:25:42 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
|
|
|
|