CVS commit: src/games/hunt/hunt

2011-01-05 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Wed Jan  5 15:40:55 UTC 2011

Modified Files:
src/games/hunt/hunt: hunt.c

Log Message:
Fix realloc error. Found by cppcheck.


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/games/hunt/hunt/hunt.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/games/hunt/hunt

2011-01-05 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Wed Jan  5 15:52:20 UTC 2011

Modified Files:
src/games/hunt/hunt: hunt.c

Log Message:
avoid unnecessary cast (hi wiz)


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/games/hunt/hunt/hunt.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/games/hunt/hunt

2011-05-23 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Mon May 23 22:56:11 UTC 2011

Modified Files:
src/games/hunt/hunt: hunt.c

Log Message:
Don't use variables as format string.


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/games/hunt/hunt/hunt.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/games/hunt/hunt

2014-03-29 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sat Mar 29 20:52:13 UTC 2014

Modified Files:
src/games/hunt/hunt: hunt.c otto.c playit.c

Log Message:
catch up to huntd changes.
XXX: this needs to stop promiscuously sharing .h files.


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/games/hunt/hunt/hunt.c
cvs rdiff -u -r1.15 -r1.16 src/games/hunt/hunt/otto.c
cvs rdiff -u -r1.16 -r1.17 src/games/hunt/hunt/playit.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/games/hunt/hunt

2014-03-29 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sat Mar 29 20:53:55 UTC 2014

Modified Files:
src/games/hunt/hunt: hunt.c

Log Message:
Remove unsafe and unnecessary pointer casts.


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 src/games/hunt/hunt/hunt.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/games/hunt/hunt

2014-03-29 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sat Mar 29 22:05:44 UTC 2014

Modified Files:
src/games/hunt/hunt: hunt.c hunt_private.h

Log Message:
make some globals static


To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/games/hunt/hunt/hunt.c
cvs rdiff -u -r1.1 -r1.2 src/games/hunt/hunt/hunt_private.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/games/hunt/hunt

2014-03-29 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sat Mar 29 22:15:13 UTC 2014

Modified Files:
src/games/hunt/hunt: hunt.c

Log Message:
be consistent about whether functions are static


To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 src/games/hunt/hunt/hunt.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/games/hunt/hunt

2014-03-29 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sat Mar 29 22:15:26 UTC 2014

Modified Files:
src/games/hunt/hunt: hunt_private.h

Log Message:
group external functions by where they come from


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/games/hunt/hunt/hunt_private.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/games/hunt/hunt

2014-03-29 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Mar 30 02:11:25 UTC 2014

Modified Files:
src/games/hunt/hunt: playit.c

Log Message:
When indexing an array with a char, cast it to unsigned char, not int,
to not only silence the compiler warning but also get the correct
behavior.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/games/hunt/hunt/playit.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/games/hunt/hunt

2014-03-29 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Mar 30 02:26:09 UTC 2014

Modified Files:
src/games/hunt/hunt: Makefile hunt.c hunt_private.h
Added Files:
src/games/hunt/hunt: server.c

Log Message:
split off a bunch of the nastier network code into its own file


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/games/hunt/hunt/Makefile
cvs rdiff -u -r1.47 -r1.48 src/games/hunt/hunt/hunt.c
cvs rdiff -u -r1.3 -r1.4 src/games/hunt/hunt/hunt_private.h
cvs rdiff -u -r0 -r1.1 src/games/hunt/hunt/server.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/games/hunt/hunt

2014-03-29 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Mar 30 02:46:57 UTC 2014

Modified Files:
src/games/hunt/hunt: server.c

Log Message:
goto considered harmful


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/games/hunt/hunt/server.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/games/hunt/hunt

2014-03-29 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Mar 30 02:53:11 UTC 2014

Modified Files:
src/games/hunt/hunt: server.c

Log Message:
name reform, fewer file statics


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/games/hunt/hunt/server.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/games/hunt/hunt

2014-03-29 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Mar 30 02:58:25 UTC 2014

Modified Files:
src/games/hunt/hunt: hunt.c hunt_private.h server.c

Log Message:
unexpose some globals that server.c previously required


To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 src/games/hunt/hunt/hunt.c
cvs rdiff -u -r1.4 -r1.5 src/games/hunt/hunt/hunt_private.h
cvs rdiff -u -r1.3 -r1.4 src/games/hunt/hunt/server.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/games/hunt/hunt

