beegee1
fd9995ff82
- Missing thing to previous commit...
2013-08-19 18:46:30 +00:00
beegee1
a13d72b636
- Fixed GCC warning
...
- Small refactoring
- Added RPM spec to SVN again (it's better to keep it there :) )
2013-08-19 18:20:11 +00:00
Ivan Savenko
5654fef901
- ZipArchive namespace for operations with zip archives, located in CZipLoader.h/cpp.
...
- new fields in mod format, for use with mod manager (check config/shemas/mod.json for details)
- removed some 0.92 compatibility from mods loading
- several compile fixes
2013-08-19 11:50:53 +00:00
Michał W. Urbańczyk
38c1542d9d
Fixed crash on battle end — don't attempt giving exp to loser (hero is removed -> can't get exp -> crash).
2013-08-18 17:49:31 +00:00
Michał W. Urbańczyk
3b42cff3ec
#1409 should not crash anymore.
...
Fixed crash on serializing empty path. [How did it got there...?]
operator<< for boost::optional.
2013-08-18 15:46:28 +00:00
Michał W. Urbańczyk
2e92bfb617
Added missing property sheets to RD|Win32 configuration.
2013-08-18 11:44:14 +00:00
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