Experimental sfml c rewrite