Ivan Savenko
|
f39fbe5151
|
Merge pull request #2757 from IvanSavenko/filesystem_refactor
Filesystem refactor - part 1
|
2023-09-07 10:51:02 +03:00 |
|
Ivan Savenko
|
ef94e7a78a
|
Fix build
|
2023-09-06 16:03:47 +03:00 |
|
Ivan Savenko
|
9fa7a93fb0
|
Properly pass battleID in all battle netpack's
|
2023-09-06 16:03:47 +03:00 |
|
Ivan Savenko
|
41210c1dbf
|
Client-side support for multiple battles
|
2023-09-06 16:03:47 +03:00 |
|
Ivan Savenko
|
036df2e0ad
|
Support multiple battles in AI
|
2023-09-06 16:03:46 +03:00 |
|
Ivan Savenko
|
3a88180494
|
Separated game and battle callback (server & client only)
|
2023-09-06 16:03:39 +03:00 |
|
Ivan Savenko
|
86a7f5f5cd
|
Removed getStr(bool), replaced with similar toString()
|
2023-09-04 22:21:02 +03:00 |
|
Ivan Savenko
|
8dfdfffd87
|
Use ResourcePath for audio files
|
2023-09-04 18:22:34 +03:00 |
|
Ivan Savenko
|
823ffa7a07
|
Always use ResourcePath for referencing images and animations
|
2023-09-04 18:22:34 +03:00 |
|
Evgeniy Meshcheryakov
|
ecf9b1aa2f
|
Fix NKAI compilation with NKAI_PATHFINDER_TRACE_LEVEL>=2
|
2023-09-04 10:08:56 +03:00 |
|
Ivan Savenko
|
f6a4a1ae0c
|
Merge pull request #2686 from vcmi/fix-battle-freeze
BattleAI: fix freeze
|
2023-08-31 01:06:47 +03:00 |
|
Ivan Savenko
|
695a51d8c8
|
Merge remote-tracking branch 'vcmi/beta' into develop
|
2023-08-28 21:19:53 +03:00 |
|
nordsoft
|
98f7ed9dfd
|
Implement player start turn query
|
2023-08-28 18:56:36 +04:00 |
|
Andrii Danylchenko
|
4b807e01f1
|
BattleAI: fix freeze
|
2023-08-27 21:03:55 +03:00 |
|
Ivan Savenko
|
ce20d913e0
|
Fix checking PlayerColor's for validness
|
2023-08-27 01:35:38 +03:00 |
|
Andrii Danylchenko
|
5f13a0bbda
|
BattleAI: spellcast fixes and floating point score
|
2023-08-26 14:17:33 +03:00 |
|
Andrii Danylchenko
|
dc88f14e0b
|
BattleAI: positive/negative effect multiplier
|
2023-08-26 13:06:51 +03:00 |
|
Andrii Danylchenko
|
03395a3d8a
|
TBB for battle AI spellcast an fixes
|
2023-08-26 13:06:51 +03:00 |
|
Andrii Danylchenko
|
274bf739b8
|
BattleAI: damage cache and switch to different model of spells evaluation
|
2023-08-26 13:06:51 +03:00 |
|
Ivan Savenko
|
e54287ea5d
|
Converted remaining identifier to new system
|
2023-08-25 13:38:02 +03:00 |
|
Ivan Savenko
|
0240ee886d
|
Converted (almost) all namespace enum's to enum classes
|
2023-08-25 13:38:02 +03:00 |
|
Ivan Savenko
|
62cd8b12d4
|
Converted several namespace enums to enum class
|
2023-08-25 13:38:02 +03:00 |
|
Ivan Savenko
|
17d3d663ee
|
Converted creature ID and spell ID to new form
|
2023-08-25 13:38:02 +03:00 |
|
Ivan Savenko
|
ec8d31bbfc
|
First step at unifying game identifiers code
|
2023-08-25 13:38:01 +03:00 |
|
Ivan Savenko
|
d83aa828f6
|
Fix turn ending
|
2023-08-24 23:34:33 +03:00 |
|
Ivan Savenko
|
44d16b32fe
|
Use API identical to std classes where possible
|
2023-08-23 16:32:29 +03:00 |
|
Ivan Savenko
|
87957e74c1
|
Replaced boost::thread_specific_ptr with thread_local
|
2023-08-23 16:32:29 +03:00 |
|
Ivan Savenko
|
2be9664d26
|
Remove no longer used code
|
2023-08-21 17:55:49 +03:00 |
|
Ivan Savenko
|
013417fb7e
|
Code cleanup
|
2023-08-21 17:55:49 +03:00 |
|
Ivan Savenko
|
a1d3181a98
|
Unified spellcasting handling with other actions
|
2023-08-21 17:55:49 +03:00 |
|
Ivan Savenko
|
6297140bf5
|
Start of stabilization - battles now start correctly
|
2023-08-21 17:55:49 +03:00 |
|
Dydzio
|
d8eef4905a
|
Implement new callback in stupidAI
|
2023-08-20 13:53:25 +02:00 |
|
Dydzio
|
6bfbe80cc9
|
Allow toggling quick combat spells usage
|
2023-08-19 17:23:55 +02:00 |
|
Andrii Danylchenko
|
1eabb738dc
|
NKAI: fix heroes not recruited
|
2023-08-13 09:08:30 +03:00 |
|
Ivan Savenko
|
92ce97bbc7
|
Merge remote-tracking branch 'vcmi/master' into beta
|
2023-08-12 16:20:06 +03:00 |
|
DjWarmonger
|
654489d5d3
|
Merge pull request #2525 from vcmi/battle-fast-targets
Battle fast targets
|
2023-08-12 09:22:25 +02:00 |
|
Ivan Savenko
|
67b7c39761
|
Fix possible nullptr dereference
|
2023-08-11 18:50:39 +03:00 |
|
Andrii Danylchenko
|
ba9998ac66
|
BattleAI: fast targets optimization
|
2023-08-08 20:10:29 +03:00 |
|
Andrii Danylchenko
|
e7394ad20c
|
BattleAI: log time to make a decission
|
2023-08-08 18:54:49 +03:00 |
|
Ivan Savenko
|
e57f8742cd
|
Rename ambiguos 'clear' to 'clearSlots'
A lot of map objects inherit from CCreatureSet and as result - get
clean() method that resets object army
|
2023-08-07 19:13:02 +03:00 |
|
Andrii Danylchenko
|
1eb58bcc32
|
NKAI: fix potential concurrency and town treat calculation
|
2023-08-07 17:29:27 +03:00 |
|
Andrii Danylchenko
|
04fe78d31c
|
NKAI: fix freeze on army gathering
|
2023-08-07 17:29:17 +03:00 |
|
Ivan Savenko
|
3f6cbc6312
|
Merge pull request #2484 from vcmi/nkai-fix-freeze
NKAI: fix freeze on army gathering
|
2023-08-07 16:52:59 +03:00 |
|
Andrii Danylchenko
|
60f0a4553a
|
NKAI: fix freeze on army gathering
|
2023-08-06 09:03:29 +03:00 |
|
Andrii Danylchenko
|
a4297ebdf6
|
NKAI: fix potential concurrency and town treat calculation
|
2023-08-06 08:57:14 +03:00 |
|
Tomasz Zieliński
|
3b238ff15e
|
Fix weekly visitable check
|
2023-08-01 17:30:47 +03:00 |
|
Andrii Danylchenko
|
4c0aae6fbd
|
NKAI: fix crash for specific map
|
2023-07-31 22:01:12 +03:00 |
|
Andrii Danylchenko
|
ccfc6f5716
|
NKAI: increase towns priority, buy heroes more often
|
2023-07-31 22:01:12 +03:00 |
|
Andrii Danylchenko
|
ec0596f3dd
|
NKAI: fix error message can not take away last stack
|
2023-07-31 22:01:12 +03:00 |
|
Andrii Danylchenko
|
f1a9ae99ee
|
NKAI: various behavior fixes, undo max_gold_preasure
|
2023-07-31 22:01:12 +03:00 |
|