Advertisement
jargon

DeclareGlobalImage macro

Nov 11th, 2020
1,952
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #macro DeclareGlobalImage( _N , _W , _H , _P... )
  2.     type _N##_Data
  3.         as ulong I,B,W,H,P,R(2)
  4.         M((_W*_H)-1) as ubyte
  5.     end type
  6.     static shared as _N##_Data __##_N = type( 7,1,_W,_H,_W,{0,0,0}, { _P } )
  7.     #define _N @__##_N
  8. #endmacro
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement