[aspenmud] r116 committed - Fixed an error in Menu; sometimes the attach variable was not initiali...

3 views
Skip to first unread message

aspe...@googlecode.com

unread,
Sep 20, 2011, 2:38:28 PM9/20/11
to aspe...@googlegroups.com
Revision: 116
Author: ty...@tysdomain.com
Date: Tue Sep 20 11:37:53 2011
Log: Fixed an error in Menu; sometimes the attach variable was not
initialized to false.
Made the removal of a help entry check the SeeAlso list on other help
entries to see if it was part of them and remove itself from there too.
This is a kind of a lengthy process since it checks every file, but keeping
a pointer/name of every file that the entry was referenced by seemed a bit
costly, since removals shouldn't be that often.
Started work on the help OLC, accessed by hedit. You can add and remove
topics, the next commit should be the actual editing of the help entry.


http://code.google.com/p/aspenmud/source/detail?r=116

Modified:
/trunk/src/help/HelpEntry.h
/trunk/src/help/HelpTable.cpp
/trunk/src/help/help.cpp
/trunk/src/help/help.h
/trunk/src/menu.cpp
/trunk/src/menu.h

Littlefield, Tyler

unread,
Sep 20, 2011, 2:40:36 PM9/20/11
to aspe...@googlegroups.com
P.S.
Menu callbacks are now typedefed to a boost::function. This means that
you can create menu callbacks in your classes rather than outside of
them. I'll be updating the code to reflect this change by moving the
callbacks, where applicable into classes that they belong in. I also
created a CMenu macro, similar to CEVENT found in event.h.


--

Take care,
Ty
Web: http://tds-solutions.net
The Aspen project: a light-weight barebones mud engine
http://code.google.com/p/aspenmud

Sent from my toaster.

Reply all
Reply to author
Forward
0 new messages