cvs commit: src/games/hack Makefile alloc.c config.h def.func_tab.h def.gen.h def.gold.h def.monst.h def.objclass.h def.objects.h def.trap.h hack.Decl.c hack.apply.c hack.bones.c hack.c hack.cmd.c hack.do.c hack.do_name.c hack.do_wear.c ...

Peter Avalos pavalos at crater.dragonflybsd.org
Mon Aug 21 12:47:46 PDT 2006


pavalos     2006/08/21 12:45:33 PDT

DragonFly src repository

  Modified files:
    games/hack           Makefile alloc.c config.h def.func_tab.h 
                         def.gen.h def.gold.h def.monst.h 
                         def.objclass.h def.objects.h def.trap.h 
                         hack.Decl.c hack.apply.c hack.bones.c 
                         hack.c hack.cmd.c hack.do.c 
                         hack.do_name.c hack.do_wear.c hack.dog.c 
                         hack.eat.c hack.end.c hack.engrave.c 
                         hack.fight.c hack.h hack.invent.c 
                         hack.ioctl.c hack.lev.c hack.main.c 
                         hack.makemon.c hack.mhitu.c hack.mklev.c 
                         hack.mkmaze.c hack.mkobj.c hack.mkshop.c 
                         hack.mon.c hack.monst.c hack.o_init.c 
                         hack.objnam.c hack.options.c hack.pager.c 
                         hack.potion.c hack.pri.c hack.read.c 
                         hack.rip.c hack.rumors.c hack.save.c 
                         hack.search.c hack.shk.c hack.shknam.c 
                         hack.steal.c hack.termcap.c 
                         hack.timeout.c hack.topl.c hack.track.c 
                         hack.trap.c hack.tty.c hack.u_init.c 
                         hack.unix.c hack.vault.c hack.version.c 
                         hack.wield.c hack.wizard.c hack.worm.c 
                         hack.worn.c hack.zap.c makedefs.c rnd.c 
  Log:
  -WARNS6 cleanup (7422 warnings)
  -ANSI function declarations
  -staticize functions
  -use stdbool.h where needed
  -remove (void) casts for unchecked function returns
  -put extern function declarations and variables in hack.h
  -remove code that was previously commented out
  -rename local variables where needed that were colliding with globals
  -use variable argument lists from stdarg.h
  -add DragonFly keyword
  
  Revision  Changes    Path
  1.5       +3 -2      src/games/hack/Makefile
  1.4       +8 -21     src/games/hack/alloc.c
  1.3       +3 -2      src/games/hack/config.h
  1.3       +2 -6      src/games/hack/def.func_tab.h
  1.2       +1 -1      src/games/hack/def.gen.h
  1.2       +1 -1      src/games/hack/def.gold.h
  1.3       +0 -1      src/games/hack/def.monst.h
  1.3       +3 -0      src/games/hack/def.objclass.h
  1.2       +2 -0      src/games/hack/def.objects.h
  1.2       +1 -1      src/games/hack/def.trap.h
  1.4       +0 -1      src/games/hack/hack.Decl.c
  1.4       +49 -38    src/games/hack/hack.apply.c
  1.4       +10 -10    src/games/hack/hack.bones.c
  1.5       +70 -61    src/games/hack/hack.c
  1.4       +93 -81    src/games/hack/hack.cmd.c
  1.5       +46 -42    src/games/hack/hack.do.c
  1.4       +44 -41    src/games/hack/hack.do_name.c
  1.5       +44 -20    src/games/hack/hack.do_wear.c
  1.4       +37 -25    src/games/hack/hack.dog.c
  1.5       +46 -24    src/games/hack/hack.eat.c
  1.5       +105 -89   src/games/hack/hack.end.c
  1.4       +36 -22    src/games/hack/hack.engrave.c
  1.5       +32 -29    src/games/hack/hack.fight.c
  1.4       +560 -13   src/games/hack/hack.h
  1.5       +98 -78    src/games/hack/hack.invent.c
  1.4       +17 -12    src/games/hack/hack.ioctl.c
  1.4       +24 -42    src/games/hack/hack.lev.c
  1.4       +50 -60    src/games/hack/hack.main.c
  1.4       +11 -19    src/games/hack/hack.makemon.c
  1.4       +36 -40    src/games/hack/hack.mhitu.c
  1.4       +61 -51    src/games/hack/hack.mklev.c
  1.3       +25 -23    src/games/hack/hack.mkmaze.c
  1.4       +14 -14    src/games/hack/hack.mkobj.c
  1.4       +35 -28    src/games/hack/hack.mkshop.c
  1.5       +81 -67    src/games/hack/hack.mon.c
  1.3       +0 -1      src/games/hack/hack.monst.c
  1.4       +26 -18    src/games/hack/hack.o_init.c
  1.4       +22 -24    src/games/hack/hack.objnam.c
  1.3       +23 -24    src/games/hack/hack.options.c
  1.4       +51 -45    src/games/hack/hack.pager.c
  1.4       +19 -18    src/games/hack/hack.potion.c
  1.5       +106 -77   src/games/hack/hack.pri.c
  1.4       +15 -17    src/games/hack/hack.read.c
  1.4       +13 -14    src/games/hack/hack.rip.c
  1.3       +23 -11    src/games/hack/hack.rumors.c
  1.4       +33 -44    src/games/hack/hack.save.c
  1.3       +17 -15    src/games/hack/hack.search.c
  1.6       +156 -82   src/games/hack/hack.shk.c
  1.4       +5 -3      src/games/hack/hack.shknam.c
  1.4       +20 -20    src/games/hack/hack.steal.c
  1.5       +50 -67    src/games/hack/hack.termcap.c
  1.4       +7 -2      src/games/hack/hack.timeout.c
  1.3       +54 -28    src/games/hack/hack.topl.c
  1.3       +13 -8     src/games/hack/hack.track.c
  1.5       +49 -28    src/games/hack/hack.trap.c
  1.4       +40 -30    src/games/hack/hack.tty.c
  1.5       +31 -25    src/games/hack/hack.u_init.c
  1.7       +56 -74    src/games/hack/hack.unix.c
  1.4       +46 -18    src/games/hack/hack.vault.c
  1.4       +4 -1      src/games/hack/hack.version.c
  1.4       +13 -9     src/games/hack/hack.wield.c
  1.3       +18 -13    src/games/hack/hack.wizard.c
  1.4       +33 -17    src/games/hack/hack.worm.c
  1.3       +6 -5      src/games/hack/hack.worn.c
  1.5       +55 -48    src/games/hack/hack.zap.c
  1.3       +48 -23    src/games/hack/makedefs.c
  1.3       +10 -10    src/games/hack/rnd.c


