Name | Datafile Conditionals v1.2 |
Rating | Not rated |
Author | Pasi Kallinen |
For | NetHack 3.4.2 |
Description | Implements a subset of C-like preprocessing directives for certain text data files. |
This patch implements conditional parts of text data files, (small subset of C-like preprocessing) and makes all the text data files behave in similar way:
Also adds many new random epitaphs. Does not affect saves or bones, but does affect dlb. Patch only updates the UNIX Makefiles. # lines beginning with '#' are comments, except... #ifdef AMIGA UNIX this line will be processed on both amiga and unix. (AMIGA or UNIX) #endif # these ifdefs can be nested: #ifdef AMIGA # ifdef ELBERETH this line will be processed on amiga only if elbereth is also in. (AMIGA and ELBERETH) # endif #endif #ifdef UNIX this line will be processed on unix systems. #else this line will be processed if not on unix system. #endif #ifndef WIN32 this line will be processed if not on Win32. #endif | |
Download | http://bilious.alt.org/~paxed/nethack/nh342-dat_ifdef.diff (86.2 Kb) |
Added | January 30, 2005 17:27 |
Changed | February 20, 2006 22:37 |
Submit an update to this patch |