Graphics conf files "picture=" parameter

Bug #1161971 reported by Chuck Wilder
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released

Bug Description

While reviewing the conf files of numerous graphic objects, I note that some, but not all, farm "field" and "resi_x" pngs as well as the "ashes", "destroyed_building" and "ship_construction" graphics contain a "picture=" parameter that references a single image file. (For example the parameter is found in the conf files for the empire field0, field0s and field0t objects, but not in the field1 and field2 objects.)

The file referenced is typically the idle_00.png or its equivalent. The graphical object in all instances are "immovables".

With a conversion to spritemaps which can yield one image map file v.s. multiple single images, the need for support of this picture parameter comes into question.

If it is not needed, it should be removed. However, if it still provides useful functionality, the spritemaps conversion should take that into account.

Chuck Wilder (chuckw20)
summary: - Graphics conf files "pictures=" parameter
+ Graphics conf files "picture=" parameter
description: updated
Revision history for this message
SirVer (sirver) wrote :

Started working on this - it seemes indeed easy to remove in the spritemap branch.

Changed in widelands:
status: New → In Progress
assignee: nobody → SirVer (sirver)
importance: Undecided → Low
Revision history for this message
SirVer (sirver) wrote :

fixed in r6546 in the spritemap branch.

Changed in widelands:
milestone: none → build18-rc1
SirVer (sirver)
Changed in widelands:
milestone: build18-rc1 → build19-rc1
Revision history for this message
SirVer (sirver) wrote :

Setting to incomplete for bug sweeping.

Changed in widelands:
status: In Progress → Incomplete
SirVer (sirver)
Changed in widelands:
status: Incomplete → Fix Committed
assignee: SirVer (sirver) → nobody
GunChleoc (gunchleoc)
Changed in widelands:
status: Fix Committed → Fix Released
Revision history for this message
GunChleoc (gunchleoc) wrote :

Fixed in build19-rc1.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers