Re: src/games WARNS 6 cleanups

看板DFBSD_submit作者時間21年前 (2005/03/16 05:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/2 (看更多)
: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@gmail.com> 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
文章代碼(AID): #12DqqT00 (DFBSD_submit)
文章代碼(AID): #12DqqT00 (DFBSD_submit)