beegee1
1ac328635a
- Added handler classes CRmgTemplateStorage and CTerrainViewPatternConfig to LibClasses
...
- Re-organized CMapGenerator
- Created CZone and CTemplate objects in the heap and used pointers
- Added stub classes CZoneGraphGenerator and CZonePlacer (include warnings of unused variables, please ignore them)
- Fixed CRandomGenerator bug that always the same number was produced
- Better structure of Visual Studio project files with using filters
- Updated project files (VS, CMake)
- Excluded compiler warning mismatched-tags (false positive)
- Fixed a bug when compiling with unit tests enabled
2013-08-17 12:46:48 +00:00
Ivan Savenko
45c2bd7511
hopefully fixes #1397 . Still too much magic in this code :(
2013-08-09 17:37:41 +00:00
Ivan Savenko
8beee29482
- corrected "isToReverse" check, partially fixes 1397
...
- ballistics fix
- minor
2013-08-06 15:25:51 +00:00
Ivan Savenko
c81a31c74a
- catapult attacks should be identical to H3
...
- catapult may miss and attack another part of wall instead (this is how it works in H3)
- minor fixes
2013-08-06 11:20:28 +00:00
DjWarmonger
6057226665
Fixed in r1364. It's all about logic!
2013-08-04 06:16:17 +00:00
DjWarmonger
e2de926aec
Fixed #1330 .
2013-08-02 08:33:56 +00:00
Michał W. Urbańczyk
58ccaa2e93
The cmath "fix" was not needed after all, the includes order decides.
2013-08-02 08:28:52 +00:00
Michał W. Urbańczyk
be3da8fcf8
Unique macro for minizip exports. Define to nothing on non-msvc.
2013-08-01 22:37:08 +00:00
Michał W. Urbańczyk
c57b159fc9
Missed one call.
2013-08-01 22:36:49 +00:00
Michał W. Urbańczyk
eb90f93231
Dereference optional in logs.
2013-08-01 16:26:29 +00:00
Michał W. Urbańczyk
f897333b2c
Don't crash when music file cannot be found.
2013-08-01 13:52:01 +00:00
Michał W. Urbańczyk
7a90ead051
VS-2013 issue.
2013-08-01 11:58:30 +00:00
Michał W. Urbańczyk
91a1f0eae5
Proejct file for minizip library, fixes compilation issues.
2013-08-01 09:55:57 +00:00
Ivan Savenko
b57b14b752
- fixed several bugs with siege graphics, including #1389
...
- removed "shooterHeight" property - seems to be same in all towns.
2013-07-31 22:24:44 +00:00
DjWarmonger
a20e53acb5
Wyverns will cast Poison instead of Stone Gaze.
2013-07-31 19:38:22 +00:00
DjWarmonger
0c45fb95d4
Fixed crash when aiming with Archangels.
2013-07-31 17:47:31 +00:00
DjWarmonger
937effb649
More or less working project for Visual Studio.
2013-07-31 14:08:18 +00:00
Ivan Savenko
ee09c5301e
minor fixes:
...
- vcmi can play music files from archives
- converted resource_reward fields in bank_config into json object, fixes 3000 gems reward in shipwreck
- some compile fixes for minizip
2013-07-31 11:36:42 +00:00
Ivan Savenko
1d9139303a
introduced zip support into vcmi
...
- minizip library is now part of sources, located at lib/minizip
- cmakefiles will compile minizip as dynamic library (Note: only 2 files used by vcmi are included in minizip.so)
- zip files can be loaded similar to other archives via filesystem.json
- mods can use Content.zip instead of Content/ directory. Files in directory will replace files in archive.
2013-07-30 15:02:55 +00:00
DjWarmonger
d8594576e2
One more compile fix, works now fine on Windows.
2013-07-29 12:15:50 +00:00
Ivan Savenko
77496bcea9
- fixed several cases of accessing full path to files in archives
2013-07-29 11:38:18 +00:00
Ivan Savenko
9f7c89d5e3
- more filesystem logging and possible fix for Win
...
- added missing destructor for loaders
- added missing override kewords
- added unused for now ARCHIVE_ZIP filetype
2013-07-29 10:08:02 +00:00
DjWarmonger
a314a81fd5
Compile fixes. Game doesn't even launch, however.
2013-07-28 18:57:07 +00:00
Ivan Savenko
b87897096c
Filesystem handling is now more flexible
...
- removed CResourceLoader class in favor of one that implements resource loader interface
- removed global pool of files, in favour of more dynamic approach
- renamed some files to match current situation
All these changes are needed mostly for future mod manager + .zip support
2013-07-28 14:49:50 +00:00
DjWarmonger
aa6626bc35
Fixed #1329 .
2013-07-28 10:32:01 +00:00
DjWarmonger
257be7a968
Fixed #1342 . Animate Dead won't affect living creatures.
2013-07-28 10:05:37 +00:00
DjWarmonger
abaa5b1c59
Fixed #1352 . Implemented correct death stare algorithm.
2013-07-28 08:48:29 +00:00
DjWarmonger
5f310aa20f
Fixed all issues with Resurrection: #123 , #1358
2013-07-27 19:01:31 +00:00
DjWarmonger
b36be10e30
2013-07-25 11:53:36 +00:00
DjWarmonger
66d6aebe32
Fixed all the issues with Quests, #828 and #1223 .
...
Upgrade cost will never be negative.
2013-07-23 15:03:01 +00:00
DjWarmonger
b1a569910b
Fixed #1378 .
2013-07-23 05:41:42 +00:00
DjWarmonger
4ec9faa789
Fixed #1367 . Removed confusing code for speed calculation.
2013-07-22 17:06:32 +00:00
Ivan Savenko
a719e03b30
- fixed #1375
...
- damage done by turrets is properly increased by built buldings
2013-07-22 16:23:23 +00:00
DjWarmonger
13acb58d55
- Undead and non-living creatures will be now immune to mind spells (should be hardcoded?). It solves #1334 .
...
- Added lots of missing spell immunities from Strategija
- Added stone gaze immunity for Troglodytes (did you know about it?)
2013-07-22 14:12:20 +00:00
DjWarmonger
02cbdf132b
Fixed #1374
2013-07-22 11:38:31 +00:00
DjWarmonger
6cb6fcba6c
Magic immunity has no mass effect - fixes #1369
2013-07-22 11:08:35 +00:00
DjWarmonger
4fd9bcfedc
Fixed #1345
2013-07-22 10:39:11 +00:00
DjWarmonger
103a75e763
Possible fix for #1348
2013-07-22 09:48:25 +00:00
DjWarmonger
3aec2daca1
Fixed Firewall ( #1363 )
2013-07-22 09:01:10 +00:00
Michał W. Urbańczyk
d8a27d8f3c
Refactored player-specific data into single struct BattleState.
2013-07-21 22:01:29 +00:00
Ivan Savenko
491bd557ef
fixed several bugs reported on forum:
...
- necromancy issues
- fix for lookout tower
- Sir Mullich is unavailable
- first hero is awakened on next turn
- give 500 XP on defeating hero
2013-07-21 18:27:33 +00:00
Michał W. Urbańczyk
0eb496fb57
Fixed #1338 and #1341 . Introduced post-load step to ease initialization of bonus source ids.
2013-07-21 14:19:29 +00:00
Michał W. Urbańczyk
1e11904d8a
Fixed Remove Obstacle. TODO: limit its working on spell-created obstacles depending on spell school level.
2013-07-21 10:25:12 +00:00
Ivan Savenko
a148c39e0a
more battles animations:
...
- UI will be correctly greyed-out during opponent turn
- fixed remaining issues with blit order
- a bit better handling of catapult attack
- fixes #1362
2013-07-21 10:10:38 +00:00
Michał W. Urbańczyk
e9d51a2670
Fixed issue that allowed to build multiple boats in town. Renamed state() to sth more sensible.
2013-07-21 10:08:32 +00:00
Michał W. Urbańczyk
e45d174ba5
Fixed crashes on Land Mines / Fire Wall casting.
2013-07-20 21:35:12 +00:00
DjWarmonger
9277c695a5
Fixed #1361 .
2013-07-20 08:54:43 +00:00
Ivan Savenko
096d6ebf9c
refactoring of CBattleInterface::show() and all related code
...
fixes most of blit order-related bugs in battles (#1200 , #1238 , #226 )
known issues, will fix soon:
- there are still some minor blitting issues during movement
- destruction of walls in siege is out of sync with catapult projectile movement
2013-07-19 16:35:16 +00:00
DjWarmonger
18794af2cb
Fixed elemental immunity handling: #1335 , #1343 ,
2013-07-18 17:24:17 +00:00
DjWarmonger
b0f82957ab
Fixed #1336
2013-07-17 11:01:36 +00:00