Loading images takes a tremendous amount of time
Bug #535806 reported by
Sigra
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
Widelands uses far too many small image files. For example simply starting the editor from the game main menu takes over 16 seconds. Some numbers:
$ find tribes/barbarians -name *.png|wc -l
3401
$ find tribes/empire -name *.png|wc -l
3413
$ find worlds/greenland -name *.png|wc -l
195
$ find worlds/blackland -name *.png|wc -l
211
$ find worlds/desert -name *.png|wc -l
187
$ find worlds/winterland -name *.png|wc -l
213
The images should be combined in MNGs, image maps or tars. The issue has been discussed:
http://
Related branches
lp:~qcumber-some/widelands/animations
- Widelands Developers: Pending requested
-
Diff: 99 lines (+20/-25)2 files modifiedsrc/graphic/graphic.cc (+16/-22)
src/graphic/graphic.h (+4/-3)
Changed in widelands: | |
importance: | Undecided → Wishlist |
tags: | added: graphic speed |
Changed in widelands: | |
status: | New → Triaged |
Changed in widelands: | |
status: | Triaged → Fix Committed |
milestone: | none → build18-rc1 |
To post a comment you must log in.
Logged In: YES
user_id=31104
Originator: YES
Sorry, but revision 2074 did NOT fix this problem, it fixed bug #1670140.