30extern JE_shortint constantLastX;
31extern JE_word textErase;
32extern JE_word upgradeCost;
33extern JE_word downgradeCost;
34extern JE_boolean performSave;
35extern JE_boolean jumpSection;
36extern JE_boolean useLastBank;
38extern bool pause_pressed, ingamemenu_pressed;
42void JE_drawTextWindow(
const char *text);
43void JE_initPlayerData(
void);
44void JE_highScoreScreen(
void);
45void JE_gammaCorrect_func(JE_byte *col, JE_real r);
46void JE_gammaCorrect(Palette *colorBuffer, JE_byte gamma);
47JE_boolean JE_gammaCheck(
void);
49void JE_nextEpisode(
void);
50void JE_helpSystem(JE_byte startTopic);
51void JE_doInGameSetup(
void);
52JE_boolean JE_inGameSetup(
void);
53void JE_inGameHelp(
void);
54void JE_sortHighScores(
void);
55void JE_highScoreCheck(
void);
56void adjust_difficulty(
void);
58bool load_next_demo(
void);
59bool replay_demo_keys(
void);
61void JE_SFCodes(JE_byte playerNum_, JE_integer PX_, JE_integer PY_, JE_integer mouseX_, JE_integer mouseY_);
64long weapon_upgrade_cost(
long base_cost,
unsigned int power);
65ulong JE_getCost(JE_byte itemType, JE_word itemNum);
66JE_longint JE_getValue(JE_byte itemType, JE_word itemNum);
67ulong JE_totalScore(
const Player *);
69void JE_drawPortConfigButtons(
void);
70void JE_outCharGlow(JE_word x, JE_word y,
const char *s);
72void JE_playCredits(
void);
73void JE_endLevelAni(
void);
74void JE_drawCube(SDL_Surface * screen, JE_word x, JE_word y, JE_byte filter, JE_byte brightness);
75void JE_handleChat(
void);
76bool str_pop_int(
char *str,
int *val);
77bool JE_loadScreen(
void);
78void JE_operation(JE_byte slot);
79void JE_inGameDisplays(
void);
80void JE_mainKeyboardInput(
void);
81void JE_pauseGame(
void);
83void JE_playerMovement(
Player *this_player, JE_byte inputDevice, JE_byte playerNum, JE_word shipGr,
Sprite2_array *shipGrPtr_, JE_word *mouseX, JE_word *mouseY);
84void JE_mainGamePlayerFunctions(
void);
85const char *JE_getName(JE_byte pnum);
87void JE_playerCollide(
Player *this_player, JE_byte playerNum);