pingus-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Uncommitted CVS diffs? - Digger


From: Gervase Lam
Subject: Re: Uncommitted CVS diffs? - Digger
Date: Sun, 20 Oct 2002 15:43:11 +0100

Here is the second one.  As the Basher hole size has now increased, if a 
Digger is changed to a Basher, 3 pixels to the left and 3 pixels to the 
right of the dug hole is left.

The changes here change the code so that the size of the digger cutters 
are used to cut holes in the colmap and graphics map.  Previously it was 
just a hard coded value.  So, if you're not happy with the PNG cutters 
I've provided, you can change them without having to fiddle with the code 
(in theory).

I made similar changes in order to increase the Basher hole size.  This 
meant that I had to change the pingus.scr file, as that is where ClanLib 
gets its width information.

However, for the Digger, there is no 'width' value in pingus.scr.  
Therefore, I didn't need to change it.  Wouldn't it be best to remove all 
the width and height values from the scr files so that these files don't 
have to be changed if the size of a graphic has changed?

Thanks,
Gervase.

Attachment: digger_radius.png
Description: PNG image

Attachment: digger_radius_gfx.png
Description: PNG image

Attachment: pingus.200210140009.cvs.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]