Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - IsmAvatar

Function Peer Review / Re: Networking on GitHub
« on: September 25, 2010, 06:57:17 pm »
Reproducing those functions is more work than it's worth. I'd basically be creating my own protocol for sessions, player objects, global data objects, and message objects. Not having them is very little loss, especially considering that mplay didn't work 90% of the time for most people anyways, and everyone else switched to GmSock already. Implementing them, on the other hand, is a whole lot of work. Remember that each of those functions has a very specific purpose, so it's not like I could just hand-wave over them. I'd basically have to single-handedly recreate all the work that a large team at Microsoft/DirectX's programming division already did in directplay, and then later decided to scrap and deprecate anyways.

I thought I might be able to be of help, so I opened up the .cpp file and started reading. About 2 lines in I said "Oh... guess not." C != C++.

Proposals / Re: new Build mode
« on: September 22, 2010, 02:01:30 pm »
It's called Design Mode now. The way it usually works is that it's entirely the responsibility of Enigma to interpret the game and display the window and the Design buttons, so we bypass all those dll calls.

JNI has proven too difficult to develop in, so we've opted to use JNA instead, which is how LGM calls Enigma for various things like syntax checking and compiling.

Function Peer Review / Re: Networking on GitHub
« on: September 21, 2010, 05:55:24 pm »
On windows, it has a dependency on WinSock, and you may or may not have to -l it in.

Function Peer Review / Networking on GitHub
« on: September 21, 2010, 12:27:41 pm »
I've uploaded my networking files to:

MIT license, so they can easily be relicensed to GPL.
Please feel free to contribute.

At this time, they are written in C only.
They are largely functional, but some aspects need a bit of improvement, or at least a thorough going-over - in particular, mplay_send and mplay_receive.

They are currently named mplay_ until we get a better name for them. They do not use DirectPlay (which GM uses) and we do not aim to create a reproduction of the mplay_ functionality.

They work standalone, but I'm sure they could be plugged into Enigma as well.

Proposals / Re: LGM themes (Warning: Images)
« on: September 20, 2010, 09:45:49 am »
Not everyone uses windows, and not everyone likes the way windows looks. Personally I prefer Gnome's Ambience, and get a little annoyed whenever something breaks that theme. When the time comes, I think restoring the Platform L&F would be a better option than having it default to Windows or Java. A better option yet would be to let the user pick their L&F.

Proposals / Re: LGM themes (Warning: Images)
« on: September 18, 2010, 12:00:45 pm »
Just a reminder that the LGM Look and Feel (L&F - basically its theme) has a Todo tag open to at least allow the user to pick their own theme. If anybody thought you were going to be stuck with the default theme it has now, that's actually just a part that has yet to be done, but is scheduled eventually. It can very well use the platform L&F, which is usually the default option, but during development, we forced the Java L&F because different platforms typically screwed up the components and it made it difficult to test the more important functionality on each platform.

Proposals / Re: Add a place for extra returns.
« on: September 14, 2010, 11:45:22 am »
func1(arg0,arg1,myvar_arg2 = func2(args),arg3);

Announcements / Re: ENIGMA R4
« on: September 11, 2010, 05:01:51 pm »
HaRRiKiRi: This is probably one of the following:
1) You really do need to update... or
2) It's picking up updates from another branch/tag/trunk that is not yours. This will be fixed in the near future. If you update, and no revisions are made, and it still needs an update, then
3) You've modified one of the files that SVN plays with. At this time the plugin reads versioned modifications as "Needs Update". I plan to add better support for this in the near future, but in the meantime, consider not modifying versioned files. One of the big goals of LGM/Enigma is that you shouldn't need to modify our files - just create your own in a format that is a lot more user-friendly.

Function Peer Review / Re: Trimming
« on: September 09, 2010, 04:36:49 pm »
That's preceding. Or leading.

Announcements / Re: ENIGMA R4
« on: September 09, 2010, 01:52:13 pm »
After updating, the enigma.jar plugin needs to reload. I'm working on fixing this. In the meantime, if you experience this problem, simply restart LGM. You may need to delete compileEGMf.dll or before starting LGM to force the dll to rebuild.

To clarify, if you experience, after updating, an error like so:
Code: [Select]
Calling `make`
Exception in thread "Thread-6" java.lang.NoClassDefFoundError: org/enigma/Enigma

Take the following steps to correct it and complete the update:
1) Exit the program.
2) Delete compileEGMf library
 a) Windows: compileEGMf.dll
 b) Linux:
 c) Mac: libcompileEGMf.dylib
3) Run the program again.

Announcements / Re: ENIGMA R4
« on: September 08, 2010, 01:50:50 pm »
Prepend your drive letter and a colon to the make location in winmake.txt.

This is a feud between Josh and I. Josh provides me with the location of Make, and I call it to make Enigma. However, sometimes he provides this half-assed path, and I don't know what to do with it, and I have no way of deriving the drive letter for it.

Announcements / Re: ENIGMA R4
« on: September 08, 2010, 01:24:12 pm »
Quote from: The 11th plague of Egypt
And it asked me to update to v457 then to v458, something is wrong.
Actually the repository has been pretty active. You probably just happened to open LGM while someone was making those changes.

However, this does alert me to the realization that it probably shouldn't update unless your particular branch (e.g. stable, tags, or dev trunk) has changed. These 2 revisions only effected the trunk.

TGMG: If you'd like to tell me what parts of Josh's post you'd like to change to reflect your changes, I can do that for you.

Announcements / Re: ENIGMA R4
« on: September 08, 2010, 01:01:17 pm »
tgmg: CompilerSource/Makefile lines 13-27.
Your OS needs to be added to that list, or else it is considered windows.
Also, the change will need to be reflected in

Announcements / Re: ENIGMA R4
« on: September 08, 2010, 10:28:25 am »
HaRRiKiRi: there are 2 revisions, since there are two programs. LateralGM, or the IDE, is at r456. Enigma, the program you are interested in, is at r435. The about box will show you LGM's revision. You will only see Enigma's revision when an update is in order.

As for that always-asking-for-update problem, I've fixed this in r436 on dev's trunk. Josh can review it before making it upstream on stable.