1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-28 23:06:24 +02:00
Commit Graph

6859 Commits

Author SHA1 Message Date
Ivan Savenko
65fc50d33b Simplified building ID logic
- Replaced overcomplicated and broken math on dwelling ID's with fixed
enum
- Fixed broken 2nd upgrades and 8th dwelling
- Removed no longer used enumeration values from building ID's
2024-12-25 19:16:21 +00:00
Ivan Savenko
0620161287
Merge pull request #5127 from IvanSavenko/hotfix
[1.6.1] Fixes for 1.6.0 issues reported on Discord
2024-12-25 00:12:55 +02:00
Ivan Savenko
cd67ced178
Merge pull request #5110 from IvanSavenko/ai_optimize
[1.6.1] AI optimization
2024-12-25 00:12:38 +02:00
Ivan Savenko
d58202d2a1
Merge pull request #5137 from Laserlicht/bonus
[1.6.1] Bonus display
2024-12-24 15:51:02 +02:00
Ivan Savenko
7b976d058e For PC don't go higher than xbrz2 until performance is fixed 2024-12-24 13:38:32 +00:00
Ivan Savenko
814234017d Minor tweaks to xbrz performance 2024-12-23 13:59:09 +00:00
Laserlicht
7a4afc46a2 fix OPENING_BATTLE_SPELL 2024-12-22 21:23:31 +01:00
Laserlicht
487297b05e correct align of thiefguild text an add popup 2024-12-22 00:13:36 +01:00
Ivan Savenko
95a07ee5cb Use bonus system cache whenever possible 2024-12-21 18:47:11 +00:00
Ivan Savenko
2272707175
Merge pull request #5117 from IvanSavenko/teleporter_ui
Added new right-click popup to teleporters
2024-12-21 16:17:15 +02:00
Ivan Savenko
69eac2f943 Disable xbrz by default on mobile platforms till performance issues are
fixed
2024-12-21 14:07:43 +00:00
Ivan Savenko
0797e571ab
Merge pull request #4996 from MichalZr6/hill_fort_fix_for_AI
Enable AI to use all Hill Fort upgrades, including alternative ones
2024-12-21 15:51:58 +02:00
Ivan Savenko
48278fe301
Merge pull request #5122 from Laserlicht/fix_music
[1.6.1] fix music
2024-12-21 15:45:33 +02:00
Ivan Savenko
2be528ae36
Merge pull request #4999 from MichalZr6/frames_from_def
Fix crash on missing DEF frames for in-game assets
2024-12-21 15:44:25 +02:00
Ivan Savenko
6d8e447ff3 Added new right-click popup to teleporters
Whirlpool, Subterranean Gates, and all Monoliths now show custom popup
on right-click that show all linked objects (exits and entrances).

Only revealed objects are visible, rest are hidden behind fow.

