1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-22 22:13:35 +02:00
Commit Graph

17954 Commits

Author SHA1 Message Date
Joakim Thorén
c66cf03a8c Adhere to coding guidelines https://github.com/vcmi/vcmi/blob/develop/docs/developers/Coding_Guidelines.md 2024-11-24 17:05:19 +01:00
Joakim Thorén
75ad171285 Remove redundant 'selectedFilePath'. This information is stored in the currently selected widget anyway. 2024-11-24 16:58:43 +01:00
Joakim Thorén
bdaaa0b584 RecentFileDialog widgets are pointers 2024-11-24 16:57:44 +01:00
Joakim Thorén
5747781dda Store "selectedFilePath" internally in RecentFileDialog instead of connecting to dialog internals from outside RecentFileDialog 2024-11-24 16:35:38 +01:00
Joakim Thorén
9b0e6763e7 Oops, accedentially undid reordering of parent argument. 2024-11-24 16:30:44 +01:00
Joakim Thorén
d1e40411dd Connect "actionOpenRecentMore" directly to "on_actionOpenRecent_triggered" 2024-11-24 16:29:34 +01:00
Joakim Thorén
02a656d16f Fix compilation error 2024-11-24 15:24:19 +01:00
Joakim Thorén
2678bf1e05 RecentFileDialog is class instead of struct 2024-11-24 15:23:30 +01:00
Joakim Thorén
e3b520a1f1 Header inclusion style consistency 2024-11-24 15:22:19 +01:00
Joakim Thorén
3304e55346
Rename "filename" to "filePath". Previous name was misleading at best.
Co-authored-by: Andrey Filipenkov <kambaladecapitator@gmail.com>
2024-11-24 15:16:17 +01:00
Joakim Thorén
1b9b925ab9
Localized string for "Recently Opened Files"'
Co-authored-by: Andrey Filipenkov <kambaladecapitator@gmail.com>
2024-11-24 15:15:38 +01:00
Joakim Thorén
5bff1ec2c1
Update mapeditor/mainwindow.cpp
Co-authored-by: Andrey Filipenkov <kambaladecapitator@gmail.com>
2024-11-24 15:14:21 +01:00
Joakim Thorén
2ed83e53b7 Prompt about unsaved changes when trying to load a map instead of prompting when opening the dialogue. 2024-11-18 23:09:08 +01:00
Joakim Thorén
5e898b9aa8 Fix bug where onSelect was triggered twice on double click in Recently Opened Files 2024-11-18 23:07:16 +01:00
Joakim Thorén
7d53150bdb Open Recent is a submenu with recently opened files and a "More..."-action. 2024-11-18 22:55:46 +01:00
Joakim Thorén
b892221b9f Replace "actionOpenRecent" with "menuOpenRecent". Add "actionOpenRecentMore" as an element in the "menuOpenRecent"-submenu. 2024-11-18 22:05:03 +01:00
Joakim Thorén
e9e129263a Add 'Open Recent' to mapeditor 2024-11-18 21:07:17 +01:00
Ivan Savenko
f0a71c9e21
Merge pull request #4935 from IvanSavenko/misc_fixes2
Miscellaneous fixes for reported issues
2024-11-18 13:29:05 +02:00
Ivan Savenko
86517ab1c0
Merge pull request #4926 from Kuxe/fix_mingw_date_formatting_error
Fix MinGW date formatting error
2024-11-18 13:09:36 +02:00
Ivan Savenko
64a6730394
Merge pull request #4934 from krs0/Fix_for_Changes_in_creature_abilities
Fix for missing creature abilities
2024-11-18 12:58:53 +02:00
Ivan Savenko
53349cc19e
Merge pull request #4924 from Laserlicht/ger_update
update german
2024-11-18 12:57:18 +02:00
Ivan Savenko
43117396bd
Merge pull request #4923 from Kuxe/mingw_compilation_fix
MinGW debug compilation error fix 'too many sections'
2024-11-18 12:57:02 +02:00
Ivan Savenko
877d11d4c0
Merge pull request #4920 from kdmcser/fix_attack_crash
fix crash:  spell before attack kill defender will lead to crash
2024-11-18 12:56:37 +02:00
Ivan Savenko
b64dbf19d4
Merge pull request #4913 from ToRRent1812/patch-3
Update polish.json
2024-11-18 12:55:34 +02:00
Ivan Savenko
1699e131db
Merge pull request #4885 from vcmi/macos-install-docs
[docs][macOS] add Homebrew install option
2024-11-18 12:54:53 +02:00
OriginMD
d93ca47afd
[docs][iOS] improve installation manual (#4888)
* Update Installation_iOS.md

* Update_Installation_iOS_2.md

Alternative version of the update

* Update Installation_iOS_2.md

* Update Installation_iOS_2.md

* Update Installation_iOS_3.md

* Update docs/players/Installation_iOS.md

Co-authored-by: Andrey Filipenkov <kambaladecapitator@gmail.com>

* Update docs/players/Installation_iOS.md

Co-authored-by: Andrey Filipenkov <kambaladecapitator@gmail.com>

* Update docs/players/Installation_iOS.md

Co-authored-by: Andrey Filipenkov <kambaladecapitator@gmail.com>

* Update docs/players/Installation_iOS.md

Co-authored-by: Andrey Filipenkov <kambaladecapitator@gmail.com>

* Update docs/players/Installation_iOS.md

Co-authored-by: Andrey Filipenkov <kambaladecapitator@gmail.com>

* Update docs/players/Installation_iOS.md

Co-authored-by: Andrey Filipenkov <kambaladecapitator@gmail.com>

* Update docs/players/Installation_iOS.md

Co-authored-by: Andrey Filipenkov <kambaladecapitator@gmail.com>

---------

Co-authored-by: Andrey Filipenkov <kambaladecapitator@gmail.com>
2024-11-18 12:54:41 +02:00
Ivan Savenko
be0da8442e Adjust docs 2024-11-18 10:45:43 +00:00
Ivan Savenko
931017f58b Fix bugs caused by image optimization procedure 2024-11-18 10:19:48 +00:00
Ivan Savenko
29c040fa69 Try to crop borders for images that are not from pre-optimized def 2024-11-17 20:41:12 +00:00
Ivan Savenko
91940dbfc6 Do not show selection highlight on creature preview images 2024-11-17 20:40:38 +00:00
Ivan Savenko
dfe6e04464 Implemented semi-transparent spell effects 2024-11-17 19:48:16 +00:00
Ivan Savenko
fd1a31253b Improve HD Graphics docs a bit 2024-11-17 19:35:10 +00:00
Ivan Savenko
0c4eb5156b Put imprisoned heroes back to prison 2024-11-17 18:07:28 +00:00
Ivan Savenko
51c5536b50 Banned skills known by hero now have non-zero selection chance 2024-11-17 17:55:09 +00:00
Ivan Savenko
251155d913 More robust management of body/shadow/overlay split 2024-11-17 17:54:55 +00:00
Ivan Savenko
c82db9d574 Fix crash on rearranging troops on non-owned hero 2024-11-17 17:38:54 +00:00
Ivan Savenko
56ee307b3a Extend AI garrison troop removal logic to all RoE campaigns to emulate
H3 logic
2024-11-17 17:38:54 +00:00
Ivan Savenko
4ccce20eda War machines factory are now never guarded by default 2024-11-17 17:38:54 +00:00
Ivan Savenko
d81d682939
Merge pull request #4933 from Laserlicht/fix_overlay
allow seperate overlay and shadow images also for unscaled images
2024-11-17 19:38:26 +02:00
krs
bda71ef8e6 Change Fortress creatures configs to be in level order
Like in the rest of configs
2024-11-17 18:14:26 +02:00
Laserlicht
8cd77fc5fc allow overlay and shadow also for unscaled images 2024-11-17 17:09:13 +01:00
krs
695298c16c Change placement of King and Dragon_Nature abilities
King is not that important that is first all the time. Is a minor spell vulnerability in the end.
Undead always comes first. Second would be dragon nature, even though right now is used only for necromancy.
2024-11-17 18:08:46 +02:00
krs
b0178e472f Add missing abilities
Siege weapons had incomplete abilities.
Fairy Dragon was missing canFly
2024-11-17 17:51:50 +02:00
Joakim Thorén
1fc04f5ea8 Updated out-of-date comment 2024-11-17 00:14:54 +01:00
Joakim Thorén
db93f776c6 Fix MinGW date formatting error, see https://sourceforge.net/p/mingw-w64/bugs/793/. Workaround is to replace %F with %Y-%m-%d and %T with %H:%M:%S, should produce the same output as before per https://en.cppreference.com/w/cpp/io/manip/put_time 2024-11-17 00:02:13 +01:00
Łukasz Zając
51490f8f85
fit text into the box 2024-11-16 23:57:32 +01:00
Ivan Savenko
ed3b150396
Merge pull request #4921 from IvanSavenko/misc_fixes
Fixes for recently reported issues
2024-11-16 23:58:43 +02:00
Ivan Savenko
0a9e0688a8
Merge pull request #4922 from abd-msyukyu-odoo/patch-1
[FIX] angels are not doubleWide
2024-11-16 23:58:22 +02:00
Laserlicht
f28502c981 update german 2024-11-16 22:53:12 +01:00
Joakim Thorén
dc1908ad2a Use -Wa,-mbig-obj instead of -Og to retain debuggability in SerializerReflection.cpp and IGameCallback.cpp files 2024-11-16 22:46:27 +01:00