Mercurial > MadButterfly
comparison 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 |
comparison
equal
deleted
inserted
replaced
153:9870b049b7f6 | 154:6ce68c1f7405 |
---|---|
89 shift->action.start = mb_shift_start; | 89 shift->action.start = mb_shift_start; |
90 shift->action.step = mb_shift_step; | 90 shift->action.step = mb_shift_step; |
91 shift->action.stop = mb_shift_stop; | 91 shift->action.stop = mb_shift_stop; |
92 shift->action.free = mb_shift_free; | 92 shift->action.free = mb_shift_free; |
93 | 93 |
94 /*! \note mb_shift_new() will add itself to the specified word. */ | |
94 mb_word_add_action(word, (mb_action_t *)shift); | 95 mb_word_add_action(word, (mb_action_t *)shift); |
95 | 96 |
96 return (mb_action_t *)shift; | 97 return (mb_action_t *)shift; |
97 } | 98 } |