DragonFly submit List (threaded) for 2005-03
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: src/games WARNS 6 cleanups
:Here are patches that cleanup
:bs
:worm
:worms
:wump
:grdc
:to WARNS 6 levels. All are small except bs which was almost totally
:redone. There are still more cleanups to do to these, but it's a
:start.
:
:-Craig
:--
:-----------------------------------------------------------------------
:Craig Dooley <xlnxminusx@xxxxxxxxx>
All committed, except I reformated the procedure definitions. i.e.
instead of:
int main(blahblahblah) {
code ...
}
The defacto-standard for our source base is as shown below. There are
many reasons for this but the one that effects people's daily lives
the most is that us programmers have gotten used to searching for
procedure definitions with '/^procedure_name' (i.e. using an anchored
search). This tends to skip any prototypes and calls to the procedure
and go right to the procedure def itself.
int
main(blahblahblah)
{
code ...
}
I didn't try to fix everything, either :-) Boy that original game code
is a mess!
-Matt
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]