Revision 333
more changes, added docs
graph.c | ||
---|---|---|
11 | 11 |
#define MBYTE_BASE 0x0 /** @brief Base address (zero address) */ |
12 | 12 |
#define MBYTE_SIZE 0xFFFFF /** @brief Size of a mebibyte */ |
13 | 13 |
|
14 |
#define LINEAR_FRAME_BUFFER_MD BIT(14) |
|
15 |
|
|
14 | 16 |
// Graphics Functions |
15 | 17 |
#define VBE_CTRL_INFO 0x00 /** @brief Get VBE Controller Information */ |
16 | 18 |
#define VBE_MD_INFO 0x01 /** @brief Get VBE Mode Information */ |
... | ... | |
350 | 352 |
} |
351 | 353 |
} |
352 | 354 |
} |
353 |
int16_t (sprite_get_x)(const sprite_t *p){ return p->x; } |
|
354 |
int16_t (sprite_get_y)(const sprite_t *p){ return p->y; } |
|
355 | 355 |
double (sprite_get_angle)(const sprite_t *p){ return p->theta; } |
356 | 356 |
uint16_t (sprite_get_w)(const sprite_t *p){ return basic_sprite_get_w(p->bsp); } |
357 | 357 |
uint16_t (sprite_get_h)(const sprite_t *p){ return basic_sprite_get_h(p->bsp); } |
Also available in: Unified diff