DjWarmonger
b8a5d0d430
Stack artifacts - part 1
2012-01-30 16:07:52 +00:00
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
7f04ed990b
Major refactoring. First part: BattleInterface
...
Introduction of pre compiled headers,...
2011-12-13 21:23:17 +00:00
Michał W. Urbańczyk
8b7a2f179c
* Server will strictly require answering the queries before taking any actions. Let me know, if this causes any freezes.
...
* Fixed crash on new week after we lost battle with neutral monster but killed the top stack (merging failed then).
* minor changes
2011-09-06 06:00:32 +00:00
Michał W. Urbańczyk
6b9e64de91
Lazy updates of hero paths.
2011-09-03 02:54:33 +00:00
Michał W. Urbańczyk
4c3ed24fe1
Fixed #768 . More logging for #774 .
...
Fixed crash on town time event (-1 and -2 "structures" present on buildings list).
2011-08-25 20:02:38 +00:00
Michał W. Urbańczyk
3152e6d540
Fixed #771 , #772 and #787 .
...
Some minor changes and fixes.
2011-08-25 15:24:37 +00:00
Michał W. Urbańczyk
79f5b29196
Various player/AI interface related fixes and improvements.
2011-07-17 18:49:05 +00:00
Michał W. Urbańczyk
ed056cf0df
Set of minor improvements and fixes.
2011-07-05 19:05:41 +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
Michał W. Urbańczyk
2d61fab7e9
* Probably fixed #655 .
...
* Fixed #736 , #737 .
* Fixed crash on loss/victory.
* Fixed crash on loading some AB maps.
* Fixed crash on loading map where victory/loss condition objective hero was placed inside the town.
* Fixed crash on loading map when neutral Dungeon has built Portal of Summoning.
* Mutex protecting GS will be used to prevent changes in GS when GUI might read it.
* Little more securities around moving hero and ending turn, still needed more.
2011-05-29 23:49:25 +00:00
Michał W. Urbańczyk
b4144dc616
Callback jugglery, part 1.
...
Fixed #252 .
2011-05-03 03:14:18 +00:00
Michał W. Urbańczyk
a461326380
Fixed #634 and #703 .
2011-03-12 22:29:19 +00:00
Michał W. Urbańczyk
7dbf105f6e
Surrendering and related artifacts (Statesman's Medal,
...
Diplomat's Ring, Ambassador's Sash).
2011-03-05 16:38:22 +00:00
Michał W. Urbańczyk
23d0221611
One more fix for 0.83c build.
2011-02-27 21:05:53 +00:00
mateuszb
1dd05788c9
* fixed #53
2011-02-26 17:32:56 +00:00
Michał W. Urbańczyk
236345e61d
Fixed #674 , #675 , #676 , #677 .
2011-02-25 17:57:30 +00:00
mateuszb
ab4418917a
* artillery skill fixed
2011-02-24 15:33:03 +00:00
Michał W. Urbańczyk
cab8f9e11d
AI for neutral creatures and battles and player AIs can be different. StupidAI will handle neutrals by default.
...
Fixes for issues with deserialization and handling Tactics secondary skill.
2011-02-23 03:57:45 +00:00
mateuszb
6db7f1d610
* minor improvements in spell immunity handling
2011-02-22 13:44:34 +00:00
mateuszb
519a4186de
* fixed bugs 470 and 523
...
* minor improvements
2011-02-20 18:32:39 +00:00
mateuszb
4e631fc530
* fix for bug 573
...
* minor changes
2011-02-15 19:54:55 +00:00
Michał W. Urbańczyk
2f9ed138f6
Tactics more or less working (some improvements still needed, as proper updating battle GUI).
2011-02-14 20:31:53 +00:00
mateuszb
fcdc3f0bdd
Various changes, including exprank limiter and development towards Tactics secondary skill support.
2011-02-12 16:12:48 +00:00
mateuszb
d630d88ac1
* some work towards fix of 537
...
* 338 seems to be fixed
2011-02-10 14:44:21 +00:00
mateuszb
56ec829049
* minor refactoring
...
* minor improvements in battle interface
2011-01-09 17:41:46 +00:00
Michał W. Urbańczyk
a53ec23556
Stupid AI is capable of winning / losing battle.
2011-01-08 18:33:40 +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
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
Michał W. Urbańczyk
2cf6729eee
Towards duel support.
2010-12-25 01:43:40 +00:00
mateuszb
6383c9a013
* more extensive usage of CStack pointers instead of stack IDs
2010-12-24 21:44:48 +00:00
mateuszb
af2c4633ad
* partially done duel mode
...
* program options parsing via boost::program_options
* Stupid AI - a stupid battle-only AI
* precompiled headers for server and Stupid AI on MSVC
2010-12-22 20:14:40 +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
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
e677cd5b07
Merged r1880.
2010-12-11 20:30:33 +00:00
mateuszb
ad48681d91
* cleanup
2010-12-08 20:17:05 +00:00
Michał W. Urbańczyk
848a00bc6f
Stacks #4 -> giving creatures still needs to be fixed.
2010-12-05 23:10:02 +00:00
Michał W. Urbańczyk
9250cc8adf
Separated CStack and CStackInstance.
2010-11-20 17:36:02 +00:00
DjWarmonger
56cd172b82
Fixed #296
...
Partial fix for #314
2010-11-15 07:15:10 +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
Michał W. Urbańczyk
aa131bbf15
Reverted r1811, r1812, r1813
2010-10-24 11:23:43 +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
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
mateuszb
9aa6d0a7b9
* refactoring of map handler and minor changes
2010-08-16 13:51:31 +00:00
mateuszb
9445e5b184
* small refactoring
...
Please don't touch CGI->state directly in client code - use callbacks instead. I'd like to make some mechanics-critical handlers in CGI const - a lot of work, certain changes have been done here.
2010-08-16 09:54:09 +00:00
Ivan Savenko
fd45cd0a6d
- fix for #283
...
- ally support: adventure map
2010-08-13 10:46:08 +00:00
Ivan Savenko
520d40cc59
- uploaded config/settings.txt from 0.82 (fix for #605 )
...
- fixes for #604 and #364
- ally support is mostly done:
-- exchange between heroes
-- exchange between hero\town
-- finishing the game
2010-08-12 15:54:25 +00:00
Ivan Savenko
bdcdc89991
- University fix for #594
...
- Ally support:
- - fix for non-continuous players (notes to rev 1736)
- - objects visiting and shared puzzle map
2010-08-06 13:14:10 +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
54496ddee1
* player's serialID removed (save format broken, new game seems to work)
...
* building bonus (campaigns) supported
2010-08-03 11:36:52 +00:00
Michał W. Urbańczyk
fffef1d740
Changes towards Hill fort support.
2010-07-15 03:04:57 +00:00
Ivan Savenko
bb7615309f
- Implemented Portal of Summoning (Dungeon)
2010-07-10 16:50:23 +00:00
Michał W. Urbańczyk
1e30045541
Support for Tavern on adv map.
2010-07-08 23:03:27 +00:00
Michał W. Urbańczyk
d0ff61807d
Obtaining town instance pointer via cb. Plz, don't access gamestate directly from player interface! Everything has to go via callback.
...
Commented out giving starting artifact - new artifact randomization make it crashing. Please fix it.
New control - CTextBox - for multi-line text with optional slider. Used it for map description and info windows. Related changes. Fixes #22 and #96 .
2010-07-06 02:10:26 +00:00
Ivan Savenko
60c90af39c
#41 - Implemented Castle Gates
...
#375 , #376 - fixed recruit window
#362 , #377 - fixed town window
2010-06-30 19:27:35 +00:00
Michał W. Urbańczyk
1002bd2b4f
Trading Post handling.
2010-05-18 07:01:54 +00:00
Michał W. Urbańczyk
70fa697f8b
Support for War Machine Factory.
2010-05-15 08:33:32 +00:00
Michał W. Urbańczyk
921bddc35e
Some changes to the market window, sending resources to other players.
2010-05-07 22:10:32 +00:00
mateuszb
3c72644880
* teleportation implemented
2010-05-07 14:05:48 +00:00
OnionKnight
cc616616c1
* Creatures now guard surrounding tiles.
2010-05-06 12:13:31 +00:00
Michał W. Urbańczyk
a14606f32d
New bonus system. Unified HeroBonus and StackFeature. Still early version, will need improvements and development.
...
If you encounter any new crashes / bugs / unacceptable slowdowns, please PM me.
2010-05-02 18:20:26 +00:00
mateuszb
5d3d9689e8
* luck support
...
* support for distance/wall penalties & no * penalty abilities
* reworked damage calculation to fit OH3 formula better
2010-04-06 13:19:54 +00:00
mateuszb
943c433d3f
* moved mapHandler to client folder
2010-04-06 08:59:24 +00:00
Michał W. Urbańczyk
80f49badc9
Implemented Scuttle Boat and Dimension Door spells.
...
Fixed #417 and #418 .
Moved / refactored some code. Minor fixes.
2010-03-20 22:17:19 +00:00
Michał W. Urbańczyk
ad841f7fea
Implemented Summon Boat spell.
2010-03-10 23:16:30 +00:00
Michał W. Urbańczyk
9588e39e84
To be released as 0.75d. Fixed town list with hotseat. Fixed colouring hero window. Minor fixes.
2010-02-26 11:18:09 +00:00
mateuszb
3a76d72b69
* support for increasing / decreasing luck / morale for allies / enemies
...
* support for spell 77 (thunder-sth)
2010-02-24 18:11:08 +00:00
mateuszb
5b0d646ddb
* support for SPELL_AFTER_ATTACK, including most of spell 77 support
2010-02-23 15:39:31 +00:00
mateuszb
b2aa0e5930
* partial support for grail digging
2010-02-21 15:03:30 +00:00
mateuszb
80d42a5313
* next part of campaigns. Now all campaigns all available via custom campaign menu.
...
* puzzleMap now works
2010-02-18 14:09:16 +00:00
OnionKnight
ab75f4b1f8
Some work on artifact assembly.
2010-02-16 14:39:56 +00:00
Michał W. Urbańczyk
0fdbe787dc
* New file: lib/HeroBonus.cpp - updated project files for MSVC
...
* Updated changelog
* Support for Lighthosues and Obelisks
* Bonus system extended on players
* Army speed won't affect movement points when sailing
* Picking grail position (digging not implemented though, puzzle map only partially)
* Minor improvements
2010-02-10 02:56:00 +00:00
mateuszb
69bed4a8d6
* small changes
2010-02-07 15:06:14 +00:00
OnionKnight
137ab65a13
Fixed artifact screens so only local changes are made. Some ugly const casting, for now.
2010-02-05 22:28:31 +00:00
mateuszb
f5a719c2da
* next part of thieves' guild window
2010-02-01 17:51:33 +00:00
Michał W. Urbańczyk
5d74e61e3e
Hopefully fixed compilation. Unified line endings.
2009-12-30 07:49:25 +00:00
Ivan Savenko
def041a8c9
#39 and #106 - fixed cosmetic buildings behaviour
...
#102 - fixed config + requirements system
#161 - extended clickable rectangle
and some minor fixes
2009-12-29 13:40:16 +00:00
OnionKnight
0a96decf87
* Fixed the artifact screen completely, hopefully. Structural overhaul of the CArtPlace and CArtifactsOfHero classes, and I had to add a new server message SetArtifact to deal with things properly. The only thing that differs from H3 now is that you can't have gaps of empty slots in the backpack.
...
* Preliminary work on bug #112 , a bigArtifacts set is added to CArtHandler.
2009-12-01 23:19:43 +00:00
mateuszb
db4ee5844f
* implemented 206 and 207 from mantis
2009-11-08 14:44:58 +00:00
Frank Zago
fe80e8b553
Fixed some typos.
2009-10-31 16:33:11 +00:00
OnionKnight
95808db933
* Right-click info window for castles and garrisons you do not own shows a rough amount of creatures instead of none.
...
I don't really know under which circumstances no information at all is shown in the original H3 so I haven't dealt with that.
2009-10-25 19:32:02 +00:00
Frank Zago
1c54c639e4
Ensure hero destination tile exists. Fixes bug 73.
2009-10-23 02:11:45 +00:00
Michał W. Urbańczyk
fe7ef6bbe1
Smart map object serialization over net.
...
Fixed doubling click sound on map selection.
2009-10-06 00:32:33 +00:00
mateuszb
027b948a07
* damage estimation should be better
2009-09-21 12:48:28 +00:00
Michał W. Urbańczyk
efb1049860
* fixed crashes with paths when fastly switching heroes
...
* fixed and improved slider behavior
* fixed possible thread access conflicts
* support for attacking town with visiting hero
* fixed dwellings saving
* minor improvements
2009-09-12 22:17:23 +00:00
Michał W. Urbańczyk
956a87f264
* redone stack queue algorithm
...
* recalculating paths only after finished movement / switching selection
* moving hero uses "new" pathfinder
* moving hero by arrow keys / numpad
* VCMI window should start centered
* fixed pairing Subterranean Gates
* fixed issues with creatures sounds after loading
* several minor changes and improvements
2009-09-07 02:29:44 +00:00
mateuszb
a4df8e8831
* partial support for arrow turrets
2009-09-04 14:11:42 +00:00
mateuszb
5bfbcfb000
* next part of sieges
...
* partial implementation of berserk spell (unit does not always attack the nearest creature, wrong handling of situation when nearest stack is too far)
* ballista can shoot (it was considered to be always blocked instead of always free)
2009-09-02 14:10:19 +00:00
mateuszb
d25a5a795e
* next part of sieges
2009-09-01 13:54:13 +00:00
Michał W. Urbańczyk
ca7ee8936c
Implemented redesigned pathfinder. Using new info from it, implemented various adventure map cursors.
...
(Paths are still calculated using the old pathfinder, it will be changed soon)
2009-08-30 12:47:40 +00:00
mateuszb
8fac12f957
* estimating damage that will be dealt while choosing stack to attack
2009-08-29 17:09:07 +00:00
mateuszb
fceeb05e16
* a bit of pathfinder interface redesign
...
* a few fixes for sieges
* better wall parts' positions by Ivan
2009-08-28 09:03:58 +00:00
Michał W. Urbańczyk
6bdfddd0c4
Mostly implemented Scenario Information and Save Game windows. Adventure Options Window (crash after closing it is known, will be soon fixed). Several minor improvements for pregame. Arrogance will be selected by default when starting a new game.
2009-08-27 08:04:32 +00:00
mateuszb
adcfb3c020
* second part of sieges
...
* minor changes
2009-08-26 14:09:55 +00:00
mateuszb
2c7d7f4094
* first part of siege support
...
* minor fix
2009-08-24 12:55:05 +00:00
mateuszb
fe2085fe42
* support for new creature abilities: hate, spell cost decreasing, spell vulnerability
...
* fixed crash when vcmiistari is applied on hero without spell book
2009-08-23 13:41:57 +00:00
mateuszb
ef8f2e695f
* support for HP regeneration
...
* minor fixes
2009-08-22 14:39:44 +00:00