swordedit: An Update
Re: swordedit: An Update
I will never give up my taxi quote, It is my prized possession.
Nice to see swordedit is getting updated. Good work
Nice to see swordedit is getting updated. Good work
The armaments which thunderstrike the walls
And monarchs tremble in their capitals.
The oak leviathans, whose huge ribs make
Of lord of thee, and arbiter of war;
Alike the Armada's pride, or spoils of Trafalgar.
-
- Ranger
- Posts: 1894
- Joined: Tue Oct 16, 2007 3:57 am
- Location: "I didn't just take your mom out to dinner. I ate your mom for dinner."
- Contact:
Re: swordedit: An Update
My GUI was made Mainly for Leopard and for people with Very Small Screens.
I can make a Tiger version without the brushed metal if it is truly wanted.
Leopard version is sexy, Tiger and Panther is nasty I agree.
But still, no offense to sword, but its a lot better than the original, at least i think.
I can make a Tiger version without the brushed metal if it is truly wanted.
Leopard version is sexy, Tiger and Panther is nasty I agree.
But still, no offense to sword, but its a lot better than the original, at least i think.
Mota-Lev was here 30/4/2010@2:18pmG[v]N wrote:HUGE NOTIFICATION
THIS GRAVY HAS BRAINS
Re: swordedit: An Update
Offtopic: Oh, too bad. You guys will have to settle with my quotes. ¬_¬
*cough* I'm not a piece of quote *coughmeatlulz* [/lame]
Ontopic: Somehow, I still like Sword's GUI better. Maybe it's because Fonzie uses that brushed metal skin that we're all talking about. Personally, I like 'cleaner' skins
*cough* I'm not a piece of quote *coughmeatlulz* [/lame]
Ontopic: Somehow, I still like Sword's GUI better. Maybe it's because Fonzie uses that brushed metal skin that we're all talking about. Personally, I like 'cleaner' skins
Moxus wrote:Many thanks to the people who have made my years on MGM and on Halo Demo so memorable.
Re: swordedit: An Update
Hey, I thought it would be worth it to throw out a reason why I haven't been updating anything lately. I managed to break my laptop's keyboard again, and the trackpad is busted as well, so for quite a while now it's been far too annoying to do any decent work on this rig. Moreover, I've got 5 AP tests over the next two weeks, so my classes have been in prep mode for those during the past month(s).
Once I get a new laptop for college I'll start work on a new swordedit. I had some genius idea the other day about how to rework the entire code setup, but I was such a genius that I forgot to write it down, so I promptly forgot my idea. Maybe I'll get lucky and the idea will come back in a dream, like some of the code you guys have access to did. It was so weird; I'd wake up some mornings and have code in my mind that I had been trying to write the night before.
Oh yeah, I also haven't programmed since, what, last summer? This will be fun. I still need to bitch at apple for not validating my iphone developer application fully, even though I've payed them the fee already.
I guess I should get the new laptop first so I have somewhere to develop.
Oh yeah, did I mention that I'm going to college starting late August? I'd love to meet anyone on the upper west side of NYC.
Edit: I just remembered. The idea was how to better implement scenario definitions in swordedit to deal with endianness. The released version used little-endian position definitions (No clue if that makes sense to anyone other than me right now) in the scenario, not big endian as the data is after being loaded into memory. So yeah, I can get on that too.
Once I get a new laptop for college I'll start work on a new swordedit. I had some genius idea the other day about how to rework the entire code setup, but I was such a genius that I forgot to write it down, so I promptly forgot my idea. Maybe I'll get lucky and the idea will come back in a dream, like some of the code you guys have access to did. It was so weird; I'd wake up some mornings and have code in my mind that I had been trying to write the night before.
Oh yeah, I also haven't programmed since, what, last summer? This will be fun. I still need to bitch at apple for not validating my iphone developer application fully, even though I've payed them the fee already.
I guess I should get the new laptop first so I have somewhere to develop.
Oh yeah, did I mention that I'm going to college starting late August? I'd love to meet anyone on the upper west side of NYC.
Edit: I just remembered. The idea was how to better implement scenario definitions in swordedit to deal with endianness. The released version used little-endian position definitions (No clue if that makes sense to anyone other than me right now) in the scenario, not big endian as the data is after being loaded into memory. So yeah, I can get on that too.
The sword.
Re: swordedit: An Update
Try not to get angry at the keyboard again. it will make life harder for everyone.
-
- Ranger
- Posts: 1894
- Joined: Tue Oct 16, 2007 3:57 am
- Location: "I didn't just take your mom out to dinner. I ate your mom for dinner."
- Contact:
Re: swordedit: An Update
My GUI editing skills remain at your disposal sword.
Mota-Lev was here 30/4/2010@2:18pmG[v]N wrote:HUGE NOTIFICATION
THIS GRAVY HAS BRAINS
Re: swordedit: An Update
Be sure to include pretty pictures... pretty please *bats eyelids*.Fonzie wrote:My GUI editing skills remain at your disposal sword.
Either you are groping for answers, or you are asking God and listening to Jesus.
Re: swordedit: An Update
And how about a preference pane and not that annoying thing that appears. or is that in help?
Re: swordedit: An Update
Had a quick look at the code for the original sword edit. The selection code was pretty simple to fix.
Here's the new code:
- (void)mouseDown:(NSEvent *)event
{
NSPoint downPoint = [event locationInWindow];
NSPoint local_point = [self convertPoint:downPoint fromView:nil];
prevDown = [NSEvent mouseLocation];
if (_mode == select && _mapfile)
[self trySelection:local_point shiftDown:(([event modifierFlags] & NSShiftKeyMask) != ];
}
And remove this from trySelection:
// Adjustment that, for some reason, is necessary.
downPoint.x -= 25.0f;
downPoint.y -= 71.0f;
So far it works for me =)
-Samuco (http://www.samuco.net)
Here's the new code:
- (void)mouseDown:(NSEvent *)event
{
NSPoint downPoint = [event locationInWindow];
NSPoint local_point = [self convertPoint:downPoint fromView:nil];
prevDown = [NSEvent mouseLocation];
if (_mode == select && _mapfile)
[self trySelection:local_point shiftDown:(([event modifierFlags] & NSShiftKeyMask) != ];
}
And remove this from trySelection:
// Adjustment that, for some reason, is necessary.
downPoint.x -= 25.0f;
downPoint.y -= 71.0f;
So far it works for me =)
-Samuco (http://www.samuco.net)
Re: swordedit: An Update
Nice bug find. Looks like sword didn't convert the mouse location from the view to the window coordinate system, and made an adjustment 'workaround' by changing the point by some offset. Or something.
While we're at it, I'll post some fixes I found:
^ That's obviously a bug, str shouldn't be released.
Should be tableView == m_spawnListTable. Evil typo indeed.
This is what this method should be, more or less. The current implementation is a hack that reads some data from the executable and sees what the contents are.
While we're at it, I'll post some fixes I found:
Code: Select all
// in BspMesh.m:306
str = [NSString stringWithFormat:@"g Submesh_%d\n", i];
[str release];
Code: Select all
// in SpawnEditorController.m:185
else if (currentView == machineSpawnView)
{
if (tableView = m_spawnListTable)
return [NSString stringWithFormat:@"Machine: [%d]", row];
}
Code: Select all
- (BOOL)checkIsPPC
{
return (CFByteOrderGetCurrent() == CFByteOrderBigEndian);
}
I am no longer active to Halo or MGM, and don't guarantee a response on the forums or through email. I will however linger around the discord room for general chatting. It's been fun!
Re: swordedit: An Update
Exactly. But it works perfectly with this
You need to use it to understand why .
You need to use it to understand why .
Re: swordedit: An Update
Looks interesting. Although I never really had an issue with the old UI. Mainly, the problems with Swordedit are with how it parses the maps themselves. At least in my opinion.
Who is online
Users browsing this forum: No registered users and 59 guests