diff --git a/changelog b/changelog index 9ef7250..d89ac00 100644 --- a/changelog +++ b/changelog @@ -36,6 +36,8 @@ Xlist (mlist, olist, rlist, zlist, slist, tlist, qlist) (lots of major bugfixes too) @ tbaMUD 3.61 +[Feb 13 2010] - Rumble + Removed delete object option in oedit menu. [Feb 08 2010] - Rumble Added another define for Windows MSVC users to hide useless warnings. (thanks Kyle) Added CIRCLE_WINDOWS check for tell m-w usage of getpid(). (thanks Kyle) diff --git a/doc/coding.txt b/doc/coding.txt index 8d96bca..ce8088e 100644 --- a/doc/coding.txt +++ b/doc/coding.txt @@ -101,7 +101,7 @@ programmers, it takes a while to with the way it works to start modifying it. Hopefully, by reading this manual, your breaking-in period for getting to know tbaMUD will be minimized. -tbaMUD consists of about 30,000 lines of moderately dense C code, so you shouldn’t +tbaMUD consists of about 50,000 lines of moderately dense C code, so you shouldn’t expect familiarity to come overnight. The best way to learn is to DO. Get your hands dirty! Don’t be afraid to tinker with things. Start small by modifying existing functions. Then, work your way up to creating new functions by copying old @@ -667,8 +667,7 @@ the argument splitting functions to properly handle user input such as: "put the cabbage in the bag". bool is_number (const char *str) Tests if an entire string is an ASCII-encoded, -unsigned decimal number by performing isdigit() on each character of the string. -Only unsigned (zero or positive) numbers are recognized. +decimal number by performing isdigit() on each character of the string. char *delete_doubledollar (char *string) The MUD, in processing input, converts a single dollar sign to a double dollar sign. If you want to echo out a user’s input @@ -1675,4 +1674,4 @@ FALSE:: The procedure did not process the command given and it should be process in the standard way by the command interpreter. TRUE:: The procedure reacted to the command given and so, the command interpreter -should ignore it. \ No newline at end of file +should ignore it. diff --git a/src/medit.c b/src/medit.c index 9cc8f9a..2b9debd 100644 --- a/src/medit.c +++ b/src/medit.c @@ -1067,7 +1067,7 @@ void medit_autoroll_stats(struct descriptor_data *d) mob_lev = GET_LEVEL(OLC_MOB(d)); mob_lev = GET_LEVEL(OLC_MOB(d)) = LIMIT(mob_lev, 1, LVL_IMPL); - GET_MOVE(OLC_MOB(d)) = mob_lev*10; /* hit point bonus */ + GET_MOVE(OLC_MOB(d)) = mob_lev*10; /* hit point bonus (mobs don't use movement points */ GET_HIT(OLC_MOB(d)) = mob_lev/5; /* number of hitpoint dice */ GET_MANA(OLC_MOB(d)) = mob_lev/5; /* size of hitpoint dice */ diff --git a/src/oedit.c b/src/oedit.c index 522273a..1f1b7a1 100644 --- a/src/oedit.c +++ b/src/oedit.c @@ -658,7 +658,6 @@ static void oedit_disp_menu(struct descriptor_data *d) "%sP%s) Perm Affects: %s%s\r\n" "%sS%s) Script : %s%s\r\n" "%sW%s) Copy object\r\n" - "%sX%s) Delete object\r\n" "%sQ%s) Quit\r\n" "Enter choice : ", @@ -675,7 +674,6 @@ static void oedit_disp_menu(struct descriptor_data *d) grn, nrm, cyn, GET_OBJ_LEVEL(obj), grn, nrm, cyn, buf2, grn, nrm, cyn, OLC_SCRIPT(d) ? "Set." : "Not Set.", - grn, nrm, grn, nrm, grn, nrm );