My Project
Loading...
Searching...
No Matches
tyrian2.h
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
27void intro_logos(void);
28
29typedef struct
30{
31 Uint8 link_num;
32 Uint8 armor;
33 Uint8 color;
34}
36
37extern boss_bar_t boss_bar[2];
38
39extern char tempStr[31];
40extern JE_byte itemAvail[9][10], itemAvailMax[9];
41
42void JE_createNewEventEnemy(JE_byte enemytypeofs, JE_word enemyoffset, Sint16 uniqueShapeTableI);
43
44void JE_doNetwork(void);
45
46uint JE_makeEnemy(struct JE_SingleEnemyType *enemy, Uint16 eDatI, Sint16 uniqueShapeTableI);
47
48void JE_eventJump(JE_word jump);
49
50void JE_whoa(void);
51
52Sint16 JE_newEnemy(int enemyOffset, Uint16 eDatI, Sint16 uniqueShapeTableI);
53void JE_drawEnemy(int enemyOffset);
54void JE_starShowVGA(void);
55
56void JE_main(void);
57void JE_loadMap(void);
58#ifdef WITH_NETWORK
59void networkStartScreen(void);
60#endif
61bool titleScreen(void);
62bool newGame(void);
63bool newSuperArcadeGame(unsigned int i);
64bool newSuperTyrianGame(void);
65void JE_readTextSync(void);
66void JE_displayText(void);
67
68bool JE_searchFor(JE_byte PLType, JE_byte* out_index);
69void JE_eventSystem(void);
70
71void draw_boss_bar(void);
72
73#endif /* TYRIAN2_H */
Definition varz.h:55
Definition tyrian2.h:30