X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;ds=inline;f=TODO;h=b90cb760869500a4469917c237421ae5bf691744;hb=ea2b59a281790c2d6d8d9424d179deab4434db9f;hp=766b12dc001273b7065848299cc03209d7d3b30c;hpb=0907037fc188c28471805286a67b786264ba3e2f;p=plomrogue diff --git a/TODO b/TODO index 766b12d..b90cb76 100644 --- a/TODO +++ b/TODO @@ -2,33 +2,36 @@ Next planned steps in plomrogue development: BOTH SERVER/CLIENT: -- implement better server/client architecture, meeting these criteria: - - keep interaction of server and client in the filesystem (as currently - happens by use of plain text files and fifos) to allow for easy scripting - - allow for specific requests of the client for specific server data (such as: - "what path do you propose for the player character to get from A to B?") - - reduce hard disk i/o for server/client interaction (use fifos only?) - - further avoid exits that keep the server running and the lock file existing - when it shouldn't +- make server and client communicate by specific world state info requests + in server/out, replacing server/worldstate - check for return values of *printf() -- make config files format more readable / self-explanatory +- be more strict and humble when allocating memory from the stack + +- in textfield_width(), handle too large lines somehow + +- use select() polling where possible for server-client communication + +- may err_line store the processed line internally as it does the line count SERVER: - implement field of view / line of sight and obstacles for those on the map -- get rid of the hard-coding of the MAGIC MEAT item type and its use mode - - is it actually useful to define map object action ids in the config file? - make shape of map (and diagonal movement penalty) configurable in config file +- for game continuation, replace re-playing of whole record files with loading + game state snapshots / save files + +- why does an MapObjAct id of 0 fail? + CLIENT: - enable toggling of window borders -- enable toggling of showing "\n" in the window content either as newline breaks - (as currently) or as " / " (without newline break) for more efficent screen - estate use +- make log scrollable + +- implement server-config-file-like parsing for client-config-files, too