Ivan Savenko
7f07a30d7d
More fixes for map-specific crashes, fixes #1427 and #733
...
- if special victory condition is present AND there is only one player
normal victory condition will be disabled
- added new triggered condition, constant value
- if target of CONTROL/DESTROY condition is removed from map, triggered
condition will be replaced with constant
- fixed randomization of armies with random stacks
2014-02-09 12:10:02 +00:00
Michał W. Urbańczyk
30aa07f86c
Fixed #1652 .
2014-02-09 09:57:00 +00:00
Michał W. Urbańczyk
343dd1a7d1
Properly removing stuff from hero, fixes #1646 .
2014-02-08 23:07:33 +00:00
Michał W. Urbańczyk
d6f8a6d4bf
Preparing crossover heroes works on deep copies of heroes, so the original post-mission state is not lost in the process.
2014-02-08 22:14:54 +00:00
Michał W. Urbańczyk
43ef565e7e
Added serializer-based class able to make deep copies of objects — CMemorySerializer.
...
CGameState::init will work on the deep copy of StartInfo.
Some casts to reduce warnings.
2014-02-08 21:54:35 +00:00
Ivan Savenko
e6f433795b
- fixed some crashes on staring a map/campaign
2014-02-08 21:05:24 +00:00
Ivan Savenko
562dc02b3b
- fixed crash on decompressing some files from gzip stream (reported on
...
forums)
2014-02-08 10:30:10 +00:00
DjWarmonger
d17b3a14bd
- Significantly improved exploration algorithm
...
- Workaround to make AI gather army when exploration is not possible anymore
- Possibly fixed issue with AI not capturing guarded objects
2014-02-07 20:09:15 +00:00
DjWarmonger
a9b10c8099
- Changed aggregation method so now fuzzy engine takes all the factors into consideration
...
- Heroes now will use real path cost and their movement, which has numerous advantages:
* Actual movement cost is taken into consideration
* Groups of heroes will keep order
* Fastest heroes will be used for exploration first
2014-02-07 08:23:31 +00:00
DjWarmonger
54fbdfec5e
- Finally fixed wander crash
...
- Smoothed values of terms to improve differentiation and stability
2014-02-06 06:05:45 +00:00
beegee1
95034b9fa0
- Updated PCH to use our StdInc.h as the prefix header (not generated one from cotire) -> no exclude headers from ffmpeg/etc... statements required
...
- Fixed compilation error (VCAI ResourceSet logging)
2014-02-05 20:25:36 +00:00
DjWarmonger
486cd4b001
- Fixed (common) issue when AI found neutral stacks infinitely strong
...
- Fixed non-fuzzy performance of some functions. Now AI really considers all options and uses multiple heroes, who don't spend their time wandering a lot.
2014-02-05 18:45:51 +00:00
DjWarmonger
5e58027496
Fix for rare crash in previous commit.
2014-02-05 09:04:09 +00:00
DjWarmonger
c708a631c1
- Improved AI logging messages
...
- Cut wandering time of AI
2014-02-04 21:49:04 +00:00
Michał W. Urbańczyk
8eafb9f951
Savegames loader fixed to properly know save version.
2014-02-02 14:54:12 +00:00
Michał W. Urbańczyk
55271e621b
Possibility to switch autoskip in the runtime.
2014-02-02 14:39:32 +00:00
Michał W. Urbańczyk
55165a8535
Fixed #1686 . Compatibility measures to be removed later, when format changes become to big.
2014-02-02 14:31:56 +00:00
Ivan Savenko
77946e88f1
- fixed Adriane special. Should make Playing with Fire campaign playable
2014-02-02 12:45:08 +00:00
Ivan Savenko
94a6e02107
- found yet another missing victory condition, fixes 1684
2014-02-02 11:05:05 +00:00
Michał W. Urbańczyk
fabbe1eae8
Version bump.
2014-02-01 21:34:28 +00:00
Michał W. Urbańczyk
ac5e3be435
Experiment for #1679 .
2014-02-01 21:34:14 +00:00
Michał W. Urbańczyk
e5312887d1
Fixed possible crash at the game start (when victory conditions are checked before currentPlayer is set).
2014-02-01 16:08:01 +00:00
Ivan Savenko
14535c1c7b
- fixed crash on finishing a campaign.
2014-02-01 14:32:09 +00:00
beegee1
5a7551388b
- added missing cotire files to previous commit
2014-02-01 13:38:15 +00:00
beegee1
df0a28d9cb
- added PCH compilation for CMake using cotire module (PCH is OFF per default, can be enabled with ENABLE_PCH=ON)
2014-02-01 13:37:26 +00:00
Michał W. Urbańczyk
be3bd35b95
Hopefully fixes #1677 and its duplciates.
2014-02-01 13:35:03 +00:00
Ivan Savenko
6e252aa0d5
- metadata will be printed before node value, fixes #1678
2014-02-01 13:23:12 +00:00
Michał W. Urbańczyk
6f8974bab3
Fix for #1673 — objects vector may contain nullptr (for objects that have been removed).
2014-02-01 12:54:55 +00:00
beegee1
d4fd361d4b
- fixed #1643 -> hero placeholder handling
...
- fixed bug when loading victory/loss conditions of the 3rd scenario in the first ROE campaign
- fixed bug when loading artifacts to hero of the 3rd scenario in the first ROE campaign (due to corrupt H3M map)
- implemented function object to quickly find a object by it's sub ID in a list
- added netbackbase.h to header list in CMake
- removed false message which said that the server loaded the map successfully
2014-01-30 18:56:31 +00:00
Ivan Savenko
27be6a8f13
- new mods (not mentioned in modSettings.json) will be enabled by
...
default
2014-01-30 14:51:15 +00:00
Michał W. Urbańczyk
679c3c5830
Split conditions fixed (it should be impossible to take units from ally).
2014-01-30 14:04:09 +00:00
Ivan Savenko
45c186bba8
some code cleanup in launcher, tweaked appearence of mod list
2014-01-30 12:35:17 +00:00
Ivan Savenko
3779a54ddd
- probably fixed 1671
...
- fixed missing loss condition in Birth of Barbarian
- fixed some bugs found by cppcheck
2014-01-30 11:08:37 +00:00
Michał W. Urbańczyk
f159f28b9f
Version bump 0.94c.
2014-01-29 16:55:38 +00:00
DjWarmonger
5377b163d2
Compile fix for Windows.
2014-01-21 17:03:21 +00:00
alexvins
f837afdc47
CBonusTypeHandler small refactoring
2014-01-19 13:29:13 +00:00
alexvins
16d6292be9
[refactor] extract often used classes from lib\NetPacks.h to separate header - less dependecies on whole packets class tree
...
[mingw build] fix linking issues with netpacks.
Mingw build is finally fixed!
[c::b] update projects
[config] fix and cleanup spell_info.json
2014-01-16 20:24:06 +00:00
Ivan Savenko
47c91e03b5
- fix to last commit
...
- workaround to crash on disabling auto-battle (somehow client
"remembers" one command given during auto-battle)
2014-01-14 14:34:08 +00:00
Ivan Savenko
c5b74a2dce
Miscellaneous fixes:
...
- proper block of "back" button in campaign menu.
- proper block of AI switch in battles
- vertical garrisons can now be attacked from top
- better UI logging, vcmi will print to log file all pressed buttons
- server will not try to build already existing building
2014-01-13 17:44:21 +00:00
Ivan Savenko
fb5c9fc972
- creatures availability tests no longer check for built buildings.
...
Fixes #1650
- do not crash if town has 0 creatures on some dwelling level
- do not crash if dwelling for some level is not present in town at all
2014-01-11 18:12:09 +00:00
Ivan Savenko
bc1e726be4
- fixed crash on loading modsettings.json from 0.94
2014-01-09 20:15:32 +00:00
Michał W. Urbańczyk
edacdf34e5
Sometimes, when working with MS Build projects I feel pure, unconditional hate.
...
Now Launcher should work with MSVC 2013.
2014-01-06 22:11:43 +00:00
Michał W. Urbańczyk
0b2ca4416a
It is possible to use ffmpeg with Visual Studio 2013 build by definining USE_FFMPEG macro.
2014-01-06 19:12:21 +00:00
Michał W. Urbańczyk
4674e8e3d8
Initializing CHeroClass::commander.
2014-01-06 17:45:21 +00:00
DjWarmonger
c2cbd8da27
Un-abstracted AbstractGoal to allow serialization.
2014-01-06 14:17:56 +00:00
alexvins
a740f7989c
[c::b] update projects, disable PHC for now, +few fixes (still wip)
2014-01-05 17:48:50 +00:00
Ivan Savenko
1f325bafb3
fixes #1619 and #1647
...
- removed some no longer needed code from map handler
- blocked "back" button on campaign map screen if some of scenarios are
already completed
2014-01-05 13:45:44 +00:00
Michał W. Urbańczyk
5e812492e0
VC project updated.
2014-01-04 23:01:28 +00:00
beegee1
22e119770a
Fixed mantis #1645
2014-01-03 16:36:22 +00:00
alexvins
339e1cd98b
[c::b] project file for minizip, lib & client update (wip)
2014-01-03 15:43:54 +00:00