X-Git-Url: https://jxself.org/git/?p=open-adventure.git;a=blobdiff_plain;f=TODO;h=ce5d5cbfe1e670a0469e3ab63c90d7d847bf8dbe;hp=62eef63e12afc119442a1d7813af9bfe4bd8127e;hb=e34bd8acf631dd609b4b05252df3a1ea49e24c9b;hpb=696779d3377edf363e8d829c9931f9e2330b9128 diff --git a/TODO b/TODO index 62eef63..ce5d5cb 100644 --- a/TODO +++ b/TODO @@ -7,11 +7,11 @@ remain to be cleaned up: rather promiscuously to pass around information that ought to be function arguments in a modern language. -* Remaining unstructured gotos in playermove() and do_command(). The goto L12 - in playermove() is particularly horrible, jumping backwards into the - middle of a loop. +* Remaining unstructured gotos in do_command(). + +* The program is still pretty much typeless - full of magic numbers being + sliced and diced in cryptic ways. Some attempt has been made to introduce + semantic types, but the job is barely started. -* The way return values from handlers such as 2012 trigger side effects - based on global state is nasty.