Changes between Version 3 and Version 4 of AngbandBase


Ignore:
Timestamp:
05/09/11 23:10:30 (9 years ago)
Author:
nckmccnnll
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AngbandBase

    v3 v4  
    11This is going to be a description of AngbandBase (the low level Angband code that should be common across variants) and a guide to variant maintainers on how to use it (and adapt other Angband code to suit them). 
     2 
     3====Guide to angband/src 
     4 
     5This is a rough (unfinished) division of the Angband source files into categories for anyone planning to base their variant on current Vanilla.   
     6 
     7||= Files you should not change =||= Comments =|| 
     8|| button.c || Mouse support || 
     9|| button.h || " || 
     10|| debug.c || Optional || 
     11|| debug.h || " || 
     12|| game-event.c || Critical - how the game handles events || 
     13|| game-event.h || " || 
     14|| guid.c || ? || 
     15|| guid.h || " || 
     16|| h-basic.h || Really low level definitions and includes || 
     17|| keymap.c || Keymap handling || 
     18|| keymap.h || " || 
     19|| main-crb.c || Mac port || 
     20|| main-gcu.c || Curses port || 
     21|| main-nds.c || Nintendo DS port || 
     22|| main-sdl.c || SDL port || 
     23|| main-win.c || Windows port || 
     24|| main-x11.c || X11 port || 
     25|| main-xxx.c || platform port template || 
     26|| main.c || Linux/Unix main file || 
     27|| main.h || " || 
     28|| Makefile.nds || Nintendo DS makefile || 
     29|| Makefile.win || Windows makefile || 
     30|| parser.c || General purpose file parser || 
     31|| parser.h || " || 
     32|| randname.c || Random name generation || 
     33|| randname.h || " || 
     34|| signals.c || Signal handling || 
     35|| snd-sdl.c || SDL sound || 
     36|| textui.h || Command handling || 
     37|| ui-event.c || Mouse/keyboard input handling || 
     38|| ui-event.h || " || 
     39|| ui-menu.c || Menu handling || 
     40|| ui-menu.h || " || 
     41|| ui.c || Some display routines || 
     42|| ui.h || " || 
     43|| x-char.c || Accented characters || 
     44|| x-char.h || " || 
     45|| z-bitflag.c || Bitfield handling || 
     46|| z-bitflag.h || " || 
     47|| z-debug.h || ? || 
     48|| z-file.c || File handling || 
     49|| z-file.h || " || 
     50|| z-form.c || Text formatting || 
     51|| z-form.h || " || 
     52|| z-msg.c || Game messages || 
     53|| z-msg.h || " || 
     54|| z-quark.c || Inscriptions || 
     55|| z-quark.h || " || 
     56|| z-queue.c || Queue (mainly for events?) || 
     57|| z-queue.h || " || 
     58|| z-rand.c || Random numbers || 
     59|| z-rand.h || " || 
     60|| z-term.c || Displaying in a window || 
     61|| z-term.h || " || 
     62|| z-textblock.c || Displaying and printing chunks of text || 
     63|| z-textblock.h ||  || 
     64|| z-type.c || Datatypes || 
     65|| z-type.h || " || 
     66|| z-util.c || String and other miscellaneous routines || 
     67|| z-util.h || " || 
     68|| z-virt.c || Memory handling || 
     69|| z-virt.h || " || 
    270 
    371====Current AngbandBase source files 
     
    1987|| textui.h || 
    2088 
    21 Some of these are clearly wrong - for example, ui-knowledge and ui-spells shouldn't be in here and parser.* should. 
     89Some of these are clearly wrong - for example, ui-knowledge and ui-spells shouldn't be in here and parser.* should.  The guide to angband/src above should be more useful for pretty much every purpose, when it's finished. 
    2290 
    2391Putting all these into a library seems like a good idea.