4 // Copyright 2007, 2008 Lancer-X/ASCEAI
6 // This file is part of Meritous Recharged.
8 // Meritous Recharged is free software: you can redistribute it and/or modify
9 // it under the terms of the GNU General Public License as published by
10 // the Free Software Foundation, either version 3 of the License, or
11 // (at your option) any later version.
13 // Meritous Recharged is distributed in the hope that it will be useful,
14 // but WITHOUT ANY WARRANTY; without even the implied warranty of
15 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 // GNU General Public License for more details.
18 // You should have received a copy of the GNU General Public License
19 // along with Meritous Recharged. If not, see <http://www.gnu.org/licenses/>.
22 // Exposes demon.c functionality and types
28 void InitEnemiesAfter();
29 void ActivateEnemies(int room
);
32 void HurtEnemies(int x
, int y
, int range
, int power
);
33 void CircuitBullets(int x
, int y
, int r
);
34 void CreateGem(int x
, int y
, int r
, int v
);
36 extern int total_enemies
, killed_enemies
, total_gems
;
38 void WriteCreatureData();
39 void WriteEnemyData();
41 void ReadCreatureData();
44 int IsCrystalSummonPossible();
45 unsigned int CrystalSummon();
51 void EnemySound(int t
, int dist
);
53 void SpawnBullet(int x
, int y
, int bullet_type
, float dir
, float spd
, int invuln
);
54 void SpawnLaser(int x
, int y
, float dir
, int fire_time
, int duration
, float turn
, int dmg
);
56 void ClearBossBullets();
58 float PlayerDir(int x
, int y
);
59 int PlayerDist(int x
, int y
);
61 void CullEnemies(int nth
);
62 void SoupUpEnemies(int boss
);