Debian Codegraph @

src/tyrian2.h

raw symbols SCIP
1 /*
2 * OpenTyrian: A modern cross-platform port of Tyrian
3 * Copyright (C) 2007-2009 The OpenTyrian Development Team
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * as published by the Free Software Foundation; either version 2
8 * of the License, or (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18 */
19 #ifndef TYRIAN2_H
20 #define TYRIAN2_H
21
22 #include "opentyr.h"
23
24 #include "varz.h"
25 #include "helptext.h"
26
27 void intro_logos(void);
28
29 typedef struct
30 {
31 Uint8 link_num;
32 Uint8 armor;
33 Uint8 color;
34 }
35 boss_bar_t;
36
37 extern boss_bar_t boss_bar[2];
38
39 extern char tempStr[31];
40 extern JE_byte itemAvail[9][10], itemAvailMax[9];
41
42 void JE_createNewEventEnemy(JE_byte enemytypeofs, JE_word enemyoffset, Sint16 uniqueShapeTableI);
43
44 void JE_doNetwork(void);
45
46 uint JE_makeEnemy(struct JE_SingleEnemyType *enemy, Uint16 eDatI, Sint16 uniqueShapeTableI);
47
48 void JE_eventJump(JE_word jump);
49
50 void JE_whoa(void);
51
52 Sint16 JE_newEnemy(int enemyOffset, Uint16 eDatI, Sint16 uniqueShapeTableI);
53 void JE_drawEnemy(int enemyOffset);
54 void JE_starShowVGA(void);
55
56 void JE_main(void);
57 void JE_loadMap(void);
58 #ifdef WITH_NETWORK
59 void networkStartScreen(void);
60 #endif
61 bool titleScreen(void);
62 bool newGame(void);
63 bool newSuperArcadeGame(unsigned int i);
64 void newSuperTyrianGame(void);
65 void JE_readTextSync(void);
66 void JE_displayText(void);
67
68 bool JE_searchFor(JE_byte PLType, JE_byte* out_index);
69 void JE_eventSystem(void);
70
71 void draw_boss_bar(void);
72
73 #endif /* TYRIAN2_H */