Commit Graph

544 Commits

Author SHA1 Message Date
Pasi Kallinen be6b2a6073 Fix wrong spooldir in example config file.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@504 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-19 14:57:19 +00:00
Pasi Kallinen 1561eb4007 Teenytiny cosmetic fix.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@503 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-18 19:27:08 +00:00
Pasi Kallinen 7a00201cea Fix game watching when loggedin.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@502 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-18 19:15:46 +00:00
Pasi Kallinen f07d814c27 Move the terminal resize to when you're watching the game.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@501 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-18 18:24:22 +00:00
Pasi Kallinen 5c0a1876fb Fix toggling the window resize on and off in the watching-menu.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@500 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-18 17:55:17 +00:00
Pasi Kallinen 9dc52ce7dd When doing '/' in watching-menu, match player names without case, and try to find the best match from the beginning of the player name.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@499 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-18 17:52:12 +00:00
Pasi Kallinen 857105e8b2 Prevent a segfault when trying to watch a game when none is available.
Also disable '/' when no games available. 


git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@498 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-18 17:25:18 +00:00
Pasi Kallinen 6a703c4bf7 Give feedback when typing '/' in the watching menu.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@497 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-18 17:21:56 +00:00
Pasi Kallinen afef47940f Update watching menu help to reflect previous change.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@496 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-18 17:14:06 +00:00
Pasi Kallinen ad13d4eb7b Restore the previous watching-menu behaviour: don't require enter keypress to watch.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@495 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-18 17:09:27 +00:00
Pasi Kallinen 06e783db08 Update the year in the example menus
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@494 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-18 16:09:37 +00:00
Pasi Kallinen e6fb6ecafe In the watching-menu, keep the same player selected even when resorting the entries.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@493 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-18 14:29:46 +00:00
Pasi Kallinen c237c27478 Rename dgl's local_{COLS,LINES} so they don't collide with ee
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@492 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-18 13:57:12 +00:00
Pasi Kallinen a4829f9627 Set the Changelog date.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@491 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-18 13:30:36 +00:00
Pasi Kallinen 1a7f346b20 Actually mark the game entry as selected when using '/' or '*' in watching menu.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@490 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-18 13:20:55 +00:00
Pasi Kallinen 29f507bda8 Add a watching-menu command to start watching a random game.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@489 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-18 13:10:45 +00:00
Pasi Kallinen b841c2801c Show slightly different texts in watching-menu when no games are available.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@488 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-18 13:03:22 +00:00
Pasi Kallinen 72bca3161c Mark it as v1.5.0; not tagged yet...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@487 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-18 12:16:09 +00:00
Pasi Kallinen cd4ae1a5f0 Just to be sure, make the tty playback buffer explicitly null terminated.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@486 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-18 12:05:16 +00:00
Pasi Kallinen dfc414aa19 Allow resizing the terminal while watching a game. This probably won't work everywhere, due to _GNU_SOURCE
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@485 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-18 11:44:47 +00:00
Pasi Kallinen cdcbcf45d8 Update Changelog
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@484 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-18 10:46:58 +00:00
Pasi Kallinen 284a2201e3 Show the watching-menu sorting by hilighting the title.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@483 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-18 10:31:45 +00:00
Pasi Kallinen dde7cc68b4 Change the chroot creation script to use the symlink trick for the nethack binary too.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@482 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-18 09:58:21 +00:00
Pasi Kallinen 6e5bfc4c19 Add the watchmenu help file to the chroot create script
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@481 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-18 09:47:02 +00:00
Pasi Kallinen 94f0867063 Add better watchmenu help
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@480 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-18 09:45:42 +00:00
Pasi Kallinen 62744f361a Make the lines actually work like they should, duh.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@479 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-18 09:19:49 +00:00
Pasi Kallinen 4a53a95307 Readjust the lines
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@478 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-18 08:48:15 +00:00
Pasi Kallinen 2146f33c82 Adjust the position of the watching-menu bottom lines
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@477 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-18 08:46:06 +00:00
Pasi Kallinen c08ce22995 Free populated games.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@476 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-18 08:39:19 +00:00
Pasi Kallinen fff23611d8 Dynamically alloc is_nhext array in watching menu.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@475 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-18 08:29:33 +00:00
Pasi Kallinen 0b9067ee0a Small fixes to the watching-screen, caused by variable height screen.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@474 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-18 02:11:31 +00:00
Pasi Kallinen 4d3be5720c Fix wrong offset.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@473 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-18 01:14:32 +00:00
Pasi Kallinen 653396a7d2 Drastic changes to the watching-screen.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@472 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-18 01:03:27 +00:00
Pasi Kallinen 65bc2cee98 Handle screen size changes.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@471 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-18 00:17:50 +00:00
Pasi Kallinen ec7e3b3d49 In the watching-screen you can press '/' and type a player name and press enter.
If a player's name matches, you'll watch that player.


git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@470 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-17 22:40:45 +00:00
Pasi Kallinen 72ed2a4969 AC_ARG_ENABLE does not take the full --enable-foo option. Thanks cph!
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@469 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-17 21:15:59 +00:00
Pasi Kallinen 972bb6fa6b Add per-game configurable ttyrec-dir; If it's not defined for some game,
no ttyrecs are saved for that game, and those games cannot be spectated.

Add more debugging output to dgldebug.log -file

Add configure option --enable-debugfile to enable or disable the debugging log.


git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@468 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-17 20:26:56 +00:00
Pasi Kallinen 592b966d78 Remove lines that are commented out, and which can now be done via the config file hooks.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@467 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-17 17:37:58 +00:00
Pasi Kallinen 39456b7a75 Make dgl-create-chroot -script work again.
Change the dgldir directory layout; all rcfiles, dumps and ttyrecs are now under dgldir/userdata/USERNAME/


git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@466 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-17 17:34:36 +00:00
Pasi Kallinen 2b6b21cb51 Minor typo fix.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@465 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-15 15:11:54 +00:00
Pasi Kallinen 24a8f3a448 Add a "gameend" hook. Patch from jorgenpt.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@464 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-02 17:41:12 +00:00
Pasi Kallinen 70dcf4486d Print error to stderr when we can't read DEFCONFIG file.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@463 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-09-26 19:33:50 +00:00
Pasi Kallinen 5782235ecf Patch from Jeremy Chadwick:
Linux telnetd allows importing the USER envvar via telnet,
while FreeBSD does not.  FreeBSD, on the other hand, does allow
the LOGNAME envvar.  Check USER first, then LOGNAME.



git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@462 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-09-26 19:13:05 +00:00
Pasi Kallinen 3801c41172 Use HAVE_SETENV. This must've been a leftover from before configure was used.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@461 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-07-25 15:21:15 +00:00
Pasi Kallinen 959338a15a Forgot to remove these shed_uid & shed_gid lines.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@460 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-05-24 18:30:37 +00:00
Pasi Kallinen aae24f9893 Move shed_uid and shed_gid initial values to the correct place. Thanks to xororand.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@459 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-05-24 17:32:32 +00:00
Pasi Kallinen 14112830ce Remove unneeded retard check
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@458 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2008-11-26 17:23:38 +00:00
Pasi Kallinen a44b161d76 Minor comment fixes in example dgamelaunch.conf
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@457 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2008-11-25 16:20:32 +00:00
Pasi Kallinen 24189a955a Improve the flat text db -> sqlite3 db conversion script.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@456 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2008-11-25 16:13:50 +00:00
Pasi Kallinen e08465fa22 Update TODO
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@455 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2008-11-13 20:40:50 +00:00