2014-03-29 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Mar 30 03:26:19 UTC 2014

Modified Files:
src/games/hunt/hunt: server.c

Log Message:
more cleanup


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/games/hunt/hunt/server.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/games/hunt/hunt

2014-03-29 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Mar 30 03:35:26 UTC 2014

Modified Files:
src/games/hunt/hunt: hunt.c hunt_private.h

Log Message:
use fewer globals


To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 src/games/hunt/hunt/hunt.c
cvs rdiff -u -r1.5 -r1.6 src/games/hunt/hunt/hunt_private.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/games/hunt/hunt

2014-03-29 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Mar 30 04:31:21 UTC 2014

Modified Files:
src/games/hunt/hunt: hunt.c hunt_private.h server.c

Log Message:
Clean up the handling of the list of hunt daemons.


To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51 src/games/hunt/hunt/hunt.c
cvs rdiff -u -r1.6 -r1.7 src/games/hunt/hunt/hunt_private.h
cvs rdiff -u -r1.5 -r1.6 src/games/hunt/hunt/server.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/games/hunt/hunt

2014-03-29 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Mar 30 04:39:40 UTC 2014

Modified Files:
src/games/hunt/hunt: server.c

Log Message:
Tidy up list of broadcast addresses.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/games/hunt/hunt/server.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/games/hunt/hunt

2014-03-29 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Mar 30 04:40:50 UTC 2014

Modified Files:
src/games/hunt/hunt: hunt.c

Log Message:
fix obvious mistake (seems to have been there since 4.4)


To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 src/games/hunt/hunt/hunt.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/games/hunt/hunt

2014-03-29 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Mar 30 04:57:37 UTC 2014

Modified Files:
src/games/hunt/hunt: hunt.c server.c

Log Message:
I wish the socket API didn't require casts. Easy to mess them up.


To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 src/games/hunt/hunt/hunt.c
cvs rdiff -u -r1.7 -r1.8 src/games/hunt/hunt/server.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/games/hunt/hunt

2014-03-29 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Mar 30 05:14:47 UTC 2014

Modified Files:
src/games/hunt/hunt: connect.c hunt.c hunt_private.h otto.c playit.c

Log Message:
Naming reform for socket pieces, akin to what I did in huntd earlier.
(but not as comprehensive)


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/games/hunt/hunt/connect.c
cvs rdiff -u -r1.53 -r1.54 src/games/hunt/hunt/hunt.c
cvs rdiff -u -r1.7 -r1.8 src/games/hunt/hunt/hunt_private.h
cvs rdiff -u -r1.17 -r1.18 src/games/hunt/hunt/otto.c
cvs rdiff -u -r1.19 -r1.20 src/games/hunt/hunt/playit.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/games/hunt/hunt

2014-03-29 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Mar 30 05:38:13 UTC 2014

Modified Files:
src/games/hunt/hunt: playit.c

Log Message:
Instead of #define STDIN 0, use STDIN_FILENO.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/games/hunt/hunt/playit.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/games/hunt/hunt

2014-03-29 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Mar 30 05:41:50 UTC 2014

Modified Files:
src/games/hunt/hunt: playit.c

Log Message:
fix off-by-one


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/games/hunt/hunt/playit.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/games/hunt/hunt

2014-03-29 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Mar 30 05:44:56 UTC 2014

Modified Files:
src/games/hunt/hunt: hunt.c playit.c

Log Message:
don't use the preprocessor to rename curses functions, just call them


To generate a diff of this commit:
cvs rdiff -u -r1.55 -r1.56 src/games/hunt/hunt/hunt.c
cvs rdiff -u -r1.23 -r1.24 src/games/hunt/hunt/playit.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/games/hunt/hunt

2014-03-29 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Mar 30 05:46:54 UTC 2014

Modified Files:
src/games/hunt/hunt: hunt.c

Log Message:
curses has printw, use it.


To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 src/games/hunt/hunt/hunt.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/games/hunt/hunt

2014-03-29 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Mar 30 05:48:36 UTC 2014

Modified Files:
src/games/hunt/hunt: playit.c

Log Message:
Use the curses beep function instead of writing a beep to stdout.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/games/hunt/hunt/playit.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/games/hunt/hunt

2014-03-30 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sun Mar 30 09:11:50 UTC 2014

Modified Files:
src/games/hunt/hunt: hunt.c

Log Message:
Remove unused.


To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 src/games/hunt/hunt/hunt.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.