BugInTheSYS

Untitled

Apr 21st, 2012
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.81 KB | None | 0 0
  1. /*
  2. ====================
  3. bfInit
  4.  
  5.   Initializes ByteFlare XD
  6. ====================
  7. */
  8. BF_DLL
  9. void
  10. __stdcall
  11. bfInit( void );
  12.  
  13. /*
  14. ====================
  15. bfDispose
  16.  
  17.   Disposes ByteFlare XD
  18. ====================
  19. */
  20. BF_DLL
  21. void
  22. __stdcall
  23. bfDispose( void );
  24.  
  25. /*
  26. ====================
  27. bfGetError
  28.  
  29.   Gets the last error thrown by ByteFlare XD
  30. ====================
  31. */
  32. BF_DLL
  33. bfError
  34. __stdcall
  35. bfGetError( void );
  36.  
  37. /*
  38. ====================
  39. bfLoadTex
  40.  
  41.   Loads a texture to heap
  42. ====================
  43. */
  44. BF_DLL
  45. bfHandle
  46. __stdcall
  47. bfLoadTex( const char *Filename );
  48.  
  49. /*
  50. ====================
  51. bfUnloadTex
  52.  
  53.   Unloads a texture from heap
  54. ====================
  55. */
  56. BF_DLL
  57. void
  58. __stdcall
  59. bfUnloadTex( bfHandle handle );
  60.  
  61. /*
  62. ====================
  63. bfTex
  64.  
  65.   Selects a texture for modification
  66. ====================
  67. */
  68. BF_DLL
  69. void
  70. __stdcall
  71. bfTex( bfHandle handle );
  72.  
  73. /*
  74. ====================
  75. bfLayer
  76.  
  77.   Sets the current working layer
  78. ====================
  79. */
  80. BF_DLL
  81. void
  82. __stdcall
  83. bfWorkingLayer( uint z );
  84.  
  85. /*
  86. ====================
  87. bfPoint
  88.  
  89.   Adds a 2d point to the current working layer
  90. ====================
  91. */
  92. BF_DLL
  93. void
  94. __stdcall
  95. bfPoint( float x, float y );
  96.  
  97. /*
  98. ====================
  99. bfClear
  100.  
  101.   Resets all contexts to make place for a new drawing orgy
  102. ====================
  103. */
  104. BF_DLL
  105. void
  106. __stdcall
  107. bfClear( void );
  108.  
  109. /*
  110. ====================
  111. bfClient
  112.  
  113.   Sets up client information
  114. ====================
  115. */
  116. BF_DLL
  117. void
  118. __stdcall
  119. bfClient( ubyte *pData, int nWidth, int nHeight );
  120.  
  121. /*
  122. ====================
  123. bfRender
  124.  
  125.   Renders this frame
  126. ====================
  127. */
  128. BF_DLL
  129. void
  130. __stdcall
  131. bfRender( void );
  132.  
  133. /*
  134. ====================
  135. bfDeleteBackground
  136.  
  137.   Resets the frame buffer to 0's
  138. ====================
  139. */
  140. BF_DLL
  141. void
  142. __stdcall
  143. bfDeleteBackground( void );
Advertisement
Add Comment
Please, Sign In to add comment