MantisBT - VCMI |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0001059 | VCMI | GUI - Battles | public | 2012-08-28 15:58 | 2023-01-09 20:15 |
|
Reporter | Ivan | |
Assigned To | Ivan | |
Priority | normal | Severity | tweak | Reproducibility | always |
Status | resolved | Resolution | fixed | |
Platform | x86_64 | OS | Ubuntu Linux | OS Version | 12.04 (precise) |
Product Version | | |
Target Version | | Fixed in Version | | |
|
Summary | 0001059: Heroes during battle no longer have flags |
Description | Just noticed - flags that heroes should hold during battle are missing. Instead they are holdings empty flagpole.
Looks to be bug - old VCMI screenshots had them. |
Steps To Reproduce | |
Additional Information | Screenshot (if needed) here: http://forum.vcmi.eu/download.php?id=444 [^] |
Tags | No tags attached. |
Relationships | related to | 0001834 | resolved | Ivan | (Tavern window) Some GUI elements disappear when popup window is opened. |
|
Attached Files | no flag.png (564,610) 2014-08-09 07:48 https://bugs.vcmi.eu/file_download.php?file_id=1878&type=bug
|
|
Issue History |
Date Modified | Username | Field | Change |
2012-08-28 15:58 | Ivan | New Issue | |
2012-08-28 16:31 | Ivan | Additional Information Updated | bug_revision_view_page.php?rev_id=1860#r1860 |
2012-08-29 13:16 | Tow | Note Added: 0002947 | |
2012-08-29 13:16 | Tow | Assigned To | => Ivan |
2012-08-29 13:16 | Tow | Status | new => feedback |
2012-08-29 13:28 | Ivan | Status | feedback => assigned |
2012-08-29 13:41 | Ivan | Note Added: 0002949 | |
2012-08-29 14:56 | Ivan | Note Added: 0002950 | |
2012-08-29 14:56 | Ivan | Status | assigned => resolved |
2012-08-29 14:56 | Ivan | Fixed in Version | => 0.9 |
2012-08-29 14:56 | Ivan | Resolution | open => fixed |
2014-05-30 17:41 | beegee | Status | resolved => closed |
2014-08-09 07:47 | Kantor | Note Added: 0004908 | |
2014-08-09 07:47 | Kantor | Status | closed => feedback |
2014-08-09 07:47 | Kantor | Resolution | fixed => reopened |
2014-08-09 07:48 | Kantor | File Added: no flag.png | |
2014-08-09 10:21 | Ivan | Note Added: 0004909 | |
2014-08-09 10:21 | Ivan | Status | feedback => assigned |
2014-08-09 11:02 | Kantor | Note Edited: 0004908 | bug_revision_view_page.php?bugnote_id=4908#r2614 |
2016-08-28 04:10 | SXX | Assigned To | Ivan => SXX |
2016-09-12 03:02 | SXX | Note Added: 0006652 | |
2016-09-12 03:02 | SXX | Status | assigned => confirmed |
2016-09-12 03:03 | SXX | Relationship added | related to 0001834 |
2022-12-17 17:09 | Ivan | Assigned To | SXX => Ivan |
2022-12-17 17:09 | Ivan | Status | confirmed => assigned |
2022-12-17 17:13 | Ivan | Status | assigned => confirmed |
2023-01-09 20:15 | Ivan | Note Added: 0008434 | |
2023-01-09 20:15 | Ivan | Status | confirmed => resolved |
2023-01-09 20:15 | Ivan | Fixed in Version | 0.9 => |
2023-01-09 20:15 | Ivan | Resolution | reopened => fixed |
Notes |
|
(0002947)
|
Tow
|
2012-08-29 13:16
|
|
It's transparency handling.
In CBattleHero constructor the line:
graphics->blueToPlayersAdv(flag->ourImages[i].bitmap, player);
replaces default, blue colors with player colors in flag. However they all seem to have alpha value of 0, which now is transparent for our blitting procedure.
I'm not sure how it should be fixed though, you may have a better idea of the code.
|
|
|
(0002949)
|
Ivan
|
2012-08-29 13:41
|
|
Ah. Found it.
But animation looks a bit weird. Maybe it is just too fast. Will commit fix a bit later. |
|
|
(0002950)
|
Ivan
|
2012-08-29 14:56
|
|
|
|
(0004908)
|
Kantor
|
2014-08-09 07:47
(edited on: 2014-08-09 11:02) |
|
This one seems to be back with SDL 2.
EDIT: I forgot to say that it seems to occurs only while viewing creature info.
|
|
|
(0004909)
|
Ivan
|
2014-08-09 10:21
|
|
For me it works. And in this case I don't see any suspicious code.
AVS, can you take a look at this? |
|
|
(0006652)
|
SXX
|
2016-09-12 03:02
|
|
This is still there and it's related to other problems with UI.
When there is some element on top flag become invisible. |
|
|
(0008434)
|
Ivan
|
2023-01-09 20:15
|
|
Resolved in PR 1229. Will be released as 1.2 |
|