80fc2bb695
Merge remote-tracking branch 'vcmi/develop' into lobby
2024-02-03 21:11:34 +02:00
70ce090bc4
CVideoHandler: Use EVideoType::INTRO and EVideoType::SPELLBOOK
2024-01-29 16:08:53 +01:00
33e170d562
CVideoHandler: Call SDL_RenderClear() when playing intro, call SDL_RenderFillRect() for spellbook animation
2024-01-28 22:53:51 +01:00
322c5faf63
Merge remote-tracking branch 'vcmi/develop' into lobby
2024-01-26 16:52:23 +02:00
9e62eb28c5
Fix merge
2024-01-21 00:53:22 +02:00
fc4ae3bd8c
Merge remote-tracking branch 'vcmi/develop' into lobby
2024-01-20 23:01:49 +02:00
0c1664dbe7
NKAI: various AI fixes after tests in headless
2024-01-20 22:55:30 +02:00
cc7fc4a2c6
Fix headless mode
2024-01-20 22:55:27 +02:00
ffa58152ac
Client-side support for hosting game server via lobby
2024-01-19 23:49:59 +02:00
2396c14114
Fixed logic for reconnection attempts to local server. Cleanup.
...
Added distinct fields in config for local and remote connection.
Removed code for restoring last session since it does not works as
intended and often triggers after crash
2024-01-19 23:49:59 +02:00
8ea69e457a
Simplified applying of lobby packs
2024-01-19 23:49:59 +02:00
d04241b10a
Code cleanup
2024-01-19 23:02:00 +02:00
bd5682ecc3
Merge remote-tracking branch 'vcmi/master' into develop
2024-01-19 13:49:54 +02:00
f3277b7953
Define each identifier in a dedicated statement
2024-01-10 00:22:23 +00:00
ef5686634d
Removed no longer used code
2024-01-04 23:48:58 +02:00
4ed283a357
Merge pull request #3359 from IvanSavenko/crashfixes
...
Crashfixes
2023-12-22 15:17:59 +02:00
ee976d676d
Fix crash on closing vcmi while opening is playing
2023-12-22 14:03:05 +02:00
83c2c22a6d
Change client's polling rate for server startup to 200 ms
2023-12-19 22:02:26 +01:00
9f8a5119f9
Less strict check for Armageddon's Blade data files presence
2023-12-16 15:04:41 +02:00
16e845e1c8
- Check for presence of AB files on startup
2023-12-16 13:46:29 +02:00
873fd33e7a
Workaround for mingw and armeabi Android build
2023-12-13 19:23:32 +02:00
0dce278a3b
Attempt to fix crash on app exit on Android
2023-12-13 16:50:13 +02:00
af0afb251e
Correctly shutdown client media handlers
2023-11-13 16:27:15 +02:00
a6f37b7cd7
Fixed few more memory leaks in client
2023-11-13 16:27:15 +02:00
20ef3a69e7
Fix most of memleaks discovered by valgrind
2023-11-13 16:27:15 +02:00
833051cced
Display exit confirmation dialog on Alt-F4
2023-11-12 17:35:43 +02:00
f01ec55d21
Use the "nullptr" literal.
...
"nullptr" should be used to denote the null pointer
2023-10-27 18:18:59 +00:00
a1a5bc28c2
convert line endings from CRLF (Windows) to LF (Linux/Unix)
...
Mixed line endings cause problems when exporting patches with
git-format-patch and then trying to "git am" a patch with mixed and
non-matching line endings. In such a situation git will fail to apply
the patch.
This commit runs the dos2unix tools on the remaining files with CRLF
(\r\n) line endings to convert them to line-feeds (\n) only.
Files that are Windows specific like *.vcxproj and *.props files were
not converted.
Closes : #3073
2023-10-19 16:23:21 +02:00
f9e1b302c7
some spelling fixes
2023-10-18 01:41:02 +02:00
be2b3afe48
implements sounds
2023-10-08 12:49:59 +02:00
8de4b88a1b
basically playing
2023-10-08 12:49:59 +02:00
195320dcf2
Removed remaining references to 'pim' name
2023-09-27 18:50:01 +03:00
d6b9fa8fbd
Replaced CPlayerInterface::pim with CGuiHandler::interfaceLock
...
- Removed CPlayerInterface::pim since this lock does not actually
protects LOCPLINT but rather entire game UI state
- added more logical CGuiHandler::interfaceLock
- interface lock is now non-recursive and is locked only once by initial
caller that want to access GUI
2023-09-27 18:33:52 +03:00
97b7d44c88
Use ResourcePath for video accessing
2023-09-04 18:22:34 +03:00
823ffa7a07
Always use ResourcePath for referencing images and animations
2023-09-04 18:22:34 +03:00
44d16b32fe
Use API identical to std classes where possible
2023-08-23 16:32:29 +03:00
142889e3a5
Give all threads created by client human-readable name for debug
2023-08-23 16:32:29 +03:00
f13a53c1d9
Merge remote-tracking branch 'vcmi/beta' into develop
2023-08-12 17:28:47 +03:00
d947c14495
Few more H3 data validation checks
2023-08-08 12:50:16 +03:00
0b99fc0ccb
Show message box when H3 data is missing
2023-08-06 18:16:32 +03:00
5faaf175f9
Added debug information to SDL-related crashes
2023-08-06 13:31:10 +03:00
43795c39a5
Replaced all usage of SDL_Color outside of render with ColorRGBA
2023-07-31 21:07:30 +03:00
7f72f7a82c
Cleanup server connection code a bit
2023-07-30 20:15:32 +03:00
593b82d178
Removed all references to boost::interprocess library
2023-07-30 20:14:57 +03:00
4d08a131d3
Reorganization of boost filesystem usage
...
- Removed (most of) boost filesystem namespace usings
- Replaced boost::filesystem::fstream with std::fstream and different
constructor that should be available on any plaftorm
2023-07-28 19:12:04 +03:00
5882cbae78
Merge branch 'develop' into unlimited-autosave
2023-07-16 15:19:04 +02:00
1711b3848f
Remove unused variable
2023-07-15 20:03:07 +02:00
0ec9af7d9b
Replaced WoG opening with H3:SoD files
2023-07-15 16:09:44 +03:00
404ab23bc6
Get autosave day without leading 0, delete ancient saveprefix stuff
2023-07-13 21:55:51 +02:00
2a634b2ec0
Fixed UI updates on switching to/from fullscreen
2023-07-07 15:26:42 +03:00