DjWarmonger
386ac80cf9
Fixed #855 & 861. Unsigned values were bad idea to prevent overflow.
2012-02-20 16:26:14 +00:00
Michał W. Urbańczyk
4baf4e13ed
* fixed #857 and #858
...
* fixed crash when AI attacked player before his first turn
* fixed various crashes when mass-effect spells affected town turrets in sieges
* some refactoring around spell positiveness
2012-02-16 21:19:07 +00:00
DjWarmonger
1cbd7e94e4
- Extended cap or removed sign for some values that may potentially overflow
...
- Fixed #851
2012-01-26 16:48:53 +00:00
beegee1
7f04ed990b
Major refactoring. First part: BattleInterface
...
Introduction of pre compiled headers,...
2011-12-13 21:23:17 +00:00
DjWarmonger
1e45674a7c
Fixed #832 . War machines will now be immune to a number of effects.
2011-10-29 11:12:30 +00:00
Michał W. Urbańczyk
9621cbcaa7
* fixed crash on calculating dmg dealt by stack under Curse
...
* fixed crash on sea battles (obstacles data got corrupted during conversion)
* fixed crash when StupidAI had a catapult
* minor fixes and refactorings (typename for bonus list under shared ptr)
2011-09-06 13:59:26 +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
Ivan Savenko
706510f12f
- gcc compile fixes
2011-07-13 23:36:37 +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
beegee1
488e54688f
* Bonus caching system disabled for the moment now. => #764
2011-07-05 18:29:48 +00:00
Ivan Savenko
a89895452a
- (linux) fixed searching/loading of scripting libraries
...
- (linux) moved AI libraries to /lib/vcmi/AI/lib*, ERM lib to /lib/vcmi/Scripting/*
- gcc compile and warnings fixes
2011-06-28 14:19:16 +00:00
DjWarmonger
9ca5d9048a
Fixed total spell immunity granted by 2212.
...
Improvements for Life Drain.
2011-06-25 15:05:01 +00:00
beegee1
5fdb5aa494
* Improved battle and bonus system performance (significantly faster in debug build, tip: use vs 2008, turn of hex field presentation)
...
* Implemented caching for the bonus system
2011-06-25 13:53:15 +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
Frank Zago
ff49b852df
Silenced several "warning: suggest parentheses around ‘&&’ within ‘||’": added some parenthesis, optimized a couple statments and fix a bug in another.
2011-05-30 19:20:14 +00:00
DjWarmonger
936005aa1c
Correct, yet ugly handling of Magic Resistance.
2011-05-29 18:28:50 +00:00
DjWarmonger
bc114a89f4
Partial support for immunities & receptive ability.
...
TODO: Immunity to direct damage spells.
2011-05-13 17:51:12 +00:00
DjWarmonger
515ab7e7c1
Support for Acid Breath (both effects are now separate).
...
Minor fixes.
2011-05-13 09:02:16 +00:00
DjWarmonger
dc0eb37da6
New creature window works in general, covering old functionalities and displaying new info. It's far from finished though.
2011-03-03 18:25:48 +00:00
Michał W. Urbańczyk
c5930893fd
Fixed #682 .
2011-03-01 10:19:05 +00:00
Michał W. Urbańczyk
03fdd22b1a
Version set to 0.83c, to be released as development build.
...
Code reorganizations in bonus system, allowing defining bonusNode-like classes.
Fixed some issues with artifact handling (proper updating of GUI when moving, minor fixes).
Restoring battle AI for neutrals after loading game.
2011-02-27 19:58:14 +00:00
Michał W. Urbańczyk
d7b586f1fd
Eliminating duplicated bonuses. Smarter getting [no code duplication].
2011-02-27 11:26:18 +00:00
Michał W. Urbańczyk
1afcaf2817
* CThreadHelper.cpp now belongs to VCMI_lib project
...
* fixed console on Windows (restored old code)
* GeniusAI won't get blocked when it has a hero with tactics in battle
* fixed an issue with switching turns in hot-seat mode when there is Cover of Darkness active
* suppressed bonus system console output: it goes only to the logfile
* [win32] setting thread names (debug purposes)
* minor fixes
2011-02-24 13:57:47 +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
Michał W. Urbańczyk
a46ad0b7ef
Next set of fixes, mostly for deserialization.
2011-02-22 09:47:25 +00:00
mateuszb
1458cf64c2
* fixed bug 298
...
* fixed INDEPENDENT_MIN bonus value type
* minor changes
2011-02-21 16:53:23 +00:00
Michał W. Urbańczyk
d36f8087aa
minor fix — duration has to be passed as ui16.
2011-02-21 04:24:46 +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
6db068f506
Fixed stacks speed and general parsing bug.
2011-02-14 21:08:29 +00:00
mateuszb
fcdc3f0bdd
Various changes, including exprank limiter and development towards Tactics secondary skill support.
2011-02-12 16:12:48 +00:00
DjWarmonger
c0f2b3f32b
Now parsing CREXPBON into Bonus System, with limiters. StackExperience class removed.
...
Exp ranks are now calculated, though exp is never set.
2011-02-11 08:20:26 +00:00
Michał W. Urbańczyk
979f77d900
Some preparations towards handling stack experience by the new bonus system. New nodes for controlling premies for creatures of given tier (level). Minor changes.
2011-02-10 13:12:53 +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
a940daba5e
A handful of fixes for artifacts, minor for for battles.
2011-01-15 02:17:56 +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
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
23c501b79e
some changes
2010-12-17 18:47:07 +00:00
Michał W. Urbańczyk
fc6d6e02a3
More fixes for stacks, some basic macro-based logging for bonus graph operations.
2010-12-11 23:11:26 +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
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
b2a4d857b5
Little more. Doesn't crash on startup.
2010-11-18 22:22:51 +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
9028684697
Disemboweling the system.
...
Things are broken now.
2010-11-13 20:26:15 +00:00
Frank Zago
dbe38a7062
A few bug fixes and arious warning fixes: unused code/variables, out of order initializations, ...
2010-10-30 21:53:41 +00:00
DjWarmonger
e481a4375b
Removed bonus system loop in GameState.
...
Moved some game settings to global.h
2010-09-30 13:15:18 +00:00
DjWarmonger
717141ab0b
Statue of Legion is finally functional.
...
You can see my attempt to create very generic handling of global effects, but I abandoned it since no other items might actually use it.
However, Statue's constituents are buggy, so may be assembling & dissasembling them. Most likely this issue is general.
2010-09-25 20:23:55 +00:00
mateuszb
608e26b453
* a few fixes for CStack.effects removal - more should come
2010-08-31 10:22:21 +00:00
DjWarmonger
30cf8b7e77
Fixes for previous commit.
2010-08-30 19:46:38 +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
6005e7a6ee
Implemented fixed set of creatures that can get week of double growth. Minor fix.
2010-08-29 07:49:04 +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
mateuszb
ec5fa1dc22
* Mutare's special ability
...
* implemented vial of dragon blood
* problems with teams discovered:
maps with noncontinuous player occupancy (e.g. only red and teal) crash on loading. hideTiles has obvious bugs - loop goes through teams and team numbers, but fw.player is set to team number, as is the 4th argument to getTielsInRange.
2010-08-06 10:46:40 +00:00
mateuszb
f41c85212f
* more appropriate calculation of spell level by SPELL bonus
2010-08-05 09:11:38 +00:00
Michał W. Urbańczyk
d79fa527a7
Implemented abandoned mine. Minor fixes.
2010-07-31 00:26:34 +00:00
DjWarmonger
115b626cfd
Support for damage bonus (Ciele, Luna). Creeps won't grow on first day.
2010-07-17 13:11:12 +00:00
Frank Zago
eecfa0f2bd
(g++) Compilation fixes.
2010-07-17 01:19:16 +00:00
Michał W. Urbańczyk
88e1636250
Fixed #15 , #224 , #370 , #516
...
Minor changes.
2010-07-13 05:25:40 +00:00
Michał W. Urbańczyk
fa4ee94cf9
Fixed #484 . Preliminary support for bonus limiters/
2010-07-12 10:20:25 +00:00
Michał W. Urbańczyk
bb80d4bc02
* support for build grail victory condition
...
* improved formula for necromancy to match better OH3
* Support for new town structures:
- Lighthouse
- Colossus
- Guardian Spirit
- Necromancy Amplifier
- Soul Prison
2010-05-14 02:18:37 +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
Michał W. Urbańczyk
9a632246de
Changes towards better bonus system.
2010-04-03 03:33:46 +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