Commit Graph

557 Commits

Author SHA1 Message Date
Pasi Kallinen 41c0322ad9 Change max. length of passwords from magic number to a define.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@518 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-11-28 17:53:00 +00:00
Pasi Kallinen de5177592c When term is resized when watching, should replay from the last screen clear.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@517 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-11-27 21:12:05 +00:00
Pasi Kallinen 9bed813458 Change max. length of player name from magic number to a define.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@516 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-11-27 18:41:35 +00:00
Pasi Kallinen 160ddf3b5b Remove unused variable. Update TODO.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@515 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-11-27 18:05:36 +00:00
Pasi Kallinen 482382c585 Make configure accept both lex _and_ flex.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@514 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-23 07:16:29 +00:00
Pasi Kallinen 2d92746975 Abort configure if lex or flex cannot be found.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@513 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-21 15:03:56 +00:00
Pasi Kallinen 0d2f412ae6 Abort configure if we cannot find bison/byacc/yacc.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@512 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-21 14:59:37 +00:00
Pasi Kallinen ada8b7d674 Abort configure if we cannot find [n]curses devel libs.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@511 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-21 14:49:46 +00:00
Pasi Kallinen 4a76ab5733 Remove the "unsorted" watch-menu sort method, and make "username" the default.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@510 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-21 09:06:44 +00:00
Pasi Kallinen 65eb9a89bc Prep for 1.5.1
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@509 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-20 15:51:29 +00:00
Pasi Kallinen add9a7fa49 Allow ',' in the watching menu to sort by the previous column.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@508 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-19 20:45:27 +00:00
Pasi Kallinen ae11d81827 Allow sorting by all of the fields in the watching-menu.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@507 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-19 19:29:47 +00:00
Pasi Kallinen 91675def98 Don't clear the menu screen if the keypress wasn't recognized.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@505 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2009-10-19 15:17:28 +00:00
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