TestProgram 1.bmx 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. 'This is a simple fonrmachine test program
  2. REM
  3. This file was created by the BLIde solution explorer and should not be modified from outside BLIde
  4. EndRem
  5. '------------------------------------------------------------------------------------------------------------------------------------------------------
  6. '#Region &HFF Program Info
  7. 'Program: FontMachine Test Program 1
  8. 'Version: 0
  9. 'Subversion: 2
  10. 'Revision: 1
  11. '#EndRegion &HFF
  12. '------------------------------------------------------------------------------------------------------------------------------------------------------
  13. '#Region &H01 Compile Options
  14. Strict
  15. '#EndRegion &H01
  16. '------------------------------------------------------------------------------------------------------------------------------------------------------
  17. '#Region &H0F Framework
  18. Import blide.fontmachine
  19. '#EndRegion &H0F
  20. '------------------------------------------------------------------------------------------------------------------------------------------------------
  21. '#Region &HAF Imports
  22. '#EndRegion &HAF
  23. '------------------------------------------------------------------------------------------------------------------------------------------------------
  24. '#Region &H04 MyNamespace
  25. 'GUI
  26. 'guid:6daa6268_2f2d_4b47_82b1_681021ebb211
  27. Private
  28. TYPE z_6daa6268_2f2d_4b47_82b1_681021ebb211_3_0 abstract 'Resource folder
  29. Global Fonts:z_6daa6268_2f2d_4b47_82b1_681021ebb211_3_1 '<b>Resource folder</b>
  30. Global Images:z_6daa6268_2f2d_4b47_82b1_681021ebb211_3_2 '<b>Resource folder</b>
  31. End Type
  32. TYPE z_6daa6268_2f2d_4b47_82b1_681021ebb211_3_1 abstract 'Resource folder
  33. Const luxury_fmf:String = "incbin::Fonts\luxury.fmf" 'String constant containing the value: "<b><font color=#0000AA>incbin::Fonts\luxury.fmf</font></b>"
  34. Const NewCaveman_fmf:String = "incbin::Fonts\NewCaveman.fmf" 'String constant containing the value: "<b><font color=#0000AA>incbin::Fonts\NewCaveman.fmf</font></b>"
  35. Const Small_fmf:String = "incbin::Fonts\Small.fmf" 'String constant containing the value: "<b><font color=#0000AA>incbin::Fonts\Small.fmf</font></b>"
  36. Const Jungle_fmf:String = "incbin::Fonts\Jungle.fmf" 'String constant containing the value: "<b><font color=#0000AA>incbin::Fonts\Jungle.fmf</font></b>"
  37. End Type
  38. TYPE z_6daa6268_2f2d_4b47_82b1_681021ebb211_3_2 abstract 'Resource folder
  39. Const GNOME_GreenField_1024x768_jpg:String = "incbin::Images\GNOME-GreenField_1024x768.jpg" 'String constant containing the value: "<b><font color=#0000AA>incbin::Images\GNOME-GreenField_1024x768.jpg</font></b>"
  40. End Type
  41. TYPE z_blide_bg6daa6268_2f2d_4b47_82b1_681021ebb211 Abstract
  42. Const Name:string = "FontMachine Test Program 1" 'This string contains the name of the program
  43. Const MajorVersion:Int = 0 'This Const contains the major version number of the program
  44. Const MinorVersion:Int = 2 'This Const contains the minor version number of the program
  45. Const Revision:Int = 1 'This Const contains the revision number of the current program version
  46. Const VersionString:String = MajorVersion + "." + MinorVersion + "." + Revision 'This string contains the assembly version in format (MAJOR.MINOR.REVISION)
  47. Const AssemblyInfo:String = Name + " " + MajorVersion + "." + MinorVersion + "." + Revision 'This string represents the available assembly info.
  48. ?win32
  49. Const Platform:String = "Win32" 'This constant contains "Win32", "MacOs" or "Linux" depending on the current running platoform for your game or application.
  50. ?
  51. ?MacOs
  52. Const Platform:String = "MacOs"
  53. ?
  54. ?Linux
  55. Const Platform:String = "Linux"
  56. ?
  57. ?PPC
  58. Const Architecture:String = "PPC" 'This const contains "x86" or "Ppc" depending on the running architecture of the running computer. x64 should return also a x86 value
  59. ?
  60. ?x86
  61. Const Architecture:String = "x86"
  62. ?
  63. ?debug
  64. Const DebugOn : Int = True 'This const will have the integer value of TRUE if the application was build on debug mode, or false if it was build on release mode
  65. ?
  66. ?not debug
  67. Const DebugOn : Int = False
  68. ?
  69. EndType
  70. Type z_My_6daa6268_2f2d_4b47_82b1_681021ebb211 Abstract 'This type has all the run-tima binary information of your assembly
  71. Global Application:z_blide_bg6daa6268_2f2d_4b47_82b1_681021ebb211 'This item has all the currently available assembly version information.
  72. Global Resources:z_6daa6268_2f2d_4b47_82b1_681021ebb211_3_0 'This item has all the currently available incbined files names and relative location.
  73. End Type
  74. Global My:z_My_6daa6268_2f2d_4b47_82b1_681021ebb211 'This GLOBAL has all the run-time binary information of your assembly, and embeded resources shortcuts.
  75. Public
  76. '#EndRegion &H04 MyNamespace
  77. '------------------------------------------------------------------------------------------------------------------------------------------------------
  78. '#Region &H03 Includes
  79. Include "Sample Program1.bmx"
  80. Incbin "Fonts\luxury.fmf"
  81. Incbin "Fonts\NewCaveman.fmf"
  82. '#EndRegion &H03
  83. Incbin "Fonts\Small.fmf"
  84. Incbin "Images\GNOME-GreenField_1024x768.jpg"
  85. Incbin "Fonts\Jungle.fmf"