Ivan Savenko
e6afd8621c
Minor improvements & fixes to music player
...
- music will be selected correctly after rapid leaving and reentering
town screen
- music sets are now store as single std::map instead of unnecessary
"map of maps"
- fixed computation of resume time for restarted/looped music tracks
- updated & clarified some comments
- converted C functions for SDL_Mixer callbacks into lambdas
- formatting fixes
2022-11-21 16:20:20 +02:00
Ivan Savenko
61eca7e3be
Hotfix: erase stored music position once it has been used
...
Fixes infinite loop on attempts to resume music track from position
larger than music duration
2022-11-20 23:42:50 +02:00
Ivan Savenko
02fe0425c7
Moved battle actions handling into a separate class
2022-11-20 22:56:42 +02:00
Ivan Savenko
b01737daf2
Moved stacks & animations handling into a separate class
2022-11-20 19:11:34 +02:00
SoundSSGood
584f6a6230
Update lib/CArtHandler.cpp
...
Co-authored-by: Nordsoft91 <nordsoft@yahoo.com>
2022-11-20 10:15:57 +02:00
SoundSSGood
4b52d38c57
artifact assemble fixed
2022-11-19 16:35:06 +02:00
Nordsoft91
4912f4d5ae
Merge pull request #1151 from Nordsoft91/editor-fix-imageload
...
Fix loading images which aren't divided by 4
2022-11-19 15:08:55 +04:00
Andrii Danylchenko
7ae35b95a3
Merge pull request #1149 from Nordsoft91/fix-crash-3234
...
Fix #3234
2022-11-19 12:40:43 +02:00
Nordsoft91
640ebcdca4
Update BitmapHandler.cpp
2022-11-19 01:52:21 +04:00
SoundSSGood
e6e669d024
ArtifactUtils::isSlotBackpack() func + refactoring
2022-11-18 23:13:44 +02:00
Nordsoft91
fef3b7652b
Update BitmapHandler.cpp
2022-11-19 01:02:18 +04:00
SoundSSGood
30bbb57619
Apply suggestions from code review
...
Co-authored-by: Nordsoft91 <nordsoft@yahoo.com>
2022-11-18 22:15:03 +02:00
nordsoft
3e7e29c714
Fixes for pcx
2022-11-19 00:09:28 +04:00
nordsoft
0d9f7d15a2
Fix typo
2022-11-19 00:02:08 +04:00
nordsoft
7bac01f10a
More fixes on image loader
2022-11-19 00:01:48 +04:00
nordsoft
3a913140fd
Fix loading images
2022-11-18 23:26:19 +04:00
Ivan Savenko
7a6ad671ab
Separated battle control panel into new class, refactoring of
...
CGStatusBar to allow shared API with battle console
2022-11-18 17:54:10 +02:00
nordsoft
625c18a889
Fix #3234
2022-11-18 04:05:35 +04:00
SoundSSGood
e9ab894638
backpack assemble
2022-11-18 01:55:29 +02:00
SoundSSGood
16b650136a
backpack disassemble
2022-11-18 01:27:39 +02:00
Ivan Savenko
3c5858f01e
Separated battlefield background&hexes handling into a new class
2022-11-17 23:57:51 +02:00
SoundSSGood
2d078132bf
assemble in backpack initial
2022-11-17 19:43:54 +02:00
Ivan Savenko
9c2a6dc9fc
moved battle obstacle handling into separate class
2022-11-17 19:36:25 +02:00
Ivan Savenko
a65dd0726d
Separated siege-related part of BattleInterface into separate class
...
- added constants for BattleHex'es of castle towers
2022-11-17 18:50:12 +02:00
Ivan Savenko
bd1b2e4977
Battle Interface refactoring: separated projectile handling into a
...
separate class (untested)
2022-11-17 13:21:03 +02:00
Ivan Savenko
0b7edd471c
Merge pull request #1128 from IvanSavenko/movement_fix
...
Fix #1088 - Refactoring of hero movement animation code
2022-11-17 13:05:15 +02:00
nordsoft
6ab8fccc60
Fix crash
2022-11-17 05:06:23 +04:00
nordsoft
ddebf85665
try to fix mxe
2022-11-17 04:30:43 +04:00
nordsoft
33575e5ce2
Try to fix mxe build
2022-11-17 04:05:44 +04:00
nordsoft
05e4188908
Support mod list
2022-11-17 03:15:26 +04:00
nordsoft
4527bd1a61
Disconnection on error
2022-11-16 23:53:54 +04:00
nordsoft
179cdee424
Improve online lobby visual
2022-11-16 23:28:21 +04:00
Nordsoft91
1893212abb
Merge pull request #1146 from IvanSavenko/ray_projectile
...
Implemented ray-like projectiles for shooters
2022-11-16 22:45:00 +04:00
Ivan Savenko
b3067c0e3f
Attemts to improve timing of ranged attacks:
...
- when computing number of steps/frames to display projectile round to
nearest instead of rounding down
- end projectile animation only *after* last step was shown
2022-11-16 17:53:40 +02:00
Ivan Savenko
3771080a45
Merge pull request #1145 from vcmi/master_debian_build
...
Fixes building .deb packages on Launchpad PPA
2022-11-16 12:32:16 +02:00
Ivan Savenko
d1c95204c5
Code formatting
2022-11-16 12:29:07 +02:00
Ivan Savenko
48be492517
Fix parameter order in case of right-to-left lines, formatting
2022-11-16 12:28:07 +02:00
Ivan Savenko
9afc1eed49
Expanded schema to validate ray configuration
2022-11-16 12:26:56 +02:00
Ivan Savenko
1bdc4240d1
Remove unused include
2022-11-16 12:16:23 +02:00
nordsoft
20573073c9
Some tweaks
2022-11-16 04:42:43 +04:00
nordsoft
15ba4cda70
Cosmetic improvements for lobby
2022-11-16 04:22:48 +04:00
Ivan Savenko
6678a747bb
Implemented ray-like projectiles for shooters
...
- Added missing support for ray-like projectiles
- Archmages, Evil Eyes and Beholders now use ray for shooting
- New method to draw 1 pixel-wide line with color gradient at arbitrary
angle
- fixed incorrect attackClimaxFrame field for Archmages
2022-11-15 21:42:16 +02:00
Andrii Danylchenko
e0aa26e599
Merge pull request #1142 from vcmi/lobby
...
Support multi-language in online lobby
2022-11-15 22:09:47 +04:00
nordsoft
d3145b2ffc
Remove proxy server from vcmi repo
2022-11-15 22:09:47 +04:00
nordsoft
8d6a2e4383
Fix indentation
2022-11-15 22:09:47 +04:00
nordsoft
915d215076
Fix connections amount problem
2022-11-15 22:09:47 +04:00
nordsoft
50a157bfd2
support encoding
2022-11-15 22:09:47 +04:00
nordsoft
694fedc662
Fix crash due to passing args
2022-11-15 22:09:46 +04:00
nordsoft
cfe1867d4a
Fix ios build
2022-11-15 22:09:46 +04:00
nordsoft
b2b9cacac2
Fix mxe build
2022-11-15 22:09:46 +04:00