http://www.dragonflybsd.org/cvsweb/src/games/hack/Makefile.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/games/hack/alloc.c.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/games/hack/config.h.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/hack/def.func_tab.h.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/hack/def.gen.h.diff?r1=1.1&r2=1.2&f=u
http://www.dragonflybsd.org/cvsweb/src/games/hack/def.gold.h.diff?r1=1.1&r2=1.2&f=u
http://www.dragonflybsd.org/cvsweb/src/games/hack/def.monst.h.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/hack/def.objclass.h.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/hack/def.objects.h.diff?r1=1.1&r2=1.2&f=u
http://www.dragonflybsd.org/cvsweb/src/games/hack/def.trap.h.diff?r1=1.1&r2=1.2&f=u
http://www.dragonflybsd.org/cvsweb/src/games/hack/hack.Decl.c.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/games/hack/hack.apply.c.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/games/hack/hack.bones.c.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/games/hack/hack.c.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/games/hack/hack.cmd.c.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/games/hack/hack.do.c.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/games/hack/hack.do_name.c.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/games/hack/hack.do_wear.c.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/games/hack/hack.dog.c.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/games/hack/hack.eat.c.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/games/hack/hack.end.c.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/games/hack/hack.engrave.c.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/games/hack/hack.fight.c.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/games/hack/hack.h.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/games/hack/hack.invent.c.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/games/hack/hack.ioctl.c.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/games/hack/hack.lev.c.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/games/hack/hack.main.c.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/games/hack/hack.makemon.c.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/games/hack/hack.mhitu.c.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/games/hack/hack.mklev.c.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/games/hack/hack.mkmaze.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/hack/hack.mkobj.c.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/games/hack/hack.mkshop.c.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/games/hack/hack.mon.c.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/games/hack/hack.monst.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/hack/hack.o_init.c.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/games/hack/hack.objnam.c.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/games/hack/hack.options.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/hack/hack.pager.c.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/games/hack/hack.potion.c.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/games/hack/hack.pri.c.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/games/hack/hack.read.c.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/games/hack/hack.rip.c.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/games/hack/hack.rumors.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/hack/hack.save.c.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/games/hack/hack.search.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/hack/hack.shk.c.diff?r1=1.5&r2=1.6&f=u
http://www.dragonflybsd.org/cvsweb/src/games/hack/hack.shknam.c.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/games/hack/hack.steal.c.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/games/hack/hack.termcap.c.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/games/hack/hack.timeout.c.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/games/hack/hack.topl.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/hack/hack.track.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/hack/hack.trap.c.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/games/hack/hack.tty.c.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/games/hack/hack.u_init.c.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/games/hack/hack.unix.c.diff?r1=1.6&r2=1.7&f=u
http://www.dragonflybsd.org/cvsweb/src/games/hack/hack.vault.c.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/games/hack/hack.version.c.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/games/hack/hack.wield.c.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/games/hack/hack.wizard.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/hack/hack.worm.c.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/games/hack/hack.worn.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/hack/hack.zap.c.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/games/hack/makedefs.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/hack/rnd.c.diff?r1=1.2&r2=1.3&f=u





More information about the Commits mailing list