' ************************************************** ' * _algoko.inc * ' * meta compiler file for GMT * ' ************************************************** ' 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 "gmt_alg" '"gmt_alg.exe" ' must be = $kompil_alg #RESOURCE "resource\gmt_alg.pbr" ' metacompilation file for following compositions: ' removed ' ' ' ' ' ' ' ' removed %gwr = 1 ' If declared, the code will include gmt_gwr.inc and further ' compiler instructions included therein. [need g_glib.dll] ' NOT required here: '%NiDAQ = 1 ' should only be set to true for computers that do have this hardware! ' (National Instruments data acquisition cards + NiDAQ 6.81 library). '%Debug = 1 %Gorgonio = 1 ' for Piperola, Player Piano, Vox Humanola %JumpyVariations = 1 ' Player piano compositions [ translated from BC7/QBX 12.06.1999 ] ' Totems ' Tropes ' Tendering [published on CD: PD004] %HarmStuds = 1 ' Harmony Catalogues, later: fuzzy studies etc... %FuzzyStuds = 1 ' Studies in Fuzzy Harmony %RationalCounterpoint = 1 ' Studies in rational counterpoint using dozenal number - 2018 ' ---------------------------------------------------------------------------------------- ' 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: ''' %NOMMIDS = 1 ' no Multimedia ID definitions ''' %NONEWWAVE = 1 ' no new waveform types except WAVEFORMATEX are defined ''' %NONEWRIFF = 1 ' no new RIFF formats are defined ''' %NOJPEGDIB = 1 ' no JPEG DIB definitions ''' %NONEWIC = 1 ' no new Image Compressor types are defined ''' %NOBITMAP = 1 ' no extended bitmap info header definition '''#INCLUDE "..\winapi\win32api.inc" ' Win32API - version 31.03.2000 ' this includes way too much. You may want to build a smaller ' include. However, there is no performance penalty. Only ' elements that are called in, are compiled into the code. ' It only makes compilation a little bit slower. '''#INCLUDE "..\winapi\commctrl.inc" '''#INCLUDE "..\winapi\comdlg32.inc" #INCLUDE "..\winapi\g_win.inc" ' 13.02.2002 - now it compiles o.k. under pb10.0 ' 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 #INCLUDE "g_glib.bi" ' includes Godfrieds specific DLL ' following includes only for NiDAQ devices. However, even without having NiDAQ devices on your system it should be ' harmless to include these declarations. (if alone, to avoid double definitions...) [26.09.2000] #INCLUDE "..\winapi\Nidaqcns-pb.inc" 'constants declaration V6.9 #INCLUDE "..\winapi\Nidaqerr-pb.inc" 'constants for error handling procs. and msg's. #INCLUDE "g_h.bi" ' WARNING: this must match with the string passed to #compile exe !!!!!!!!!!!!!!! $kompilfile = $kompil_alg '"gmt_alg" #INCLUDE "gmt_gwr.bi" ' contains further metacompilation instructions. #INCLUDE "g_mm.bi" #INCLUDE "g_mm.inc" #IF %DEF (%Debug) #INCLUDE "gmt_debu.inc" ' specific debugging/ demo code and tasks #ENDIF #IF %DEF (%Gorgonio) #INCLUDE "gw_algoko\gorgonio\gorgel.bas" ' gorgonio #ENDIF #IF %DEF(%JumpyVariations) #INCLUDE "gw_algoko\jumpy\jumpy.inc" ' replaces tasks 48- 63 with a real time controll command center. #ENDIF #IF %DEF(%Harmstuds) #INCLUDE "gw_algoko\jumpy\harmstuds.inc" ' contains Fujisan ni nobore #ENDIF #IF %DEF(%FuzzyStuds) #INCLUDE "gw_algoko\fuzzy\fuzstud.inc" #ENDIF #IF %DEF(%RationalCounterpoint) #INCLUDE "gw_algoko\rational\rational.inc" ' added 2018, contains 'Linac Elektra' #ENDIF #INCLUDE "gmt_gwr.inc" ' required for all compositions by Godfried-Willem Raes '[EOF]