cvs commit: src/games/trek Makefile abandon.c attack.c autover.c capture.c cgetc.c check_out.c checkcond.c compkl.c computer.c damage.c damaged.c dcrept.c destruct.c dock.c dumpgame.c dumpme.c dumpssradio.c events.c externs.c getcodi.c getpar.c getpar.h ...

Peter Avalos pavalos at crater.dragonflybsd.org
Thu Sep 7 14:23:35 PDT 2006


pavalos     2006/09/07 14:19:45 PDT

DragonFly src repository

  Modified files:
    games/trek           Makefile abandon.c attack.c autover.c 
                         capture.c cgetc.c check_out.c checkcond.c 
                         compkl.c computer.c damage.c damaged.c 
                         dcrept.c destruct.c dock.c dumpgame.c 
                         dumpme.c dumpssradio.c events.c externs.c 
                         getcodi.c getpar.c getpar.h help.c 
                         impulse.c initquad.c kill.c klmove.c 
                         lose.c lrscan.c main.c move.c nova.c 
                         out.c phaser.c play.c ram.c ranf.c rest.c 
                         schedule.c score.c setup.c setwarp.c 
                         shield.c snova.c srscan.c systemname.c 
                         torped.c trek.h utility.c visual.c warp.c 
                         win.c 
  Log:
  WARNS6 cleanup (1803 warnings).
  
  ANSI function declarations.
  
  Staticize functions.
  
  Rename local variables that shadow globals.
  
  Use string functions from libc instead of creating our own.
  
  Remove void casts for unchecked function returns.
  
  Spell parameter correctly.
  
  Don't try to return a value from void functions.
  
  Remove compat library requirement (gtty -> ioctl).
  
  Add new function "dowarp" that calls warp() from play.c.  (Taken from
  NetBSD).
  
  Change chars that are used for numeric values to shorts so they can be
  properly used as array indexes.
  
  Revision  Changes    Path
  1.3       +4 -3      src/games/trek/Makefile
  1.3       +12 -7     src/games/trek/abandon.c
  1.3       +4 -3      src/games/trek/attack.c
  1.3       +3 -2      src/games/trek/autover.c
  1.3       +7 -4      src/games/trek/capture.c
  1.3       +4 -4      src/games/trek/cgetc.c
  1.3       +3 -3      src/games/trek/check_out.c
  1.3       +3 -4      src/games/trek/checkcond.c
  1.3       +7 -4      src/games/trek/compkl.c
  1.3       +26 -29    src/games/trek/computer.c
  1.3       +3 -4      src/games/trek/damage.c
  1.3       +3 -3      src/games/trek/damaged.c
  1.3       +3 -2      src/games/trek/dcrept.c
  1.3       +12 -6     src/games/trek/destruct.c
  1.3       +13 -5     src/games/trek/dock.c
  1.3       +23 -17    src/games/trek/dumpgame.c
  1.3       +4 -4      src/games/trek/dumpme.c
  1.3       +5 -4      src/games/trek/dumpssradio.c
  1.3       +17 -15    src/games/trek/events.c
  1.3       +18 -18    src/games/trek/externs.c
  1.3       +4 -4      src/games/trek/getcodi.c
  1.3       +31 -29    src/games/trek/getpar.c
  1.2       +18 -6     src/games/trek/getpar.h
  1.3       +18 -13    src/games/trek/help.c
  1.3       +16 -11    src/games/trek/impulse.c
  1.3       +5 -6      src/games/trek/initquad.c
  1.3       +18 -15    src/games/trek/kill.c
  1.3       +3 -3      src/games/trek/klmove.c
  1.3       +5 -7      src/games/trek/lose.c
  1.3       +3 -2      src/games/trek/lrscan.c
  1.3       +7 -9      src/games/trek/main.c
  1.3       +13 -15    src/games/trek/move.c
  1.3       +5 -3      src/games/trek/nova.c
  1.3       +4 -4      src/games/trek/out.c
  1.3       +23 -15    src/games/trek/phaser.c
  1.3       +30 -34    src/games/trek/play.c
  1.3       +3 -3      src/games/trek/ram.c
  1.3       +6 -7      src/games/trek/ranf.c
  1.3       +3 -2      src/games/trek/rest.c
  1.3       +13 -19    src/games/trek/schedule.c
  1.3       +3 -3      src/games/trek/score.c
  1.3       +15 -16    src/games/trek/setup.c
  1.3       +11 -6     src/games/trek/setwarp.c
  1.3       +15 -12    src/games/trek/shield.c
  1.3       +6 -6      src/games/trek/snova.c
  1.3       +6 -8      src/games/trek/srscan.c
  1.3       +3 -3      src/games/trek/systemname.c
  1.3       +16 -10    src/games/trek/torped.c
  1.2       +83 -23    src/games/trek/trek.h
  1.4       +15 -72    src/games/trek/utility.c
  1.3       +15 -13    src/games/trek/visual.c
  1.3       +45 -31    src/games/trek/warp.c
  1.3       +3 -6      src/games/trek/win.c


http://www.dragonflybsd.org/cvsweb/src/games/trek/Makefile.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/trek/abandon.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/trek/attack.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/trek/autover.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/trek/capture.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/trek/cgetc.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/trek/check_out.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/trek/checkcond.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/trek/compkl.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/trek/computer.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/trek/damage.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/trek/damaged.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/trek/dcrept.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/trek/destruct.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/trek/dock.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/trek/dumpgame.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/trek/dumpme.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/trek/dumpssradio.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/trek/events.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/trek/externs.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/trek/getcodi.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/trek/getpar.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/trek/getpar.h.diff?r1=1.1&r2=1.2&f=u
http://www.dragonflybsd.org/cvsweb/src/games/trek/help.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/trek/impulse.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/trek/initquad.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/trek/kill.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/trek/klmove.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/trek/lose.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/trek/lrscan.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/trek/main.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/trek/move.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/trek/nova.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/trek/out.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/trek/phaser.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/trek/play.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/trek/ram.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/trek/ranf.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/trek/rest.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/trek/schedule.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/trek/score.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/trek/setup.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/trek/setwarp.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/trek/shield.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/trek/snova.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/trek/srscan.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/trek/systemname.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/trek/torped.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/trek/trek.h.diff?r1=1.1&r2=1.2&f=u
http://www.dragonflybsd.org/cvsweb/src/games/trek/utility.c.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/games/trek/visual.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/trek/warp.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/trek/win.c.diff?r1=1.2&r2=1.3&f=u





More information about the Commits mailing list