Debian Codegraph @

src/lds_play.h

raw symbols SCIP
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 LDS_PLAY_H
20 #define LDS_PLAY_Hcxx . . $ `src/lds_play.h:20:9`!
21
22 #include "opentyr.h"cxx . . $ `<file>/src/opentyr.h`/
23
24 #include <stdio.h>
25
26 extern boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! playingcxx . . $ playing., songloopedcxx . . $ songlooped.;
27
28 int lds_updatecxx . . $ lds_update(b126dc7c1de90089).(void);
29 boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! lds_loadcxx . . $ lds_load(38255538a6a87b10).(FILEcxx . . $ FILE# *f, unsigned int music_offset, unsigned int music_size);
30 void lds_freecxx . . $ lds_free(49f6e7a06ebc5aa8).(void);
31 void lds_rewindcxx . . $ lds_rewind(49f6e7a06ebc5aa8).(void);
32 void lds_fadecxx . . $ lds_fade(ac50b47256ae7414).(Uint8cxx . . $ Uint8# speed);
33
34 /*unsigned int getorders() { return numposi; }
35 unsigned int getorder() { return posplay; }
36 unsigned int getrow() { return pattplay; }
37 unsigned int getspeed() { return speed; }
38 unsigned int getinstruments() { return numpatch; }*/
39
40 typedef structcxx . . $ $anonymous_type_2a03d4771abf7e14_0# {
41 unsigned char mod_misccxx . . $ $anonymous_type_2a03d4771abf7e14_0#mod_misc., mod_volcxx . . $ $anonymous_type_2a03d4771abf7e14_0#mod_vol., mod_adcxx . . $ $anonymous_type_2a03d4771abf7e14_0#mod_ad., mod_srcxx . . $ $anonymous_type_2a03d4771abf7e14_0#mod_sr., mod_wavecxx . . $ $anonymous_type_2a03d4771abf7e14_0#mod_wave.,
42 car_misccxx . . $ $anonymous_type_2a03d4771abf7e14_0#car_misc., car_volcxx . . $ $anonymous_type_2a03d4771abf7e14_0#car_vol., car_adcxx . . $ $anonymous_type_2a03d4771abf7e14_0#car_ad., car_srcxx . . $ $anonymous_type_2a03d4771abf7e14_0#car_sr., car_wavecxx . . $ $anonymous_type_2a03d4771abf7e14_0#car_wave., feedbackcxx . . $ $anonymous_type_2a03d4771abf7e14_0#feedback., keyoffcxx . . $ $anonymous_type_2a03d4771abf7e14_0#keyoff.,
43 portamentocxx . . $ $anonymous_type_2a03d4771abf7e14_0#portamento., glidecxx . . $ $anonymous_type_2a03d4771abf7e14_0#glide., finetunecxx . . $ $anonymous_type_2a03d4771abf7e14_0#finetune., vibratocxx . . $ $anonymous_type_2a03d4771abf7e14_0#vibrato., vibdelaycxx . . $ $anonymous_type_2a03d4771abf7e14_0#vibdelay., mod_tremcxx . . $ $anonymous_type_2a03d4771abf7e14_0#mod_trem., car_tremcxx . . $ $anonymous_type_2a03d4771abf7e14_0#car_trem.,
44 tremwaitcxx . . $ $anonymous_type_2a03d4771abf7e14_0#tremwait., arpeggiocxx . . $ $anonymous_type_2a03d4771abf7e14_0#arpeggio., arp_tabcxx . . $ $anonymous_type_2a03d4771abf7e14_0#arp_tab.[12];
45 unsigned short startcxx . . $ $anonymous_type_2a03d4771abf7e14_0#start., sizecxx . . $ $anonymous_type_2a03d4771abf7e14_0#size.;
46 unsigned char fmscxx . . $ $anonymous_type_2a03d4771abf7e14_0#fms.;
47 unsigned short transpcxx . . $ $anonymous_type_2a03d4771abf7e14_0#transp.;
48 unsigned char midinstcxx . . $ $anonymous_type_2a03d4771abf7e14_0#midinst., midvelocxx . . $ $anonymous_type_2a03d4771abf7e14_0#midvelo., midkeycxx . . $ $anonymous_type_2a03d4771abf7e14_0#midkey., midtranscxx . . $ $anonymous_type_2a03d4771abf7e14_0#midtrans., middum1cxx . . $ $anonymous_type_2a03d4771abf7e14_0#middum1., middum2cxx . . $ $anonymous_type_2a03d4771abf7e14_0#middum2.;
49 } SoundBankcxx . . $ SoundBank#;
50
51 typedef structcxx . . $ $anonymous_type_2a03d4771abf7e14_1# {
52 unsigned short gototunecxx . . $ $anonymous_type_2a03d4771abf7e14_1#gototune., lasttunecxx . . $ $anonymous_type_2a03d4771abf7e14_1#lasttune., packposcxx . . $ $anonymous_type_2a03d4771abf7e14_1#packpos.;
53 unsigned char finetunecxx . . $ $anonymous_type_2a03d4771abf7e14_1#finetune., glidetocxx . . $ $anonymous_type_2a03d4771abf7e14_1#glideto., portspeedcxx . . $ $anonymous_type_2a03d4771abf7e14_1#portspeed., nextvolcxx . . $ $anonymous_type_2a03d4771abf7e14_1#nextvol., volmodcxx . . $ $anonymous_type_2a03d4771abf7e14_1#volmod., volcarcxx . . $ $anonymous_type_2a03d4771abf7e14_1#volcar.,
54 vibwaitcxx . . $ $anonymous_type_2a03d4771abf7e14_1#vibwait., vibspeedcxx . . $ $anonymous_type_2a03d4771abf7e14_1#vibspeed., vibratecxx . . $ $anonymous_type_2a03d4771abf7e14_1#vibrate., trmstaycxx . . $ $anonymous_type_2a03d4771abf7e14_1#trmstay., trmwaitcxx . . $ $anonymous_type_2a03d4771abf7e14_1#trmwait., trmspeedcxx . . $ $anonymous_type_2a03d4771abf7e14_1#trmspeed., trmratecxx . . $ $anonymous_type_2a03d4771abf7e14_1#trmrate., trmcountcxx . . $ $anonymous_type_2a03d4771abf7e14_1#trmcount.,
55 trcwaitcxx . . $ $anonymous_type_2a03d4771abf7e14_1#trcwait., trcspeedcxx . . $ $anonymous_type_2a03d4771abf7e14_1#trcspeed., trcratecxx . . $ $anonymous_type_2a03d4771abf7e14_1#trcrate., trccountcxx . . $ $anonymous_type_2a03d4771abf7e14_1#trccount., arp_sizecxx . . $ $anonymous_type_2a03d4771abf7e14_1#arp_size., arp_speedcxx . . $ $anonymous_type_2a03d4771abf7e14_1#arp_speed., keycountcxx . . $ $anonymous_type_2a03d4771abf7e14_1#keycount.,
56 vibcountcxx . . $ $anonymous_type_2a03d4771abf7e14_1#vibcount., arp_poscxx . . $ $anonymous_type_2a03d4771abf7e14_1#arp_pos., arp_countcxx . . $ $anonymous_type_2a03d4771abf7e14_1#arp_count., packwaitcxx . . $ $anonymous_type_2a03d4771abf7e14_1#packwait., arp_tabcxx . . $ $anonymous_type_2a03d4771abf7e14_1#arp_tab.[12];
57 structcxx . . $ $anonymous_type_2a03d4771abf7e14_1#$anonymous_type_2# {
58 unsigned char chandelaycxx . . $ $anonymous_type_2a03d4771abf7e14_1#$anonymous_type_2#chandelay., soundcxx . . $ $anonymous_type_2a03d4771abf7e14_1#$anonymous_type_2#sound.;
59 unsigned short highcxx . . $ $anonymous_type_2a03d4771abf7e14_1#$anonymous_type_2#high.;
60 } chancheatcxx . . $ $anonymous_type_2a03d4771abf7e14_1#chancheat.;
61 } Channelcxx . . $ Channel#;
62
63 typedef structcxx . . $ $anonymous_type_2a03d4771abf7e14_3# {
64 unsigned short patnumcxx . . $ $anonymous_type_2a03d4771abf7e14_3#patnum.;
65 unsigned char transposecxx . . $ $anonymous_type_2a03d4771abf7e14_3#transpose.;
66 } Positioncxx . . $ Position#;
67
68 void lds_playsoundcxx . . $ lds_playsound(b1146eedae1e1d0b).(int inst_number, int channel_number, int tunehigh);
69 void lds_setregscxx . . $ lds_setregs(8fbe6856f5410d23).(unsigned char reg, unsigned char val);
70 void lds_setregs_advcxx . . $ lds_setregs_adv(684ed43ade99b32e).(unsigned char reg, unsigned char mask, unsigned char val);
71
72 #endif /* LDS_PLAY_H */