fontmachine.bmx 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. REM
  2. This file was created by the BLIde solution explorer and should not be modified from outside BLIde
  3. EndRem
  4. '------------------------------------------------------------------------------------------------------------------------------------------------------
  5. '#Region &HFF Program Info
  6. 'Program: Font Machine
  7. 'Version: 1
  8. 'Subversion: 5
  9. 'Revision: 1
  10. '#EndRegion &HFF
  11. '------------------------------------------------------------------------------------------------------------------------------------------------------
  12. '#Region &H01 Compile Options
  13. SuperStrict
  14. Rem
  15. bbdoc:blide\fontmachine
  16. End Rem
  17. Module blide.fontmachine
  18. '#EndRegion &H01
  19. '------------------------------------------------------------------------------------------------------------------------------------------------------
  20. '#Region &H0F Framework
  21. Import brl.max2d
  22. Import brl.pngloader
  23. Import brl.retro
  24. Import brl.system
  25. Import brl.reflection
  26. '#EndRegion &H0F
  27. '------------------------------------------------------------------------------------------------------------------------------------------------------
  28. '#Region &HAF Imports
  29. '?flags
  30. Import ".\Utils\fontmachineUtils.bmx"
  31. '?
  32. '#EndRegion &HAF
  33. '------------------------------------------------------------------------------------------------------------------------------------------------------
  34. '#Region &H04 MyNamespace
  35. 'GUI
  36. 'guid:e3390d53_c8a7_41d3_9293_f4dcf0f638b5
  37. Private
  38. TYPE z_e3390d53_c8a7_41d3_9293_f4dcf0f638b5_3_0 abstract 'Resource folder
  39. End Type
  40. TYPE z_blide_bge3390d53_c8a7_41d3_9293_f4dcf0f638b5 Abstract
  41. Const Name:string = "Font Machine" 'This string contains the name of the program
  42. Const MajorVersion:Int = 1 'This Const contains the major version number of the program
  43. Const MinorVersion:Int = 5 'This Const contains the minor version number of the program
  44. Const Revision:Int = 1 'This Const contains the revision number of the current program version
  45. Const VersionString:String = MajorVersion + "." + MinorVersion + "." + Revision 'This string contains the assembly version in format (MAJOR.MINOR.REVISION)
  46. Const AssemblyInfo:String = Name + " " + MajorVersion + "." + MinorVersion + "." + Revision 'This string represents the available assembly info.
  47. ?win32
  48. Const Platform:String = "Win32" 'This constant contains "Win32", "MacOs" or "Linux" depending on the current running platoform for your game or application.
  49. ?
  50. ?MacOs
  51. Const Platform:String = "MacOs"
  52. ?
  53. ?Linux
  54. Const Platform:String = "Linux"
  55. ?
  56. ?PPC
  57. 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
  58. ?
  59. ?x86
  60. Const Architecture:String = "x86"
  61. ?
  62. ?debug
  63. 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
  64. ?
  65. ?not debug
  66. Const DebugOn : Int = False
  67. ?
  68. EndType
  69. Type z_My_e3390d53_c8a7_41d3_9293_f4dcf0f638b5 Abstract 'This type has all the run-tima binary information of your assembly
  70. Global Application:z_blide_bge3390d53_c8a7_41d3_9293_f4dcf0f638b5 'This item has all the currently available assembly version information.
  71. Global Resources:z_e3390d53_c8a7_41d3_9293_f4dcf0f638b5_3_0 'This item has all the currently available incbined files names and relative location.
  72. End Type
  73. Global My:z_My_e3390d53_c8a7_41d3_9293_f4dcf0f638b5 'This GLOBAL has all the run-time binary information of your assembly, and embeded resources shortcuts.
  74. Public
  75. '#EndRegion &H04 MyNamespace
  76. '------------------------------------------------------------------------------------------------------------------------------------------------------
  77. '#Region &H03 Includes
  78. Include "BitMapFont.bmx"
  79. Include "Font Properties\fontBlends.bmx"
  80. Include "Exceptions\TDrawTextException.bmx"
  81. Include "Font Properties\BitMapChar.bmx"
  82. Include "FontFX\TextRendererFX.bmx"
  83. Include "FontFX\FontKerning.bmx"
  84. '#EndRegion &H03