Exits, entrances, and bidirectional objects have different icon that
indicates direction.
2024-12-21 12:01:33 +00:00
Laserlicht
38c0cd138b fix music 2024-12-21 01:38:29 +01:00
Ivan Savenko
19e6a83c19 Quick workaround for xbrz terrain animations bug 2024-12-19 13:43:38 +00:00
MichalZr6
f893c80192 Move UpgradeInfo class to header and source files 2024-12-19 14:13:09 +01:00
Ivan Savenko
03b7622a1d Fix positioning of scaleable main menu when xbrz is in use 2024-12-18 22:04:15 +00:00
MichalZr6
af9445c16f Fixes following review 2024-12-17 22:34:06 +01:00
MichalZr6
d8d3948ac3 Fix AI to use hillFort all available upgrades. UpgradeInfo refactor. 2024-12-17 22:34:06 +01:00
MichalZr6
f4a15a198b Cleanup 2024-12-15 21:32:23 +01:00
Ivan Savenko
4e30af287e
Merge pull request #5090 from Laserlicht/fix_prescale
fix margin if image prescaled and not equal to current scaling
2024-12-15 13:29:54 +02:00
MichalZr6
81e29d6ce2 Return built in default image 2024-12-15 11:43:39 +01:00
MichalZr6
5fc61df717 fix_crash_loading_frames_from_def 2024-12-15 11:43:39 +01:00
Laserlicht
d232b7b46b
fix margin if image prescaled and not equal to current scaling 2024-12-15 04:44:08 +01:00
Ivan Savenko
5560467cc4
Merge pull request #5061 from IvanSavenko/bugfixing_beta
Fixes for issues found in current beta
2024-12-12 13:37:46 +02:00
Laserlicht
a29f455625 fix video crash with subtitles 2024-12-11 21:31:00 +01:00
Ivan Savenko
0842ada1c7 Quick fix for xbrz scaling artifacts on window borders 2024-12-10 14:20:55 +00:00
Ivan Savenko
641c59a1a9 Quick workaround for constantly switching input mode 2024-12-10 12:02:08 +00:00
Ivan Savenko
cf08b8bf50 Fix game not ending on victory of allied human players in hotseat 2024-12-10 12:02:07 +00:00
Ivan Savenko
24669afee3
Merge pull request #5055 from Laserlicht/shortcut_modifier
fix shortcut modifier
2024-12-10 13:10:34 +02:00
Ivan Savenko
06c7aa90e2
Merge pull request #5050 from Laserlicht/graphic_fixes
Graphic fixes
2024-12-10 13:09:02 +02:00
Ivan Savenko
d140917a8f
Merge pull request #5047 from Laserlicht/fix_tut_video
fix tutorial video
2024-12-10 13:08:05 +02:00
Laserlicht
a0c0496784 fix shadow hex 2024-12-09 20:27:39 +01:00
Laserlicht
2d94246174 fix shortcut modifier 2024-12-08 21:14:51 +01:00
Laserlicht
4eb683e0d1 center round indicator 2024-12-08 01:21:33 +01:00
Laserlicht
f36b42829a fix cell shades with xbrz 2024-12-08 01:17:01 +01:00
Laserlicht
2abfaa0853 fix tutorial video 2024-12-07 17:14:45 +01:00
Ivan Savenko
9fbeacb688 Fix possible memory corruption in video player
Fixes two bugs, one was definitely happening, and 2nd one that is causing
undefined behavior and may work only in some std implementations

- VideoPlayer would attempt to access subtitles widget after VideoPlayer
itself was destroyed in onPlaybackFinished call
- std::function was destroyed from a function that is being called by
it. Replaced with 1-method interface to avoid usage of std::function in
this scenario
2024-12-07 15:37:03 +00:00
Ivan Savenko
ade46d5ffb
Merge branch 'develop' into timed_events_objects_removal 2024-12-06 15:33:33 +02:00
Ivan Savenko
fe51194e22
Merge pull request #5008 from Laserlicht/sprites_test
Tile animation for rivers with xbrz
2024-12-06 14:54:18 +02:00
Laserlicht
4b103fd63b code review 2024-12-05 23:31:03 +01:00
Ivan Savenko
7a75aafc88
Merge pull request #5031 from dydzio0614/empty-hexes-shoot-fix
Fix shooting being priority action for dead creature hexes with empty hex target enabled
2024-12-05 17:41:57 +02:00
Ivan Savenko
7543635847
Merge pull request #5032 from dydzio0614/alt-creature-buttons
Exchange full army by holding alt while pressing VCMI extras creature arrow button
2024-12-05 16:38:32 +02:00
Ivan Savenko
865a6c1aa0
Merge pull request #5018 from Laserlicht/translate
Added missing translation strings
2024-12-05 16:32:20 +02:00
Dydzio
e87ed1e80c Add extra clientside sanity check (should be there from thestart) 2024-12-03 21:03:25 +01:00
Dydzio
ceac0bc203 Full exchange when holding alt while pressing exchange screen creature arrow button 2024-12-03 20:40:06 +01:00
Dydzio
1e9d089fd8 Fix shooting being priority action for dead creature hexes with targeting empty hexes enabled 2024-12-03 18:04:41 +01:00
Dydzio
e9be46af98 Merge branch 'develop' into timed_events_objects_removal 2024-12-03 17:27:24 +01:00