The Dink Network

Reply to Re: Developing with HD 1.89

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
April 20th 2018, 01:58 PM
peasantm.gif
shevek
Peasant They/Them Netherlands
Never be afraid to ask, but don't demand an answer 
Freedink just uses SDL's image loading capabilities. They will autodetect the file type; it accepts almost everything.

This means that for copy_bmp_to_screen and show_bmp, you can just pass any non-bmp file and it will work.

Sprites are implicitly named *.bmp, so that's harder, but I think if you have a png file and rename it to bmp, it may also work for them; I'm not sure if SDL requires the filename to match the format.