Anonymous | Login | 2024-11-21 15:17 UTC |
My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
0003174 | VCMI | GUI - Battles | public | 2021-03-13 08:26 | 2023-04-12 23:30 | ||||||||
Reporter | Gameslayer | ||||||||||||
Assigned To | Ivan | ||||||||||||
Priority | high | Severity | minor | Reproducibility | always | ||||||||
Status | resolved | Resolution | fixed | ||||||||||
Platform | Linux | OS | Manjaro | OS Version | Manjaro | ||||||||
Product Version | 0.99 | ||||||||||||
Target Version | Fixed in Version | ||||||||||||
Summary | 0003174: Broken ground sprites in battle screen (Developer git) | ||||||||||||
Description | Battle screen ground sprites are broken and have a blue box instead of being transparent. Here is a screenshot | ||||||||||||
Steps To Reproduce | Got into a the first battle at the castle door on the scenario All for One. | ||||||||||||
Additional Information | Used the latest git version | ||||||||||||
Tags | No tags attached. | ||||||||||||
Attached Files | Screenshot_2021-03-13_18-03-16.png [^] (690,229 bytes) 2021-03-13 08:26
| ||||||||||||
Notes | |
(0008024) Nullkiller (developer) 2021-03-13 09:28 edited on: 2021-03-13 09:29 |
Known issue. Somebody even investigated it and fixed. Something with SDL as far as I remember. On windows with prebuilt vcpkg it does not reproduce but when I built the latest vcpkg isntead I got the same blue rectangles. Ask about it in slack if you want more details. |
(0008025) kdmcser (reporter) 2021-04-04 06:20 |
when use latest SDL, some images are in blue backgroud, I dont know why, but I use a track fix in client/gui/SDL_Extensions.cpp 827 : void CSDL_Ext::setDefaultColorKeyPresize(SDL_Surface * surface) { uint32_t key = mapColor(surface,Colors::DEFAULT_KEY_COLOR); auto & color = surface->format->palette->colors[key]; // set color key only if exactly such color was found if (color.r == Colors::DEFAULT_KEY_COLOR.r && color.g == Colors::DEFAULT_KEY_COLOR.g && color.b == Colors::DEFAULT_KEY_COLOR.b) { SDL_SetColorKey(surface, SDL_TRUE, key); + surface->format->palette->colors[key].a = SDL_ALPHA_TRANSPARENT; } } |
(0008387) Ivan (developer) 2022-12-17 14:11 |
Not reproducible in current git |
Issue History | |||
Date Modified | Username | Field | Change |
2021-03-13 08:26 | Gameslayer | New Issue | |
2021-03-13 08:26 | Gameslayer | File Added: Screenshot_2021-03-13_18-03-16.png | |
2021-03-13 09:28 | Nullkiller | Note Added: 0008024 | |
2021-03-13 09:29 | Nullkiller | Note Edited: 0008024 | View Revisions |
2021-04-04 06:20 | kdmcser | Note Added: 0008025 | |
2022-04-03 19:43 | Povelitel | Relationship added | duplicate of 0003119 |
2022-12-17 14:11 | Ivan | Note Added: 0008387 | |
2022-12-17 14:11 | Ivan | Status | new => feedback |
2023-04-12 23:30 | Ivan | Status | feedback => resolved |
2023-04-12 23:30 | Ivan | Resolution | open => fixed |
2023-04-12 23:30 | Ivan | Assigned To | => Ivan |
Copyright © 2000 - 2024 MantisBT Team |