]> skyeroc.xyz Git - dgamelaunch/commit
Enhanced watchmode
authorTangles <andyrthomson@gmail.com>
Wed, 3 Jan 2018 01:28:44 +0000 (12:28 +1100)
committerTangles <andyrthomson@gmail.com>
Wed, 3 Jan 2018 01:28:44 +0000 (12:28 +1100)
commit2c92d7b3d17321200d5d9abfe3646767c72390a5
tree92f4ac3956d09930bae7429858ad69091d8175f6
parentd345908bb81d9e4ebd3aedff7616158a2b9fb2a4
Enhanced watchmode

Allow an external program to be specified to watch particular games
to make use of NH4's wachmode. Add game config options watch_path,
watch_args and watchcommands to support this.  Also add %w/%W for
format tokens the watched player, and %l/%L for the logged-in user
because %n/%N fall back to the watched player if nobody is logged
in, which is not always what we want.  Watch menu now displays N/A
for the terminal size of games which use this, because NH4 watch
mode does not care about player's terminal dimensions.  Other external
watching tools may need this in the future, but for now there is
nothing that requires this.
.gitignore
config.l
config.y
dgamelaunch.c
dgamelaunch.h
dgl-common.c
examples/dgamelaunch.conf