1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-28 23:06:24 +02:00
Commit Graph

2194 Commits

Author SHA1 Message Date
AlexVinS
f1ab328a09 Cleanup 2014-11-27 17:08:19 +03:00
AlexVinS
75b93b070d Implemented configurable hit/affect animation
* need more testing
2014-11-27 16:51:16 +03:00
AlexVinS
f4cf12d3f8 Fix a crash 2014-11-27 00:53:08 +03:00
AlexVinS
256894d18a Use configuration for spell projectile 2014-11-27 00:27:38 +03:00
AlexVinS
242aa72796 Implemented loading of new spell configuration parameters 2014-11-26 22:39:27 +03:00
AlexVinS
16d08b062a First draft of spell animation configuration 2014-11-26 22:25:13 +03:00
AlexVinS
b31ed0e4ea Use SetMana packet in battle 2014-11-26 13:30:55 +03:00
AlexVinS
fe1233310f Centralize dispell mechanics 2014-11-25 23:59:21 +03:00
AlexVinS
756c19227b update VS project. untested. 2014-11-25 22:47:28 +03:00
AlexVinS
ca5391cde6 Get rid of handleSpellCasting 2014-11-25 22:00:04 +03:00
AlexVinS
2a75c432e0 Remove 2 unused methods 2014-11-25 19:45:50 +03:00
AlexVinS
fa9c1e8637 remove healedHP calculation from battlestate 2014-11-25 19:43:34 +03:00
AlexVinS
20a058f3f9 Formatting & cleanup 2014-11-25 18:27:18 +03:00
AlexVinS
6d4cd1c91b Copying of handleSpellCasting finished 2014-11-25 17:37:42 +03:00
AlexVinS
a387ad0d09 Continue moving spell cast logic 2014-11-25 16:16:49 +03:00
AlexVinS
d87153a610 Hide mechanics classes 2014-11-25 15:00:34 +03:00
AlexVinS
c8f1e6d1a1 Move mechanics factory 2014-11-25 14:58:42 +03:00
AlexVinS
226b737b6b Small cleanup 2014-11-25 14:51:55 +03:00
AlexVinS
0fda90c67d Start moving server side spell mechanics 2014-11-25 14:19:13 +03:00
AlexVinS
f2bf3d7f7b Added a way to obtain ID of newly added Stack 2014-11-25 12:26:32 +03:00
AlexVinS
aa31625774 More flexible way of spell school access 2014-11-24 19:14:10 +03:00
AlexVinS
f7ff61ce4f Merge remote-tracking branch 'remotes/origin/develop' into SpellsRefactoring4 2014-11-24 12:41:17 +03:00
AlexVinS
6dbed27b65 Add more "const" 2014-11-23 14:10:29 +03:00
DjWarmonger
9e5cc2d1b1 Treasure piles will prefer to grow upwards to make space for object accessible from bottom. 2014-11-22 14:17:53 +01:00
DjWarmonger
91d89add7c Reverted RMG bug introduced in 6da79d01d7 2014-11-22 13:01:28 +01:00
DjWarmonger
4b02af23e1 Merge pull request #55 from KroArtem/develop
Merging, thanks!
2014-11-20 16:00:38 +01:00
KroArtem
6da79d01d7 reverted changes back 2014-11-20 15:33:22 +03:00
KroArtem
305ce5b53d fixed else statement 2014-11-20 15:14:16 +03:00
Ivan Savenko
ffd5867913 Merge pull request #58 from josch/kFreeBSDandHurdSupport
FreeBSD and HURD support
2014-11-18 19:24:50 +02:00
josch
5c356f4415 add support for the HURD 2014-11-17 16:43:26 +01:00
josch
a96b5e7905 add support for FreeBSD 2014-11-17 12:25:10 +01:00
josch
c36042f8c7 rename preprocessor variable VCMI_LINUX to VCMI_XDG
- the variable is only used to enable XDG support
 - XDG is not exclusive to linux
2014-11-17 12:19:52 +01:00
ArseniyShestakov
4dd1ca5e78 Fix bonuses of Rampart's Treasury and Fountain of Fortune
Change IDs of two special buildings in Rampart to make them identical with one in config files / game assets.

Original code was introduced in 0ca9f64 with those two IDs likely was typo. As result Fountain of Fortune +2 luck bonus was given to Treasury and Treasury's weekly bonus didn't worked at all.
2014-11-17 03:26:18 +03:00
KroArtem
e73c60740c corrected text in vcmibuilder, corrected errors and warnings from cppcheck 2014-11-16 20:48:29 +03:00
AlexVinS
752965ff69 Merge branch 'develop' into SpellsRefactoring4
Conflicts:
	lib/CSpellHandler.cpp
2014-11-14 05:28:23 +03:00
AlexVinS
7a429fc38b Revert @24efb9b4 2014-11-14 03:29:11 +03:00
AlexVinS
7af4f44237 rewrite CGHeroInstance::canCastThisSpell 2014-11-13 17:57:35 +03:00
AlexVinS
3fcb1254f7 Rewrite CGHeroInstance::getSpellSchoolLevel using SPELL_SCHOOL_CONFIG 2014-11-13 17:24:30 +03:00
AlexVinS
5d1077161c Change spell school serialization 2014-11-13 16:57:49 +03:00
AlexVinS
787c970003 Simplify CGameInfoCallback::estimateSpellDamage 2014-11-13 15:16:27 +03:00
AlexVinS
3da27243c8 Fix SPELL_DAMAGE_REDUCTION calculation. 2014-11-13 15:07:39 +03:00
AlexVinS
9e8b09d747 Use clearAffected flag 2014-11-13 15:00:45 +03:00
AlexVinS
9f983c67c0 Fix uninitialized variables 2014-11-13 14:35:58 +03:00
AlexVinS
00013ed31a Fix spell school immunity evaluation 2014-11-13 14:10:25 +03:00
AlexVinS
ce8fa33efc Introduced new spell configuration options (not used yet) 2014-11-13 13:37:42 +03:00
AlexVinS
c7480e7fe5 Move getAffectedStacks to mechanics classes 2014-11-13 12:33:51 +03:00
AlexVinS
22c251b57d Small fix for rangeInHexes 2014-11-13 08:29:04 +03:00
AlexVinS
bab7198cd7 Use some constants in SRSLPraserHelpers 2014-11-13 08:13:06 +03:00
AlexVinS
4042757f93 Move spell range calculation to Mechanics
* made ISpellMechanics opaque
2014-11-13 07:34:20 +03:00
AlexVinS
b62ee20880 Move TargetInfo initialization to constructor 2014-11-13 06:29:41 +03:00