ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/ext/help.ext
(Generate patch)

Comparing deliantra/server/ext/help.ext (file contents):
Revision 1.14 by root, Mon Sep 22 01:33:09 2008 UTC vs.
Revision 1.15 by root, Tue Sep 23 04:29:11 2008 UTC

32 32
33 @topics 33 @topics
34} 34}
35 35
36sub reload() { 36sub reload() {
37 my $guard = cf::lock_acquire "ext::help::loading";
38
39 local $Coro::current->{desc} = "help loader";
40
37 $TOPIC = { 41 $TOPIC = {
38 (load_topics "DM Commands" => "dmcommand_help"), 42 (load_topics "DM Commands" => "dmcommand_help"),
39 (load_topics "Emotes" => "emote_help"), 43 (load_topics "Emotes" => "emote_help"),
40 (load_topics "Commands" => "command_help"), 44 (load_topics "Commands" => "command_help"),
41 (load_topics "Generic Help Topics" => "generic_help"), 45 (load_topics "Generic Help Topics" => "generic_help"),
42 }; 46 };
43 47
44 () 48 ()
45} 49}
46 50
47cf::sync_job { 51cf::post_init {
48 my $guard = cf::lock_acquire "ext::help::loading";
49 cf::async_ext {
50 $Coro::current->{desc} = "help loader";
51 reload; 52 reload;
52 undef $guard;
53 };
54}; 53};
55 54
56# for lack of a better place: "media tags" 55# for lack of a better place: "media tags"
57# b bold 56# b bold
58# i italic 57# i italic

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines