Mercurial > MadButterfly
comparison tools/mb_c_source.m4 @ 296:2e97e8082d83
* Fix the symbol definition code which does not assume the id is the same as the mbname.
* Add appleTV style list demo. We need to add animation latter. It is staic for now.
author | wycc |
---|---|
date | Sun, 01 Feb 2009 16:28:28 +0800 |
parents | c8b6ca46950b |
children | 9fa4459c08a9 |
comparison
equal
deleted
inserted
replaced
295:2469f8d23658 | 296:2e97e8082d83 |
---|---|
369 RIMPORT([SHAPE_TRANSLATE]) | 369 RIMPORT([SHAPE_TRANSLATE]) |
370 RIMPORT([SHAPE_MATRIX]) | 370 RIMPORT([SHAPE_MATRIX]) |
371 divert[]dnl | 371 divert[]dnl |
372 ]) | 372 ]) |
373 | 373 |
374 define([Y_ADD_SYMBOL],[[{"$1", MB_SPRITE_OFFSET($1)},]]) | 374 define([Y_ADD_SYMBOL],[[{"$2", MB_SPRITE_OFFSET($1)},]]) |
375 | 375 |
376 define([DECLARE_SYMS], [divert([-1]) | 376 define([DECLARE_SYMS], [divert([-1]) |
377 define([YIMPORT],[IMPORT(]QUOTE($[]1)[,[Y_])]) | 377 define([YIMPORT],[IMPORT(]QUOTE($[]1)[,[Y_])]) |
378 DECLARE_EMPTIES | 378 DECLARE_EMPTIES |
379 YIMPORT([ADD_SYMBOL]) | 379 YIMPORT([ADD_SYMBOL]) |