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

219 Commits

Author SHA1 Message Date
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
2a7ad63495 * massive spells go via one SetStackEffect 2009-03-21 16:03:07 +00:00
Michał W. Urbańczyk
b2c4f3e0fd * fixed crash on saving when some objects havebeen removed
* support for multi-target attacks/spells in the protocol
* version bumped to 0.7d
2009-03-21 12:49:58 +00:00
Michał W. Urbańczyk
0cf1b2588d * hero recruited in the town with Mage Guild will get spells (if has spellbook)
* fixed casting spells
* resolved some "taking address of temporary" warnings
* fixed removing killed Hero
2009-03-20 18:51:48 +00:00
Michał W. Urbańczyk
516b1e2b00 REMOVED FILES: CPatgFinder.h/cpp
Updated project files for MSVC and automake (I hope I didn't break it)
* Refactored pathfinding and integrated into CGameState. 
* Fixed issues with wrong calculating movement cost at server side
* Hero infowindow won't be redrawed each time experience changes
* Removed memory leaks with CPaths-s
* Support for Sign objects
* Bumped savegame formt version to ensure old not compatible saves won't be readed
* Spellscrolls will disappear on visit (won't be treated as spellbooks anymore)
2009-03-19 14:17:19 +00:00
Michał W. Urbańczyk
6ce9a253a4 * support for Redwood Observatory
* support for Shrine of Magic Incantation / Gesture / Thought
* minor improvements
2009-03-14 11:25:25 +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
Michał W. Urbańczyk
5bbc50fc12 * it's possible to stop hero movement
* fixed horde buildings displaying in town hall
2009-03-12 18:50:36 +00:00
Michał W. Urbańczyk
d6283fd1ca * fixed crash when there was no sabegames in Games/ subfolder
* fixed crash when loading map with a mine belonging to human player
* fixed crash on moving hero into town garrison
* fixed r-click infowindow for towns
* new sight radious calculation. Works as OH3 for heroes, towns and probably all objects. (to be tested)
2009-03-11 23:25:59 +00:00
Michał W. Urbańczyk
a7680d3957 Bugfixes and support for timed events. 2009-03-09 19:40:43 +00:00
Michał W. Urbańczyk
320e04a121 New files
For VCMI_LIB: lib/RegisterTypes.cpp lib/NetPacksLib.cpp
For VCMI_CLIENT: client/NetPacksClient.cpp
(+ headers)
Removed files
FOR VCMI_CLIENT: hch/CAbilityHandler.cpp and header

Redone sending and applying messages server => client
May be still buggy.
2009-03-07 17:08:40 +00:00
mateuszb
9eb6128b27 * correct handling of flying creatures in battles
* minor changes
2009-03-07 16:05:53 +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
Michał W. Urbańczyk
a635ac7143 * it's possible to give numbers moved creatures with keyboard in the stack split window
* updated changelog
2009-02-20 19:19:52 +00:00
Michał W. Urbańczyk
79ae1441ff * support for numpad keyboard
* cannot build more than one capitol
* cannot build shipyard if town is not near water
2009-02-20 15:44:49 +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
Michał W. Urbańczyk
9dbe9bd277 Reverted r731 2009-02-14 14:37:13 +00:00
mateuszb
96a7e1600b ?!? 2009-02-14 13:51:21 +00:00
Michał W. Urbańczyk
fd07f7f33e Experimental commit...
* spellbook displays only spells known by Hero
* further fixes for leveling-up
2009-02-14 10:11:07 +00:00
Michał W. Urbańczyk
59b2bb4940 * fixed scrolling behind window problem (now it's possible to scroll with CTRL + arrows)
* proper updating resdatabar after building structure in town or buying creatures (non 800x600 res)
* fixed blinking resdatabar in town screen when buying (800x600)
* updating blockmap/visitmap of randomized objects
* blocked "save" command during battle
* cannot select heroes for computer player (pregame)
* fixed mouse slow downs in pregame
2009-02-11 17:03:30 +00:00
Michał W. Urbańczyk
8e12a5c0a4 * typo in setting hero orientation (move dir) 2009-02-09 16:27:38 +00:00
Michał W. Urbańczyk
c83404a375 * fixed crash when there was no hero available to hire for some player
* pregmae wont crash if user gives wrong resolution number
* fixed 1024x600 screen resolution
* selection dialog (eg. for treasure chests) can be closed with enter key
* orientation of hero can't be change if movement points are exhausted
* numerous improvements for Tavern window (hover tips for buttons, button will be inactive if player has 8 heroes or there is a visiting hero in the town garrison)
* campfire, borderguard, bordergate, questguard will be accessible from the top
* spells not known by hero can't be casted
* restored checking mana points before casting spell
2009-02-09 16:18:48 +00:00
Michał W. Urbańczyk
131c220685 * fixed r-click on tavern hero crash
* fixed removing one-week bonuses
* added keybindings for components in selection window (eg. for treasure chest dialog)
* HANDLE_EXCEPTIONC macro will rethrow exception after logging
2009-02-07 13:28:23 +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
Michał W. Urbańczyk
05b3e3215c * magic well support
* improvements in the recruitment window
* improvements for pregame  
[cf http://vcmi.antypika.aplus.pl/forum/viewtopic.php?t=97 issues 12-15 and 21 - 22]
* minor changes
2009-02-06 11:15:39 +00:00
mateuszb
72bc53a1b9 * now everything should be fine with attacking in battle 2009-02-05 15:44:21 +00:00
Michał W. Urbańczyk
e1d6ff54d7 * morale/luck support in battles
* minor improvements/fixes
* updated changelog
More objects supported:
 *	Faerie Ring
 *	Swan Pond
 *	Idol of Fortune
 *	Fountain of Fortune
 *	Rally Flag
 *	Oasis
 *	Temple
 *	Watering Hole
 *	Fountain of Youth
2009-02-05 09:49:45 +00:00
Michał W. Urbańczyk
218a3beaf6 * further changes towards luck/morale support
* partial support for Idol of Fortune, Fountain of Fortune, Faerie Ring, Swan Pond
2009-02-04 13:40:54 +00:00
Michał W. Urbańczyk
886ab94708 * spell books tend won't be placed in War Machine slots.
[Use ->getArt function to check if artifact is present, NOT ->artifWorn[slot]!!!]
* Rampart's Treasury requires Miner's Guild 
* fixed hanging scrollbar and related crash
* fixed crash when hero get level and has less than two sec. skills to choose between
2009-02-04 03:55:12 +00:00
Michał W. Urbańczyk
680993459a * started making morale/luck system
* basic calculation of hero/stack morale
* displaying morale in hero window
* redone checking if attack is possible (should fix some problems with attacking with 2-hex creatures, at least on server side)
* std::list serialization
* version set to 0.7b
2009-02-03 05:28:05 +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
Michał W. Urbańczyk
6a16d134bf * improved "WAIT" handling
* splitting stacks with the shift+click
2009-01-25 22:56:37 +00:00
mateuszb
7405549733 * battle console displays notifications about wait/defend commands 2009-01-25 16:40:50 +00:00
Michał W. Urbańczyk
49b5b47976 Some old issued reported by Zamolxis [creatures cards an fort screen improvements. 2009-01-22 17:30:15 +00:00
Michał W. Urbańczyk
b895fa35cb * saving and resuming games should work!
(loading from the main menu, saving using "save [NAME]" command)
2009-01-12 20:05:56 +00:00
Michał W. Urbańczyk
3474fdaf05 * save/load partially working
* Arena and Witch Hut support
* improved support for Resources
* minor fixes and changes
2009-01-10 22:08:18 +00:00
Michał W. Urbańczyk
f853074d20 Minor changes (serialization and related) 2008-12-31 09:33:46 +00:00
Michał W. Urbańczyk
4a8ae4ed9a * restored objects functionalities (hopefully working)
* new file in vcmi lib: IGameCallback.cpp
2008-12-27 01:01:59 +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
Michał W. Urbańczyk
ae48e73fe7 * fixed reading .defs
* new system for handling objects and their behaviors, most functionalities don't work now but will be restored soon
* more serialization code, savegame/loadgame bit closer :)
CHANGES IN PROJECT FILES:
* removed CLua.h and CLua.cpp (server)
* removed CScriptCallback.h and CScriptCallback.cpp (server)
* added IGameCallback.h header (lib)
2008-12-22 17:48:41 +00:00
Łukasz Wychrystenko
633b0007ba some warning & code cleanup - nothing significant 2008-12-21 19:17:35 +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
Łukasz Wychrystenko
4d35d1ee35 little change for gcc 2008-12-17 21:16:19 +00:00
mateuszb
00899402cc * choosing adventure map scroll speed 2008-11-30 14:08:07 +00:00
Michał W. Urbańczyk
c6bcd61aba * animation of water tiles
* minor changes
2008-11-30 00:15:38 +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
Michał W. Urbańczyk
c4bcf7b880 * better support for non-800x600 resolutions
* Merged CPreGameTextHandler into CGeneralTextHandler and moved to VCMI_Lib.dll (update your project files)
* Genius AI will be used as a default AI
* more code for save/load
2008-11-28 01:36:34 +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