Revision 165
renamed graph stuff
proj.c | ||
---|---|---|
51 | 51 |
return 1; |
52 | 52 |
} |
53 | 53 |
|
54 |
map_vram(); // if function fails it aborts program |
|
54 |
graph_map_vram(); // if function fails it aborts program
|
|
55 | 55 |
|
56 |
if (set_graphics_mode(GRAPH_MODE)) {
|
|
56 |
if (graph_set_mode(GRAPH_MODE)) {
|
|
57 | 57 |
printf("%s: failed to set graphic mode %x.\n", __func__, GRAPH_MODE); |
58 | 58 |
if (cleanup()) |
59 | 59 |
printf("%s: failed to cleanup.\n", __func__); |
... | ... | |
61 | 61 |
}; |
62 | 62 |
|
63 | 63 |
#ifdef DIOGO |
64 |
paint_screen(0x777777); |
|
64 |
graph_paint_screen(0x777777);
|
|
65 | 65 |
sprite_t *shooter1 = get_shooter(); sprite_set_pos(shooter1, 100, 100); |
66 | 66 |
for(double angle = 0; angle < 6.29; angle += 0.01){ |
67 | 67 |
sprite_set_angle(shooter1, angle); |
Also available in: Unified diff