Pasi Kallinen
30c458d9fc
Add %N string mangling that returns the first character of the user's name.
...
This is a hack to work around the userdata directory limits.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@577 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-10-12 13:47:40 +00:00
Pasi Kallinen
1abe3a1117
TTY playback fixes from blackpenguin.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@576 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-09-13 16:18:22 +00:00
Pasi Kallinen
0321c2713c
Remove the internal text editor and all the support code; now compiles virus and ee as standalone executables.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@575 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-05-18 20:39:32 +00:00
Pasi Kallinen
ff31d082d1
Make ncurses redraw the whole screen after watching someone.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@574 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-05-18 19:58:32 +00:00
Pasi Kallinen
693eb02d0d
Move screen clears and refreshes into initcurses()
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@573 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-05-18 16:41:03 +00:00
Pasi Kallinen
16dfad48a4
More signals fixes &c. (Now it seems to work)
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@572 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-05-18 16:32:04 +00:00
Pasi Kallinen
eb91e63f77
More signal handling, this time for when running the game.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@571 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-05-16 19:14:35 +00:00
Pasi Kallinen
d623b5c0d6
Improve signal handling and leaving/entering curses.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@570 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-05-16 17:06:05 +00:00
Pasi Kallinen
725b6cd1d2
Improve signal handling a bit
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@569 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-05-16 06:50:18 +00:00
Pasi Kallinen
bf9db511f5
Move shmem freeing into it's own function
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@568 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-05-13 13:31:40 +00:00
Pasi Kallinen
ef9018dff1
Allow dumping the shared memory data with dgamelaunch -D
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@567 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-05-13 10:19:45 +00:00
Pasi Kallinen
3f50414639
Change cursor key up and down behaviour in watching-menu.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@566 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-05-09 09:01:26 +00:00
Pasi Kallinen
69ae1ebaeb
Oops. Should check what I write.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@565 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-05-09 08:46:27 +00:00
Pasi Kallinen
9e48fc215d
When selecting a random game to watch, try to avoid idle games and games with too big terminals.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@564 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-05-09 08:41:29 +00:00
Pasi Kallinen
413256523c
If using ncurses, use color to hilight games with too big terminals in watching menu.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@563 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-05-08 17:46:47 +00:00
Pasi Kallinen
fecd1b9361
Make sure ipfile malloc gets freed in any case.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@562 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-05-08 09:02:46 +00:00
Pasi Kallinen
70be86720c
Remove unneccessary comment lines
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@561 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-05-08 08:51:46 +00:00
Pasi Kallinen
6cb4d79c94
Check that we actually do write the inprogress-lock.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@560 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-05-08 05:27:50 +00:00
Pasi Kallinen
cb963b5da8
Remove NhExt stuff; no-one uses it
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@559 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-05-08 05:19:48 +00:00
Pasi Kallinen
f53dfb5c7b
Minor optimization in watching menu.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@558 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-05-07 20:01:40 +00:00
Pasi Kallinen
3f3e9c3277
Handle some additional keys in the watching-menu.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@557 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-05-06 17:30:16 +00:00
Pasi Kallinen
e80d1c338b
Remove the watcher if user kills the terminal while watching.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@556 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-05-06 16:01:08 +00:00
Pasi Kallinen
f11bf73dd8
Closing the terminal while watching a game did not update the # of watchers.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@555 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-05-05 17:13:18 +00:00
Pasi Kallinen
6581664456
Remove support for uuencoded ttyrec output.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@554 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-05-05 13:59:57 +00:00
Pasi Kallinen
ce1dd29060
Output some identifying info to the first frame of the ttyrec.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@553 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-05-05 13:37:40 +00:00
Pasi Kallinen
54c7cc29e5
Clear screen after ttyrec playback, but before enabling curses.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@552 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-05-05 11:37:59 +00:00
Pasi Kallinen
91f5cc7b07
Shouldn't exit out of dgl while watching ttyrecs.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@551 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-05-05 11:32:37 +00:00
Pasi Kallinen
80baf8a856
Adjust the watching-menu Size-column slightly.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@550 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-05-04 14:54:07 +00:00
Pasi Kallinen
124161588a
Move watching-menu column info into struct.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@549 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-05-03 19:15:09 +00:00
Pasi Kallinen
082c777fe8
Add $INCLUDE(filename) menu banner command.
...
That text in any line of a menu banner file will cause
the file 'filename' to be included in that place.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@548 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-05-03 17:54:13 +00:00
Pasi Kallinen
431ef1e791
Don't put the info lines too low on the page in the watching menu.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@547 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-05-03 16:27:42 +00:00
Pasi Kallinen
b0da5fedd1
Restore the old watching-menu paging. This time for reals.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@546 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-05-03 16:17:28 +00:00
Pasi Kallinen
879d6956e4
Changelog update
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@544 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-05-02 17:12:43 +00:00
Pasi Kallinen
dc40fe10a1
Sort also by idle time when sorting by watchers.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@543 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-05-02 16:16:13 +00:00
Pasi Kallinen
cb781bc3d6
Watchers fix. Memory alignment on 64bit systems?
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@542 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-05-02 08:34:19 +00:00
Pasi Kallinen
ffc63ae838
Use longs in shmem structs (Might prevent alignment problems)
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@541 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-05-02 08:15:01 +00:00
Pasi Kallinen
afa0b07631
Increment/decrement the games[] nwatchers too.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@540 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-05-02 07:28:46 +00:00
Pasi Kallinen
3610e6c436
Reverse the watchers column sort order.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@539 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-05-01 19:02:10 +00:00
Pasi Kallinen
0ad8f2cead
Fix idletime display.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@538 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-05-01 15:30:04 +00:00
Pasi Kallinen
a0a9bb8cdc
Check if chdir-command failed.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@537 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-05-01 15:01:03 +00:00
Pasi Kallinen
113fc564ef
Show the number of people watching each game in the watching-menu.
...
Also allow sorting by # of watchers.
Requires dgamelaunch to be compiled with --enable-shmem
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@536 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-05-01 14:41:54 +00:00
Pasi Kallinen
6245e81b59
Restore the exact paging in watching-menu.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@535 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-04-29 16:30:59 +00:00
Pasi Kallinen
4caec176f1
chroot creation script should handle statically linked binaries.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@534 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-03-13 19:08:31 +00:00
Pasi Kallinen
13c2d4ec3f
Update TODO
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@533 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-03-13 18:33:34 +00:00
Pasi Kallinen
e677422418
Test commit from joshk
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@532 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-03-12 22:07:08 +00:00
Pasi Kallinen
ef7d6eb846
Define menu_max_idle_time option to kill dgl when the user idles too long. From Darshan Shaligram
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@531 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-03-02 18:32:57 +00:00
Pasi Kallinen
9934d365bd
Allow dgamelaunch to kill processes that are idle for too long with SIGHUP. From Darshan Shaligram
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@530 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-03-02 18:02:51 +00:00
Pasi Kallinen
6adfa1dca6
Accept spectate commands when doing catchup-playback for ttyrecs. From Darshan Shaligram
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@529 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-03-02 17:42:24 +00:00
Pasi Kallinen
2c35a5ceee
typedef sighandler_t to fix compile on Mac. From Darshan Shaligram
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@528 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-03-02 17:19:43 +00:00
Pasi Kallinen
5c7b28686d
Experimental fix for huge ttyrecs making dgl hit ulimit. From Darshan Shaligram
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@527 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2010-02-28 11:35:30 +00:00