fork/m-overlay
git clone https://git.julia.blue/fork/m-overlay
7e0ab3b
v2.1.2
1-- This is the environment used when loading our custom skin classes 2 3local perspective =require ( "perspective" ) 4local overlay =require ( "overlay" ) 5local color =require ( "util.color" ) 6local memory =require ( "memory" ) 7local melee =require ( "melee" ) 8local gui =require ( "gui" ) 9 10local env ={ 11love =love , 12 13-- QOL Stuff 14graphics =love . graphics , 15timer =love . timer , 16audio =love . audio , 17filesystem =love . filesystem , 18window =love . window , 19 20-- Incase someone forgets to define these 21SKIN ={} , 22 23color =color , 24 25memory =memory , 26melee =melee , 27 28perspective =perspective , 29 30SETTINGS =PANEL_SETTINGS , 31 32BUTTONS ={ 33Z =0x0010 , 34R =0x0020 , 35L =0x0040 , 36A =0x0100 , 37B =0x0200 , 38X =0x0400 , 39Y =0x0800 , 40D_LEFT =0x0001 , 41D_RIGHT =0x0002 , 42D_DOWN =0x0004 , 43D_UP =0x0008 , 44START =0x1000 , 45UP =0x10000 , 46DOWN =0x20000 , 47LEFT =0x40000 , 48RIGHT =0x80000 , 49C_UP =0x100000 , 50C_DOWN =0x200000 , 51C_LEFT =0x400000 , 52C_RIGHT =0x800000 , 53} , 54 55DPAD ={ 56DPAD_LEFT =0x0001 , 57DPAD_RIGHT =0x0002 , 58DPAD_DOWN =0x0004 , 59DPAD_UP =0x0008 , 60} , 61 62overlay =overlay , 63} 64 65return env