Michał W. Urbańczyk
046e54563c
* fixed project files for RD configuration
...
* fixed crash when creature is casting Hypnosis (ie. exped Vampire Lords)
* fixed crash when creature is casting Cure before attack (ie. exped Unicorns)
* fixed crash when creature is summoning elemental (TODO fix it)
* fixed crash when doing a bonus system operation with a hero liberated from prison (ie. entering town or battle)
* fixed deadlock when StupidAI tried to assault the turrets
* fixed never ending siege when StupidAI has to use catapult (no more deadlocks on AI-AI siege)
* fixed deadlock when a hero received a level during another player's turn (ie. when he successfully defended)
* AI can win the game by defeating all enemies if there is a specific victory condition applying only to human players
* added options to help testing adventure map AI (--onlyAI, --autoSkip and --oneGoodAI).
* many minor changes
2012-01-03 01:55:26 +00:00
beegee1
156aa6e4d9
* Updated class - file - handling
...
* Renamed color constants
* Renamed class AdventureMapButton to CAdventureMapButton
* Moved basic controls like CTextBox from GuiClasses to CIntObjectClasses
* Moved new creature window from GuiClasses to CCreatureWindow
2011-12-22 13:05:19 +00:00
beegee1
2f5d6f2684
* CHexField renamed to CBattleHex
...
* CHexFieldControl renamed to CClickableHex
* CCreatureAnimation.cpp/.h moved to BattleInterface/CCreatureAnimation.cpp/.h
* Removed unused project files
* Added VCMI_client filters file for VS 2010
* Gathered common parts of StdInc.h in Global.h
* Boost.Spirit has been included in PCH for ERM project
* StopWatch renamed to CStopWatch
* GuiBase.cpp split up in UIFramework/...
2011-12-17 18:59:59 +00:00
beegee1
7f04ed990b
Major refactoring. First part: BattleInterface
...
Introduction of pre compiled headers,...
2011-12-13 21:23:17 +00:00
DjWarmonger
95f23cf20f
Support for Bind ability.
2011-10-17 08:24:51 +00:00
DjWarmonger
b4d0ebf9ab
Support for Mana Channeling ability.
2011-10-09 11:23:24 +00:00
DjWarmonger
5e40d3da72
Support for Enchanter ability.
2011-10-09 07:20:23 +00:00
DjWarmonger
d607d90a91
Support for Fear & Fearless ability.
...
Ogre Magi can now cast too.
2011-10-08 17:10:43 +00:00
DjWarmonger
0903d6037c
New pack - BattleEffectTrigger for various one-shot effects with animation
2011-10-08 13:02:58 +00:00
DjWarmonger
f4fc77ccb8
Creature spells are now functional.
...
It includes Master Genie, Archangel, Faerie Dragon & Elementals
2011-10-08 09:11:36 +00:00
DjWarmonger
f1f416c890
Fixed (unnecessary?) deadlock in BattleStacksRemoved. Daemon summoning is pretty functional.
2011-10-02 13:59:12 +00:00
DjWarmonger
07b8f87fb7
Partial support for Daemon Summoning.
...
It freezes for unknown reason, but still.
Minor fixes.
2011-10-02 07:16:34 +00:00
DjWarmonger
6fdb984799
Lots of refactoring & work for creature spells.
...
No new features yet, but summon elementals now work properly again.
2011-10-01 19:56:54 +00:00
Frank Zago
c4b8039c1e
Added a missing rturn in CGameHandler::isAllowedExchangeForQuery. Fixed several typos.
2011-09-24 01:15:36 +00:00
Michał W. Urbańczyk
18444fc72f
Rewritten code handling growth to eliminate duplication and make it conformant to OH3 mechanics. Proper support for Statue of Legion.
...
Displaying shield over minimap during AI turn.
2011-08-26 20:32:05 +00:00
DjWarmonger
864f758ad8
Some movements towards creature artifacts.
...
Minor improvement - Summon elemental can now benefit from hero's special.
2011-08-13 10:54:23 +00:00
beegee1
f609c4ad9a
* Fixed #33 -> Creatures tend to stop at every hex during movement
2011-08-01 17:36:18 +00:00
beegee1
62c43451ef
* Updated bonus caching -> faster in particular cases, operations by limiter objects aren't cached
2011-07-16 13:57:25 +00:00
beegee1
55e7959fd9
* Bonus system caching updated, partially rewritten, much more robust, thread-safe
...
* Adjusted projectile speed, trebuchet canon speed
2011-07-13 18:39:02 +00:00
DjWarmonger
5269e845fd
handling of Rebirth ability for Phoenix.
...
However, I've got no idea how to restore its animation to alive state.
2011-07-08 14:54:20 +00:00
Michał W. Urbańczyk
b3234e8bfa
* CGameInterface.h/.cpp moved from client project to lib (and, appropriately, to lib subfolder).
...
* New files in lib: ResourceSet.h/.cpp -> containing new structure for managing resources logic
* Minor changes and fixes
2011-07-05 06:14:07 +00:00
Michał W. Urbańczyk
212bc13ad6
Fixed #755 and #759 .
2011-06-25 14:22:19 +00:00
DjWarmonger
bdce46ab60
Minor refactorings, fixes & improvements.
...
Moved CArtifactSet to ArtHandler. ObjectHandler is already too messed.
2011-06-24 17:43:02 +00:00
DjWarmonger
423fd2ffb7
Fixed #756
...
Extended range (ui64) for army strenght.
2011-06-21 09:31:08 +00:00
Michał W. Urbańczyk
3ca95ef5ed
Fixed #730 :
...
* crash on +5 growth week
* crash on spawning wandering creatures on double growth months
(how come that has not been found in previous build?)
More logging for #729-like issues.
2011-05-28 01:02:28 +00:00
Michał W. Urbańczyk
528f0363a1
Fixed crash after a battle when resurrection was cast.
...
[However the spell still is not implemented correctly... :/ ]
2011-05-25 20:44:18 +00:00
Michał W. Urbańczyk
8e57dba850
Fixed #658 and #699 .
...
Checking for water availability won't cause spurious warnings. New creature window enabled for testing.
2011-05-25 14:48:49 +00:00
Michał W. Urbańczyk
617e1f962e
New files for lib:
...
* lib/ERMScriptModule.cpp
* lib/ERMScriptModule.h
* lib/CObstacleInstance.h
More jugglery with callbacks. Moving stuff from CGameState to CGameInfoCallback. Work on unified game events interface for player (AI or GUI) and script module. Directing events to ERM interpretetr, first attempts of calling some triggers. Crashy, if there any scripts.
Some other changes, including fighting amount of includes in includes and tracking of hero visits (need further work).
2011-05-09 22:20:47 +00:00
DjWarmonger
a4d845688a
Support for Poison, Age, Disease
...
Partial support for Stone Gaze, Paralyze, Mana drain
Partial fix for #134 - animation triggers only for our own stacks, not enemy's
Lots of tweaks & fixes.
2011-04-25 09:03:13 +00:00
DjWarmonger
7e9033c44f
Fixed #668 and #718 .
...
Hero is now properly attached to his special.
Compile fix for ERM Parser.
2011-04-23 09:57:51 +00:00
Michał W. Urbańczyk
5cc9d16014
Fixed #276 .
2011-04-22 22:28:13 +00:00
DjWarmonger
15d80d040f
Correct handling of merging & moving stacks with experience.
2011-03-27 09:31:14 +00:00
DjWarmonger
869214f44b
Resolved #710 .
...
Minor fixes.
2011-03-08 07:40:14 +00:00
Michał W. Urbańczyk
a46ad0b7ef
Next set of fixes, mostly for deserialization.
2011-02-22 09:47:25 +00:00
Michał W. Urbańczyk
4c9edd3f06
Many fixes around bonus system. Some basic propagation mechanism (not clever but works).
2011-02-21 04:13:00 +00:00
mateuszb
519a4186de
* fixed bugs 470 and 523
...
* minor improvements
2011-02-20 18:32:39 +00:00
DjWarmonger
a5a493bfc1
Stack experience more or less handled. Neutrals get 10K xp every day.
2011-02-13 13:11:09 +00:00
mateuszb
fcdc3f0bdd
Various changes, including exprank limiter and development towards Tactics secondary skill support.
2011-02-12 16:12:48 +00:00
Michał W. Urbańczyk
9f90ef58ca
Some work towards Eagle Eye skill support.
2011-02-11 19:12:08 +00:00
Michał W. Urbańczyk
ab20e024c0
Various fixes and improvements around kill hero and kill monster quests. A few minor unrelated fixes.
2011-02-11 12:27:38 +00:00
Michał W. Urbańczyk
c6db92c0be
More development around bonus system: building hierarchy, managing morale bonuses. Fully functional Spell Scroll and Angelic Alliance artifacts. Fixed recruiting hero and moving hero to garrison.
2011-02-04 14:58:14 +00:00
Michał W. Urbańczyk
a75a37008f
Practically finished combined artifacts changes, many other fixes.
2011-01-28 02:11:58 +00:00
Michał W. Urbańczyk
e6d577c233
Mostly done combined artifacts.
...
[assembling, disassembling, moving, picking]
2011-01-23 23:49:17 +00:00
Michał W. Urbańczyk
3fde9e45df
Partially redone combined artifacts.
2011-01-22 03:43:20 +00:00
mateuszb
824d2b52db
* more or less fixed spells
...
* certain hero specialties are still broken
2011-01-20 19:57:12 +00:00
mateuszb
2451c0dea6
* a bit better stack reversing
...
* FoWChange uses unordered_set instead of set
2011-01-20 17:25:15 +00:00
Michał W. Urbańczyk
898ad292ea
A few fixes for artifacts.
2011-01-18 18:56:14 +00:00
mateuszb
98494a5e6f
* defensive stance implemented (bug #342 fixed)
2011-01-18 17:23:31 +00:00
Michał W. Urbańczyk
502bb5392e
The last set of fixes for non-combined artifacts operations.
2011-01-15 17:58:08 +00:00
Michał W. Urbańczyk
a940daba5e
A handful of fixes for artifacts, minor for for battles.
2011-01-15 02:17:56 +00:00
mateuszb
957f1764d7
* some progress in StupidAI
...
* refactoring of battle handling
WARNING: strange crash on entering battle
2011-01-07 10:48:31 +00:00
Michał W. Urbańczyk
401b364ad7
Partially functional artifact screen.
...
[TBD compound artifacts, backpack arranging, "live" modifying values, many details]
2011-01-06 20:00:19 +00:00
Michał W. Urbańczyk
ebb9c84da9
Artifacts, updated map loading.
2010-12-30 14:41:46 +00:00
Michał W. Urbańczyk
c9189119b9
Little more work on artifacts.
2010-12-29 21:04:22 +00:00
Michał W. Urbańczyk
471c23ba71
Compile fixes, more work on new artifact system.
2010-12-26 14:34:11 +00:00
mateuszb
b3fd14b524
* splitted CGameState into general game state and battle game state
...
* added missing fields to serialize in CHero
2010-12-25 19:23:30 +00:00
mateuszb
4929cf9782
* enum for secondary skills
...
* THex for battle positions
* towards removal of battleGetStackByID
TODO:
investigate the necessity of putting implementation of BattleAction CGlobalAI::activeStack( const CStack * stack ) in CGeniusAI.cpp
2010-12-23 20:18:10 +00:00
Michał W. Urbańczyk
2fe8b07f4f
Little more development for duel mode.
2010-12-23 00:33:48 +00:00
mateuszb
49083c4e5a
* ConstTransitive CGI more or less done
...
* hch contents distributed to more appropriate folders
2010-12-20 21:22:53 +00:00
mateuszb
8b831c1f46
Const-transitiveness of CGI almost reached
2010-12-20 13:04:24 +00:00
mateuszb
b15deaa203
* more constTransitivePointers in GameInfo, separated client GUI classes from it, moved def handlers from CGDefInfo
2010-12-19 14:39:56 +00:00
mateuszb
5806976a9a
* towards ConstTranssitivePointers in CGI
2010-12-18 22:11:28 +00:00
mateuszb
23c501b79e
some changes
2010-12-17 18:47:07 +00:00
Michał W. Urbańczyk
e301256f92
Adjusted player interface to new set of stack operations.
...
Const transitive ptr.
2010-12-14 21:55:23 +00:00
Michał W. Urbańczyk
f7f917845c
Merged changes from trunk ( r1885 )
2010-12-14 18:08:21 +00:00
mateuszb
3989afd153
* more const-correct interface
2010-12-13 20:16:18 +00:00
Michał W. Urbańczyk
f020562570
Merged changes from trunk.
2010-12-05 23:26:56 +00:00
Michał W. Urbańczyk
848a00bc6f
Stacks #4 -> giving creatures still needs to be fixed.
2010-12-05 23:10:02 +00:00
mateuszb
efedb1a55a
* minor cleanup
2010-12-04 19:15:20 +00:00
Michał W. Urbańczyk
fdb541d81e
Stacks #3 -> towards new system of stack operations.
2010-11-27 20:17:28 +00:00
Michał W. Urbańczyk
7c3f3d20c3
Stacks #2 -> towards new system of stack operations.
2010-11-27 01:46:19 +00:00
Michał W. Urbańczyk
32ce20af15
Moving stack system to pointers, part #1
2010-11-22 00:34:46 +00:00
Michał W. Urbańczyk
9250cc8adf
Separated CStack and CStackInstance.
2010-11-20 17:36:02 +00:00
Michał W. Urbańczyk
27f83ea8c3
Further work on bonus system.
2010-11-20 00:03:31 +00:00
Michał W. Urbańczyk
cdf7b2b4d9
Bonuses now use pointers.
...
Things are very broken.
2010-11-18 22:06:56 +00:00
Michał W. Urbańczyk
083d2e0e26
Fixed crash on removing artifact.
2010-11-10 00:08:29 +00:00
Michał W. Urbańczyk
bce805dacc
Restored Warmonger's changes to artifacts system.
...
They will be subject of my further work, along with next part of bonus system.
2010-11-10 00:06:25 +00:00
Ivan Savenko
9771dd12ff
- changes in LodHandler:
...
-- file type (text, image...) can be specified in getFile(), all hacks removed
-- replaced Nodrze with std::set
- some gcc warnings fixed
2010-11-09 11:27:58 +00:00
DjWarmonger
1f2e9bf9c2
Added important fix reverted in r1817.
2010-10-31 07:11:28 +00:00
Michał W. Urbańczyk
aa131bbf15
Reverted r1811, r1812, r1813
2010-10-24 11:23:43 +00:00
DjWarmonger
6cadd47f0d
Fixes for artifact system - instances are serialized and synchronized. However, still some serializer issue prevents Scroll from working.
2010-10-09 18:38:32 +00:00
DjWarmonger
b75cf89f86
Partial support for customizable artifacts and Spell Scroll. Still doesn't work, though.
2010-10-03 17:52:11 +00:00
DjWarmonger
0f314e106c
Artifacts will now be handled by pointers.
...
Assembling & disassembling combos may be buggy, but it's already been before.
2010-10-03 07:07:53 +00:00
DjWarmonger
2c43707661
More fixes for weeks & growths.
2010-10-02 09:43:22 +00:00
DjWarmonger
bfe266a377
Moved battle effects to bonus system. May be buggy.
...
Moved creature damage to bonus system, simplified its handling. Some changes and tweaks.
Support for Adela's bless.
2010-08-30 18:06:17 +00:00
DjWarmonger
c7f8f0a967
Support for creature weeks and Deity of Fire is now complete.
2010-08-26 07:23:08 +00:00
DjWarmonger
ea966a3d21
Creature weeks now work fine. Castle interface still needs to be updated.
2010-08-25 08:40:50 +00:00
DjWarmonger
630dc7f7f2
Next part of creature weeks code.
2010-08-24 14:26:57 +00:00
DjWarmonger
70a158ba55
Fixes for random creature spawns. VCMI will display info about different weeks (though they are not supported yet).
2010-08-22 18:21:45 +00:00
DjWarmonger
f6b97704c7
Partial support for random wandering stacks. Well, they are not 'that' random as don't use global ran() function.
2010-08-22 07:11:46 +00:00
Ivan Savenko
d732565002
- blocked retreating from castle. Escape Tunnel implemented.
...
- fixed crash when player have no hero (like castle defence)
- minor fixes
2010-08-19 11:03:33 +00:00
DjWarmonger
6f022e02bb
Fixed #583 . Minor fixes.
2010-08-15 16:24:58 +00:00
Ivan Savenko
3c868146a6
- linux fix for BuildingHandler
...
- #584 should be fixed
- first part of ally support:
-- shared FoW
-- function Callback::getPlayerRelations for team checking
2010-08-03 12:34:06 +00:00
mateuszb
c06de1f1ce
* improved campaign handling - bonus selection screen is mostly functional
...
* preliminary support for giving campaign bonuses (resources and spells, artifacts, skills for generated hero are given)
* differing the amount of resources given to AI and human players
* minor changes
2010-07-31 13:55:05 +00:00
DjWarmonger
a8bb13cbcd
Secondary skill bonuses will now be correctly updated on level-up.
2010-07-21 17:05:07 +00:00
Michał W. Urbańczyk
7ae02b7c5a
Fixed #471 .
...
Bonuses from artifacts are now inherited. Some work on artifacts set GUI. CArtifactsOfHero now operates on its own hero copy when picking artifact. Still more fixes are needed though.
2010-07-20 18:34:32 +00:00
DjWarmonger
7afc478ff4
Resolved #487
...
Minor fixes.
2010-07-19 18:30:51 +00:00
DjWarmonger
49beed4e42
Support for secondary skill specialities. Lots of changes, may be buggy.
2010-07-17 17:02:11 +00:00
mateuszb
a7d3c5fbca
* minor cleanups
2010-07-16 14:22:18 +00:00
DjWarmonger
ab8e24c490
Hero speciality in creatures (growing with level) is now ready.
...
Fixed Tree of Knowledge giving only 2^31 XP.
2010-07-13 19:55:13 +00:00