Commit Graph
100 Commits
Author SHA1 Message Date
mateuszb d14083272d * new spells
- protection from air
- protection from fire
- protection from water
- protection from earth
* a bit of refactoring in spell handling code
2009-04-22 10:03:13 +00:00
mateuszb e88ba16ffa * ubuntux's patch (vcmi_fix_res2) 2009-04-22 07:46:27 +00:00
mateuszb 35f63bdc5f * new spell (disrupting ray)
* a few code cleanups
2009-04-21 17:32:43 +00:00
mateuszb 408411d8c3 * next ubuntux's patch 2009-04-19 15:01:33 +00:00
mateuszb 899be22db0 * added new spells
- dispel
- armageddon
* spellbook cannot be opened by L-click on hero in battle when it shouldn't be possible
* minor changes
2009-04-17 14:01:22 +00:00
mateuszb 1dcb99254c * ubuntux's levelup patch 2009-04-17 09:12:24 +00:00
mateuszb 7319e5cb0e * canceling of casting a spell by pressing Escape or R-click (R-click on a creatures does not cancel a spell)
* new spells:
- frost ring
- fireball
- inferno
- meteor shower
- death ripple
- destroy undead
* spellbook button is inactive when hero cannot cast any spell
* obstacles will be placed more properly when resolution is different than 800x600
* minor changes
2009-04-16 14:01:27 +00:00
mateuszb cc631b1362 * next ubuntux's patch
* normalized line endings (CR+LF)
* translated comments in CMessage.cpp
2009-04-16 11:14:13 +00:00
mateuszb f9ae91d88c * further changes towards support for ranged spells
* added info about author & license in files
2009-04-15 14:03:31 +00:00
mateuszb aa87e1ff16 * next ubuntux's patch 2009-04-15 10:20:47 +00:00
mateuszb ece364f735 * partial implementation of SRSL parser (although it's enough for almost all Heroes III spells)
* config/spell_info.txt is now less unholy (its size is no more 666 bytes) :)
2009-04-14 14:48:57 +00:00
mateuszb 049b4de2b2 * next ubuntux's patches 2009-04-14 10:46:42 +00:00
mateuszb 4d3808cfa0 * applied ubuntux's patches
* fixed AmptyAI (it builds now)
2009-04-13 18:52:20 +00:00
mateuszb b74b6ecc01 * minor bugfixes 2009-04-07 17:51:50 +00:00
mateuszb ee61a02d12 * further console improvements 2009-04-05 14:37:14 +00:00
mateuszb 47bc007d8c Common changes (ours):
* Improvements for console
* Speed bonus support
* Minor improvements
2009-04-04 19:26:41 +00:00
mateuszb f794644c2a * basic in-game console 2009-04-03 15:55:26 +00:00
mateuszb 6d5ed19ad3 * improved comment coverage in CPlayerInterface.h and CBattleInterface.h
* corrected road blitting when hero moves smoothly and road is near top edge of screen
2009-03-22 16:04:46 +00:00
mateuszb 3ea97f7893 * small refactoring
* Rect intersection by operator&
2009-03-21 17:22:16 +00:00
mateuszb 2a7ad63495 * massive spells go via one SetStackEffect 2009-03-21 16:03:07 +00:00
mateuszb 74be845594 * fixed bug with looping animation supposed to be played once
* minor changes
2009-03-19 19:04:46 +00:00
mateuszb e961655b1a * faster minimap refreshing 2009-03-13 14:57:49 +00:00
mateuszb 227d48c12b * fixed bug crashing server when hero was moving near bottom or right edge of the map
* a few improvements in CMinimap.
2009-03-13 14:16:53 +00:00
mateuszb a08aaba29d * probably fixed problem with displaying corpses on battlefield
* fixed buy troops window
* workaround for a problem with GeniusAI
* some magic numbers are removed
2009-03-12 18:06:02 +00:00
mateuszb 9eb6128b27 * correct handling of flying creatures in battles
* minor changes
2009-03-07 16:05:53 +00:00
mateuszb 329eab2f6a * corrected stack death animation 2009-03-05 17:57:26 +00:00
mateuszb dc73072ba4 * fixed #20 from 0.7b bug thread 2009-02-28 16:44:56 +00:00
mateuszb f835ea9033 * fixed #9 and #12 from 0.7b bug thread
* more logging around #19 from that thread
* glowing effect of yellow border around creatures
* blue glowing border around hovered creature
* making animation on battlefield more smooth
* standing stacks have more static animation
2009-02-21 15:43:28 +00:00
mateuszb 2e47b5ce10 * probably fixed #8 from 0.7b forum
* fixed blockmap for obstacle 10
* better handling of creature animation framesInGroup
* vcmiistari no longer gives creature spell-like abilities
* probably correct calculation of occupiable hexes on battlefield
2009-02-20 13:06:20 +00:00
mateuszb 96a7e1600b ?!? 2009-02-14 13:51:21 +00:00
mateuszb b42a7fa87b * CCallback battle calls are more safe now when there is no battle (may prevent some bugs)
* corrected some obstacles entries
* removed two stack corruption bugs
* a few tweaks in battle path/available hexes calculation (more of them is needed)
2009-02-14 13:49:30 +00:00
mateuszb 489bd1e4f2 * various obstacles fixes
* better support for battle backgrounds
2009-02-10 14:21:51 +00:00
mateuszb 445653c880 * most of the obstacles (but needs some polishing)
* more appropriate animation of hero casting spell
2009-02-09 14:50:32 +00:00
mateuszb 02309c5bb8 * fixed positions of stack queue and battle result window when resolution is != 800x600
* attack is now possible when hex under cursor is not displayed
* first part of obstacles support
2009-02-07 16:07:29 +00:00
mateuszb 811e6c0945 * hopefully resolved bugs 19 and 20 reported by Zamolxis 2009-02-06 15:56:03 +00:00
mateuszb ba9b58d3a4 * moved graphics from CAbilityHandler to Graphics
* reading BALLIST.TXT
* minor changes
2009-02-06 14:15:45 +00:00
mateuszb 7b2585e422 * added mirth, sorrow, fortune and misfortune spells
* actual stack's morale/luck is displayed in creature info window
* initialization of morale/luck for siege machines
* removed redundant copies of spell casting code in CGameHandler.cpp
* corrected duration of frenzy spell which was incorrect in certain cases
2009-02-06 11:50:48 +00:00
mateuszb 72bc53a1b9 * now everything should be fine with attacking in battle 2009-02-05 15:44:21 +00:00
mateuszb 0070c93888 * more support for attacking stacks for back by two hex stacks
* minor typo fixed
2009-02-05 14:44:27 +00:00
mateuszb 124e768a99 * added missing movement arrows (advmap interface)
* corrected centering on hero's position
* merged terrainRect and terrainRectSmooth
2009-02-02 13:05:19 +00:00
mateuszb 673ffddf4a * creature info window contains info about modified speed
* removed unwanted behavior - VCMI allows now for attacking when move action fails (command walk & attack) [to be tested as I'm not sure if I've done enough]
* battle result window properly displayed
2009-01-30 14:36:26 +00:00
mateuszb 5c51992294 * more developed battle console (spell destination select info, shoot info, move/fly info)
* removed crash when siege weapon is attacked
* corrected animation of defender's two-hex creature reverse
2009-01-29 18:07:31 +00:00
mateuszb 7405549733 * battle console displays notifications about wait/defend commands 2009-01-25 16:40:50 +00:00
mateuszb 9ef5519f89 * fixed bug with displaying mass spells
* fixed defender projectile animation
* you don't have to select location for spells which don't need them
* fixed calculating stack speed when it's under slow spell effect
* changed some 17's into BFIELD_WIDTH
2009-01-16 17:58:41 +00:00
mateuszb a5c4586d13 * added support for non-damaging multi-target spells
* fixed not updating menu in battles
2009-01-15 17:01:08 +00:00
mateuszb c8ba52230b * border around battle interface when not 800x600 2009-01-14 19:07:57 +00:00
mateuszb 645ed84978 * license (GPL v2 or later)
* readme
2009-01-09 18:38:08 +00:00
mateuszb 6e53a4562f *small fixes for issues introduced in previous revision (or older, I'm not sure) 2009-01-09 18:12:36 +00:00
mateuszb 22efd5df29 * experimental smooth hero move support (minor graphical glitches exist but I hope they'll be removed soon; I hope there are no more problems with it, but please test)
* small graphical glitch fixed
2009-01-09 13:03:47 +00:00
mateuszb fa11c06bdc * our changes
* centered spellBook
* magic arrow animation fits battle window
* preventing different battle animations from getting out of appropriate rect
2009-01-07 19:40:19 +00:00
mateuszb b114582857 * corrected indentation
* centered battle interface
* battle cursor while 1024x768 is now correct
* new version of settings.txt from Tow
2008-12-23 13:59:03 +00:00
mateuszb 6fc8ed9365 * showing spell effects affecting stack in creature info window
* more appropriate coloring of stack amount box when stack is affected by a spell
2008-12-21 11:07:23 +00:00
mateuszb 99691b0f11 * fixed compilation error
* added frenzy spell
* repaired order in stack queue in case a unit has waited (it should work correctly now)
* added spell positiveness info, positive spells cannot be cast on hostile stacks and vice versa
2008-12-20 17:08:51 +00:00
mateuszb 05e25ed3ea * added spells: shield, air shield, bless, curse, bloodlust, weakness, stone skin, prayer 2008-12-06 16:45:54 +00:00
mateuszb 00899402cc * choosing adventure map scroll speed 2008-11-30 14:08:07 +00:00
mateuszb 447e5babda * merged CBattleConsole::stackKilled into CBattleInterface::stacksAreAttacked (I hope it'll work even better than before)
* a few optimizations
* maybe something else I've forgotten ;]
2008-11-28 12:11:31 +00:00
mateuszb 2d1fc64dd9 * forgetfulness spell implemented
* partial support for many creatures being attacked at once (killed - not killed mixes and callback/engine support must be added)
2008-11-17 18:47:43 +00:00
mateuszb 32505ec161 * reverted pathfinder with necessary updates including handling of visitDir and code cleanup (needs a bit of testing but Zamolxis will probably do it for us ;]) 2008-11-15 13:44:32 +00:00
mateuszb 73cd282bbe * fixed problem with levelling above 15 lvl (Zamolxis #2 bug)
* probably fixed reported problems with battles (Zamolxis #3 - #7) - needs further testing
2008-11-14 18:18:13 +00:00
mateuszb 0cc5571604 * new spell: implosion
* optimizations in def handling
* small refactoring
2008-11-12 18:59:33 +00:00
mateuszb d2db5ba18e * added slow spell
* a few mistakes in AC_desc.txt fixed
* appropriate spells cannot be casted at any tile
* small memory optimizations in CDefHandler
* minor fixes
2008-11-11 15:17:58 +00:00
mateuszb 6b9146f998 * lightning bolt and ice bolt spells
* displayEffect shows animations on more correct places
* removed three magic numbers (now they're BFIELD_WIDTH, BFIELD_HEIGHT and BFIELD_SIZE macros)
* minor changes
2008-11-10 19:06:04 +00:00
mateuszb ceb3cf8eae * magic arrow probably works
* war machines support partially added
* queue of stacks narrowed
* minor fixes
2008-11-06 17:17:48 +00:00
mateuszb ee54e5d2e2 * hopefully fixed bug reported buy krystian1995 (wrongly displayed prayer animation)
* partially fixed bug with double getting hit animation
2008-10-31 13:15:36 +00:00
mateuszb 45204d8beb * displaying spell effects (currently only arrow magic effect is shown)
* minor fixes
2008-10-19 15:41:18 +00:00
mateuszb 9a8e009862 * magic arrow flight animation (full hit animation will be later as it should be implemented via support for AC format)
* fixed bug with dying unit
* minor things
2008-10-18 13:50:18 +00:00
mateuszb 20a6e05718 small fixes 2008-10-17 17:43:25 +00:00
mateuszb 929ce79ad4 * general improvements in battles
* calls for spell casting in battles (they usually crash VCMI server)
2008-10-17 16:30:56 +00:00
mateuszb 7104326563 * water elemental will really be treated as 2 hex creature
* potential infinite loop in reverseCreature removed
* proper handling of battle cursor
2008-10-05 12:34:14 +00:00
mateuszb c5a5cb7b38 further battle fixes 2008-10-04 10:00:31 +00:00
mateuszb e94e6ac78a probably fixed problems with battles 2008-10-04 09:27:57 +00:00
mateuszb b08b29d0d8 * sprites from /Sprites folder are handled correctly now
* fixed pathfinder and path arrows
* clicking on a tile in advmap view when a path is shown will not only hide it but also calculate a new one
2008-10-03 15:15:23 +00:00
mateuszb 57238200e6 bugfixes 2008-09-30 14:50:11 +00:00
mateuszb 538ffb1579 * added support for archery, offence and armorer secondary abilities
* hero's primary skills account for damage dealt by creatures in battle
* magical hero are given spellbook at the beginning
* added initial secondary skills for heroes
* minor fixes and improvements
2008-09-29 11:03:30 +00:00
mateuszb ceaa51d07d * fixed bug with levelling up
* fixed pictures of secondary skills in hero window (in left - click popups)
* added handling of navigation, logistics, pathfinding, scouting end estates secondary skills
2008-09-28 13:29:37 +00:00
mateuszb a4afdc7145 * minimap shows all flaggable objects (towns, mines, etc.)
* minor optimizations
2008-09-26 14:16:01 +00:00
mateuszb 6a3d0b666f * directional attack in battles
* CSystemOptionsWindow partially done
* added a few consts and references to improve performance
2008-09-25 14:09:31 +00:00
mateuszb 8bde616908 * mostly done battle options (although they're not saved)
* general improvements in rendering of battle interface
2008-09-24 16:25:14 +00:00
mateuszb 64ce34af0e first part of CBattleOptionsWindow 2008-09-23 15:40:30 +00:00
mateuszb e1be5896b9 * better animation handling in battles
* VCMI won't crash when units without start/end of walking animations are moved (ie. halberdier)
2008-09-22 12:22:10 +00:00
mateuszb 8c937d92ad * dead stacks won't be displayed in battle queue
* fixed bug with pathfinder
2008-09-20 12:33:37 +00:00
mateuszb ca1dbfe949 changed most of std::cout to tlogX
Alt+F4 quits the game
2008-09-19 12:09:15 +00:00
mateuszb f97628e67f a few minor fixes 2008-09-19 11:19:14 +00:00
mateuszb 5ee37eeb3d * fixed bug with disappearing head of a hero in adventure map
* some objects are no longer accessible from the top
* minor fixes
2008-09-18 14:18:08 +00:00
mateuszb 1402b6d634 partial support for formations in battles 2008-09-17 11:55:03 +00:00
mateuszb c5c9127673 * fixed a few problems with refreshing screen during blitting using CSDL_Ext::printAtMiddle
* fixed drawbacks in displaying secondary skills in hero window
* fixed two bugs with spellBook
* corrected order of spells in spellBook
* spellBook is opened when hero in battle is left-clicked
2008-09-16 15:23:44 +00:00
mateuszb cc1b5f37cd * fourth part of spellbook
* small fixes
2008-09-15 16:46:54 +00:00
mateuszb ae6e260107 * third part of spellBook
* probably finished counterattacking
2008-09-12 13:06:53 +00:00
mateuszb e4d8d66de1 second part of spellbook 2008-09-11 12:29:22 +00:00
mateuszb 11cef89810 * partially done spell window 2008-09-10 12:19:48 +00:00
mateuszb b256f0ff43 * stack queue in battle (shows when 'c' key is pressed)
* minor fix of cursor image
2008-09-09 11:25:21 +00:00
mateuszb 781340f339 * window of result of battle is shown when one of players has no live stacks
* confirm window is shown before retreat
* minor improvements
2008-09-08 11:32:16 +00:00
mateuszb 062f59a583 printing casualties in battles and minor things 2008-09-07 15:39:19 +00:00
mateuszb 2af92aa170 * first part of end of battle window
* fixed heap corruption while exiting battle
2008-09-05 16:08:25 +00:00
mateuszb 6633fb86ef very significant optimization of battles 2008-09-03 10:52:07 +00:00
mateuszb 37753e6678 probably optimized code for battles 2008-08-31 17:23:40 +00:00
mateuszb 92971e0df0 * working minimap's FoW
* properly displayed neutral buildings' flags
2008-08-07 15:09:10 +00:00
mateuszb b75161788e * small changes 2008-08-07 12:29:53 +00:00
mateuszb c8a6fc9cba reverted changes in r516 (what are those files for?) 2008-08-03 14:32:31 +00:00
mateuszb 5ec934d6be * resolved #69 2008-08-03 13:39:34 +00:00