37 lines
883 B
C
37 lines
883 B
C
/*
|
|
* This software is licensed under the terms of the MIT-License
|
|
* See COPYING for further information.
|
|
* ---
|
|
* Copyright (c) 2011-2017, Lukas Weber <laochailan@web.de>.
|
|
* Copyright (c) 2012-2017, Andrei Alexeyev <akari@alienslab.net>.
|
|
*/
|
|
|
|
#ifndef PLRMODES_H
|
|
#define PLRMODES_H
|
|
|
|
#include "enemy.h"
|
|
#include "projectile.h"
|
|
#include "player.h"
|
|
|
|
/* Youmu */
|
|
|
|
void youmu_opposite_draw(Enemy *e, int t);
|
|
void youmu_opposite_logic(Enemy *e, int t);
|
|
|
|
int youmu_homing(Projectile *p, int t);
|
|
|
|
void youmu_shot(Player *plr);
|
|
void youmu_bomb(Player *plr);
|
|
void youmu_power(Player *plr, short npow);
|
|
|
|
/* Marisa */
|
|
|
|
void marisa_shot(Player *plr);
|
|
void marisa_bomb(Player *plr);
|
|
void marisa_power(Player *plr, short npow);
|
|
|
|
/* Misc */
|
|
int plrmode_repr(char *out, size_t outsize, Character pchar, ShotMode pshot);
|
|
int plrmode_parse(const char *name, Character *cha, ShotMode *shot);
|
|
|
|
#endif
|