' ************************************************** ' * _slag.inc * ' * meta compiler file for GMT * ' * robot control compilation * ' * No support for National Instruments devices * ' * only midi controller percussion robots * ' ************************************************** ' Metaconstants used as compiler directives: ' The value we give to these constants is unimportant. ' The fact of being declared, steers the compiler. ' We set the values to 1 (not %True, since at this point in the code, ' this declaration fails), to be able to compare them with %True. #COMPILE EXE "slagwerk" #RESOURCE "resource\gmt_slagwerk.pbr" '%Debug = 1 '%gmt_robots = 1 ' following now appear only in g_robots.exe %gmt_slagwerk = 1 'was 0, which conflicted with the sysex task for several robots! '#IF %DEF(%gmt_slagwerk) ' %gmt_thunder = 1 ' includes code for http://www.logosfoundation.org/tromp/thunderwood.html ' %gmt_rotom = 1 ' includes code for http://www.logosfoundation.org/tromp/rotomoton.html '#ENDIF ' compiles following compositions and/or modules ' ' ' ' ' ' ' ' - new build 2006 ' - new build 2006 ' - new build 2006 ' - new build 2006 ' - new build 2006 ' ' 08.2008 ' 26.04.2009 ' 18.02.2013 ' 16.08.2013 ' 12.01.2014 ' 30.06.2014 - includes ' 06.01.2015 - includes and ' 27.08.2015 ' 16.03.2016 ' 25.04.2016 - new build ' 29.07.2018 ' 20.09.2019 ' 01.01.2022 '%gmt_midictrl = 1 '#IF %DEF(%gmt_midictrl) %gmt_troms = 1 ' includes code for & ' hardware version 10.04.2004 %gmt_llor = 1 ' includes code for %gmt_tubi = 1 ' includes code for - hardware version 23.01.2005 %gmt_vibi = 1 ' hardware version 02/2005 %gmt_dripper = 1 ' 02/2005 %gmt_vacca = 1 ' 18.04.2005 %gmt_psch = 1 ' 14.02.2006 %gmt_belly = 1 ' 16.08.2006 - hardware version 08/2006 %gmt_klung = 1 ' 19.08.2006 - hardware version 08/2006 %gmt_springers = 1 ' 31.08.2006 - hardware version 09/2006 %gmt_thunderwood =1 ' 05.09.2006 - hardware version 09/2006 %gmt_rotomoton = 1 ' 19.09.2006 - hardware version 10/2006 %gmt_xy = 1 ' 24.02.2007 %gmt_casta = 1 ' 02.05.2007 %gmt_simba = 1 ' 2007 %gmt_toypi = 1 ' 08.2008 %gmt_hat = 1 ' 26.04.2009 %gmt_temblo = 1 ' 13.02.2013 %gmt_whisper = 1 ' 16.08.2013 %gmt_rodo = 1 ' 12.01.2014 %gmt_rumo = 1 ' 30.06.2014 %gmt_balmec = 1 ' 06.01.2015 %gmt_tinti = 1 ' 27.08.2015 %gmt_chi = 1 ' 16.03.2016 %gmt_flex =1 ' 25.04.2016 %gmt_per = 1 ' 29.07.2018 %gmt_balsi = 1 ' 07.12.2018 %gmt_tubo = 1 ' 20.09.2019 ' %gmt_sire = 1 %gmt_steely = 1 ' 01.01.2022 '#ENDIF ' ---------------------------------------------------------------------------------------- ' The order in which the following includes appear is very important! ' Do not change unless you understand what you are doing. Keep all filenames lowercase. ' Includes for sourcecode libraries: ' for PBWIN 7.0 #INCLUDE "..\winapi\g_win.inc" ' Win32API - version 12/2001 ' Next we declare all our own constants, using an include file: #INCLUDE "g_kons.bi" ' only integer and string constants can be declared in PB #INCLUDE "g_type.bi" ' This declares all our own structures, user defined types #INCLUDE "gmt_glob.bi" ' This declares all variables shared across modules ' must appear after win32api: we use Win32 types as globals #INCLUDE "g_indep.bi" ' includes context independent functions and procedures. Source is in g_indep.bas #INCLUDE "g_file.bi" #INCLUDE "g_lib.bi" ' loads the library DLL, by including its declarations. ' g_lib.bas should be compiled with the PB-DLL compiler, ' as it contains all source code and resources. #INCLUDE "g_wave.bi" #INCLUDE "g_wmix.bi" #INCLUDE "g_mus.bi" ' music library #INCLUDE "g_har.bi" #INCLUDE "g_net.bi" #INCLUDE "gmt.bi" ' kernel procedure declaration file $kompilfile = $kompil_slagwerk '"slagwerk" ' ******************************************************* ' conditional compilation block II - application code ' ******************************************************* #INCLUDE "g_mm.bi" #INCLUDE "g_mm.inc" #INCLUDE "g_h.bi" ' ******************************************************* ' conditional compilation block II - application code ' ******************************************************* ' It is important to have this include after the declarations of GMT functions and libraries. #INCLUDE "robots\mrobots.inc" #IF %DEF (%gmt_troms) #INCLUDE "robots\troms\troms.bi" #INCLUDE "robots\troms\troms.inc" #ENDIF #IF %DEF(%gmt_llor) #INCLUDE "robots\llor\llor.inc" #ENDIF #IF %DEF(%gmt_tubi) #INCLUDE "robots\tubi\tubi.inc" #ENDIF #IF %DEF(%gmt_vibi) #INCLUDE "robots\vibi\vibi.inc" ' midi coding. #ENDIF #IF %DEF(%gmt_dripper) #INCLUDE "robots\dripper\dripper.inc" #ENDIF #IF %DEF(%gmt_vacca) #INCLUDE "robots\vacca\vacca.inc" ' also includes vitello #ENDIF #IF %DEF(%gmt_psch) #INCLUDE "robots\psch\psch.inc" ' added.14.02.2006 #ENDIF #IF %DEF(%gmt_belly) #INCLUDE "robots\belly\belly.inc" ' new here 16.08.2006 #ENDIF #IF %DEF(%gmt_klung) #INCLUDE "robots\klung\klung.bi" ' new here 19.08.2006 #INCLUDE "robots\klung\klung.inc" ' new here 19.08.2006 #ENDIF #IF %DEF(%gmt_springers) #INCLUDE "robots\springers\springers.bi" ' 31.08.2006 #INCLUDE "robots\springers\springers.inc" #ENDIF #IF %DEF(%gmt_thunderwood) #INCLUDE "robots\thunderwood\thunderwood.bi" #INCLUDE "robots\thunderwood\thunderwood.inc" #ENDIF #IF %DEF(%gmt_rotomoton) #INCLUDE "robots\rotomoton\rotomoton.inc" ' 19.09.2006 #ENDIF #IF %DEF(%gmt_xy) #INCLUDE "robots\xy\xy.inc" '24.02.2007 #ENDIF #IF %DEF(%gmt_casta) #INCLUDE "robots\casta\casta.inc" ' 02.05.2007 #ENDIF #IF %DEF(%gmt_simba) #INCLUDE "robots\simba\simba.inc" #ENDIF #IF %DEF(%gmt_toypi) #INCLUDE "robots\toypi\toypi.inc" ' 09.08.2008 #ENDIF ' include the klokkenplay test procedures in all compilation with ' belly, llor, vacca, vitello - new 20.02.2007 #IF %DEF(%gmt_belly) OR %DEF(%gmt_vacca) OR %DEF(%gmt_vitello) OR %DEF(%gmt_llor) #INCLUDE "robots\pitchmap.inc" #ENDIF #IF %DEF(%gmt_hat) #INCLUDE "robots\hat\hat.inc" '26.04.2009 #ENDIF #IF %DEF(%gmt_temblo) #INCLUDE "robots\temblo\temblo.inc" ' 18.02.2013 #ENDIF #IF %DEF(%gmt_whisper) #INCLUDE "robots\whisper\whisper.inc" ' 16.08.2013 #ENDIF #IF %DEF(%gmt_rodo) #INCLUDE "robots\rodo\rodo.inc" ' 12.01.2014 #ENDIF #IF %DEF(%gmt_rumo) #INCLUDE "robots\rumo\rumo.inc" ' 30.06.2014 #ENDIF #IF %DEF(%gmt_balmec) OR %DEF(%gmt_balsi) #INCLUDE "robots\balmec\balmec.inc" ' 06.01.2015 #ENDIF #IF %DEF(%gmt_tinti) #INCLUDE "robots\tinti\tinti.inc" ' 27.08.2015 #ENDIF #IF %DEF(%gmt_chi) #INCLUDE "robots\chi\chi.inc" ' 16.03.2016 #ENDIF #IF %DEF(%gmt_flex) #INCLUDE "robots\flex\flex.inc" ' 25.04.2016 #ENDIF #IF %DEF(%gmt_per) #INCLUDE "robots\per\per.inc" ' 29.07.2018 #ENDIF '#IF %DEF(%gmt_balsi) ' #INCLUDE "robots\balmec\balmec.inc" ' 07.08.2018 '#ENDIF #IF %DEF(%gmt_tubo) #INCLUDE "robots\tubo\tubo.inc" ' 20.09.2019 #ENDIF #IF %DEF(%gmt_sire) #INCLUDE "robots\sire\sire.inc" #ENDIF #IF %DEF(%gmt_steely) #INCLUDE "robots\steely\steely.inc" ' 01.01.2022 #ENDIF '[EOF]