1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-24 08:32:34 +02:00
Commit Graph

2107 Commits

Author SHA1 Message Date
Ivan Savenko
19f0836211 Fixed #712 and #713 2011-05-28 10:05:25 +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
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
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
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
0adc4235f2 Display of immunities and similar effects. 2011-05-21 16:10:14 +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
mateuszb
53ce30f083 * partial support for string processing
* post-triggers should work
* minor improvements
2011-05-17 19:24:18 +00:00
beegee1
ef66982bbd * Fixed #173 -> Heroes are now placed at the correct position during battles 2011-05-17 15:52:44 +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
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
Frank Zago
c6498d0af2 Updated data build script to 0.84. 2011-05-14 15:25:18 +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
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
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
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
91dc7a0dd4 Include proper boost header. 2011-05-04 02:37:27 +00:00
Frank Zago
c46f3da9ab Fixed potential NULL dereference. 2011-05-04 02:35:44 +00:00
Frank Zago
0c3f3c67a9 Callback naming fix. 2011-05-04 02:32:35 +00:00
mateuszb
85d0d49207 * most of VR:S receiver 2011-05-03 14:45:57 +00:00