Copy editing
[meritous_recharged.git] / src / demon.h
blob894f38638c4415563309fd8bb2d71a186fa93e1b
1 //
2 // demon.h
3 //
4 // Copyright 2007, 2008 Lancer-X/ASCEAI
5 //
6 // This file is part of Meritous.
7 //
8 // Meritous 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 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. If not, see <http://www.gnu.org/licenses/>.
22 // Exposes demon.c functionality and types
24 #ifndef DEMON_H
25 #define DEMON_H
27 void InitEnemies();
28 void InitEnemiesAfter();
29 void ActivateEnemies(int room);
30 void DrawEntities();
31 void MoveEntities();
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();
40 void WriteGemData();
41 void ReadCreatureData();
42 void ReadEnemyData();
43 void ReadGemData();
44 int IsCrystalSummonPossible();
45 unsigned int CrystalSummon();
47 void ActivateRand();
49 void DestroyThings();
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);
64 void CurseEnemies();
65 #endif