taisei/src/plrmodes.h

37 lines
852 B
C
Raw Normal View History

/*
* This software is licensed under the terms of the MIT-License
* See COPYING for further information.
* ---
2017-09-12 03:28:15 +02:00
* Copyright (c) 2011-2017, Lukas Weber <laochailan@web.de>.
* Copyright (c) 2012-2017, Andrei Alexeyev <akari@alienslab.net>.
*/
2017-09-27 14:14:53 +02:00
#pragma once
#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);
2011-04-29 10:26:37 +02:00
2011-07-05 15:20:19 +02:00
void youmu_shot(Player *plr);
void youmu_bomb(Player *plr);
void youmu_power(Player *plr, short npow);
/* Marisa */
void marisa_shot(Player *plr);
2011-07-05 15:20:19 +02:00
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);
2017-04-02 10:16:52 +02:00
int plrmode_parse(const char *name, Character *cha, ShotMode *shot);
2017-09-27 14:14:53 +02:00