2
* OpenTyrian: A modern cross-platform port of Tyrian
3
* Copyright (C) 2007-2009 The OpenTyrian Development Team
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.
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.
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.
25
typedef JE_byte JE_MenuChoiceType[MENU_MAX];
27
JE_longint JE_cashLeft( void );
28
void JE_itemScreen( void );
30
void load_cubes( void );
31
bool load_cube( int cube_slot, int cube_index );
33
void JE_drawItem( JE_byte itemType, JE_word itemNum, JE_word x, JE_word y );
34
void JE_drawMenuHeader( void );
35
void JE_drawMenuChoices( void );
36
void JE_updateNavScreen( void );
37
void JE_drawNavLines( JE_boolean dark );
38
void JE_drawLines( SDL_Surface *surface, JE_boolean dark );
39
void JE_drawDots( void );
40
void JE_drawPlanet( JE_byte planetNum );
41
void draw_ship_illustration( void );
42
void JE_scaleBitmap( SDL_Surface *dst, const SDL_Surface *src, int x1, int y1, int x2, int y2 );
43
void JE_initWeaponView( void );
44
void JE_computeDots( void );
45
JE_integer JE_partWay( JE_integer start, JE_integer finish, JE_byte dots, JE_byte dist );
46
void JE_doShipSpecs( void );
47
void JE_drawMainMenuHelpText( void );
48
JE_boolean JE_quitRequest( void );
49
void JE_genItemMenu( JE_byte itemnum );
50
void JE_scaleInPicture( SDL_Surface *dst, const SDL_Surface *src );
51
void JE_drawScore( void );
52
void JE_menuFunction( JE_byte select );
53
void JE_drawShipSpecs( SDL_Surface *, SDL_Surface * );
54
void JE_weaponSimUpdate( void );
55
void JE_weaponViewFrame( void );