1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-23 00:28:08 +02:00
Commit Graph

3037 Commits

Author SHA1 Message Date
3a6b5cbfbb Various fixes related to spell effects and Creature Window. 2011-05-21 07:07:07 +00:00
431064cbf9 * Fixed #532 -> Catapult shoots now after keep/upper/lower tower
* Fixed turret projectile bug
2011-05-18 17:51:10 +00:00
53ce30f083 * partial support for string processing
* post-triggers should work
* minor improvements
2011-05-17 19:24:18 +00:00
6014edb7ea * minor improvements in parser/interpreter 2011-05-16 12:11:00 +00:00
4eef7aa83b * partially done OB receiver
* minor structure imprevements
2011-05-15 18:21:07 +00:00
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
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
bc114a89f4 Partial support for immunities & receptive ability.
TODO: Immunity to direct damage spells.
2011-05-13 17:51:12 +00:00
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
b02527566c Fixed some battle logs. 2011-05-13 10:45:36 +00:00
515ab7e7c1 Support for Acid Breath (both effects are now separate).
Minor fixes.
2011-05-13 09:02:16 +00:00
09a51acfc2 * minor bugfix
* a bit more of function handling
2011-05-12 20:49:37 +00:00
2bcba53a5d (linux) compile fix. 2011-05-12 01:39:37 +00:00
95b16906aa * a few bugs in interpreter fixed 2011-05-11 19:53:55 +00:00
c165593896 (linux) added new files into the makefiles and compile fixes. 2011-05-10 01:15:10 +00:00
58ebfc421d One more file:
* lib/IGameEventsReceiver.h

Workaround for crash on post-visit.
2011-05-09 22:30:37 +00:00
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
743df272e4 * arithmetic and boolean operations on variables
* hopefully working DO receiver
2011-05-07 15:13:56 +00:00
2d36cae2ca * partially done DO receiver 2011-05-06 19:32:04 +00:00
f7a4bb906c Several minor cleanups. 2011-05-04 02:38:58 +00:00
91dc7a0dd4 Include proper boost header. 2011-05-04 02:37:27 +00:00
85d0d49207 * most of VR:S receiver 2011-05-03 14:45:57 +00:00
b4144dc616 Callback jugglery, part 1.
Fixed #252.
2011-05-03 03:14:18 +00:00
86a7cd12ff * checking ERM conditions should work now 2011-05-02 18:39:57 +00:00
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
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
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
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
5cc9d16014 Fixed #276. 2011-04-22 22:28:13 +00:00
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
4ac2d32985 * minor work on ERM interpreter 2011-04-22 20:33:34 +00:00
66837f1ee0 * some work towards running triggers 2011-04-21 20:06:42 +00:00
69c8c0d058 * a bit more of erm interpreter (iexp getter/setter) 2011-04-17 17:51:48 +00:00
36fb9b0b6e * some progress in VERM interpreter 2011-04-16 17:39:38 +00:00
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
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
734c95959e gcc compile fix 2011-04-10 22:06:05 +00:00
033c067144 * it shouldn't parse scripts yet 2011-04-10 16:42:20 +00:00
382e239e47 * a bit more of ERM/VERM interpreter 2011-04-10 16:39:34 +00:00
57d292ba67 Partial support for splitting neutral stacks. Can't go further until interface is fixed. 2011-04-10 08:33:53 +00:00
5795334eec Added missing throw(). 2011-04-09 19:10:29 +00:00
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
b0ca5b677c * a few data structures for ERM/VERM interpreter 2011-04-08 19:24:30 +00:00
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
8ac7edb04b Fixed #680 2011-04-07 16:44:24 +00:00
69364b5b60 Various gcc compile fixes, and updates to linux code. 2011-04-07 02:16:32 +00:00
7874d84c4e * basic structure of ERM interpreter
* SHOW_FPS moved to settings.txt
* minor changes
2011-04-06 20:30:59 +00:00
0aad12ae67 Added ERM preprocessor (removing comments, empty lines, joining multi-line commends). 2011-04-03 21:38:47 +00:00
3fc570a8e9 * parsing multiple consecutive modifiers in VERM
* minor improvements
2011-04-03 13:15:07 +00:00
21eaec883c * VERM grammar seems to be complete 2011-04-02 18:06:52 +00:00