/* Copyright (C) 2015-2019 Parallel Realities This program 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 2 of the License, or (at your option) any later version. This program 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 this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "../common.h" #define DISABLED_GLOW_MAX 255 #define DISABLED_GLOW_MIN 128 #define DISABLED_GLOW_SPEED 3 extern void addToQuadtree(Entity *e, Quadtree *root); extern void awardTrophy(char *id); extern void blitRotated(AtlasImage *atlasImage, int x, int y, float angle); extern void cutRope(Entity *e); extern void doCapitalShip(void); extern void doFighter(void); extern void doRope(Entity *e); extern void drawRope(Entity *e); extern void drawShieldHitEffect(Entity *e); extern Entity **getAllEntsWithin(int x, int y, int w, int h, Entity *ignore); extern int isOnBattleScreen(int x, int y, int w, int h); extern long lookup(char *name); extern void removeFromQuadtree(Entity *e, Quadtree *root); extern void resetFighter(Entity *e); extern void setAtlasColor(int r, int g, int b, int a); extern void updateCapitalShipComponentProperties(Entity *parent, long flags); extern App app; extern Battle battle; extern Dev dev; extern Entity *player; extern Entity *self;