' ************************************************** ' * _gorgel.inc * ' * meta compiler file for GMT * ' ************************************************** ' Metaconstants used as compiler directives: #COMPILE EXE "g_gorgel" #RESOURCE "resource\gmt_gorgel.pbr" ' compiles following compositions and/or modules ' ' ' ' ' ' ' ' ' %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. '%Debug = 1 %gmt_gorgel = 1 #IF %DEF(%gmt_gorgel) %gmt_piperola = 1 ' includes code for %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_piano = 1 ' includes code for %gmt_so = 1 ' includes code for %gmt_puff = 1 ' includes code for %gmt_troms = 1 ' includes code for ' hardware version 10.04.2004 %gmt_hurdy = 1 ' includes code for #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_mus.bi" ' music library #INCLUDE "g_net.bi" ' include network I/O support ' ---------------------------- #INCLUDE "gmt.bi" ' kernel procedure declaration file $kompilfile = $kompil_gorgel '"g_gorgel.exe" ' ******************************************************* ' 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\gorgel\gorgel.inc" #IF %DEF (%gmt_piperola) #INCLUDE "robots\gorgel\piperola.inc" #ENDIF #IF %DEF (%gmt_humanola) #INCLUDE "robots\gorgel\voxhumanola.inc" #ENDIF #IF %DEF (%gmt_bourdonola) #INCLUDE "robots\gorgel\bourdonola.inc" #ENDIF #IF %DEF (%gmt_so) #INCLUDE "robots\gorgel\so.inc" #ENDIF #IF %DEF (%gmt_puff) #INCLUDE "robots\gorgel\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 '[EOF]