Commit graph

  • b0eb54b125 More goto elimination. Eric S. Raymond 2017-06-12 08:03:10 -04:00
  • c04fa7e446 Goto elimination. Eric S. Raymond 2017-06-12 07:58:24 -04:00
  • 696779d337 K successfully localized. Eric S. Raymond 2017-06-12 06:47:10 -04:00
  • 95f1548a10 Allow direct object to persist across turns. Eric S. Raymond 2017-06-12 06:26:58 -04:00
  • c0a450c4d6 Localize K. Eric S. Raymond 2017-06-12 06:13:00 -04:00
  • 5535c509eb Narrow scope of K. Eric S. Raymond 2017-06-12 06:09:34 -04:00
  • cfcb1a6ec6 Fix uninitialized-variable warning. Eric S. Raymond 2017-06-12 05:28:28 -04:00
  • e6a5a22ffa Fix use of uninitialized variable Peje Nilsson 2017-06-12 10:33:00 +02:00
  • e723b7e462 SPK is abolished. Eric S. Raymond 2017-06-12 02:10:14 -04:00
  • ac88b9c7e1 More SPK localization. Eric S. Raymond 2017-06-12 01:45:01 -04:00
  • a101fc8679 SPK localization. Eric S. Raymond 2017-06-12 01:28:20 -04:00
  • d80abbce02 K localization. Eric S. Raymond 2017-06-12 00:30:45 -04:00
  • 80c0c10221 Localize K to main.c Eric S. Raymond 2017-06-12 00:21:14 -04:00
  • 1f7a1bc8fd Localization moves for K. Eric S. Raymond 2017-06-12 00:10:07 -04:00
  • 04db837075 Update TODO. Eric S. Raymond 2017-06-11 22:07:12 -04:00
  • a062d43079 SPK is no longer global. Eric S. Raymond 2017-06-11 22:04:14 -04:00
  • e2ebc24114 Continue localization of SPK (not yet complete). Eric S. Raymond 2017-06-11 21:58:21 -04:00
  • 7485a8a1e1 Limit visibility of ugly globals. Eric S. Raymond 2017-06-11 21:07:53 -04:00
  • 32b04f190e Clean up compiler warnings. Eric S. Raymond 2017-06-11 18:57:07 -04:00
  • 4ae8585802 Massive whitespace update to the test output. Jason S. Ninneman 2017-06-11 15:43:38 -07:00
  • 5ed0cc0fe9 Change 'drop pillow' to 'drop pillo' to make the test pass while we sort out a minor bug. Jason S. Ninneman 2017-06-11 15:42:04 -07:00
  • bcfecca1a1 Fix broken unpacking algorithm. Jason S. Ninneman 2017-06-11 14:59:08 -07:00
  • a2e0c55fb4 Abolish SPEAK(). Jason S. Ninneman 2017-06-11 14:41:26 -07:00
  • 8a18f2f19f Fix spacing problem. Jason S. Ninneman 2017-06-11 14:37:44 -07:00
  • e81bd6de8f Add missing function prototypes. Jason S. Ninneman 2017-06-11 14:35:55 -07:00
  • 25d98f6dab Working first draft of newspeak(). Jason S. Ninneman 2017-06-11 14:34:40 -07:00
  • f715091db6 Get plural replacement working. Jason S. Ninneman 2017-06-11 14:17:31 -07:00
  • 5de9c7132d Partially-working newspeak(). Jason S. Ninneman 2017-06-11 14:06:36 -07:00
  • 15ff262d17 More retrofitting. Jason S. Ninneman 2017-06-11 11:58:12 -07:00
  • 3178f5d994 Retrofit main.c for the new database and newspeak(). Jason S. Ninneman 2017-06-11 11:51:12 -07:00
  • c7ca4ee73c Retrofit RSPEAK() and PSPEAK(). Jason S. Ninneman 2017-06-11 11:44:25 -07:00
  • 291ec54462 Check in dropped file. Jason S. Ninneman 2017-06-11 11:31:18 -07:00
  • 43032763cd Compile in the new (partial) database. Jason S. Ninneman 2017-06-11 11:31:02 -07:00
  • cdf6993a51 First crude version of newspeak(). Jason S. Ninneman 2017-06-11 11:30:23 -07:00
  • 639eff8b0b Remove handlers for disused advent format specifiers. Jason S. Ninneman 2017-06-11 10:33:46 -07:00
  • d6c707f6ac Test for the "break" verb. Eric S. Raymond 2017-06-11 18:24:35 -04:00
  • b9eccc7aa2 Increase test coverage. Eric S. Raymond 2017-06-11 17:41:29 -04:00
  • 5a33ce3937 More test coverage. Eric S. Raymond 2017-06-11 16:50:55 -04:00
  • 1a4bf3abcd Improved test coverage. Eric S. Raymond 2017-06-11 16:18:03 -04:00
  • e1f44a09fa Yet more goto elimination. Eric S. Raymond 2017-06-11 15:19:49 -04:00
  • 2576613759 Readability tweak. Eric S. Raymond 2017-06-11 11:28:30 -04:00
  • bfda14305a Abolish 18999 return from actions(). Eric S. Raymond 2017-06-11 11:25:31 -04:00
  • 093415efc8 Abolish 2009 return. Eric S. Raymond 2017-06-11 11:13:31 -04:00
  • c3222aef27 Abolish L2010. Eric S. Raymond 2017-06-11 11:06:54 -04:00
  • 8cdbf034a2 Code simplifications based on abolishing 2011. Eric S. Raymond 2017-06-11 10:59:33 -04:00
  • 5e5ad6b1aa Abolish 2011 return from actions. A step towards localizing SPK. Eric S. Raymond 2017-06-11 10:12:58 -04:00
  • 55610bb1de Questions for the future. Eric S. Raymond 2017-06-11 09:24:52 -04:00
  • 0dcd87202a More goto elimination. Eric S. Raymond 2017-06-11 08:33:30 -04:00
  • 3c78ff879b Clean up dummy macro arguments. Eric S. Raymond 2017-06-11 07:29:29 -04:00
  • 925aeab51b Yet more goto eliminations. Eric S. Raymond 2017-06-11 06:58:45 -04:00
  • 9b9eab70d8 Two goto eliminations. Eric S. Raymond 2017-06-10 23:44:59 -04:00
  • 9d072a8c44 One more goto-label pair gone. Eric S. Raymond 2017-06-10 23:18:15 -04:00
  • 9fbf52ff7e Six more gotoectomies. Eric S. Raymond 2017-06-10 21:50:43 -04:00
  • 3ed8b91eb7 More SPEAK() hardening. Jason S. Ninneman 2017-06-10 19:00:44 -07:00
  • 7ce9f7270f Replace some spaces with tabs per the database spec. Jason S. Ninneman 2017-06-10 19:00:23 -07:00
  • 39c1b4db81 Resolve a goto. Eric S. Raymond 2017-06-10 19:08:58 -04:00
  • a4da53086b Zero-index the lookup tables and the code that references them. Jason S. Ninneman 2017-06-10 15:34:21 -07:00
  • e7906b4ca3 Replace advent character constants with lookups. Jason S. Ninneman 2017-06-10 15:27:38 -07:00
  • b905b5fb0f Keep ascii_to_advent[] numeric. Using char literals was misleading. Jason S. Ninneman 2017-06-10 14:31:50 -07:00
  • e586f7c61f Add missing common.c. Jason S. Ninneman 2017-06-10 13:52:50 -07:00
  • 1173a9a265 Use a header/source set common to both advent and the dungeon builder. Jason S. Ninneman 2017-06-10 13:36:29 -07:00
  • 0e160a665e Documentaion polishing. Eric S. Raymond 2017-06-10 14:55:48 -04:00
  • dd2a949730 Structuring move. Eric S. Raymond 2017-06-10 14:24:34 -04:00
  • d3e84846d3 Readability fix. Eric S. Raymond 2017-06-10 13:58:18 -04:00
  • b92fb66c44 Last goto removed from actions.c Eric S. Raymond 2017-06-10 13:43:17 -04:00
  • f6da31f689 Just one label left in actions.c. Eric S. Raymond 2017-06-10 13:31:48 -04:00
  • e6f183ba7f Use C idioms for increment/decrement. Eric S. Raymond 2017-06-10 12:38:40 -04:00
  • d8e30c69c7 Date typo fix. Eric S. Raymond 2017-06-10 07:20:26 -04:00
  • 62e1fddd1d Cosmetic fix: blank line before filename prompt... Eric S. Raymond 2017-06-10 07:19:26 -04:00
  • 9e8e0893dc Rewrite save/resume in idiomatic C. Savefile version bumped to 26. Eric S. Raymond 2017-06-10 07:13:23 -04:00
  • 3af993abca Isolate the grotty save/resume code. Most of it will soon go away. Eric S. Raymond 2017-06-10 05:38:47 -04:00
  • 4c5474121f Unbreak the tests. Eric S. Raymond 2017-06-10 05:35:35 -04:00
  • 63e971fc4c Enable input editing with the linenoise library. Eric S. Raymond 2017-06-10 05:11:29 -04:00
  • 037f1df7dd Change NAPLIN signature - prepration for linenoise. Eric S. Raymond 2017-06-10 01:42:53 -04:00
  • 9bac28878d Replace magic linenumbers with a clearer enum. Eric S. Raymond 2017-06-10 00:23:28 -04:00
  • b22d6a65b9 More goto eliminations. Eric S. Raymond 2017-06-09 17:22:20 -04:00
  • 6319d27481 Whitespace fixes. Eric S. Raymond 2017-06-09 17:14:18 -04:00
  • 058e566e60 Whuirespace-only change. Eric S. Raymond 2017-06-09 16:53:15 -04:00
  • b425de4f28 Continuing gotoicide. Eric S. Raymond 2017-06-09 14:18:09 -04:00
  • c8ebabdf3b Still more gotoicides. Eric S. Raymond 2017-06-09 13:49:19 -04:00
  • 3c053367a5 Factor out player movement logic. Eric S. Raymond 2017-06-09 13:36:21 -04:00
  • 6862a92650 Another gotoicide. Eric S. Raymond 2017-06-09 13:09:45 -04:00
  • d23235e902 Another gotoicide. Eric S. Raymond 2017-06-09 12:53:27 -04:00
  • bea58f2682 Render the ascii<->advent character code mappings to lookup tables. Jason S. Ninneman 2017-06-09 09:15:44 -07:00
  • 2c33a29cf1 Replace an unstructured goto with a two-level break. Eric S. Raymond 2017-06-09 12:09:47 -04:00
  • 733312bdc7 Label and global-variable elimination. Eric S. Raymond 2017-06-09 12:04:45 -04:00
  • 64897f132e Abolish global variable I. Eric S. Raymond 2017-06-09 11:53:02 -04:00
  • fd2155b2f2 Localize I. Eric S. Raymond 2017-06-09 11:47:55 -04:00
  • db8dc40b84 Abolish a silly layer of macros. Eric S. Raymond 2017-06-09 11:36:49 -04:00
  • b1fafc4d4d Eliminate an unused global. Eric S. Raymond 2017-06-09 11:23:04 -04:00
  • 0a4325ce45 Eliminate a global variable. Eric S. Raymond 2017-06-09 11:19:47 -04:00
  • 42b339a1b6 Abolish global variable L. Eric S. Raymond 2017-06-09 11:14:04 -04:00
  • 4df8fac952 Abolish global variable J. Eric S. Raymond 2017-06-09 11:13:03 -04:00
  • 2606284916 Remove objectioonable uses of global variables. Eric S. Raymond 2017-06-09 10:39:12 -04:00
  • 37117f20e0 Eliminate objectionable use of global. Eric S. Raymond 2017-06-09 10:17:13 -04:00
  • 9ecbfa2ca8 Reformat actions.c, no code changes. Eric S. Raymond 2017-06-09 10:00:28 -04:00
  • 54d22714d9 Suspend/resume handler. Eric S. Raymond 2017-06-09 09:54:23 -04:00
  • e306034c65 Refactor analyze function Peje Nilsson 2017-06-09 15:34:34 +02:00
  • 370d065544 Refactor suspend & resume Peje Nilsson 2017-06-09 15:16:44 +02:00
  • 652e4ed733 Mass goto removal. Switch now calls handlers directly. Eric S. Raymond 2017-06-09 09:04:26 -04:00