Commit graph

  • 016bcf2ff2 Seed command fully implemented but apparently buggy. Eric S. Raymond 2017-05-24 09:06:41 -04:00
  • 1c4150055a Implement stub handler for SEED command. Not hooked up to PRNG yet. Eric S. Raymond 2017-05-24 08:30:06 -04:00
  • ebfa184a6c Remove a bad use of tv_nsec. Jason S. Ninneman 2017-05-23 23:46:20 -07:00
  • 8d97eb71ff Move a line that got out of place. Jason S. Ninneman 2017-05-23 23:42:54 -07:00
  • 24f327cc09 Add seedable PRNG using an adaptation the original LCG algorithm. Jason S. Ninneman 2017-05-23 23:37:56 -07:00
  • b0a3c821e9 Fix the slightly broken prompt test. Eric S. Raymond 2017-05-24 00:28:38 -04:00
  • aa7e291bc6 Revert structurization changes, they broke database compilation... Eric S. Raymond 2017-05-24 00:17:19 -04:00
  • 6b97463cd5 More switch reformatting. Eric S. Raymond 2017-05-23 23:17:57 -04:00
  • dd25a9f3f1 Reformat a switch statement for readability. No logic changes. Eric S. Raymond 2017-05-23 23:01:34 -04:00
  • 3f57114791 Revert a variable name previously changed to be out of the way. Eric S. Raymond 2017-05-23 22:29:24 -04:00
  • ba7561a27a More structurization. Eric S. Raymond 2017-05-23 20:59:21 -04:00
  • ac14bf8ae9 Echo commands to stdout when replaying... Eric S. Raymond 2017-05-23 20:38:46 -04:00
  • bef99090db More globals to the game structure. Eric S. Raymond 2017-05-23 20:34:53 -04:00
  • 4f0e04404e More global-to-structure moves. Eric S. Raymond 2017-05-23 20:22:35 -04:00
  • 485ca59432 More comment cleanup. Eric S. Raymond 2017-05-23 19:49:49 -04:00
  • f8dc7dbdf1 Fixed case in a comment. Eric S. Raymond 2017-05-23 19:45:18 -04:00
  • cb477da7ec Move more globals into the state structure. Eric S. Raymond 2017-05-23 19:40:34 -04:00
  • 91bfd55c1c Begin gathering saveable game state into a structure. Not yet complete. Eric S. Raymond 2017-05-23 18:47:04 -04:00
  • ec4c0c8cd0 Input source is parametrized all the way down. Eric S. Raymond 2017-05-23 15:57:38 -04:00
  • 00321f3388 Begin factoring out the command interpreter. Eric S. Raymond 2017-05-23 14:48:41 -04:00
  • e512d15232 Documentation polishing. Eric S. Raymond 2017-05-23 14:04:42 -04:00
  • 5605ccba4c Update for TODO items accomplished. Eric S. Raymond 2017-05-23 13:22:18 -04:00
  • e7f4d6125b Fix command synopsis on the manual page. Eric S. Raymond 2017-05-23 11:31:10 -04:00
  • 0ad8d13f27 Added oldstyle option. Eric S. Raymond 2017-05-23 11:28:56 -04:00
  • c16e4cb078 Fix capitalization glitches. Eric S. Raymond 2017-05-23 09:18:28 -04:00
  • 0eda56fae9 Add -l option to enable command logging. Eric S. Raymond 2017-05-23 08:57:35 -04:00
  • c00601788e Fix typos in the history. Jason S. Ninneman 2017-05-22 23:13:28 -07:00
  • 5386a9ac27 Fix a couple typos. Jason S. Ninneman 2017-05-22 21:13:15 -07:00
  • 42e6e7cdb7 Fix strange inside-out organization of the input routines. Eric S. Raymond 2017-05-22 21:26:14 -04:00
  • de1ac23b2e Remove unused labels. Eric S. Raymond 2017-05-22 20:55:21 -04:00
  • 7f91b85809 More magic-number elimination. Eric S. Raymond 2017-05-22 20:51:55 -04:00
  • 7f25697673 Don't use a magic number when we can use sizeof(). Eric S. Raymond 2017-05-22 20:33:23 -04:00
  • f376383a89 Prototypization. Eric S. Raymond 2017-05-22 18:47:39 -04:00
  • a7f6f62a1a Correct long-size bug that resulted in checksum error. Eric S. Raymond 2017-05-22 09:30:51 -04:00
  • bbba2243df Correct history based on code comments. Eric S. Raymond 2017-05-22 09:11:12 -04:00
  • 301f38586b Fix up case on all comments to make them more readable. No code changes. Eric S. Raymond 2017-05-21 13:12:24 -04:00
  • 155c6517d7 Add TODO items. Eric S. Raymond 2017-05-19 15:16:39 -04:00
  • 3cd972a418 Documentation polishing. Add TODO. Eric S. Raymond 2017-05-19 13:30:12 -04:00
  • 6b258f1537 Prepare to initialize public repository. Eric S. Raymond 2017-05-19 13:22:09 -04:00
  • 343551ee79 More ANSI prototype conversions. Eric S. Raymond 2017-05-19 01:28:38 -04:00
  • 197da1e5af Document ADVENTURE environment variable. Eric S. Raymond 2017-05-19 00:49:23 -04:00
  • 936a4a27b5 More boolification. Eric S. Raymond 2017-05-18 17:28:18 -04:00
  • 6ef3e68c0c Replace fDATIME with ANSI/POSIX clock_gettime(). Rip out DOS/AMIGA shims. Eric S. Raymond 2017-05-18 17:18:16 -04:00
  • 333dc72920 Remove a remnant of the old non-licensing. Eric S. Raymond 2017-05-18 16:54:06 -04:00
  • 51f7b01c15 Use prototypes and bools. Eric S. Raymond 2017-05-18 09:06:32 -04:00
  • afddd9b263 Partially ANSIfy C, fix compiler warnings. Eric S. Raymond 2017-05-18 08:55:38 -04:00
  • e99cc5d8ee Typo fix. Eric S. Raymond 2017-05-18 07:31:10 -04:00
  • 015583689c Add control file for shipper. Eric S. Raymond 2017-05-18 07:30:04 -04:00
  • 587991c168 Consistent use of 'advent' to avoid collision with BSD Games. Eric S. Raymond 2017-05-18 07:18:53 -04:00
  • 4845362cb8 Add README. More history. Eric S. Raymond 2017-05-15 04:00:49 -04:00
  • f5f3c5ea25 Relicense to 2-clause BSD. Befin the history document. Eric S. Raymond 2017-05-15 01:57:17 -04:00
  • 3a9c44f910 Minimal forward-port to modern C - just enough to get it to compile. Eric S. Raymond 2017-02-16 13:14:57 -05:00
  • f16343f8dc Don Wood's 430-point Adventure 2.5 from 1995, from rec.games.int-fiction. Eric S. Raymond 2017-02-16 11:59:50 -05:00
  • 7493b26e6c Improve test coverage. Eric S. Raymond 2017-06-13 13:36:27 -04:00
  • e07cedf332 Documentation improvements. Eric S. Raymond 2017-06-13 13:13:30 -04:00
  • 1a12a3acf2 Move awqy from FORTRANISH conditionals. Eric S. Raymond 2017-06-13 12:47:34 -04:00
  • 34db08ce06 Typo fixes. Eric S. Raymond 2017-06-13 12:25:19 -04:00
  • fa74e8054b Explain the prompting logic more fully. Eric S. Raymond 2017-06-13 12:18:46 -04:00
  • 9a2618963f Fix a minor bug in -l operation. Explain the input logic. Eric S. Raymond 2017-06-13 11:59:49 -04:00
  • 6166d687b9 Code simplification. Eric S. Raymond 2017-06-13 11:28:53 -04:00
  • c9abf8243c Code simplification. Eric S. Raymond 2017-06-13 11:12:38 -04:00
  • 95e8752252 More test coverage. Eric S. Raymond 2017-06-13 10:57:03 -04:00
  • 897fe621ec More test coverage of odd cases. Eric S. Raymond 2017-06-13 10:43:06 -04:00
  • a3c14ba077 Abolish setup check, there's no possibility of restart. Eric S. Raymond 2017-06-13 10:20:15 -04:00
  • 593b8e3caa Add woods hint and hint display to test coverage. Eric S. Raymond 2017-06-13 10:05:48 -04:00
  • 6c1eadcd67 Arrange test coverage of reincarnation code. Eric S. Raymond 2017-06-13 09:48:32 -04:00
  • 760e2e3282 Remove more unused code. Eric S. Raymond 2017-06-13 09:42:18 -04:00
  • 89829f45be Speling misstakes Peje Nilsson 2017-06-13 13:20:28 +00:00
  • fb93f9d67e Remove now-unused code. Eric S. Raymond 2017-06-13 09:34:53 -04:00
  • b373ba447d Cleanup leftover comments Peje Nilsson 2017-06-13 13:27:44 +00:00
  • cbf027c28b Further increase test coverage. Eric S. Raymond 2017-06-13 09:26:54 -04:00
  • 790228a7c4 Speling misstakes Peje Nilsson 2017-06-13 13:20:28 +00:00
  • 7018354e22 Improve regression-test coverage. Eric S. Raymond 2017-06-13 09:18:24 -04:00
  • 8a46a60c8c Documentation update. Eric S. Raymond 2017-06-13 08:37:36 -04:00
  • 43f0c07f1a Update docs to track Peje's latest patch. Eric S. Raymond 2017-06-13 08:30:49 -04:00
  • 169c683e45 Refactor part of dwarfmove to remove goto jumpout Peje Nilsson 2017-06-13 14:18:06 +02:00
  • 60ab7a63dc Comment polishing. Eric S. Raymond 2017-06-13 08:15:01 -04:00
  • 6a6d9ca14e Address GitLab issue #10: Spurious '>' characters appearing in console output Eric S. Raymond 2017-06-13 08:03:27 -04:00
  • 9e08cba63e Adjust for Peje Add Peje Nilsson to credits. Eric S. Raymond 2017-06-13 07:49:53 -04:00
  • a7c0f331d1 Remove L19999 Peje Nilsson 2017-06-13 13:14:40 +02:00
  • 3bdab31a0d Improve slightly on Peje's L12 patch, changing documentation to match. Eric S. Raymond 2017-06-13 07:36:57 -04:00
  • 804e60ccff More documentation updates. Eric S. Raymond 2017-06-12 22:15:38 -04:00
  • beeee71701 Remove L19999 Peje Nilsson 2017-06-13 13:14:40 +02:00
  • c366ddb733 Relocate L12 Peje Nilsson 2017-06-13 07:41:09 +02:00
  • 1b167e5e72 New notes.adoc file; major documentation update. Eric S. Raymond 2017-06-12 22:02:32 -04:00
  • bc1dd279e2 Don't output disused dungeon data. Jason S. Ninneman 2017-06-12 14:44:24 -07:00
  • 6b75d87797 Remove some hard-coded array dimensions. Generate CLSSES at compile time. Jason S. Ninneman 2017-06-12 11:02:16 -07:00
  • 90b9b84797 Clean up function argument. Jason S. Ninneman 2017-06-12 09:36:14 -07:00
  • ca0e042952 Use strdup() instead of strncpy(). Jason S. Ninneman 2017-06-12 09:21:24 -07:00
  • a044f10411 Turn MOD from function to macro. Eric S. Raymond 2017-06-12 17:33:21 -04:00
  • 66c22301ed Add -s option. Eric S. Raymond 2017-06-12 16:51:35 -04:00
  • a02b387999 FORTRAN line numbers returned from action() become action symbols. Eric S. Raymond 2017-06-12 14:42:04 -04:00
  • ddaf975e91 Convert L2000/goto L2000 to while(true) Peje Nilsson 2017-06-12 17:58:08 +02:00
  • d85ef403af Refactor main command loop to eliminate L2000. Eric S. Raymond 2017-06-12 09:42:43 -04:00
  • 1c4097314a Eliminare L8 label. Eric S. Raymond 2017-06-12 09:28:11 -04:00
  • b560b0f597 Eliminate L8 label. Eric S. Raymond 2017-06-12 09:24:11 -04:00
  • 57f2dfb28f Factor out logic for listing objects at present location. Eric S. Raymond 2017-06-12 09:01:21 -04:00
  • d7ae7efd30 Refactor hinting logic to pull more code out of mainline. Eric S. Raymond 2017-06-12 08:31:32 -04:00
  • bd6e402512 Closing-time check factored out. Eric S. Raymond 2017-06-12 08:15:58 -04:00
  • 73d5310839 Reformat for readability. Eric S. Raymond 2017-06-12 08:07:49 -04:00