Opened 13 years ago

Last modified 4 years ago

#65 closed task

Split up source files more, make names meaningful — at Version 6

Reported by: takkaria Owned by:
Milestone: Ongoing Keywords: cleanup
Cc:

Description (last modified by takkaria)

For starters:

  • options defines from defines.h into options.h
  • options tables from tables.c into options.c
  • options viewing code from cmd4.c into options.c
  • running code into pathfind.c
  • macro+keymap stuff -> cmd0.c -> cmds.c
  • msg.c (message stuff)
  • ui (generic stuff; askfor_aux and the like)
  • ui-input (request_command, inkey(), macros)
  • ui-menu (current ui.c)
  • ui-status (most of xtra1.c)
  • ui-know (knowledge screens; most of cmd4.c)
  • info-mon (monster recall; i.e. monster1.c)
  • info-obj (object recall; obj-info at present)
  • z-quark (quark package)
  • scores (highscore handling)

Generally:

  • split things out of defines.h/externs.h where appropriate

Change History (5)

comment:1 Changed 13 years ago by takkaria

  • Milestone changed from Future to 3.1.0

comment:2 Changed 13 years ago by takkaria

  • Description modified (diff)
  • Summary changed from Make the filenames in src/ more meaningful to Split up source files more, make names meaningful
  • Type changed from feature to task

comment:3 Changed 13 years ago by takkaria

  • component changed from Build to Maintenance
  • Description modified (diff)
  • Milestone changed from 3.1.0 to 3.0.9

comment:4 Changed 13 years ago by andrewdoull

Consider adopting the NPPAngband / Sangband renaming of the cmdn.c files into more meaningful cmdword.c style names. e.g. cmd1.c becomes cmdattk.c.

comment:6 Changed 12 years ago by takkaria

  • Description modified (diff)
Note: See TracTickets for help on using tickets.