1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-24 08:32:34 +02:00
vcmi/lib
Hao Hu 9cc2464cf6 Fixing bugs for external dwelling bonus of Golem Factory (#382)
* Fixing bugs for external dwelling bonus of Golem Factory.

[Problem]
  The occupied Golem Factory on adventure map doesn't give
  the player corresponding weekly growth bonus.

[Solution]
  1. Add the dwelling (of multiple generators) to a player's dewelling set.
  2. Created helper function to calculate external dwelling bonus
  points.

[Test]
  Manual testing on the map, works fine.

https://bugs.vcmi.eu/view.php?id=2789
2017-10-07 17:42:33 +03:00
..
battle Add terrain overlays morale and luck bonuses description, fix #2740 2017-10-05 14:53:39 +02:00
filesystem fixed code format and other minor issues 2017-08-30 19:19:54 +12:00
logging fixed logging after rebase 2017-08-26 14:06:47 +12:00
mapObjects Fixing bugs for external dwelling bonus of Golem Factory (#382) 2017-10-07 17:42:33 +03:00
mapping fixes 2017-08-12 14:36:37 +03:00
minizip Use multi-core compile by default, fix VCMI_client path 2017-08-19 13:27:24 +02:00
registerTypes Code style: move or add licensing information on top of every file 2017-07-14 01:26:03 +03:00
rmg (int) -> static_cast<int> 2017-08-12 15:43:41 +03:00
serializer fixed serialization for older savegames 2017-08-28 13:56:00 +12:00
spells use logMod for all mod-related logging 2017-08-31 09:23:19 +12:00
AI_Base.h Code style: move or add licensing information on top of every file 2017-07-14 01:26:03 +03:00
CAndroidVMHelper.cpp Better android input handling: sending notifications about CInputText changes to java so that we can display textinput overlay there; (#354) 2017-07-23 20:23:48 +03:00
CAndroidVMHelper.h Better android input handling: sending notifications about CInputText changes to java so that we can display textinput overlay there; (#354) 2017-07-23 20:23:48 +03:00
CArtHandler.cpp use logMod for all mod-related logging 2017-08-31 09:23:19 +12:00
CArtHandler.h Code style: serialize everything on own lines for easier debugging (#357) 2017-07-31 16:35:42 +03:00
CBonusTypeHandler.cpp Finished conversion to new logging API 2017-08-11 23:06:27 +03:00
CBonusTypeHandler.h Tweaked CBonusTypeHandler 2017-08-09 12:18:49 +03:00
CBuildingHandler.cpp Code style: move or add licensing information on top of every file 2017-07-14 01:26:03 +03:00
CBuildingHandler.h Code style: move or add licensing information on top of every file 2017-07-14 01:26:03 +03:00
CConfigHandler.cpp Prepared JsonNode for new logging API. 2017-08-11 16:27:42 +03:00
CConfigHandler.h Code style: remove senseless comments 2017-07-18 00:04:00 +03:00
CConsoleHandler.cpp fixes 2017-08-12 14:36:37 +03:00
CConsoleHandler.h Code style: remove senseless comments 2017-07-18 00:04:00 +03:00
CCreatureHandler.cpp fixes 2017-08-12 14:36:37 +03:00
CCreatureHandler.h Code style: serialize everything on own lines for easier debugging (#357) 2017-07-31 16:35:42 +03:00
CCreatureSet.cpp Finished conversion to new logging API 2017-08-11 23:06:27 +03:00
CCreatureSet.h Finished conversion to new logging API 2017-08-11 23:06:27 +03:00
CGameInfoCallback.cpp Finished conversion to new logging API 2017-08-11 23:06:27 +03:00
CGameInfoCallback.h Code style: move or add licensing information on top of every file 2017-07-14 01:26:03 +03:00
CGameInterface.cpp Finished conversion to new logging API 2017-08-11 23:06:27 +03:00
CGameInterface.h Code style: move or add licensing information on top of every file 2017-07-14 01:26:03 +03:00
CGameState.cpp skill names and descriptions are fully managed by CSkillHandler 2017-08-30 22:35:23 +12:00
CGameState.h Wiped CDefEssential 2017-09-06 15:13:28 +03:00
CGameStateFwd.h Code style: serialize everything on own lines for easier debugging (#357) 2017-07-31 16:35:42 +03:00
CGeneralTextHandler.cpp skill names and descriptions are fully managed by CSkillHandler 2017-08-30 22:35:23 +12:00
CGeneralTextHandler.h skill names and descriptions are fully managed by CSkillHandler 2017-08-30 22:35:23 +12:00
CHeroHandler.cpp use logMod for all mod-related logging 2017-08-31 09:23:19 +12:00
CHeroHandler.h Code style: serialize everything on own lines for easier debugging (#357) 2017-07-31 16:35:42 +03:00
CMakeLists.txt fixed code format and other minor issues 2017-08-30 19:19:54 +12:00
CModHandler.cpp reworked mod loading to follow standard approach 2017-09-03 23:49:36 +12:00
CModHandler.h moved contains functions for multimap to Globals.h 2017-08-26 10:08:06 +12:00
CondSh.h Code style: move or add licensing information on top of every file 2017-07-14 01:26:03 +03:00
ConstTransitivePtr.h Code style: move or add licensing information on top of every file 2017-07-14 01:26:03 +03:00
CPathfinder.cpp Logging cleanup 2017-08-10 21:59:55 +03:00
CPathfinder.h Code style: move or add licensing information on top of every file 2017-07-14 01:26:03 +03:00
CPlayerState.h Code style: serialize everything on own lines for easier debugging (#357) 2017-07-31 16:35:42 +03:00
CRandomGenerator.cpp Code style: move or add licensing information on top of every file 2017-07-14 01:26:03 +03:00
CRandomGenerator.h Code style: move or add licensing information on top of every file 2017-07-14 01:26:03 +03:00
CScriptingModule.h Code style: move or add licensing information on top of every file 2017-07-14 01:26:03 +03:00
CSkillHandler.cpp reworked mod loading to follow standard approach 2017-09-03 23:49:36 +12:00
CSkillHandler.h reworked mod loading to follow standard approach 2017-09-03 23:49:36 +12:00
CSoundBase.h Code style: move or add licensing information on top of every file 2017-07-14 01:26:03 +03:00
CStack.cpp fixed resurrection corner case 2017-07-17 02:50:38 +03:00
CStack.h Finished conversion to new logging API 2017-08-11 23:06:27 +03:00
CStopWatch.h Code style: move or add licensing information on top of every file 2017-07-14 01:26:03 +03:00
CThreadHelper.cpp Code style: move or add licensing information on top of every file 2017-07-14 01:26:03 +03:00
CThreadHelper.h Code style: move or add licensing information on top of every file 2017-07-14 01:26:03 +03:00
CTownHandler.cpp use logMod for all mod-related logging 2017-08-31 09:23:19 +12:00
CTownHandler.h Code style: serialize everything on own lines for easier debugging (#357) 2017-07-31 16:35:42 +03:00
FunctionList.h Code style: move or add licensing information on top of every file 2017-07-14 01:26:03 +03:00
GameConstants.cpp more code format issues 2017-08-30 19:47:06 +12:00
GameConstants.h more code format issues 2017-08-30 19:47:06 +12:00
HeroBonus.cpp fixed CREATURE_TYPE_LIMITER for creatures without a stack instance (#374) 2017-09-06 15:27:26 +03:00
HeroBonus.h added bonus type MANUAL_CONTROL 2017-08-28 20:09:27 +12:00
IBonusTypeHandler.h Code style: move or add licensing information on top of every file 2017-07-14 01:26:03 +03:00
IGameCallback.cpp added basic handler for loading secondary skill bonuses 2017-08-26 09:33:08 +12:00
IGameCallback.h Code style: move or add licensing information on top of every file 2017-07-14 01:26:03 +03:00
IGameEventsReceiver.h CStack refactoring 2017-07-01 19:17:08 +03:00
IHandlerBase.cpp Advance map header serialization 2016-02-21 21:21:22 +03:00
IHandlerBase.h use logMod for all mod-related logging 2017-08-31 09:23:19 +12:00
int3.h Finished conversion to new logging API 2017-08-11 23:06:27 +03:00
Interprocess.h Code style: move or add licensing information on top of every file 2017-07-14 01:26:03 +03:00
JsonDetail.cpp use logMod for all mod-related logging 2017-08-31 09:23:19 +12:00
JsonDetail.h Prepared JsonNode for new logging API. 2017-08-11 16:27:42 +03:00
JsonNode.cpp use logMod for all mod-related logging 2017-08-31 09:23:19 +12:00
JsonNode.h Prepared JsonNode for new logging API. 2017-08-11 16:27:42 +03:00
LogicalExpression.cpp Code style: move or add licensing information on top of every file 2017-07-14 01:26:03 +03:00
LogicalExpression.h Code style: move or add licensing information on top of every file 2017-07-14 01:26:03 +03:00
NetPacks.h CPlayerInterface: don't stop hero movement on embark / disembark 2017-09-16 10:42:27 +03:00
NetPacksBase.h Finished conversion to new logging API 2017-08-11 23:06:27 +03:00
NetPacksLib.cpp fixes 2017-08-12 14:36:37 +03:00
ResourceSet.cpp Finished conversion to new logging API 2017-08-11 23:06:27 +03:00
ResourceSet.h Finished conversion to new logging API 2017-08-11 23:06:27 +03:00
ScopeGuard.h - Improved json validation. Now it support most of features from latest json schema draft 2013-04-02 17:06:43 +00:00
StartInfo.h fixes 2017-08-12 14:36:37 +03:00
StdInc.cpp Rename radious -> radius 2016-01-31 18:01:58 +03:00
StdInc.h Moved boost:format log proxy to CLoggerBase 2016-08-13 16:57:18 +03:00
StringConstants.h Code style: move or add licensing information on top of every file 2017-07-14 01:26:03 +03:00
UnlockGuard.h Code style: move or add licensing information on top of every file 2017-07-14 01:26:03 +03:00
vcmi_endian.h Code style: move or add licensing information on top of every file 2017-07-14 01:26:03 +03:00
VCMI_lib.cbp [c::b] Update project, fixed build 2017-09-05 14:31:34 +03:00
VCMI_Lib.cpp added basic handler for loading secondary skill bonuses 2017-08-26 09:33:08 +12:00
VCMI_Lib.h fixed serialization for older savegames 2017-08-28 13:56:00 +12:00
VCMI_lib.vcxproj update VS files 2017-09-13 02:04:37 +03:00
VCMI_lib.vcxproj.filters update VS files 2017-09-13 02:04:37 +03:00
VCMIDirs.cpp VCMIDirs: improvements for development on Mac and Linux 2017-08-25 08:43:27 +03:00
VCMIDirs.h Code style: move or add licensing information on top of every file 2017-07-14 01:26:03 +03:00