Code optimizations/how to submit my modifications

Place all meeting requests / announcements here...
Post Reply
User avatar
daniel jackson
Private First Class
Private First Class
Posts: 10
Joined: Mon May 22, 2006 5:31 am
Location: California

Code optimizations/how to submit my modifications

Post by daniel jackson »

Hey everyone,

When ever I download the source code for various files, like bzflag, I check out the source code. I have make a couple of modified clients/servers of bzflag that utilize many more thernary conditionals than are in the standard or cvs versions of the source. I also know many programmers, not just one programmer, makes bzflag, so I know various programmers have various styles of writing or levels of code knowledge. I guess my question is, what I do help edit/organize code for upcoming versions of bzflag, also how would I actually submit my work to you guys. If I didn't mention it before I'm fluent in c/c++, my systems at my home are all AMD64, but its very easy to create 32bit chroots in debian.

Thank You,
User avatar
Spazzy McGee
Sergeant Major
Sergeant Major
Posts: 1405
Joined: Mon Mar 21, 2005 4:59 pm
Location: Planet MoFo, Sheffield Division; United Kingdom

Post by Spazzy McGee »

I would suggest you log on to the IRC channel #bzflag on irc.freenode.net

This is where most of the developers hang out.
Last edited by Spazzy McGee on Mon Dec 15, 2008 5:40 pm, edited 1 time in total.
"Life is what happens to you while you're busy making other plans." - John Lennon
Legolas_
Private First Class
Private First Class
Posts: 513
Joined: Thu Jan 20, 2005 10:24 pm

Post by Legolas_ »

http://my.bzflag.org/w/Google_Summer_of_Code

You might be intrested in the Google Summer of Code: Coding for BZFlag.

This might also answer your question.

Please, by all means, submit code to further BZFlag!
User avatar
DTRemenak
General
General
Posts: 625
Joined: Thu Jan 16, 2003 4:54 am
Location: U.S.
Contact:

Post by DTRemenak »

Patches (preferably in unified diff format) may be submitted to the sourceforge patch tracker.

http://sourceforge.net/tracker/?group_i ... tid=303248

If you don't know how to create a patch, please see...hmm, guess we don't have a guide for that yet.

Basically, if you're working off cvs:
cvs diff -u > mypatch.patch
Otherwise, extract a clean (unmodified) copy of the source, and
diff -u /path/to/clean /path/to/modified > mypatch.patch

Note that switching from if-statements to ternary operators is not always a positive change; in most cases, we're more concerned about code readability than performance (though there are plenty of cases where ternary operators are more readable than if-statements).

See also DEVINFO.
User avatar
daniel jackson
Private First Class
Private First Class
Posts: 10
Joined: Mon May 22, 2006 5:31 am
Location: California

Post by daniel jackson »

ok well thanks for the info guys, I guess I just want to be able to do my part for the community. Oh I do hang out every now and again on the #bzflag channel on freenode, I just keep running out of caffeine to stay there all the time.
Got root?
<u>
debian64 - AthlonX2_9750 - Custom Built , 2GB DDR677, 2x 200GB HD
debian64 - Athlon64_3000+ HP zv6000 laptop
Post Reply