Ok, ive been porting the plugin for an hour (im gonna post this when these are fixed) I dont get why these are here, can someone fix this code for me? Ive fixed everything else (about 50 things had to be changed, not an easy port)
Heres the plugin, along with the include file needed to compile, and heres the errors.