DjWarmonger
31f82cade0
- Removed integer parameters from CCreature, all stats are now handled by Bonus System Only
...
- Parsing for creature format http://wiki.vcmi.eu/index.php?title=Creature_Format
Needs rearrangement of some info to work
2012-08-30 14:57:24 +00:00
DjWarmonger
78a6e7b56f
Added user manual .tex file to source.
2012-08-29 18:33:52 +00:00
Michał W. Urbańczyk
38b6435ee4
Shackles of War implementation uses bonus system propagation instead of looking into enemy hero. Silences some warnings.
2012-08-29 15:27:24 +00:00
DjWarmonger
78fe412375
Hopefully complete solution for taking last stack from heroes (without splitting stacks).
2012-08-29 15:23:47 +00:00
Ivan Savenko
c7789992c3
- fix for hero flags along with battlehero cleanup
...
- removed unused code
2012-08-29 14:55:31 +00:00
Michał W. Urbańczyk
d0e2f25cfe
* No explosion when catapult fails to damage the wall
...
* Missing abilities for Azure Dragon (tons of others are still missing...)
2012-08-29 13:44:39 +00:00
Michał W. Urbańczyk
48e6c3bcf9
Fix #1060 .
2012-08-29 13:01:54 +00:00
DjWarmonger
4e726f0eb2
- Handling for Hill fort and (kinda) Magic Well
...
- Improved hero exchange
- Fixed strange case when AI found allied town extremely dangerous, resulting in endless loop
2012-08-29 09:19:20 +00:00
Ivan Savenko
8fac276922
- a bit nicer stack queue. Check forum for graphics.
...
- warning fix
2012-08-28 16:28:21 +00:00
Michał W. Urbańczyk
0b85cfaf78
Fix for #1058 .
2012-08-28 15:38:00 +00:00
DjWarmonger
e913d94c62
VCAI can now exchange armies between heroes. By default, it will pass army to main hero.
2012-08-28 15:04:05 +00:00
Michał W. Urbańczyk
830d94064e
Fixed #1056 , #1057 and #1058 .
...
Should also fix #152 .
2012-08-28 12:28:13 +00:00
DjWarmonger
3b1ddfa3ca
Fixed AI building only one upgraded dwelling per town. Minor tweaks.
2012-08-28 04:13:50 +00:00
Ivan Savenko
4d4f72292e
- fixed crash on hovering indestructible walls
...
- fix for music player (no music after end of battle)
2012-08-27 20:45:58 +00:00
Michał W. Urbańczyk
a14f381d48
Fixed #1055 - hang when creature performed automatic (not controleld by player) action.
...
Fixed possible crash on arrow turret turn.
2012-08-27 12:34:43 +00:00
Ivan Savenko
7ce9e95525
- death stare works identically to H3
...
- gcc warnings fix
2012-08-27 10:47:02 +00:00
Michał W. Urbańczyk
7c09f73402
* INFINITE_DIST is now enum, it should cause least trouble that way. Uh, it's so hard to fight magic values these days.
...
* Fixed crashes in battles after loading game
* Fixed crash in battle AI, when stack is blocked and stands next to an enemy
* Fixes problem when server's moveStack is called with dest==position
* Above should cover #1053 .
2012-08-26 19:13:57 +00:00
Ivan Savenko
d5f29d134f
- create temporary when INFINITE_DIST passed by reference. Should work with MSVC as well :)
2012-08-26 13:16:57 +00:00
DjWarmonger
002844b376
Compile fix. Sorry, Ivan :P
2012-08-26 12:40:55 +00:00
Ivan Savenko
656999e99f
- fixed bug in AI town development
...
- fixed too slow generation of FowChange package
2012-08-26 12:26:07 +00:00
Ivan Savenko
d69f4b7632
- build system update
...
- fixed gcc\clang warnings
2012-08-26 09:59:07 +00:00
Michał W. Urbańczyk
d390113c23
* New files for lib: CBattleCallback.cpp and CBattleCallback.h
...
* Updated MSVC project files
* Filesystem: My version of .SND archive does not have \0 after WAV extension. Fixed (though hardcoded 3-char extension length).
* New bonus types: BLOCK_MAGIC_ABOVE for blocking casting spells above given level and BLOCK_ALL_MAGIC for blocking all magic.
* Heavy rewrite of battle callbacks. Fixed some minor bugs. Code reusage between lib/client/server (removed proxy calls). Better access control and support for various perspectives.
* Fixed #1031
* Fixed Orb of Inhibition and Recanter's Cloak (they were incorrectly implemented). Fixed #97 .
* Fleeing hero won't lose artifacts. Spellbook won't be captured. Fixed #980 .
* Fixed crash when attacking stack dies before counterattack (ie. because of Fire Shield)
* Server does some basic checks if action requests during battle are valid
* Minor stuff.
2012-08-26 09:07:48 +00:00
Ivan Savenko
2dd9d943c9
- fix for missing grail
2012-08-25 13:29:46 +00:00
DjWarmonger
669c8a104a
Compile fix.
2012-08-25 09:21:18 +00:00
Ivan Savenko
cf15ca1cf0
- replaced loadToIt with better H3 parser.
...
- moved hero class to heroes.json
2012-08-25 08:44:51 +00:00
DjWarmonger
39d433c1c7
Moved game Modules to config file.
2012-08-24 09:37:52 +00:00
DjWarmonger
d56e7c568a
Added full parser for Bonus structure, as described in http://wiki.vcmi.eu/index.php?title=Bonus_Format
...
Untested.
Limiters / propagators are not yet supported.
2012-08-23 18:46:43 +00:00
Ivan Savenko
c1726be22c
- fixed crash on loading last file from video archive
2012-08-22 10:31:20 +00:00
Ivan Savenko
ae42abc212
- (autotools) removed no longer needed video disabling
2012-08-21 17:44:03 +00:00
Ivan Savenko
e79ac5f1d7
- removed deprecated ffmpeg functions. Fixes #779
...
- removed hardcoded video name constants
2012-08-21 17:37:06 +00:00
DjWarmonger
9e0c9b4f49
Fixed #1042 . Tweaks for Commander bonuses.
2012-08-20 16:10:50 +00:00
Ivan Savenko
deb22b3674
- (linux) use empty video player if av_register_protocol function was not found
2012-08-18 10:29:54 +00:00
Ivan Savenko
ea0399db93
- (autotools) updated ffmpeg detection
2012-08-18 09:23:46 +00:00
DjWarmonger
037d4811a1
Fixed #1047
2012-08-14 06:31:14 +00:00
DjWarmonger
10122f8153
Another tweak for Seer Hut serialization.
2012-08-11 19:00:52 +00:00
DjWarmonger
fa544384a7
Fixed double serialization, possible cause of #1051 .
2012-08-11 17:01:39 +00:00
Ivan Savenko
eec4d3579d
- fixed crash on missing videos
...
- fixed savegames name selection
2012-08-11 11:34:49 +00:00
DjWarmonger
edbc7f1223
- Some hardcoded settings will now be read from config/defaultMods.json
...
- Fixed AI crash when it was placed in closed and safe area
2012-08-11 09:06:23 +00:00
Ivan Savenko
aa326491a3
- compile fixes
...
- build system update
2012-08-10 15:16:42 +00:00
DjWarmonger
289b7b68d9
Mod Handler class. It is connected with engine, but doesn't do anything yet.
2012-08-10 13:07:53 +00:00
Ivan Savenko
d72c44e4c3
- fixed modifiers keys behaviour in TextInput
...
- erm compilation is optional in cmake (too memory-consuming for old systems)
- minor fixes
2012-08-10 08:49:18 +00:00
DjWarmonger
d3d24d0737
Compile fix for windows.
2012-08-09 13:52:40 +00:00
Ivan Savenko
7e778045b8
- removed no longer used CSndHandler. Transition to new fs is finished
...
- moved TownHandler::requirements to CBuilding class
2012-08-09 10:32:50 +00:00
Michał W. Urbańczyk
08bcfd1285
* windows video player uses the new FS
...
* don't crash on missing sounds
2012-08-09 07:40:47 +00:00
Ivan Savenko
94cfc99d7b
- fixes #1044
...
- fixes to linux video player
2012-08-08 20:58:06 +00:00
Ivan Savenko
127600311f
- linux video player uses new FS
2012-08-08 12:17:25 +00:00
Ivan Savenko
cab8955d8f
- sound player uses new FS
2012-08-08 12:03:32 +00:00
Ivan Savenko
28f0263298
- compile fixes
...
- filesystem tweaks
2012-08-08 10:17:46 +00:00
DjWarmonger
55f321f3f3
- Fixed AI crash at "gather resource" quest
...
- AI will now understand threat of Abandoned Mine. For sure.
- Fixed incorrect creeps quantities info
2012-08-08 08:27:52 +00:00
Michał W. Urbańczyk
cd63c177e2
* std::unordered_map implementation in MSVC 10 has terribly slow destructor. Since bug is fixed only in VC11, I replaced it with boost::unordered_map.
...
* fixed crash with invalid .lod archive (some H3 installations have fake 1 byte .lod "archives"
* fixed crash when parsing invalid map file
* minor random optimizations (rv-refs, etc)
2012-08-08 08:25:27 +00:00