DjWarmonger
864f758ad8
Some movements towards creature artifacts.
...
Minor improvement - Summon elemental can now benefit from hero's special.
2011-08-13 10:54:23 +00:00
Michał W. Urbańczyk
f417cee2c0
Updated project file.
2011-08-07 08:20:28 +00:00
DjWarmonger
e67b7b9da4
Some fixes for shooting vs Creature Window.
2011-08-06 07:05:04 +00:00
Frank Zago
56bf3dc8ab
Replaced io_service()) with get_io_service(). Fixes bug #780 .
2011-08-04 23:49:32 +00:00
beegee1
f609c4ad9a
* Fixed #33 -> Creatures tend to stop at every hex during movement
2011-08-01 17:36:18 +00:00
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
DjWarmonger
f5874540b3
Underground rock tiles will be always blocked -> no spawning monsters in there.
2011-07-22 07:07:27 +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
DjWarmonger
da83f0fcde
For dev release 0.85b
...
Quick fix for #762
2011-07-21 14:16:45 +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
DjWarmonger
b609479496
Support for Magic Mirror spell.
2011-07-16 08:28:01 +00:00
DjWarmonger
79a453f442
Support for WoG "cast before attack" bonus. Minor fixes.
2011-07-16 06:42:44 +00:00
DjWarmonger
92006b53f1
Fixed interface freezes for some mass-target spells.
...
How comes no one has reported it before?
2011-07-15 16:41:43 +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
1bf9bb4d94
Flexible handling of creature spell power.
2011-07-08 13:17:05 +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
Michał W. Urbańczyk
ed056cf0df
Set of minor improvements and fixes.
2011-07-05 19:05:41 +00:00
beegee1
488e54688f
* Bonus caching system disabled for the moment now. => #764
2011-07-05 18:29:48 +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
DjWarmonger
08b7d0db17
All multi-hex attacks and shots should now be fully functional.
2011-07-05 06:07:36 +00:00
DjWarmonger
e95ae22061
Implemented Dragon Breath, Attack All Around & Three-Headed Attack.
...
Dragon Breath does not yet work correctly for all double-wide stacks, though.
2011-07-04 19:34:49 +00:00
mateuszb
aac1c0b4e7
* cleaner code is better :)
2011-07-03 19:10:36 +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
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
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
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
a60fd00e22
Fixes for Pandora Box texts.
2011-06-25 09:28:28 +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
37cd2b7394
Another fix for previous commit.
2011-06-24 17:50:22 +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
DjWarmonger
3f85ca4504
Fixes for necromancy.
2011-06-23 13:50:13 +00:00
DjWarmonger
5f53531f4b
Fixed crash on joining units that we already have in our army.
2011-06-23 10:12:35 +00:00
mateuszb
c71127809e
* minor fixes for revision 2193 (no shooting penalty bonus wasn't needed indeed but was poorly removed)
...
* minor changes
2011-06-22 12:44:28 +00:00
DjWarmonger
af8d8cbfc7
Implemented #479
2011-06-21 12:45:57 +00:00
DjWarmonger
423fd2ffb7
Fixed #756
...
Extended range (ui64) for army strenght.
2011-06-21 09:31:08 +00:00
Frank Zago
f99d0bf966
(linux) autoconf update for the new scripting directory.
2011-06-21 02:34:11 +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
e7bbfb615c
Removed odd "no shoting penalty" bonus. It seems to be confused with No Distance Penalty.
2011-06-20 06:42:53 +00:00
DjWarmonger
825562a092
Fixed #538
2011-06-19 09:07:15 +00:00
Frank Zago
129c9d521e
Warning fixes + typo.
2011-06-18 23:56:48 +00:00
mateuszb
645ca7be87
* a few examples of verm usage
...
* semantic macros for verm
* many bugfixes in interpreter
2011-06-18 18:24:56 +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
60ee0e1a3c
Better fix for #128
2011-06-18 09:48:25 +00:00
DjWarmonger
a497c88bde
Fixed #128 and #301
2011-06-18 05:55:39 +00:00
Frank Zago
4b7d0f3092
Partial integration of Android patches, from Pelya.
2011-06-15 02:15:05 +00:00
Frank Zago
14efb9fd13
Warning fix.
2011-06-15 01:36:36 +00:00
mateuszb
3e9b247470
* defining functions in verm works
...
* a few more standard functions
* standard verm file
2011-06-14 17:29:13 +00:00
Frank Zago
b471c10149
Compile fix, from Pelya.
2011-06-14 13:22:00 +00:00
mateuszb
73a05d62fd
* significantly improved verm interpreter - if, comparisons, lambda expressions are working!
2011-06-11 18:10:15 +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
78b5e11b93
Compile fix.
2011-06-10 12:49:31 +00:00
mateuszb
af3050058f
* some work on interpreter
2011-06-04 18:16: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
DjWarmonger
f4f2af664f
Fixed #744
2011-06-01 05:10:28 +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
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
mateuszb
5786c26586
* building verm tree without modifiers
2011-05-29 18:16:49 +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
DjWarmonger
7d56db6fb3
Fixed #597 once more.
2011-05-29 13:34:26 +00:00
DjWarmonger
968080a890
Fixed #734
2011-05-29 12:36:38 +00:00
DjWarmonger
c6a69d35cf
More bonuses & graphics handled.
2011-05-28 05:34:40 +00:00
Frank Zago
b11981293f
Compile fix.
2011-05-28 05:09:06 +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
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
528f0363a1
Fixed crash after a battle when resurrection was cast.
...
[However the spell still is not implemented correctly... :/ ]
2011-05-25 20:44:18 +00:00
DjWarmonger
d4ed4cf9a0
Minor fix.
...
A general issue: "shooter" artifacts should display bonus only for shooting creatures.
2011-05-25 18:12:26 +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
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
0adc4235f2
Display of immunities and similar effects.
2011-05-21 16:10:14 +00:00
DjWarmonger
3a6b5cbfbb
Various fixes related to spell effects and Creature Window.
2011-05-21 07:07:07 +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
mateuszb
53ce30f083
* partial support for string processing
...
* post-triggers should work
* minor improvements
2011-05-17 19:24:18 +00:00
mateuszb
6014edb7ea
* minor improvements in parser/interpreter
2011-05-16 12:11:00 +00:00
mateuszb
4eef7aa83b
* partially done OB receiver
...
* minor structure imprevements
2011-05-15 18:21:07 +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
Michał W. Urbańczyk
249977af2f
Various fixes and improvements for ERM:
...
* comparisons need to have comparison operator -> they won't catch plain var usage
* removed qmacro -> that's just reading into normal macro
* there are 10000 standard vars
* there is one global (base) set of y-vars
* the iterator from !!DO loop is correctly passed into called function
* fixed getting variable value (also supporting array indexing)
* post- and pre-triggers share common base
2011-05-14 13:20:19 +00:00
DjWarmonger
bc114a89f4
Partial support for immunities & receptive ability.
...
TODO: Immunity to direct damage spells.
2011-05-13 17:51:12 +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
mateuszb
09a51acfc2
* minor bugfix
...
* a bit more of function handling
2011-05-12 20:49:37 +00:00
Frank Zago
2bcba53a5d
(linux) compile fix.
2011-05-12 01:39:37 +00:00
mateuszb
95b16906aa
* a few bugs in interpreter fixed
2011-05-11 19:53:55 +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
58ebfc421d
One more file:
...
* lib/IGameEventsReceiver.h
Workaround for crash on post-visit.
2011-05-09 22:30:37 +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
mateuszb
743df272e4
* arithmetic and boolean operations on variables
...
* hopefully working DO receiver
2011-05-07 15:13:56 +00:00
mateuszb
2d36cae2ca
* partially done DO receiver
2011-05-06 19:32:04 +00:00
Frank Zago
f7a4bb906c
Several minor cleanups.
2011-05-04 02:38:58 +00:00
Frank Zago
91dc7a0dd4
Include proper boost header.
2011-05-04 02:37:27 +00:00
mateuszb
85d0d49207
* most of VR:S receiver
2011-05-03 14:45:57 +00:00
Michał W. Urbańczyk
b4144dc616
Callback jugglery, part 1.
...
Fixed #252 .
2011-05-03 03:14:18 +00:00
mateuszb
86a7cd12ff
* checking ERM conditions should work now
2011-05-02 18:39:57 +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
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
DjWarmonger
7e9033c44f
Fixed #668 and #718 .
...
Hero is now properly attached to his special.
Compile fix for ERM Parser.
2011-04-23 09:57:51 +00:00
Michał W. Urbańczyk
5cc9d16014
Fixed #276 .
2011-04-22 22:28:13 +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
mateuszb
4ac2d32985
* minor work on ERM interpreter
2011-04-22 20:33:34 +00:00
mateuszb
66837f1ee0
* some work towards running triggers
2011-04-21 20:06:42 +00:00
mateuszb
69c8c0d058
* a bit more of erm interpreter (iexp getter/setter)
2011-04-17 17:51:48 +00:00
mateuszb
36fb9b0b6e
* some progress in VERM interpreter
2011-04-16 17:39:38 +00:00
DjWarmonger
6a8e3f1b57
Neutral creatures are now correctly split into stacks & merged after a battle.
...
TODO: find relation to adventure map tile
2011-04-14 07:58:19 +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
Ivan Savenko
734c95959e
gcc compile fix
2011-04-10 22:06:05 +00:00
mateuszb
033c067144
* it shouldn't parse scripts yet
2011-04-10 16:42:20 +00:00
mateuszb
382e239e47
* a bit more of ERM/VERM interpreter
2011-04-10 16:39:34 +00:00
DjWarmonger
57d292ba67
Partial support for splitting neutral stacks. Can't go further until interface is fixed.
2011-04-10 08:33:53 +00:00
Frank Zago
5795334eec
Added missing throw().
2011-04-09 19:10:29 +00:00
Frank Zago
ecb3508690
(linux) Added configure test for the icc and clang compilers, and set some extra parameters for them.
2011-04-09 17:28:51 +00:00
mateuszb
b0ca5b677c
* a few data structures for ERM/VERM interpreter
2011-04-08 19:24:30 +00:00
Ivan Savenko
0f605256e9
- added new files to build system
...
- minor gcc fixes
- updated castle interface code, added missing parts including #380
- buildings enum in global.h
2011-04-07 17:54:08 +00:00
DjWarmonger
8ac7edb04b
Fixed #680
2011-04-07 16:44:24 +00:00
Frank Zago
69364b5b60
Various gcc compile fixes, and updates to linux code.
2011-04-07 02:16:32 +00:00
mateuszb
7874d84c4e
* basic structure of ERM interpreter
...
* SHOW_FPS moved to settings.txt
* minor changes
2011-04-06 20:30:59 +00:00
Michał W. Urbańczyk
0aad12ae67
Added ERM preprocessor (removing comments, empty lines, joining multi-line commends).
2011-04-03 21:38:47 +00:00
mateuszb
3fc570a8e9
* parsing multiple consecutive modifiers in VERM
...
* minor improvements
2011-04-03 13:15:07 +00:00
mateuszb
21eaec883c
* VERM grammar seems to be complete
2011-04-02 18:06:52 +00:00
mateuszb
ccecc6637f
* partially done support for VERM
...
* MSVC compilation fix (using boost::ref is an error)
2011-04-01 19:09:05 +00:00
Ivan Savenko
407acce4c6
- gcc 4.5 / boost 1.46 compilation fixes
...
- configure will accept CXXFLAGS parameter correctly
- boost version check in ERMParser - to skip compilation with old boost
2011-03-29 17:16:10 +00:00
mateuszb
c6d0814062
* ERM parser is generally done, no serious bugs are known
2011-03-28 19:34:00 +00:00
mateuszb
3c393843e6
* ERM parsing mostly done, some strange cases of body syntax, undocumented expressions and encoding issues still remain.
2011-03-27 17:24:30 +00:00
DjWarmonger
15d80d040f
Correct handling of merging & moving stacks with experience.
2011-03-27 09:31:14 +00:00
mateuszb
caf50fc278
* most of WoG's ERM parsed, a few minor things left + body needs to be parsed a bit deeper.
2011-03-25 20:38:24 +00:00
mateuszb
31b4906daa
* ERM parser improvements, it should be GCC-compatible now
2011-03-24 22:05:08 +00:00