This repository has been archived on 2023-02-23. You can view files and clone it, but cannot push or open issues or pull requests.
meritous/src/boss.h

57 lines
1.4 KiB
C
Executable File

//
// boss.h
//
// Copyright 2007, 2008 Lancer-X/ASCEAI
//
// This file is part of Meritous.
//
// Meritous is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Meritous is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Meritous. If not, see <http://www.gnu.org/licenses/>.
//
// Exposes boss.c functionality and types
#ifndef BOSS_H
#define BOSS_H
extern int boss_fight_mode, current_boss_room;
extern char *boss_names[];
extern char *artifact_names[];
extern int current_boss;
extern int boss_lives;
void DrawPowerObject();
void DrawArtifactOverhead(int p_obj);
int CanGetArtifact();
void BossRoom(int room);
void BossControl();
void TryHurtBoss(int x, int y, int range, int power);
void InitBossVars();
void DrawBossHP(int bar_length);
int PDist(int x1, int y1, int x2, int y2);
extern int proxy_seek;
extern int boss_dlg;
extern int resetboss;
void BossDialog();
#endif