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

878 Commits

Author SHA1 Message Date
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
Michał W. Urbańczyk
5816028322 new files 2009-03-07 15:55:56 +00:00
Michał W. Urbańczyk
5ebb54ec59 should be fine... 2009-03-07 15:54:12 +00:00
Michał W. Urbańczyk
e9ebc7de5b wrong1 2009-03-06 22:25:19 +00:00
Michał W. Urbańczyk
b1c0d10ece 2009-03-06 22:11:17 +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
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
fd66234a39 * Witch HutL After the first visit to the hut, right-click/hover on that hut mention the skill available.
* refactorings
2009-02-20 12:39:27 +00:00
Michał W. Urbańczyk
6a3bfbee46 * added "Next hero" button functionality
* minor improvement for prison (hero appears at proper tile)
* only one spell can be casted per turn
* minor changes
2009-02-20 10:36:15 +00:00
Michał W. Urbańczyk
c1109452d6 * blocked opening sepllbook if hero doesn't have a one
* removing one-battle bonuses after battle
* windmill gives 500 gold only during first week ever
2009-02-15 19:49:23 +00:00
Michał W. Urbańczyk
adf5c052f9 * support for prison
* updated changelog
2009-02-14 19:12:40 +00:00
Michał W. Urbańczyk
99aef852be * probably fixed Bind effect
* reverted unwanted part of r730
* project files will now have relative paths to libs/includes
* more checkings on startup
2009-02-14 15:00:29 +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
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
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
b2924064ee * new movement cost calculation.
* fixed crashes on loading maps with flag all mines/dwelling victory condition
* minor changes
2009-02-12 14:44:58 +00:00
Michał W. Urbańczyk
efc43e87a8 Fix for scenario list scrolling with wheel. 2009-02-11 18:14:39 +00:00
Michał W. Urbańczyk
4ce04798d4 * added scrolling scenario list with mouse wheel
* updated changelog
2009-02-11 17:48:40 +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
mateuszb
489bd1e4f2 * various obstacles fixes
* better support for battle backgrounds
2009-02-10 14:21:51 +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
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
Michał W. Urbańczyk
c847d56a96 * fixed support for custom hero portrait in the game
* fixed problems with non-hero/town defs not present in defobjinfo but present on map (occurring probably only in case of def substitution in map editor)
* fixed hopefully issues with picking bonus in pregame
* no arrows in options in pregame for fixed hero
2009-02-08 17:19:42 +00:00
Michał W. Urbańczyk
a113a8d289 * patch update from Dikamilo 2009-02-08 16:36:53 +00:00
Michał W. Urbańczyk
dd36cfce50 Patch from Dikamilo:
* compatibility fixes for MinGW
* Code::Blocks project files
2009-02-08 15:39:26 +00:00
Michał W. Urbańczyk
fb4ee65d0e * changed map reading routine in pregame, minor changes for events 2009-02-08 06:42:15 +00:00
ambtrip
d794a83444 GeniusAI:
* code refactoring
 * some problems were fixed
2009-02-07 18:52:55 +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
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
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
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
mateuszb
0070c93888 * more support for attacking stacks for back by two hex stacks
* minor typo fixed
2009-02-05 14:44:27 +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
Michał W. Urbańczyk
ccaf244a54 Fixed save/load maps with removed objects. Fixed spell scroll handling (really). 2009-02-01 23:56:45 +00:00
Michał W. Urbańczyk
5fe2dc32f8 * fixed crash on loading maps with hero placeholder
* pregame will be always displayed in 800/600 resolution
* it's possible to set game resolution in pregame (type 'resolution' in the console)
* version set to 0.7
2009-02-01 20:31:41 +00:00
Michał W. Urbańczyk
3d29c31deb * further fight with hanged scroll tab
* fixed r-click on FoW crash
* fixed crash on opening tavern window after load
* fixed recruiting new heroes after load
* fixed crash on loading map with spell scrolls
* fixed more crashes
* displpaying difficulty level of saved game
* added support for Library of Enlightenment
* added notification when saving is done
2009-02-01 14:11:41 +00:00