Ivan Savenko
5d2f5c2e33
- fixed #762
...
- (linux) fixed video in campaigns menu
2011-07-22 23:34:15 +00:00
Ivan Savenko
35a528e062
- Rewrote Kingdom Overview window - all should be stable now
...
- New classes for GUI - lists and tabs
- finishing work on Json config in animations
2011-07-22 16:22:22 +00:00
Ivan Savenko
98d32acf1b
- new files JsonNode.cpp/.h
...
- CAnimation can use JSON configs from Sprites folder instead of .def files
2011-07-21 18:29:22 +00:00
Frank Zago
20574dea3d
Added missing initializations.
2011-07-21 02:39:37 +00:00
Ivan Savenko
0693312a8e
- fixed several crashes with joining creatures
...
- support for loading *.tga images
- minor fixes
2011-07-18 15:21:16 +00:00
Michał W. Urbańczyk
79f5b29196
Various player/AI interface related fixes and improvements.
2011-07-17 18:49:05 +00:00
DjWarmonger
16e7241fbd
Support for WoG's Defense bonus.
2011-07-16 16:40:38 +00:00
beegee1
62c43451ef
* Updated bonus caching -> faster in particular cases, operations by limiter objects aren't cached
2011-07-16 13:57:25 +00:00
Ivan Savenko
706510f12f
- gcc compile fixes
2011-07-13 23:36:37 +00:00
beegee1
55e7959fd9
* Bonus system caching updated, partially rewritten, much more robust, thread-safe
...
* Adjusted projectile speed, trebuchet canon speed
2011-07-13 18:39:02 +00:00
DjWarmonger
a7577ccb6b
More details for Rebirth ability.
2011-07-10 09:03:46 +00:00
DjWarmonger
036ad1233f
fixes for Phoenix. Its animation will now be restored to Alive.
2011-07-10 08:22:20 +00:00
Frank Zago
9c3a10b2c7
Fixed a bug in phoenix code. Fixed a couple warnings.
2011-07-09 22:42:39 +00:00
DjWarmonger
5269e845fd
handling of Rebirth ability for Phoenix.
...
However, I've got no idea how to restore its animation to alive state.
2011-07-08 14:54:20 +00:00
DjWarmonger
f33fbdc43b
Support for Thunderbolt (Thunderbirds).
...
General framework for handling creatures casting spells with arbitrary spell power.
2011-07-08 07:00:11 +00:00
DjWarmonger
8102fd4cf0
Support for Death Blow ability.
2011-07-06 17:00:45 +00:00
DjWarmonger
c53c226820
Support for Titan's Thunder (creating Spellbook) & Titan's Lightning Bolt.
2011-07-06 14:25:12 +00:00
Ivan Savenko
75d068bc03
- compilation fix for #765
2011-07-05 19:06:47 +00:00
Ivan Savenko
b8448e4c3b
- (linux) build system update
...
- gcc errors/warnings fixes
2011-07-05 11:31:26 +00:00
Michał W. Urbańczyk
b3234e8bfa
* CGameInterface.h/.cpp moved from client project to lib (and, appropriately, to lib subfolder).
...
* New files in lib: ResourceSet.h/.cpp -> containing new structure for managing resources logic
* Minor changes and fixes
2011-07-05 06:14:07 +00:00
Ivan Savenko
39feb24d64
- possibly fixed #763
2011-07-03 10:04:06 +00:00
DjWarmonger
57a36e77f3
Improvement for multiple-hex effects.
...
TODO: Attacker must know exact attacked tile, not only the stack.
2011-07-03 05:55:57 +00:00
Michał W. Urbańczyk
4592ddb74e
Fixing several issues with artifacts in hero window described in note http://bugs.vcmi.eu/view.php?id=761#c1828 . Also resolving #741 .
2011-07-03 01:03:46 +00:00
DjWarmonger
81180de8be
Handling of area attack animation & effect
2011-07-02 17:40:33 +00:00
DjWarmonger
51943e5f1e
Partial support for Death Cloud & Magog's Fire Ball.
...
Lots of refactoring is needed to handle this and multiple-target attacks.
2011-07-02 16:49:22 +00:00
Ivan Savenko
11fade5e67
- fixed crash in #761
2011-07-02 15:12:35 +00:00
Ivan Savenko
48e79b163c
- missed file from previous commit
...
- minor fixes
2011-07-01 16:26:36 +00:00
Ivan Savenko
a89895452a
- (linux) fixed searching/loading of scripting libraries
...
- (linux) moved AI libraries to /lib/vcmi/AI/lib*, ERM lib to /lib/vcmi/Scripting/*
- gcc compile and warnings fixes
2011-06-28 14:19:16 +00:00
beegee1
cef16ccc74
* Fixed battle positions bugs: #174 , #172 , #400
...
* Turret creatures have no longer a standing animation
* Turret creatures get cut at a certain y position(lower part of shooters are hidden)
2011-06-27 17:11:17 +00:00
beegee1
2efcdae80f
* Fixed #750
2011-06-26 10:22:48 +00:00
DjWarmonger
9ca5d9048a
Fixed total spell immunity granted by 2212.
...
Improvements for Life Drain.
2011-06-25 15:05:01 +00:00
Michał W. Urbańczyk
212bc13ad6
Fixed #755 and #759 .
2011-06-25 14:22:19 +00:00
beegee1
5fdb5aa494
* Improved battle and bonus system performance (significantly faster in debug build, tip: use vs 2008, turn of hex field presentation)
...
* Implemented caching for the bonus system
2011-06-25 13:53:15 +00:00
DjWarmonger
e5c11385cd
Fixed #293
...
Support for damage spell immunities.
2011-06-25 06:55:35 +00:00
DjWarmonger
7dce558e28
More fixes. Estates skill is now handled as a Bonus.
2011-06-24 18:16:28 +00:00
DjWarmonger
bdce46ab60
Minor refactorings, fixes & improvements.
...
Moved CArtifactSet to ArtHandler. ObjectHandler is already too messed.
2011-06-24 17:43:02 +00:00
Michał W. Urbańczyk
d88b6b1bb3
Interactive mode for ERM interpreter.
2011-06-23 21:42:30 +00:00
Michał W. Urbańczyk
d9a9477cb4
Likely fixing #754 .
2011-06-22 22:35:26 +00:00
DjWarmonger
5eef9551de
Fixed #607
...
Support for Admiral's Hat
2011-06-21 16:00:19 +00:00
DjWarmonger
af8d8cbfc7
Implemented #479
2011-06-21 12:45:57 +00:00
Michał W. Urbańczyk
580c4e4c9b
ERM is now a separate project, linking to ./Scripting/ERM.dll and consisting all ERM* files from ./lib.
...
Little changes around handling ERM. New class in lib: CFileUtility, so the code for scanning files with given extension is not duplicated.
2011-06-20 11:41:04 +00:00
DjWarmonger
c850ee6fe0
Fixed #180 . Minor tweaks.
2011-06-18 15:43:28 +00:00
DjWarmonger
d4465ec929
Smarter handling of Magic Resistance & Resistance hero skill.
2011-06-18 10:58:46 +00:00
DjWarmonger
361e58eddb
Applied patch from #749
2011-06-18 04:56:32 +00:00
Frank Zago
4b7d0f3092
Partial integration of Android patches, from Pelya.
2011-06-15 02:15:05 +00:00
Frank Zago
eecb470e74
Fixed all warnings "take address of temporary".
2011-06-11 04:54:41 +00:00
Michał W. Urbańczyk
9775f88045
Version bump.
...
Initial support for IF:M elements and string formatting.
Various minor changes related to ERM interpreter.
The following script should be functional now:
ZVSE
!?PI;
!!DO1/0/6/1&v2777<>1:P0;
!?FU1;
!!IF:M^Hello world number %X16!^;
2011-06-10 23:50:32 +00:00
Frank Zago
aca118b613
Fixed creature bonus parser. Fixed several uninitialized variables. Updated data build script to v0.85.
2011-06-03 03:23:50 +00:00
Michał W. Urbańczyk
0dbd7ee3c8
Fixed #739 and #742 .
...
Version set to 0.85.
2011-06-01 18:26:44 +00:00
Frank Zago
ff49b852df
Silenced several "warning: suggest parentheses around ‘&&’ within ‘||’": added some parenthesis, optimized a couple statments and fix a bug in another.
2011-05-30 19:20:14 +00:00
beegee1
2d3caec79b
* Implemented parabolic trajectory of the trebuchet
...
* Improved shooting animation
2011-05-30 14:16:34 +00:00
Michał W. Urbańczyk
2d61fab7e9
* Probably fixed #655 .
...
* Fixed #736 , #737 .
* Fixed crash on loss/victory.
* Fixed crash on loading some AB maps.
* Fixed crash on loading map where victory/loss condition objective hero was placed inside the town.
* Fixed crash on loading map when neutral Dungeon has built Portal of Summoning.
* Mutex protecting GS will be used to prevent changes in GS when GUI might read it.
* Little more securities around moving hero and ending turn, still needed more.
2011-05-29 23:49:25 +00:00
DjWarmonger
936005aa1c
Correct, yet ugly handling of Magic Resistance.
2011-05-29 18:28:50 +00:00
Michał W. Urbańczyk
47e4c8d6e6
Probably fixed #732 , one more fix for spawning wandering monsters.
2011-05-29 14:06:52 +00:00
Michał W. Urbańczyk
b07e8fbfa4
For 0.84c dev build.
2011-05-29 01:44:47 +00:00
Ivan Savenko
19f0836211
Fixed #712 and #713
2011-05-28 10:05:25 +00:00
Michał W. Urbańczyk
3ca95ef5ed
Fixed #730 :
...
* crash on +5 growth week
* crash on spawning wandering creatures on double growth months
(how come that has not been found in previous build?)
More logging for #729-like issues.
2011-05-28 01:02:28 +00:00
Frank Zago
4af4f0a707
Compile and warning fixes.
2011-05-27 22:34:58 +00:00
Frank Zago
abc0d3537e
Some compile fixes.
2011-05-27 13:49:18 +00:00
beegee1
7962a9bc47
* Fixed #30
...
* Fixed several shooting animation bugs
* Improved XY position of double wide creatures
2011-05-26 14:47:45 +00:00
Michał W. Urbańczyk
953a3bf165
Final changes for 0.84b:
...
* no hard crash on startup when AB videos are not installed (1 byte file)
* moved some DLL_EXPORTs to resolve incomprehensible (to me) linker error occurring only with release builds.
2011-05-26 01:03:35 +00:00
Michał W. Urbańczyk
c32242b4e9
For 0.84b dev build.
2011-05-25 23:52:27 +00:00
Michał W. Urbańczyk
df062614d7
Fixed #260 , improvement for #250 .
2011-05-25 22:44:02 +00:00
Michał W. Urbańczyk
8e57dba850
Fixed #658 and #699 .
...
Checking for water availability won't cause spurious warnings. New creature window enabled for testing.
2011-05-25 14:48:49 +00:00
Michał W. Urbańczyk
601bee9c0f
Fixed unitialized ptr from previous commit. Added classicCreatureWindow option to the config, deciding whether classic or the new creature window will be used. Added switchCreWin console command for switching this option run-time. Garrison slots now shouldn't redraw themselves on top of creature window.
2011-05-25 13:11:03 +00:00
Michał W. Urbańczyk
072bb5884b
Fixed #728 .
...
Fixed issue with game loading.
Minor fixes.
2011-05-24 23:17:57 +00:00
mateuszb
94166b83aa
* some changes
2011-05-22 18:46:52 +00:00
DjWarmonger
b97988477e
Optimization for terrain path.
2011-05-21 08:44:02 +00:00
DjWarmonger
3a6b5cbfbb
Various fixes related to spell effects and Creature Window.
2011-05-21 07:07:07 +00:00
Michał W. Urbańczyk
2845123a0a
A patch from zjarek ( #727 ) — refactoring of CTerrainRect::showPath.
2011-05-21 01:10:41 +00:00
beegee1
431064cbf9
* Fixed #532 -> Catapult shoots now after keep/upper/lower tower
...
* Fixed turret projectile bug
2011-05-18 17:51:10 +00:00
beegee1
ef66982bbd
* Fixed #173 -> Heroes are now placed at the correct position during battles
2011-05-17 15:52:44 +00:00
beegee1
17290d4f0d
* Fixed 171 Update: Defending hero gets now drawn at the end of the first hex row. Hero is in front of the background wall but behind the keep/keep turret.
2011-05-15 17:36:39 +00:00
beegee1
7ad6ca7482
* Fixed #171 : The overlapping order of walls-creatures-hero is now correct during sieges
2011-05-15 17:18:36 +00:00
DjWarmonger
d4c2e55a00
Fixed #421 & #480 . Some work on animations & sounds. Minor changes.
...
TODO: Interface should check game state before it's changed by triggered abilities of creatures.
2011-05-15 06:37:57 +00:00
DjWarmonger
db386915d1
Spell_levels are not necessary in the end.
...
Fixes. Game won't crash when displaying info for war machines. However, they should be handled as regular stacks during battle.
2011-05-13 14:33:48 +00:00
DjWarmonger
b02527566c
Fixed some battle logs.
2011-05-13 10:45:36 +00:00
DjWarmonger
515ab7e7c1
Support for Acid Breath (both effects are now separate).
...
Minor fixes.
2011-05-13 09:02:16 +00:00
beegee1
7c771e5c56
* Fixed: The Creatures inside the walls in the 1st row of hexes should have priority over the wall
2011-05-11 17:43:19 +00:00
beegee1
f3b5ede486
* Fixed the jumping creature animation bug when a unit isn't fully display at the battle screen. The upper creature turret moved (randomly) from left to right during battle and wasn't displayed at the correct x position.
2011-05-11 16:08:37 +00:00
Frank Zago
c165593896
(linux) added new files into the makefiles and compile fixes.
2011-05-10 01:15:10 +00:00
Michał W. Urbańczyk
617e1f962e
New files for lib:
...
* lib/ERMScriptModule.cpp
* lib/ERMScriptModule.h
* lib/CObstacleInstance.h
More jugglery with callbacks. Moving stuff from CGameState to CGameInfoCallback. Work on unified game events interface for player (AI or GUI) and script module. Directing events to ERM interpretetr, first attempts of calling some triggers. Crashy, if there any scripts.
Some other changes, including fighting amount of includes in includes and tracking of hero visits (need further work).
2011-05-09 22:20:47 +00:00
Frank Zago
98577e402f
av_free_packet is a library call. Don't reproduce its code here.
2011-05-04 03:42:09 +00:00
Frank Zago
f7a4bb906c
Several minor cleanups.
2011-05-04 02:38:58 +00:00
Frank Zago
c46f3da9ab
Fixed potential NULL dereference.
2011-05-04 02:35:44 +00:00
Michał W. Urbańczyk
b4144dc616
Callback jugglery, part 1.
...
Fixed #252 .
2011-05-03 03:14:18 +00:00
beegee1
36d29424f0
* Turrets, keep and turret covers can be now be placed by altering wall_pos.txt
...
* Fixed recruitment slider bug
* Fixed #271
* Improved color management
2011-04-30 19:52:35 +00:00
Ivan Savenko
e494171de3
- several changes to get reusable code
...
- possibly fixed #725
- bug in random seed initializing?
2011-04-30 18:16:58 +00:00
Michał W. Urbańczyk
ec76876bda
drawBorder should not crash when attempted drawing outside the surface.
2011-04-29 00:50:54 +00:00
beegee1
45fba15511
* Reverted previously changed PreGame code
...
* Added the missing AB video resource file in linux code, AB campaign selection videos should now play BUT they don't => it seems that ffmpeg can't handle older BINK videos
* Fixed a visual glitch which could be seen at the WOG animation in the main menu on a linux machine
* Fixed the random crashes bug on mouse centering at startup on linux
* Fixed a visual bug at the bonus selection screen when starting a campaign-map
* Changed some positions in the bonus selection screen, no bonus pre selection, you cannot start the campaign when no bonus is selected (like in h3)
* Added a border functionality to the AdventureMapButton
* InfoWindow buttons and some other buttons have now the border which heroes 3 buttons have
* Fixed a app crash when you start a campaign two times in one session
2011-04-26 13:30:29 +00:00
DjWarmonger
a73a1c2724
Battle log messages for new abilities.
...
Lots of fixes.
2011-04-26 07:57:26 +00:00
DjWarmonger
a4d845688a
Support for Poison, Age, Disease
...
Partial support for Stone Gaze, Paralyze, Mana drain
Partial fix for #134 - animation triggers only for our own stacks, not enemy's
Lots of tweaks & fixes.
2011-04-25 09:03:13 +00:00
Michał W. Urbańczyk
362f413b4d
Fixing #127 and #702 .
2011-04-24 02:02:41 +00:00
DjWarmonger
7591d06b05
Support for Death Stare.
...
Some tweaks are still needed. Level 0 spell-like abilities won't work correctly.
2011-04-23 17:10:54 +00:00
Ivan Savenko
61af4c745e
- recursive directory parser for LodHandler - for creature abilities and new main menu images
...
- fixed screen updating on closing window
- minor fixes
2011-04-23 10:27:44 +00:00
Michał W. Urbańczyk
d092eaf9d1
Artifact Merchant: selling artifacts. Messy, but completes H3 town structures functionalities.
...
BTW updating screen after closing marketplace is broken.
2011-04-22 21:51:10 +00:00
beegee1
66b708c168
* PreGame interface gets now redrawn every frame.
...
* Changed PreGame event handling and update/draw order.
* Changed mouse cursor drawing in PreGame
* Fixed linux bug where main menu WOG animation gets played only once, windows/linux video handling is now more similar
* Minor code improvements
2011-04-17 18:02:13 +00:00
DjWarmonger
3241e7c8f8
Applied patch for #721 from Plush.
2011-04-15 18:43:46 +00:00
beegee1
d6bd8514e7
Fixed bug #722 . GuiBase::Run is now mostly in its old state. (before rev 2062) One disadvantage is now that the FPS Counter doesn't work in battle.
2011-04-13 19:52:56 +00:00
DjWarmonger
3c5a0fd4ce
Creatures now use SHOTS Bonus to express their total ammo count. Support for "additional shots" exp premy.
2011-04-12 08:59:18 +00:00