Website encyclopedia: add support for representative images

Bug #1830845 reported by kaputtnik
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Widelands Website
Won't Fix
Undecided
Unassigned
widelands
Won't Fix
Undecided
GunChleoc

Bug Description

map_object_info stores the wrong path for building icons in the json file(s). Result are tiny images in the website encyclopedia for the buildings. See:

https://wl.widelands.org/encyclopedia/atlanteans/buildings/

I think this was introduced in: https://code.launchpad.net/~widelands-dev/widelands/representative_image_in_font_renderer/+merge/363781

The name of the image to be used for buildings should be <buildingname>_00.png (now it's menu.png).

Don't know how introducing mipmaps would have an effect on map_object_info.

Tags: graphics
Revision history for this message
GunChleoc (gunchleoc) wrote :

Introducing spritemaps will break using idle_00.png. I can add an image exporter to wl_mapobject_info that will write new png files off the idle animation for the website.

tags: added: graphics
Changed in widelands:
milestone: none → build21-rc1
GunChleoc (gunchleoc)
summary: - Website encyclopedia: wrong images for buildings
+ Website encyclopedia: add support for representative images
Changed in widelands:
status: New → Confirmed
assignee: nobody → GunChleoc (gunchleoc)
Revision history for this message
GunChleoc (gunchleoc) wrote :
Changed in widelands-website:
status: New → Won't Fix
Revision history for this message
GunChleoc (gunchleoc) wrote :
Changed in widelands:
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.