Re: Gosu Wrapper

new topic     » goto parent     » topic index » view thread      » older message » newer message
ghaberek said...
Icy_Viking said...

FYI you can upload your own files directly to GitHub using the releases feature. If it's just a snapshot of your current work, tag the release using the current date (e.g. 20240726) and mark it as a pre-release.

-Greg

Thanks Greg. I think the reason the input or drawing functions aren't working due to the way Gosu handle's callbacks. I'll have to look more into the callback functions.

GOSU_FFI_API void Gosu_Window_set_update(Gosu_Window* window, void function(void* data), 
                                         void* data); 

public constant xGosu_Window_set_update = define_c_proc(gosu,"+Gosu_Window_set_update",{C_POINTER,C_POINTER,C_POINTER,C_POINTER}) 
 
public procedure Gosu_Window_set_update(atom window,object func,atom data,atom pdata) 
	c_proc(xGosu_Window_set_update,{window,func,data,pdata}) 
end procedure 

}}}

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu