summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/starshp1.h
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2013-02-12 13:26:06 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2013-02-12 13:26:06 +0000
commitc53bb58d605f9bb2a7c2f1a5be112850ff5320d8 (patch)
tree0b197bb4e38946021d94ac3b8430737c1de2cd1c /src/mame/includes/starshp1.h
parent3c58736cbf9c7f00909cb66f50dcc89bca6daf00 (diff)
Modernization of drivers part 18 (no whatsnew)
Diffstat (limited to 'src/mame/includes/starshp1.h')
-rw-r--r--src/mame/includes/starshp1.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/mame/includes/starshp1.h b/src/mame/includes/starshp1.h
index d860f6bda18..80799d4b9c7 100644
--- a/src/mame/includes/starshp1.h
+++ b/src/mame/includes/starshp1.h
@@ -81,6 +81,21 @@ public:
UINT32 screen_update_starshp1(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
void screen_eof_starshp1(screen_device &screen, bool state);
INTERRUPT_GEN_MEMBER(starshp1_interrupt);
+ void set_pens(colortable_t *colortable);
+ void draw_starfield(bitmap_ind16 &bitmap);
+ int get_sprite_hpos(int i);
+ int get_sprite_vpos(int i);
+ void draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect);
+ void draw_spaceship(bitmap_ind16 &bitmap, const rectangle &cliprect);
+ void draw_phasor(bitmap_ind16 &bitmap);
+ int get_radius();
+ int get_circle_hpos();
+ int get_circle_vpos();
+ void draw_circle_line(bitmap_ind16 &bitmap, int x, int y, int l);
+ void draw_circle(bitmap_ind16 &bitmap);
+ int spaceship_collision(bitmap_ind16 &bitmap, const rectangle &rect);
+ int point_in_circle(int x, int y, int center_x, int center_y, int r);
+ int circle_collision(const rectangle &rect);
};
/*----------- defined in audio/starshp1.c -----------*/