diff src/shift.c @ 154:6ce68c1f7405

Tank can fire bullet. 1. Add the redraw subject on redraw_man_t. 2. mb_c_source.m4 & mb_c_header.m4 are changed to free & remove shapes. 3. Add rdman_coord_subtree_free() to remove a subtree of coords. 4. Fix bug of rdman_remove_shape().
author Thinker K.F. Li <thinker@branda.to>
date Tue, 30 Sep 2008 02:44:06 +0800
parents e4e47d2cdbcd
children c7e5b8779bb5
line wrap: on
line diff
--- a/src/shift.c	Sat Sep 27 02:40:42 2008 +0800
+++ b/src/shift.c	Tue Sep 30 02:44:06 2008 +0800
@@ -91,6 +91,7 @@
     shift->action.stop = mb_shift_stop;
     shift->action.free = mb_shift_free;
 
+    /*! \note mb_shift_new() will add itself to the specified word. */
     mb_word_add_action(word, (mb_action_t *)shift);
 
     return (mb_action_t *)shift;