| 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 MAININT_H |
| 20 | #define MAININT_Hcxx . . $ `src/mainint.h:20:9`! |
| 21 | |
| 22 | #include "config.h"cxx . . $ `<file>/src/config.h`/ |
| 23 | #include "opentyr.h"cxx . . $ `<file>/src/opentyr.h`/ |
| 24 | #include "palette.h"cxx . . $ `<file>/src/palette.h`/ |
| 25 | #include "player.h"cxx . . $ `<file>/src/player.h`/ |
| 26 | #include "sprite.h"cxx . . $ `<file>/src/sprite.h`/ |
| 27 | |
| 28 | extern boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! buttoncxx . . $ button.[4]; // fire, left fire, right fire, mode swap |
| 29 | |
| 30 | extern JE_shortintcxx . . $ JE_shortint# constantLastXcxx . . $ constantLastX.; |
| 31 | extern JE_wordcxx . . $ JE_word# textErasecxx . . $ textErase.; |
| 32 | extern JE_wordcxx . . $ JE_word# upgradeCostcxx . . $ upgradeCost.; |
| 33 | extern JE_wordcxx . . $ JE_word# downgradeCostcxx . . $ downgradeCost.; |
| 34 | extern JE_booleancxx . . $ JE_boolean# performSavecxx . . $ performSave.; |
| 35 | extern JE_booleancxx . . $ JE_boolean# jumpSectioncxx . . $ jumpSection.; |
| 36 | extern JE_booleancxx . . $ JE_boolean# useLastBankcxx . . $ useLastBank.; |
| 37 | |
| 38 | extern boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! pause_pressedcxx . . $ pause_pressed., ingamemenu_pressedcxx . . $ ingamemenu_pressed.; |
| 39 | |
| 40 | /*void JE_textMenuWait(JE_word waittime, JE_boolean dogamma);*/ |
| 41 | |
| 42 | void JE_drawTextWindowcxx . . $ JE_drawTextWindow(85c52e162fed56f9).(const char *text); |
| 43 | void JE_initPlayerDatacxx . . $ JE_initPlayerData(49f6e7a06ebc5aa8).(void); |
| 44 | void JE_highScoreScreencxx . . $ JE_highScoreScreen(49f6e7a06ebc5aa8).(void); |
| 45 | void JE_gammaCorrect_funccxx . . $ JE_gammaCorrect_func(3f159377639ea2df).(JE_bytecxx . . $ JE_byte# *col, JE_realcxx . . $ JE_real# r); |
| 46 | void JE_gammaCorrectcxx . . $ JE_gammaCorrect(e7bd69bdef5b2a38).(Palettecxx . . $ Palette# *colorBuffer, JE_bytecxx . . $ JE_byte# gamma); |
| 47 | JE_booleancxx . . $ JE_boolean# JE_gammaCheckcxx . . $ JE_gammaCheck(c9857a73d68e59ba).(void); |
| 48 | /* void JE_textMenuWait(JE_word *waitTime, JE_boolean doGamma); /!\ In setup.h */ |
| 49 | void JE_nextEpisodecxx . . $ JE_nextEpisode(49f6e7a06ebc5aa8).(void); |
| 50 | void JE_helpSystemcxx . . $ JE_helpSystem(ac50b47256ae7414).(JE_bytecxx . . $ JE_byte# startTopic); |
| 51 | void JE_doInGameSetupcxx . . $ JE_doInGameSetup(49f6e7a06ebc5aa8).(void); |
| 52 | JE_booleancxx . . $ JE_boolean# JE_inGameSetupcxx . . $ JE_inGameSetup(c9857a73d68e59ba).(void); |
| 53 | void JE_inGameHelpcxx . . $ JE_inGameHelp(49f6e7a06ebc5aa8).(void); |
| 54 | void JE_sortHighScorescxx . . $ JE_sortHighScores(49f6e7a06ebc5aa8).(void); |
| 55 | void JE_highScoreCheckcxx . . $ JE_highScoreCheck(49f6e7a06ebc5aa8).(void); |
| 56 | void adjust_difficultycxx . . $ adjust_difficulty(49f6e7a06ebc5aa8).(void); |
| 57 | |
| 58 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! load_next_democxx . . $ load_next_demo(c9857a73d68e59ba).(void); |
| 59 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! replay_demo_keyscxx . . $ replay_demo_keys(c9857a73d68e59ba).(void); |
| 60 | |
| 61 | void JE_SFCodescxx . . $ JE_SFCodes(d4f5c5fa9024050c).(JE_bytecxx . . $ JE_byte# playerNum_, JE_integercxx . . $ JE_integer# PX_, JE_integercxx . . $ JE_integer# PY_, JE_integercxx . . $ JE_integer# mouseX_, JE_integercxx . . $ JE_integer# mouseY_); |
| 62 | void JE_sortcxx . . $ JE_sort(49f6e7a06ebc5aa8).(void); |
| 63 | |
| 64 | long weapon_upgrade_costcxx . . $ weapon_upgrade_cost(5e06c073c9468c32).(long base_cost, unsigned int power); |
| 65 | ulongcxx . . $ ulong# JE_getCostcxx . . $ JE_getCost(787d21ae4415b813).(JE_bytecxx . . $ JE_byte# itemType, JE_wordcxx . . $ JE_word# itemNum); |
| 66 | JE_longintcxx . . $ JE_longint# JE_getValuecxx . . $ JE_getValue(c02332ba15b14eb8).(JE_bytecxx . . $ JE_byte# itemType, JE_wordcxx . . $ JE_word# itemNum); |
| 67 | ulongcxx . . $ ulong# JE_totalScorecxx . . $ JE_totalScore(6645df09e8416cb5).(const Playercxx . . $ Player# *); |
| 68 | |
| 69 | void JE_drawPortConfigButtonscxx . . $ JE_drawPortConfigButtons(49f6e7a06ebc5aa8).(void); |
| 70 | void JE_outCharGlowcxx . . $ JE_outCharGlow(f5af8a166947a547).(JE_wordcxx . . $ JE_word# x, JE_wordcxx . . $ JE_word# y, const char *s); |
| 71 | |
| 72 | void JE_playCreditscxx . . $ JE_playCredits(49f6e7a06ebc5aa8).(void); |
| 73 | void JE_endLevelAnicxx . . $ JE_endLevelAni(49f6e7a06ebc5aa8).(void); |
| 74 | void JE_drawCubecxx . . $ JE_drawCube(bea9694d51014729).(SDL_Surfacecxx . . $ SDL_Surface# * screen, JE_wordcxx . . $ JE_word# x, JE_wordcxx . . $ JE_word# y, JE_bytecxx . . $ JE_byte# filter, JE_bytecxx . . $ JE_byte# brightness); |
| 75 | void JE_handleChatcxx . . $ JE_handleChat(49f6e7a06ebc5aa8).(void); |
| 76 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! str_pop_intcxx . . $ str_pop_int(9114e84560875b2b).(char *str, int *val); |
| 77 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! JE_loadScreencxx . . $ JE_loadScreen(c9857a73d68e59ba).(void); |
| 78 | void JE_operationcxx . . $ JE_operation(ac50b47256ae7414).(JE_bytecxx . . $ JE_byte# slot); |
| 79 | void JE_inGameDisplayscxx . . $ JE_inGameDisplays(49f6e7a06ebc5aa8).(void); |
| 80 | void JE_mainKeyboardInputcxx . . $ JE_mainKeyboardInput(49f6e7a06ebc5aa8).(void); |
| 81 | void JE_pauseGamecxx . . $ JE_pauseGame(49f6e7a06ebc5aa8).(void); |
| 82 | |
| 83 | void JE_playerMovementcxx . . $ JE_playerMovement(6c3bf3e0110e8e02).(Playercxx . . $ Player# *this_player, JE_bytecxx . . $ JE_byte# inputDevice, JE_bytecxx . . $ JE_byte# playerNum, JE_wordcxx . . $ JE_word# shipGr, Sprite2_arraycxx . . $ Sprite2_array# *shipGrPtr_, JE_wordcxx . . $ JE_word# *mouseX, JE_wordcxx . . $ JE_word# *mouseY); |
| 84 | void JE_mainGamePlayerFunctionscxx . . $ JE_mainGamePlayerFunctions(49f6e7a06ebc5aa8).(void); |
| 85 | const char *JE_getNamecxx . . $ JE_getName(42624c5f3be67010).(JE_bytecxx . . $ JE_byte# pnum); |
| 86 | |
| 87 | void JE_playerCollidecxx . . $ JE_playerCollide(d2d571a75710b8ad).(Playercxx . . $ Player# *this_player, JE_bytecxx . . $ JE_byte# playerNum); |
| 88 | |
| 89 | #endif /* MAININT_H */ |