Michał W. Urbańczyk
cd63c177e2
* std::unordered_map implementation in MSVC 10 has terribly slow destructor. Since bug is fixed only in VC11, I replaced it with boost::unordered_map.
...
* fixed crash with invalid .lod archive (some H3 installations have fake 1 byte .lod "archives"
* fixed crash when parsing invalid map file
* minor random optimizations (rv-refs, etc)
2012-08-08 08:25:27 +00:00
Ivan Savenko
9cbc1f1058
- merged basicCreatures and upgradedCreatures into single array
...
- missing fix for savegames
2012-08-07 21:46:24 +00:00
Ivan Savenko
8040a81eec
- fixed save games issues ( #1044 )
...
- hopefully some speedup for filesystem loading (#1048 )
2012-08-07 11:28:52 +00:00
Ivan Savenko
708ad6ac7f
- music player uses URI's instead of enum from music base
...
- #1045 and #1046 should be fixed
- moved pregame backgrounds to config/mainmenu
- animation can be overriden with .json multiple times
2012-08-06 07:34:37 +00:00
Ivan Savenko
63a757ac7d
- removed debug
2012-08-02 11:05:40 +00:00
Ivan Savenko
e67f8afdd9
- removed multiple unused files
...
- config folder with all json files is used via new FS API
- fixed campaigns loading. Replaced "detect h3m starts" heuristics with CCompessedStream::getNextBlock()
2012-08-02 11:03:26 +00:00
Ivan Savenko
b3c17d2788
large filesystem update. Filesysytem is now fully functional, everything should work.
...
- completely replaced CLodHandler, removed bitmaph and spriteh
- replaced CLodStream in favour of CCompressedStream (2 new files)
- renamed CResourceLoaderFactory and ResourceIndetifier to shorter names
NOTES:
- campaign loading is currently broken. Will fix.
- I am going to remove several unused files in several days (e.g. LodHandler)
2012-08-01 12:02:54 +00:00
DjWarmonger
17a513c01b
various fixes for #828
2012-07-30 09:27:19 +00:00
DjWarmonger
12e71e0dff
Missing serialization for Border Gate fixes #1040 .
2012-07-29 18:18:55 +00:00
Michał W. Urbańczyk
5981ad15d4
Fixed Duel mode. Integrated some changes from programmingChallenge branch - it's possible to define duel parameters using JSON.
2012-07-26 00:48:44 +00:00
Michał W. Urbańczyk
9327823355
Updated MSVC project file.
2012-07-23 11:33:25 +00:00
Ivan Savenko
a72a294a46
some work on new filesystem, not tested
...
- one more new file
- removed duplicating code
- filesystem parser is now recursive
- decompression should be possible if decompressed size is unknown
- autotools and cmake update
2012-07-23 10:23:43 +00:00
DjWarmonger
4bd8a5a15b
Compile fix for last commit.
2012-07-22 15:40:44 +00:00
beegee1
1ed91077f7
* Implementation of the new filesystem API (msvc project files needs to be updated)
2012-07-22 15:02:13 +00:00
DjWarmonger
0665850d9d
Fixed #1024
2012-07-21 09:58:42 +00:00
DjWarmonger
356e675a65
- VCAI can now complete all types of Seer Hut Mission. GATHERTROOP victory condition should also work.
...
- Minor tweaks.
2012-07-21 07:15:53 +00:00
Michał W. Urbańczyk
9207e4f4a4
Fixed a compile error on MSVC with abs(ui64).
...
Fixed crash when quest object is removed.
2012-07-20 21:42:25 +00:00
Ivan Savenko
e4c88d5088
- moved ParseBonus to JsonNode.cpp (linkage errors)
...
- fixes to CMakeLists - vcmi can be compiled and started with cmake
- gcc\clang warnings fixes
2012-07-19 18:52:44 +00:00
DjWarmonger
4c0537c420
- AI will now wander with all the heroes that have spare movement points. It should prevent stalling.
...
- Fixed #1030
2012-07-19 16:29:29 +00:00
DjWarmonger
d8cb3a34d3
-Fixed crash #1037
...
-AI can now successfully complete several types of quests.
-Lots of tweaks for AI
TODO: fix bizarre crash when opening borderguard
2012-07-19 09:10:55 +00:00
DjWarmonger
624908e403
- Fixed unserialized GrowingArtifact, causing crash
...
- An attempt to teach AI completing quests
- Gathering army is now continuous, abstract goal
- Lots of fixes and tweaks in AI
2012-07-18 10:10:14 +00:00
DjWarmonger
b86706d58c
Commander can now die in a battle and will be automatically rised when visiting town.
2012-07-17 08:52:27 +00:00
DjWarmonger
9ebf56ff03
Quick fix for previous commit.
2012-07-16 16:31:41 +00:00
DjWarmonger
cf45239332
Fixed #1035 .
...
Support for commander artifacts that accumulate bonus after battle.
2012-07-16 16:18:02 +00:00
ddaroo
69de38bf1d
Tweaks for cmake build system: data dir definitions, flags for clang (not tested), missing CQuestLog.cpp file for the client, naming convention of few binaries same for autotools and cmake
2012-07-15 16:05:41 +00:00
Michał W. Urbańczyk
edccbd4809
Rewritten many parts of query handling. Fixed several scenarios leading to a hang (including #1012 ). Purged boost::function from player interface (handy but impossible to serialize). VCAI will keep description for each unanswered query, so the further debugging will be easier.
2012-07-15 15:34:00 +00:00
DjWarmonger
b28da1a5d3
- Quest log minimap now has clickable icons
...
- Border guard & border gate inherit Quest interface
- Lots of tweaks
2012-07-08 16:36:20 +00:00
DjWarmonger
32d1a08470
Pointer serialization for CQuest.
2012-07-08 08:42:03 +00:00
DjWarmonger
7fbf89ffc8
Rearragned Seer Huts & Quests. More work on Quest Log descriptions.
2012-07-08 06:33:41 +00:00
DjWarmonger
49d2ba1982
Quest Log is partially functional. TODO: update quest after completion.
2012-07-07 08:45:45 +00:00
Ivan Savenko
50e8bc1704
- build system update
...
- compile fix for quests (vector can't be used to store const data)
- fixed several "unitialized" warnings
2012-07-06 20:19:54 +00:00
DjWarmonger
12511d8fee
First part of new Quest Log, including common quest interface.
2012-07-06 19:12:04 +00:00
DjWarmonger
ac997b8214
Partial interactive mode for Commander level-up dialog. It is possible to select secondary skill.
2012-07-03 08:07:34 +00:00
Michał W. Urbańczyk
54ca71d598
Update to Boost.Filesystem version 3, since Boost 1.50 drops support for version 2.
...
Check http://forum.vcmi.eu/viewtopic.php?t=518
2012-07-02 09:04:05 +00:00
ddaroo
758fb0679e
Stub for a CMake build system.
2012-07-01 14:27:41 +00:00
Ivan Savenko
613172fa45
- fixed #582 , #1019 and #1022
...
- linux readme tweaks
2012-06-27 20:44:01 +00:00
Ivan Savenko
47945383da
gcc-4.5 compatibility
2012-06-23 17:19:50 +00:00
Ivan Savenko
770a6e077c
- handling of incorrect or missing configuration files (settings.json\defaultSettings.json)
...
- better code for recruitment window, fixes #1013
- minor tweak to adv.map classes
2012-06-22 11:40:16 +00:00
Ivan Savenko
1b50082e43
- fixed crash with necromancy dialog #1009 (russian-only)
...
- Client::run will catch only asio exceptions
- (linux) fixed typo that disabled debug mode
2012-06-16 17:12:58 +00:00
DjWarmonger
4d62525ff7
- Restored missing code for BattleInfo::getAvaliableHex - Elementals will now be placed correctly
...
- Fixes for BattleHex::getDistance returning 0 for adjacent hexes
- All stacks will now be placed after obstacles (fixes #1004 )
- Removed unused code from ArtHandler
2012-06-16 14:25:39 +00:00
Ivan Savenko
8c6965c5ee
- shadows for CWindowObject-based windows
...
- better error messages on read error
- fixed crash on level-up window
2012-06-16 10:41:14 +00:00
Ivan Savenko
2d8a15f27c
- all windows except for pregame\battles are now CWindowObject-based
...
- added simple scaling algorithm that works with indexed surfaces
2012-06-15 17:08:19 +00:00
Ivan Savenko
9d2711fb51
- rewrote most of classes from adventure map window
...
-- new files: client/AdventureMapClasses.*
-- implemented all missing details from infobox
- textinput can handle numbers as input
- fixed several bugs caused by CIntObject changes
- fixed #988
2012-06-13 13:04:06 +00:00
Michał W. Urbańczyk
84630a0984
Fixed #993 , tent code cleanups.
2012-06-10 13:07:08 +00:00
Michał W. Urbańczyk
e6ebf42308
#994 should not crash anymore.
2012-06-09 19:58:17 +00:00
DjWarmonger
cdb55500f3
Fixed #979
2012-06-09 19:24:04 +00:00
Michał W. Urbańczyk
e7d82a9702
Rewritten CLoadFile::openNextFile to be cleaner and not leak. Desperate messing around for #989 .
2012-06-08 00:12:31 +00:00
Frank Zago
9fc459b5c8
Fixed clang warnings.
2012-06-07 03:08:38 +00:00
Frank Zago
bc4f856bfc
Put Warrior's Tomb into the switch statement and properly set the sound returned.
2012-06-07 03:02:30 +00:00
Ivan Savenko
d60f2d57a0
- first part of CIntObject API clean-up.
...
- - mostly remove usage of (de)activateSomething functions
- - CIntObject's can be safely deleted in active state or without removing from parent first
- - Added CWindowObject to use as base of all windows (will be required for such features as shadows)
Report any crashes or glitches - it should not cause any issues apart from more console output.
TODO:
- remove redundant (de)activate and show(All) calls
- decrease usage of blitAtLoc\printAtLoc methods
- switch all windows to new base
2012-06-02 15:16:54 +00:00
Michał W. Urbańczyk
3df1ddbf86
Post-release version bump.
...
Fixed #986 .
2012-06-01 21:31:41 +00:00
Michał W. Urbańczyk
b7c4da65b5
Integrated 1280x800 resolution from #972 .
...
Version set to 0.89.
Updated changelog.
2012-06-01 17:11:30 +00:00
Michał W. Urbańczyk
4cd77a0192
Naive solution for endianess issues. Seems to allow loading a big-endian save on little-endian build.
...
Fixed compile issues with CEmptyAI. Removed unnecessary methods from its.
2012-06-01 15:59:26 +00:00
Ivan Savenko
828d9e70d2
- one more crash at map loading
2012-06-01 11:35:31 +00:00
Ivan Savenko
4e92859cee
- fixed crash on loading of some maps
...
- minor fixes
2012-05-30 18:37:21 +00:00
Michał W. Urbańczyk
247fabc3a6
Seems to be actually a missing return and redundant check.
2012-05-29 23:22:28 +00:00
Ivan Savenko
faaf799d95
- fixed some extra warnings. Mostly harmless.
...
NOTE: Please check changes in BattleState.cpp and GameHandler.cpp for possible bugs
2012-05-28 19:29:32 +00:00
Michał W. Urbańczyk
77e7a25ed7
Fixed #970 .
...
Fixed issue where cursed ground obstacles were appearing on holy ground (and vice versa).
Fixed battle interface blocking itself up after clicking on owned stack to open creature window.
2012-05-26 11:01:31 +00:00
DjWarmonger
e0135ab6a6
Fixed Commander artifacts management, including #968 .
2012-05-25 15:10:38 +00:00
Michał W. Urbańczyk
41480a489e
Win compile fix ( #974 )
2012-05-25 14:53:56 +00:00
Ivan Savenko
49495c9caf
- possibly fixed #966 and #958
...
- fixed crash on shutdown
- fixed compile issue #973
2012-05-25 11:49:56 +00:00
Michał W. Urbańczyk
ee6e9fcc7f
Fixed #947 .
2012-05-22 21:08:16 +00:00
DjWarmonger
18e53a1717
- Fixed a scenario when AI could visit the town without picking troops, resulting in a lock
...
- Added ench0's patch for creature range tooltip (#948 )
2012-05-22 10:15:16 +00:00
Michał W. Urbańczyk
401d6816d1
Workaround for serializer allowing sending CStackInstance* pointing to commander. (and only CStackInstance*)
2012-05-21 23:39:35 +00:00
DjWarmonger
d34cf90bf7
Support for Chain Lightning.
...
Fixed getClosestTile function.
2012-05-20 11:40:23 +00:00
DjWarmonger
88639be91b
Enabled commander artifacts. Don't work yet.
2012-05-20 08:39:19 +00:00
Michał W. Urbańczyk
a234b4c935
Fixed #956 .
...
Removed unused code left after tests.
Updated changelog.
2012-05-19 22:57:24 +00:00
DjWarmonger
6419f953cb
Some (disabled) work for commander artifacts. Hero artifacts window seems broken.
...
Minor fixes.
2012-05-19 18:27:23 +00:00
Ivan Savenko
665837d656
- hopefully better town development for AI
...
- fixed minimap blitting
- fixed crash on attacking town without moat
2012-05-19 16:22:34 +00:00
Ivan Savenko
6f6cd6814e
- fixed wrong battlefield ( #961 )
...
- minor tweaks
2012-05-19 11:47:26 +00:00
Michał W. Urbańczyk
d2756e8c88
Partial fix for #961 .
...
Minor fixes for VS project files.
2012-05-18 22:47:54 +00:00
Michał W. Urbańczyk
d168f3eac2
* Implemented Moat functionality during siege (stops movement and deals dmg)
...
* Mostly implemented battle spells:
- Fire Wall
- Force Field
- Land Mine
- Quicksands
2012-05-18 20:50:16 +00:00
DjWarmonger
5435101182
Lots of fixes and improvements for Commander interface.
2012-05-18 19:44:15 +00:00
Ivan Savenko
45c2809a40
- pregame will use same resolution as main game
...
- disabled most of now unused code for changing resolution
- added missing spell effect sounds
- adventure map spells sounds
- remaining fixes for big endian systems
2012-05-18 17:35:46 +00:00
DjWarmonger
d491bc1c3a
Commanders can level up. It's non-interactive yet.
...
Printing secondary skills for Commanders.
2012-05-18 14:02:27 +00:00
Ivan Savenko
97aeaa9f28
- moved ColorPutter's to separate SDL_Pixels.h file
...
- added Channels namespace for accessing subpixels in format-independent way
- fixed several big-endian issues
- re-generated buld system
2012-05-17 10:44:48 +00:00
DjWarmonger
416c08260a
- Basic Commander window
...
- First part of unified quests interface
This graphics package is needed:
http://forum.vcmi.eu/viewtopic.php?p=6943#6943
2012-05-16 17:29:05 +00:00
Ivan Savenko
9efe05c90b
- removed usage of Graphics in several places (Components and hero window).
...
minor:
- fixed several deprecation warnings in video player
- config file may have multiple upgrades for creatures
2012-05-13 15:04:21 +00:00
Ivan Savenko
46f48f0676
- bugfixing:
...
-- fixed #942 and #898
-- removed dublicated code in dwelling loading, #900 is fixed
-- fixed roads rendering for #895
2012-05-11 19:03:40 +00:00
DjWarmonger
ee2768ab07
- Some work for commanders
...
- New creature window - visit forum for package with necessary graphics: http://forum.vcmi.eu/viewtopic.php?p=6908#6908
- More AI optimizations - heroes will be processed starting from the fastest one.
- AI will check is GATHER_ARMY object is reachable
2012-05-07 12:54:22 +00:00
Michał W. Urbańczyk
5449546447
Advanced work on support for Quicksand and Land Mine spells.
2012-05-04 21:16:39 +00:00
DjWarmonger
bd2a0c2a2b
"You have captured enemy artifact" window. All arts from commander & stacks will also be looted.
2012-05-02 08:37:11 +00:00
DjWarmonger
6f108c41df
Fix for previous commit. Now artifacts from defeated hero are passed to winner.
2012-05-01 14:38:53 +00:00
Ivan Savenko
f767216b2e
- (autotools) libdl check for freebsd
2012-05-01 12:38:41 +00:00
DjWarmonger
2fbc57e140
1. Better way to disable stack / cursor glitches
...
2. An attempt to handle looting artifacts after battle
2012-05-01 08:52:22 +00:00
Ivan Savenko
d479341a5a
- gcc compile and warning fixes
2012-04-30 12:13:36 +00:00
Michał W. Urbańczyk
13e6f00e18
Compile fix #945 .
2012-04-30 10:40:19 +00:00
DjWarmonger
25bdcd3cab
- Fixed wrong creature teleported
...
- Support for Sacrifice
2012-04-28 19:40:27 +00:00
DjWarmonger
192de453af
- Fixed Remove Obstacle spell
...
- Fixed freeze at Chain Lightning
2012-04-28 15:18:21 +00:00
DjWarmonger
d6873d7570
- No battle actions will be available during tactics phase
...
- Fixed moving stacks during tactics
- Fixed Genie spell targeting
- Fixed AI getting stuck at Tree of Knowledge when no resources
2012-04-28 13:01:39 +00:00
DjWarmonger
82f3bc8135
- Commanders will now be properly intialized
...
- Commanders show in the battle
2012-04-28 11:41:20 +00:00
Michał W. Urbańczyk
482051eb17
Tweaks for obstacles.
2012-04-24 05:16:04 +00:00
Michał W. Urbańczyk
2ad89a29c4
Missed the file.
2012-04-23 20:20:43 +00:00
Michał W. Urbańczyk
7dc0d6878e
Rewritten battle obstacles. New file for lib: CObstacleInstance.cpp.
...
Now obstacles should be placed exactly like they were in OH3.
All problems with displaying obstacles in battlefield should be gone. They should be now matched to the single pixel.
If there are still some discrepancies, please report them.
2012-04-23 19:56:37 +00:00
DjWarmonger
6d03e0bf23
One more thing.
2012-04-23 05:01:52 +00:00
DjWarmonger
9c9301a495
Various fixes.
2012-04-22 19:56:03 +00:00
DjWarmonger
96d198758c
- More commanders
...
- Improved finding closest tiles on battlefield
2012-04-22 17:38:36 +00:00
DjWarmonger
81e74f8c33
- Config settings & parsing for Commanders.
...
- Fix for Regeneration icon
2012-04-22 13:28:46 +00:00
Michał W. Urbańczyk
017013a5a4
Throwing runtime_errors instead of string (or even char*) objects.
2012-04-22 07:32:45 +00:00
DjWarmonger
05311dd30c
- Fixed and simplified Teleport casting
...
- Stack artifacts will now not be wearable by hero (by default)
- Fixed crash involving clone
2012-04-18 13:24:18 +00:00
DjWarmonger
f720038ca5
- Battle interface fixes. It's possible to move stacks & attack
...
- Creature window allows to pass stack artifact to hero
- Fixes for Mana Drain, including #916
2012-04-17 14:50:23 +00:00
Michał W. Urbańczyk
cd4c93318d
#928 and #931 should be fixed.
...
Ignoring savegames from newer versions of VCMI.
2012-04-17 12:46:21 +00:00
DjWarmonger
294276ea13
- Second part of battle interface.
...
- Testing for Stack Artifacts feature.
2012-04-17 08:46:09 +00:00
Ivan Savenko
66f5b5e2d7
- gcc compile fixes
2012-04-14 16:28:36 +00:00
Michał W. Urbańczyk
b5526f0f54
Fixed #925 .
2012-04-14 07:22:08 +00:00
Michał W. Urbańczyk
722ec55384
Redid stack artifacts. Broken save compatibility. Added serializer support for boost::variant and sending CStackInstace* over network by implicitly passing IDs. Moved seeds and checksum to StartInfo. Various minor changes.
2012-04-14 02:20:22 +00:00
Michał W. Urbańczyk
d55d48b978
Diagnostics for #924 .
2012-04-10 02:30:43 +00:00
Ivan Savenko
f426a48d09
- fixes for gcc-4.7
...
- added missing virtual destructors (new warning from gcc)
2012-04-08 10:34:23 +00:00
Michał W. Urbańczyk
d6223dd137
Fixed #686 .
...
Minor changes.
2012-04-08 02:29:11 +00:00
Michał W. Urbańczyk
9f6270a1f7
Fxied #306 and #856 .
2012-04-08 02:14:20 +00:00
Michał W. Urbańczyk
b874295b3a
Really fixed #918 .
2012-04-08 01:43:40 +00:00
Michał W. Urbańczyk
69da179abb
Fixed #918 .
2012-04-08 01:26:33 +00:00
Michał W. Urbańczyk
3bf76cb719
Fixed #216 and #907 .
...
* CTRL+T will open marketplace window
* T in adventure map will switch to next town
* T in castle window will open a tavern window (if available)
* G will open thieves guild window if player owns at least one town with tavern
* various minor changes
2012-04-08 01:15:18 +00:00
Michał W. Urbańczyk
7317e803db
Locking pim mutex in client pack handling method, instead of dozens playerint call-ins. GUI won't try updating in between gamestate change and call-ins about it. Should fix #912 .
...
Minor changes.
2012-04-06 15:02:15 +00:00
DjWarmonger
038d105bcc
- first sketch of Commanders
...
- accumulateBonus should make mechanics simpler
2012-04-04 17:41:55 +00:00
Michał W. Urbańczyk
c61f536d8b
* fixed remaining parts of #760
...
* it's possible to switch active creature during tacts phase by clicking on stack
* a few minor fixes after handleHex rewrite
2012-04-02 23:23:14 +00:00
Ivan Savenko
1415f8dbf5
- fix for boost 1.49
2012-04-02 11:14:38 +00:00
Michał W. Urbańczyk
1eeebdee10
Fixed #914 .
2012-04-01 12:35:33 +00:00
Michał W. Urbańczyk
c80d9b0a51
Possibly "fixed" #915 .
...
Fixed server output (printing ui8 as %d apparently breaks boost.format :/).
2012-03-31 15:10:16 +00:00
Michał W. Urbańczyk
a9af0da0ab
Rewritten handling mouse movement over hex and l-clicking hex into one procedure. That way the tooltip and cursor are always accurate, because they're set by the same routing that selects action. Having that logic duplicated in two methods was unmaintainable. [though the new one is still monstrous...] By the way fixed numerous issues, including:
...
* #785 and parts of #760
* first aid tent can heal only creatures that suffered damage
* war machines can't be healed by tent
* creatures casting spells won't try to cast them during tactic phase
* console tooltips for first aid tent
* console tooltips for teleport spell
* cursor is reset to pointer when action is requested
* fixed a few other missing or wrong tooltips/cursors
Implemented opening creature window by l-clicking on stack. Master Genie's spell is picked by server, not client.
Minor changes.
2012-03-30 21:36:07 +00:00
DjWarmonger
81367ef6d5
- A complete solutions for reserved adventure objects
...
- AI won't get stuck at School of War / School of Magic when no money
2012-03-29 18:26:06 +00:00
Michał W. Urbańczyk
3cf4ebc163
Little more work on #760 :
...
* no tactics in creature banks
* no spellcasting during tactics phase
2012-03-28 21:54:43 +00:00
Michał W. Urbańczyk
c698181c4c
* simple mechanism for detecting desync after init
...
* moving stacks in tactics phase won't affect stack queue (part of #760 )
* moved all boost headers in server to PCH
2012-03-27 20:08:54 +00:00
Michał W. Urbańczyk
13f26fc3cb
* Client is able to await for answers for multiple queries at the same time
...
* Hackish solution allowing AI undertaking actions from event-handling thread
* Fixed crash when death stare or acid breath activated on stack that was just killed
* minor fixes
2012-03-25 22:46:14 +00:00
DjWarmonger
a3f36ccc71
- Unified interface for visitable objects
...
- AI will manage visitable objects smarter
2012-03-14 13:02:38 +00:00
DjWarmonger
9518474ec7
First attempt to replace rule-of-a-thumb behavior with actual reasoning
...
- GATHER_ARMY goal replaces wander function
- Heroes will remember their own goals until they are fulfilled
- Goal search handles mutual dependency
- AI will recruit multiple heroes for exploration
- Lots of tweaks
2012-03-13 12:47:47 +00:00
Ivan Savenko
f2f39f1497
- makefiles for fuzzylite ( #911 )
...
- fixes for gcc compilation
- fixed #908
2012-03-12 20:11:46 +00:00
DjWarmonger
88e9dec974
Fixed Thieves Guild window showing for all players.
...
It needed 11 files modified... :/
2012-03-07 14:05:54 +00:00
DjWarmonger
0793ce2c4a
AI will now always pick best stacks from towns.
...
It will also crash when picking stacks from objects, work in progress.
2012-03-06 18:49:23 +00:00
Michał W. Urbańczyk
d0e259864e
* Replaced boost::shared_ptr with std::shared_ptr.
...
* Brought shared_ptr and unique_ptr and their factories (make_shared, make_unique) to the global scope.
* Removed excessive usage of shared_ptr in bonus system interface.
* Fixed bonus system limiters/caching interactions. That covers #823 , #859 and a number of rare edge-cases.
* Implemented multiple-step limiters applying, fixing hasAnotherBonusLimiter and allowing transitional dependencies between bonuses.
* Bonus system should be slightly faster, since we cache limited bonuses. Some rare usages (limiting query against a foreign node) however can't use caching.
2012-03-06 16:59:55 +00:00
DjWarmonger
3e351f029c
Fixed creeps regenerating casualties from won battle at the start of new week.
2012-03-06 08:39:05 +00:00
DjWarmonger
bdd71b4f38
AI can now use external dwellings.
...
AI will weekly revisit dwellings & mills.
2012-03-05 19:11:28 +00:00
DjWarmonger
cd0ed39fbf
Implemented rule-based evaluation of tactical advantage between armies.
...
AI will creep more agressively and smarter.
2012-03-04 10:43:46 +00:00
DjWarmonger
c5007f8bef
Fixed #891 .
...
Minor tweaks.
2012-03-03 12:42:53 +00:00
DjWarmonger
998d8bf501
Added trivial fuzzy logic to handle creature banks estimation.
...
Check http://forum.vcmi.eu/viewtopic.php?p=6570#6570 for new library used.
2012-03-03 10:08:01 +00:00
Michał W. Urbańczyk
ebfbccdd0e
Post-release version bump.
2012-03-01 23:14:16 +00:00
Michał W. Urbańczyk
2bea93f43f
Version set to 0.88. Put release date into changelog.
2012-03-01 15:45:43 +00:00
DjWarmonger
18b1b83c8a
Fixed creatures casting aimed spells at dead stacks.
2012-02-29 13:47:57 +00:00
Michał W. Urbańczyk
f2642cb62c
Added VCAI and EmptyAI to the VS solution. Removed from it GeniusAI.
...
Fixed #329 , #884 , #885 .
2012-02-29 01:31:48 +00:00
Michał W. Urbańczyk
e7603a1fee
One more thing for dev release — bump save format (so the old saves won't crash us).
2012-02-22 22:32:23 +00:00
Michał W. Urbańczyk
3546c7841a
* Possibly fixed #870
...
* Fixed crash after catapult successfully destroyed one of turrets (stack queue wasn't properly updated)
2012-02-22 17:43:59 +00:00
Michał W. Urbańczyk
d9a78ff1ce
* fixed #871
...
* dead stacks won't be also shaded as possible targets
2012-02-22 14:31:53 +00:00
Michał W. Urbańczyk
e18419f5d2
* adventure map GUI should be properly blocked during AI turn
...
* battle window will wait till all dialogs are closed
* fixed problems with AI working after the game ended
* fixed problems with overzealous redrawing of infobar
2012-02-22 13:41:27 +00:00
Ivan Savenko
08417cd42a
- fixed battle obstacles positioning ( #769 )
...
- removed unused Makefile.amiga and Makefile.x
2012-02-22 12:44:46 +00:00
Ivan Savenko
fd625fe87d
- enabled fix for #866
2012-02-21 14:18:58 +00:00
Ivan Savenko
354b9e7fb3
- fixed #793 and #865
...
- fixed #866 but may result in performance decrease
- (deb) removed vcmi-doc package
2012-02-21 14:08:42 +00:00
Michał W. Urbańczyk
5afa5cfb54
* fixed #863 — all members of team will receive notification about FoW change
...
* fixed #486
* removed reference to a deleted file from lib VC project file
2012-02-20 21:01:54 +00:00
DjWarmonger
386ac80cf9
Fixed #855 & 861. Unsigned values were bad idea to prevent overflow.
2012-02-20 16:26:14 +00:00
DjWarmonger
329f39bb2a
Fixed #837
2012-02-20 11:02:19 +00:00
DjWarmonger
5e14d17ed3
Fixes for r2543.
2012-02-20 09:50:49 +00:00