Removed oedit delete option. --Rumble

This commit is contained in:
Rumble
2010-02-13 04:11:14 +00:00
parent 7af7f1d8fa
commit 47cf664310
4 changed files with 6 additions and 7 deletions

View File

@@ -36,6 +36,8 @@ Xlist (mlist, olist, rlist, zlist, slist, tlist, qlist)
(lots of major bugfixes too) (lots of major bugfixes too)
@ @
tbaMUD 3.61 tbaMUD 3.61
[Feb 13 2010] - Rumble
Removed delete object option in oedit menu.
[Feb 08 2010] - Rumble [Feb 08 2010] - Rumble
Added another define for Windows MSVC users to hide useless warnings. (thanks Kyle) 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) Added CIRCLE_WINDOWS check for tell m-w usage of getpid(). (thanks Kyle)

View File

@@ -101,7 +101,7 @@ programmers, it takes a while to
with the way it works to start modifying it. Hopefully, by reading this manual, 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. 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 shouldnt tbaMUD consists of about 50,000 lines of moderately dense C code, so you shouldnt
expect familiarity to come overnight. The best way to learn is to DO. Get your expect familiarity to come overnight. The best way to learn is to DO. Get your
hands dirty! Dont be afraid to tinker with things. Start small by modifying hands dirty! Dont be afraid to tinker with things. Start small by modifying
existing functions. Then, work your way up to creating new functions by copying old 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". cabbage in the bag".
bool is_number (const char *str) Tests if an entire string is an ASCII-encoded, 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. decimal number by performing isdigit() on each character of the string.
Only unsigned (zero or positive) numbers are recognized.
char *delete_doubledollar (char *string) The MUD, in processing input, converts a 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 users input single dollar sign to a double dollar sign. If you want to echo out a users 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. in the standard way by the command interpreter.
TRUE:: The procedure reacted to the command given and so, the command interpreter TRUE:: The procedure reacted to the command given and so, the command interpreter
should ignore it. should ignore it.

View File

@@ -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));
mob_lev = GET_LEVEL(OLC_MOB(d)) = LIMIT(mob_lev, 1, LVL_IMPL); 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_HIT(OLC_MOB(d)) = mob_lev/5; /* number of hitpoint dice */
GET_MANA(OLC_MOB(d)) = mob_lev/5; /* size of hitpoint dice */ GET_MANA(OLC_MOB(d)) = mob_lev/5; /* size of hitpoint dice */

View File

@@ -658,7 +658,6 @@ static void oedit_disp_menu(struct descriptor_data *d)
"%sP%s) Perm Affects: %s%s\r\n" "%sP%s) Perm Affects: %s%s\r\n"
"%sS%s) Script : %s%s\r\n" "%sS%s) Script : %s%s\r\n"
"%sW%s) Copy object\r\n" "%sW%s) Copy object\r\n"
"%sX%s) Delete object\r\n"
"%sQ%s) Quit\r\n" "%sQ%s) Quit\r\n"
"Enter choice : ", "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, GET_OBJ_LEVEL(obj),
grn, nrm, cyn, buf2, grn, nrm, cyn, buf2,
grn, nrm, cyn, OLC_SCRIPT(d) ? "Set." : "Not Set.", grn, nrm, cyn, OLC_SCRIPT(d) ? "Set." : "Not Set.",
grn, nrm,
grn, nrm, grn, nrm,
grn, nrm grn, nrm
); );