comparison include/mb_types.h @ 822:586e50f82c1f

Unify coding style tag for emacs and vim.
author Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
date Tue, 14 Sep 2010 01:08:39 +0800
parents 0e56a1ca19b2
children 0b66b585b364
comparison
equal deleted inserted replaced
821:bfdc82bbd6e4 822:586e50f82c1f
1 // -*- indent-tabs-mode: t; tab-width: 8; c-basic-offset: 4; -*-
2 // vim: sw=4:ts=8:sts=4
1 #ifndef __MB_TYPES_H_ 3 #ifndef __MB_TYPES_H_
2 #define __MB_TYPES_H_ 4 #define __MB_TYPES_H_
3 5
4 #include "mb_graph_engine.h" 6 #include "mb_graph_engine.h"
5 #include "mb_tools.h" 7 #include "mb_tools.h"
225 * @{ 227 * @{
226 */ 228 */
227 #define COF_DIRTY 0x1 229 #define COF_DIRTY 0x1
228 #define COF_HIDDEN 0x2 /*!< A coord is hidden. */ 230 #define COF_HIDDEN 0x2 /*!< A coord is hidden. */
229 #define COF_OWN_CANVAS 0x4 /*!< A coord owns a canvas or inherit it 231 #define COF_OWN_CANVAS 0x4 /*!< A coord owns a canvas or inherit it
230 * from an ancestor. 232 * from an ancestor.
231 */ 233 */
232 #define COF_SKIP_TRIVAL 0x8 /*!< temporary skip descendants 234 #define COF_SKIP_TRIVAL 0x8 /*!< temporary skip descendants
233 * when trivaling. 235 * when trivaling.
234 */ 236 */
235 #define COF_FREE 0x10 237 #define COF_FREE 0x10
249 * last clean. 251 * last clean.
250 * It is used by clean_rdman_dirties(). 252 * It is used by clean_rdman_dirties().
251 */ 253 */
252 #define COF_TEMP_MARK 0x400 /*!< \brief Temporary mark a coord. */ 254 #define COF_TEMP_MARK 0x400 /*!< \brief Temporary mark a coord. */
253 #define COF_JUST_ZERO 0x800 /*!< \brief The coord is real peformed zeroing. 255 #define COF_JUST_ZERO 0x800 /*!< \brief The coord is real peformed zeroing.
254 * 256 *
255 * It's canvas is changed by zeroing. 257 * It's canvas is changed by zeroing.
256 */ 258 */
257 #define COF_DIRTY_PCACHE_AREA 0x1000 /*!< \brief pcache_area shoud be 259 #define COF_DIRTY_PCACHE_AREA 0x1000 /*!< \brief pcache_area shoud be
258 * updated. 260 * updated.
259 */ 261 */
435 ((mb_sprite_t *)(sprite))->goto_scene((mb_sprite_t *)(sprite), scene_no) 437 ((mb_sprite_t *)(sprite))->goto_scene((mb_sprite_t *)(sprite), scene_no)
436 438
437 439
438 /*! \defgroup mb_sprite_lsym Sprite with linear symbol table. 440 /*! \defgroup mb_sprite_lsym Sprite with linear symbol table.
439 * @{ 441 * @{
440 */ 442 */
441 struct _mb_sprite_lsym_entry { 443 struct _mb_sprite_lsym_entry {
442 const char *sym; 444 const char *sym;
443 const int offset; 445 const int offset;
444 }; 446 };
445 typedef struct _mb_sprite_lsym_entry mb_sprite_lsym_entry_t; 447 typedef struct _mb_sprite_lsym_entry mb_sprite_lsym_entry_t;