Commit Graph

575 Commits

Author SHA1 Message Date
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
Pasi Kallinen 77e40534c4 Oops, ee wasn't used even without --enable-virus. Found by xororand.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@454 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2008-10-01 18:02:21 +00:00
Pasi Kallinen 6ac216b592 Update TODO
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@453 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2008-08-23 15:48:11 +00:00
Pasi Kallinen ff4a636ec2 Fix a bug where more than one defined game didn't show up or showed gibberish
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@452 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2008-08-23 12:50:43 +00:00
Pasi Kallinen d2be5b05d6 Don't keep reloading the banners.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@451 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2008-08-23 12:47:11 +00:00
Pasi Kallinen 326ba77233 Rename game_start to gamestart so it's similar to dglstart.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@450 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2008-08-23 12:41:17 +00:00
Pasi Kallinen 715108f70d Fix a bug where users couldn't exit from dgl. Found by blindcoder.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@449 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2008-08-23 12:39:01 +00:00
Pasi Kallinen dfc4cc51d1 Fix a bug that caused multiple user entries to be inserted into the sqlite db when the db was locked by some other process.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@448 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2008-08-23 09:47:04 +00:00
Pasi Kallinen 5d0bfc1b21 If the cursor-definition is missing from the menu, put cursor to the end of the last line of the banner.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@447 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2008-04-06 11:35:26 +00:00
Pasi Kallinen fb8bfdf5d4 Remove the old dgl-banner in the root dir.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@446 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2008-04-06 11:26:38 +00:00
Pasi Kallinen c5b4b3e759 Add example dgl-banner and the main menu files.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@445 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2008-04-06 11:23:56 +00:00
Pasi Kallinen db5bcbaf85 Add $SERVERID and server_id stuff so admin can change the server ID (url, telnet address, whatever) simply by editing one line in the
config file.


git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@444 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2008-04-06 11:21:29 +00:00
Pasi Kallinen d481cee1fc Update Changelog
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@443 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2008-04-06 10:05:41 +00:00
Pasi Kallinen 6cf3c008bc Don't show the "press 'm' to mail user" in watching screen unless spool is enabled.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@442 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2008-04-06 09:36:20 +00:00
Pasi Kallinen 146947b386 Make watching-screen default sortmode configurable
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@441 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2008-04-06 09:13:50 +00:00
Pasi Kallinen fd4f6161e5 Remove dgl-wall.c
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@440 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2008-04-06 08:28:37 +00:00
Pasi Kallinen e63075f995 Fold the dgl-wall functionality into dgamelaunch itself:
./dgamelaunch -W "nick:message"



git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@439 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2008-04-06 08:27:44 +00:00
Pasi Kallinen 9792a8289a Update TODO
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@438 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2008-04-05 23:20:28 +00:00
Pasi Kallinen 2184a3609c Allow any number of different games per dgl installation without needing to recompile.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@437 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2008-04-05 22:55:46 +00:00
Pasi Kallinen 25d36a74f5 Define the admin-hasn't-installed-banner-file string in just one place
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@436 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2008-04-05 17:52:32 +00:00