Revision 248
messy things happened between commits
ent.c | ||
---|---|---|
163 | 163 |
sprite_draw (p->b); |
164 | 164 |
} |
165 | 165 |
|
166 |
void (gunner_draw_list)(list_t *shooter_list) { |
|
167 |
if (list_size(shooter_list) == 0) return; |
|
168 |
|
|
169 |
list_node_t *it = list_begin(shooter_list); |
|
170 |
while (it != list_end(shooter_list)) { |
|
171 |
gunner_draw(*(gunner_t**)list_node_val(it)); |
|
172 |
it = list_node_next(it); |
|
173 |
} |
|
174 |
} |
|
175 |
|
|
166 | 176 |
void (bullet_draw_list)(list_t *bullet_list) { |
167 |
if (bullet_list == NULL) return; |
|
168 | 177 |
if (list_size(bullet_list) == 0) return; |
169 | 178 |
|
170 | 179 |
list_node_t *it = list_begin(bullet_list); |
Also available in: Unified diff