Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor chest dialog changes #9028

Open
wants to merge 28 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
f7975af
Update battle_troop.cpp
Cheerfulbull Jun 15, 2024
0b6c034
Update README.md
Cheerfulbull Jun 15, 2024
962e59e
Update battle_troop.cpp
Cheerfulbull Jun 15, 2024
1f695a0
Update install_packages.bat
Cheerfulbull Jun 15, 2024
44ec9d3
Update msvc.yml
Cheerfulbull Jun 15, 2024
cbc2f2b
Update install_packages.bat
Cheerfulbull Jun 15, 2024
e3bf74d
Update install_packages.bat
Cheerfulbull Jun 16, 2024
c3e0ccf
Merge pull request #1 from Cheerfulbull/Cheerfulbull-patch-1
Cheerfulbull Jun 16, 2024
4975fa9
Merge branch 'ihhub:master' into master
Cheerfulbull Jun 16, 2024
d75394b
Update battle_troop.cpp
Cheerfulbull Jun 16, 2024
6f4910f
Update battle_troop.cpp
Cheerfulbull Jun 16, 2024
fa5add5
Update battle_troop.cpp
Cheerfulbull Jun 16, 2024
3d921cf
Update battle_troop.cpp
Cheerfulbull Jun 16, 2024
369c937
Update battle_troop.cpp
Cheerfulbull Jun 16, 2024
f243c7c
Update battle_troop.cpp
Cheerfulbull Jun 16, 2024
c13d6ed
Update battle_troop.cpp
Cheerfulbull Jun 16, 2024
beacc4a
Merge pull request #2 from Cheerfulbull/Cheerfulbull-patch-2
Cheerfulbull Jun 16, 2024
abee6db
Merge branch 'ihhub:master' into chestdialogfix
Cheerfulbull Aug 4, 2024
bf4817d
Update battle_troop.cpp
Cheerfulbull Aug 4, 2024
8db9773
Merge pull request #5 from Cheerfulbull/Cheerfulbull-patch-4
Cheerfulbull Aug 4, 2024
39c7f0f
Update battle_troop.cpp
Cheerfulbull Aug 4, 2024
9e9eb82
Update battle_troop.cpp
Cheerfulbull Aug 4, 2024
3d21d2d
Update battle_troop.cpp
Cheerfulbull Aug 4, 2024
6c6c1cb
Update battle_troop.cpp
Cheerfulbull Aug 4, 2024
1ed5324
Update dialog_chest.cpp
Cheerfulbull Aug 4, 2024
3f91c08
Update dialog_chest.cpp
Cheerfulbull Aug 4, 2024
c04108a
Update dialog_chest.cpp
Cheerfulbull Aug 4, 2024
c3fcdcb
Centre XP icon and text correctly
Cheerfulbull Aug 4, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/fheroes2/dialog/dialog_chest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ bool Dialog::SelectGoldOrExp( const std::string & header, const std::string & me
text.draw( pos.x + sprite_gold.width() / 2 - text.width() / 2, pos.y + 4, display );

// sprite2
pos.x = box.GetArea().x + box.GetArea().width / 2 + 30;
pos.x = box.GetArea().x + box.GetArea().width / 2 + 38;
fheroes2::Blit( sprite_expr, display, pos.x, pos.y - sprite_expr.height() );
// text
text.set( std::to_string( expr ) + " (" + _( "Need: " ) + std::to_string( Heroes::GetExperienceFromLevel( hero.GetLevel() ) - hero.GetExperience() ) + ")",
Expand Down
Loading