| 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 NORTSONG_H |
| 20 | #define NORTSONG_Hcxx . . $ `src/nortsong.h:20:9`! |
| 21 | |
| 22 | #include "opentyr.h"cxx . . $ `<file>/src/opentyr.h`/ |
| 23 | |
| 24 | #include "musmast.h"cxx . . $ `<file>/src/musmast.h`/ |
| 25 | #include "sndmast.h"cxx . . $ `<file>/src/sndmast.h`/ |
| 26 | |
| 27 | #include "SDL.h" |
| 28 | |
| 29 | extern JE_wordcxx . . $ JE_word# frameCountMaxcxx . . $ frameCountMax.; |
| 30 | |
| 31 | extern Sint16cxx . . $ Sint16# *soundSamplescxx . . $ soundSamples.[SOUND_COUNTcxx . . $ `src/sndmast.h:26:9`!]; |
| 32 | extern size_t soundSampleCountcxx . . $ soundSampleCount.[SOUND_COUNTcxx . . $ `src/sndmast.h:26:9`!]; |
| 33 | |
| 34 | extern JE_wordcxx . . $ JE_word# tyrMusicVolumecxx . . $ tyrMusicVolume., fxVolumecxx . . $ fxVolume.; |
| 35 | extern const JE_wordcxx . . $ JE_word# fxPlayVolcxx . . $ fxPlayVol.; |
| 36 | extern JE_wordcxx . . $ JE_word# tempVolumecxx . . $ tempVolume.; |
| 37 | |
| 38 | void setDelaycxx . . $ setDelay(d4f767463ce0a6b3).(int delay); |
| 39 | void setDelay2cxx . . $ setDelay2(d4f767463ce0a6b3).(int delay); |
| 40 | Uint32cxx . . $ Uint32# getDelayTickscxx . . $ getDelayTicks(db52760e79bf9054).(void); |
| 41 | Uint32cxx . . $ Uint32# getDelayTicks2cxx . . $ getDelayTicks2(db52760e79bf9054).(void); |
| 42 | |
| 43 | void wait_delaycxx . . $ wait_delay(49f6e7a06ebc5aa8).(void); |
| 44 | void service_wait_delaycxx . . $ service_wait_delay(49f6e7a06ebc5aa8).(void); |
| 45 | void wait_delayorinputcxx . . $ wait_delayorinput(49f6e7a06ebc5aa8).(void); |
| 46 | |
| 47 | void setDelaySpeedcxx . . $ setDelaySpeed(ed53e3bbd3fa2f69).(Uint16cxx . . $ Uint16# speed); |
| 48 | |
| 49 | void JE_changeVolumecxx . . $ JE_changeVolume(b690d98fa3ee2e89).(JE_wordcxx . . $ JE_word# *music, int music_delta, JE_wordcxx . . $ JE_word# *sample, int sample_delta); |
| 50 | |
| 51 | void loadSndFilecxx . . $ loadSndFile(b45ddcbc8423892c).(boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! xmas); |
| 52 | void JE_playSampleNumcxx . . $ JE_playSampleNum(ac50b47256ae7414).(JE_bytecxx . . $ JE_byte# samplenum); |
| 53 | |
| 54 | #endif /* NORTSONG_H */ |