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

3037 Commits

Author SHA1 Message Date
22eb71de03 Remove this-> occurrences in new code 2016-01-25 14:14:32 +03:00
a74fbff34f Fix 2076 Grail removal 2016-01-25 12:38:11 +03:00
afa95312ba Fix 2139 captured spell scroll descriptions 2016-01-25 08:49:26 +03:00
0ec07b38ac fix build 2016-01-24 16:58:24 +03:00
89d986fc6a Merge remote-tracking branch 'remotes/origin/develop' into feature/VCMIMapFormat1
Conflicts:
	lib/CArtHandler.h
	lib/mapObjects/MiscObjects.cpp
2016-01-24 15:39:41 +03:00
408f346541 Drafts for hero serialization 2016-01-24 15:35:08 +03:00
3eb9de0c0b Grail options serialization 2016-01-24 02:26:32 +03:00
b19e082f37 Merge pull request #166 from vmarkovtsev/issue/1723
Fix 1723 quest crash on combined arts
2016-01-23 23:23:07 +03:00
f9d0b20234 CGMine, CGArtifact, CGGarrison serialization 2016-01-23 19:53:02 +03:00
b0c4ea5947 Fix. 2016-01-23 17:43:20 +03:00
a266154b26 Fix 2014 cursor must disappear during movement and Magi's Eye 2016-01-23 00:35:41 +03:00
11bce2908d Fix 1723 quest crash on combined arts 2016-01-22 12:56:25 +03:00
e8db456beb Reset obelisks upon game end
Otherwise, the static variables are preserved and lead to wrong values in next new game.
2016-01-20 13:02:52 +03:00
1a2cd36df8 Initialize obelisks count to 0
Otherwise every time player starts with a random number.
2016-01-20 12:43:07 +03:00
bb3a31f3ff Mark obelisk visited for all players in the team 2016-01-20 11:14:03 +03:00
10f888a483 Fix obelisks puzzle revealing
Teams and players were messed up in lib; hardcoded constants were refactored.
2016-01-20 10:44:13 +03:00
c385c8757b TAB instead of spaces 2016-01-19 20:53:29 +01:00
2a55d5f85e added copyright info 2016-01-19 14:26:18 +01:00
64365fa294 additional polishing 2016-01-19 11:56:03 +01:00
170e4283ae Small improvements to FileStream 2016-01-18 21:30:06 +01:00
92e011429f Fix crash on unknown map objects
If getHandlerFor() fails to find the handler, it returns a nullptr
shared pointer, which is later dereferenced unconditionally.

How to reproduce:
Download map "Happy time Dragons!!!" from http://heroesportal.net/maps.php?type=H3AB-XL&sort=r

=>

Failed to find object of type 5:144
SIGSEGV
2016-01-18 21:16:55 +03:00
a50a702073 switched to -std=gnu++11 2016-01-18 17:49:07 +01:00
575a68d78b CRewardableObject: fix onVisited message duplication for Idol of Fortune 2016-01-17 15:16:35 +03:00
cf61837ced replaced std::string with boost::filesystem::path in several places 2016-01-16 16:36:16 +01:00
18b2f866c9 CGPickable: add missing break for flotsam. Fix issue 1956 2016-01-16 09:45:30 +03:00
725cce368f CGameState::initStartingBonus: fix amounts for wood and ore bonus
In original game when wood and ore bonus is choosen you always get same amount of both resources.
2016-01-15 20:36:16 +03:00
a638d0cd51 Creature set serialization 2016-01-15 20:24:17 +03:00
b84d7bd288 CGCreature: add reward granting. Fix issue 2372 2016-01-15 04:29:46 +03:00
ac730a591c Fixed large treasure piles sometimes being uncovered. 2016-01-13 20:03:25 +01:00
8c5f93dd8f Little refactoring for object placement. 2016-01-13 19:17:12 +01:00
933b7c1f5e some modernization of CFileInputStream implementation code 2016-01-12 23:40:24 +01:00
f9b255c896 Cleaner code & MSVC compatibility 2016-01-12 22:40:05 +01:00
1f4bc0f2e4 Merge branch 'develop' of https://github.com/vcmi/vcmi into develop 2016-01-11 22:38:47 +01:00
99cf8069d7 FileStream files 2016-01-09 21:24:20 +01:00
203b2dccc3 hopefully fixed things 2016-01-09 21:23:55 +01:00
676f078b2e RMG will now multiply Monolith defs to ensure there are at least 100 pairs avaiable for connections. 2016-01-09 09:03:40 +01:00
dd1fc47c93 Workaround for Seer Hut offset. They seem to work fine now. 2016-01-08 21:51:55 +01:00
d840fb40eb Fixed crashes with RMG Seer Huts. Now they are functional. 2016-01-08 21:14:57 +01:00
383f754ed1 Starting gold bonuses must be always multiples of 100 2016-01-07 20:51:37 +03:00
c93f8fea48 moatHexes: implement reading moat hexes from configuration files
This also fix Fortess moat that previously used wrong hexes
2016-01-06 12:53:40 +03:00
cdd50b1603 Version bump. 2016-01-01 20:06:38 +01:00
37d0dad70a Merge branch 'develop' into feature/VCMIMapFormat1
Conflicts:
	lib/CArtHandler.cpp
2016-01-01 20:28:52 +03:00
9fd1cff090 Refactoring: always use std prefix for shared_ptr, unique_ptr and make_shared
Long time ago it's was used without prefix to make future switch from boost to std version easier.
I discusses this with Ivan and decide to drop these using from Global.h now.

This change wouldn't break anything because there was already code with prefix for each of three cases.
2015-12-29 05:43:33 +03:00
29a7934a99 Refactoring: avoid using namespace when it's not absolutely needed 2015-12-29 02:14:08 +03:00
66e6f15e67 NewTurn::applyGs: update bonuses in beginning. Fix issue 2083
Before bonuses was removed after hero get movement points and mana so affected hero one day more than intended.
2015-12-25 01:48:53 +03:00
6f5c52a229 Refactoring: use cleaner CCreatureSet::stacksCount everywhere 2015-12-24 21:30:57 +03:00
62bab27e7e CGArtifact: show yes/no dialog for guarded artifacts. Fix issue 2095
Also fix hover text for CGMine
2015-12-24 21:05:02 +03:00
75ca020890 CCeatureSet: add getArmyDescription for hover and InfoWindow texts 2015-12-24 21:03:51 +03:00
be50d699fb Compile fixes for MSVS 2015-12-23 15:23:56 +01:00
48be566050 Dimension Door: fix movement points cost for expert level 2015-12-21 18:46:52 +03:00