ReC98/th04/main/pattern.hpp

8 lines
338 B
C++

// A danmaku pattern function with no fixed maximum time. Fires projectiles in
// repeating cycles until no longer called.
typedef void (near *near pattern_loop_func_t)(void);
// A danmaku pattern function that runs for a limited amount of time. Should
// return `true` when done.
typedef bool (near *near pattern_oneshot_func_t)(void);