' ************************************************** ' * _mrobots.inc * ' * meta compiler file for GMT * ' ************************************************** ' we have to split this one into more than a single compilation: ' - percussion ' - others ' Metaconstants used as compiler directives: #COMPILE EXE "m_robots" ' ---> m_robots.exe #RESOURCE "resource\m_robots.pbr" ' was: gmt_gorgel.pbr" ' ---> m_robots.pbr ' compiles following compositions and/or modules ' ' ' ' ' - new build 2005 - includes ' ' ' ' ' ' ' - includes ' ' ' ' - new build 2005 ' ' ' ' ' ' - new build 2006 ' - new build 2006 ' - new build 2006 ' - new build 2006 ' ' - new build 2007 ' - 2008 ' - 2008 ' - 2008 ' - 2009 ' - 2011 ' - 2011 %g_net =1 ' compiles support for networked operation of robots. ' to do: this module should translate UDP commands into midi streams to serve our ' midi controlled robots. '%NIDAQ = 1 '%g_h_inc = 1 '%Debug = 1 %gmt_gorgel = 1 ' midi controlled organ like robots. '%gmt_midictrl = 1 ' midi controlled other instrument #IF %DEF(%gmt_gorgel) 'KL Note: this code doesn't compile if you rem out one of the constants! %gmt_piperola = 1 ' includes code for '(their init functions are called anyway from mrobots.inc..) %gmt_humanola = 1 ' includes code for %gmt_bourdonola = 1 ' includes code for %gmt_melauton = 1 ' includes code for %gmt_trump = 1 ' includes code for %gmt_puff = 1 ' includes code for %gmt_ake = 1 ' includes code for %gmt_qt = 1 ' 24.07.2006 %gmt_harma = 1 ' 13.07.2005 - hardware version 03.12.2005 %gmt_krum = 1 ' 09.01.2006 %gmt_piano = 1 ' includes code for %gmt_so = 1 ' includes code for - new build 2007 '%gmt_troms = 1 ' includes code for ' hardware version 10.04.2004 %gmt_hurdy = 1 ' includes code for '%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_sire = 1 ' 07.03.2005 '%gmt_vacca = 1 ' 18.04.2005 '%gmt_psch = 1 ' 14.02.2006 %gmt_autosax = 1 ' 02.02.2006 - hardware version 05/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_bako = 1 ' 15.10.2006 %gmt_aeio = 1 ' 24.02.2007 - first code 09.08.2009 '%gmt_Casta = 1 %gmt_bono = 1 ' 19.08.2007 %gmt_korn = 1 ' 24.01.2008 '%gmt_toypi = 1 ' also in slagwerk compilation... (better belongs there in fact) %gmt_ob = 1 ' 08.10.2008 %gmt_heli = 1 ' 01.11.2008 %gmt_bomi = 1 ' 26.04.2009 %gmt_harmo = 1 %gmt_fa = 1 ' 11.04.2011 %gmt_spiro = 1 ' 14.04.2011 #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: #INCLUDE "..\winapi\g_win.inc" ' 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 network I/O support ' ---------------------------- #INCLUDE "gmt.bi" ' kernel procedure declaration file #INCLUDE "g_mm.bi" ' globals for M&M orchestra #INCLUDE "g_mm.inc" $kompilfile = $kompil_mrobots ' ******************************************************* ' conditional compilation block II - application code ' ******************************************************* ' It is important to have this include after the declarations of GMT functions and libraries. #INCLUDE "g_h.bi" #INCLUDE "robots\mrobots.inc" #IF %DEF (%gmt_piperola) #INCLUDE "robots\piperola\piperola.inc" #ENDIF #IF %DEF (%gmt_humanola) #INCLUDE "robots\voxhumanola\voxhumanola.inc" #ENDIF #IF %DEF (%gmt_bourdonola) #INCLUDE "robots\bourdonola\bourdonola.inc" #ENDIF #IF %DEF (%gmt_so) #INCLUDE "robots\so\so.inc" #ENDIF #IF %DEF (%gmt_puff) #INCLUDE "robots\puff\puff.inc" #ENDIF #IF %DEF (%gmt_troms) #INCLUDE "robots\troms\troms.bi" #INCLUDE "robots\troms\troms.inc" #ENDIF #IF %DEF(%gmt_trump) #INCLUDE "robots\trump\trump.inc" #ENDIF #IF %DEF(%gmt_hurdy) #INCLUDE "robots\hurdy\hurdy.inc" #ENDIF #IF %DEF(%gmt_Ake) #INCLUDE "robots\ake\ake.inc" #ENDIF #IF %DEF(%gmt_llor) #INCLUDE "robots\llor\llor.inc" #ENDIF #IF %DEF(%gmt_piano) #INCLUDE "robots\playerpiano\pp.inc" ' added 13.12.2004 #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_midi.inc" #ENDIF #IF %DEF(%gmt_sire) #INCLUDE "robots\sire\sire.inc" #ENDIF #IF %DEF(%gmt_vacca) #INCLUDE "robots\vacca\vacca.inc" ' also includes vitello #ENDIF #IF %DEF(%gmt_harma) #INCLUDE "robots\harma\harma.inc" ' added 13.07.2005 #ENDIF #IF %DEF(%gmt_krum) #INCLUDE "robots\krum\krum.inc" ' added.09.01.2006 #ENDIF #IF %DEF(%gmt_psch) #INCLUDE "robots\psch\psch.inc" ' added.14.02.2006 #ENDIF #IF %DEF(%gmt_autosax) #INCLUDE "robots\autosax\autosax.inc" ' new here 02.05.2006 #ENDIF #IF %DEF(%gmt_qt) #INCLUDE "robots\qt\qt.inc" ' new here 24.07.2006 #ENDIF #IF %DEF(%gmt_belly) #INCLUDE "robots\belly\belly.inc" ' 16.08.2006 #ENDIF #IF %DEF(%gmt_klung) #INCLUDE "robots\klung\klung.bi" ' 19.08.2006 #INCLUDE "robots\klung\klung.inc" ' 19.08.2006 #ENDIF #IF %DEF(%gmt_bako) #INCLUDE "robots\bako\bako.inc" ' 15.10.2006 #ENDIF #IF %DEF(%gmt_aeio) #INCLUDE "robots\aeio\aeio.inc" ' 24.02.2007 #ENDIF #IF %DEF(%gmt_Casta) #INCLUDE "robots\casta\casta.inc" ' 24.02.2007 #ENDIF #IF %DEF(%gmt_bono) #INCLUDE "robots\bono\bono.inc" ' 19.08.2007 #ENDIF #IF %DEF(%gmt_korn) #INCLUDE "robots\korn\korn.inc" ' 25.01.2008 #ENDIF #IF %DEF(%gmt_toypi) #INCLUDE "robots\toypi\toypi.inc" '04.08.2008 #ENDIF #IF %DEF(%gmt_ob) #INCLUDE "robots\ob\ob.inc" '08.10.2008 #ENDIF #IF %DEF(%gmt_heli) #INCLUDE "robots\heli\heli.inc" ' 01.11.2008 #ENDIF #IF %DEF(%gmt_bomi) #INCLUDE "robots\bomi\bomi.inc" ' 26.04.2009 #ENDIF #IF %DEF(%gmt_harmo) #INCLUDE "robots\harmo\harmo.inc" ' added 13.07.2005 #ENDIF #IF %DEF(%gmt_fa) #INCLUDE "robots\fa\fa.inc" ' added 11.04.2011 #ENDIF #IF %DEF(%gmt_spiro) #INCLUDE "robots\spiro\spiro.inc" ' added 14.07.2011 #ENDIF '[EOF]