1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-26 22:57:00 +02:00
Commit Graph

405 Commits

Author SHA1 Message Date
mateuszb
3f5c98ac7c * reworked system of animations in battles; it's not fully working yet, but crashes should not occur
* fix for previous fix for two-hex creatures (my previous commit) (this one should work better, certainly has nicer code)
2009-09-10 11:28:34 +00:00
OnionKnight
3d2ab9c753 * Garrison dialogs for garrisons. Required a bit restructuring of the code to take removable units into account. All showGarrisonDialog methods and the GarrisonDialog struct now takes it as a parameter. Visiting ally towns would benefit from this other than garrisons.
* Garrison right-click information shown, but not taking detailed info into account.
* Town info dialogs centered around cursor.
2009-09-09 17:49:03 +00:00
Michał W. Urbańczyk
9e7771272d * improved "Split" button behavior. It can be used for calling hero meeting screen in town screen.
*fixed problems with underground switch button in higher resolutions
* minor graphical fixes for Marketplace window
* minor fixes
2009-09-09 06:04:42 +00:00
mateuszb
08723ecf84 * fixed crash with two-hex creatures 2009-09-07 13:34:02 +00:00
mateuszb
ea5a836a7e * better positioning of moat/mlip
* minor change
2009-09-07 12:30:10 +00:00
Michał W. Urbańczyk
956a87f264 * redone stack queue algorithm
* recalculating paths only after finished movement / switching selection
* moving hero uses "new" pathfinder
* moving hero by arrow keys / numpad
* VCMI window should start centered
* fixed pairing Subterranean Gates
* fixed issues with creatures sounds after loading
* several minor changes and improvements
2009-09-07 02:29:44 +00:00
mateuszb
c5832fb9e8 * further fixes for sieges
* support for ballistics
2009-09-06 09:13:16 +00:00
mateuszb
05b0d82769 * next part of sieges 2009-09-05 14:10:26 +00:00
mateuszb
fc2a11359e * different fixes and improvements for puzzle window 2009-09-05 10:23:29 +00:00
mateuszb
a4df8e8831 * partial support for arrow turrets 2009-09-04 14:11:42 +00:00
mateuszb
5bfbcfb000 * next part of sieges
* partial implementation of berserk spell (unit does not always attack the nearest creature, wrong handling of situation when nearest stack is too far)
* ballista can shoot (it was considered to be always blocked instead of always free)
2009-09-02 14:10:19 +00:00
mateuszb
d25a5a795e * next part of sieges 2009-09-01 13:54:13 +00:00
mateuszb
399f58f1af * partially implemented puzzle map 2009-08-31 15:57:15 +00:00
mateuszb
7586094a9b * corrected r1174 - we can get the dead stack's info 2009-08-31 10:56:41 +00:00
OnionKnight
866d39727e Made a small fix for the problem with crash on killing with a spell. 2009-08-31 08:13:10 +00:00
mateuszb
4672070e8c * positions of obstacles in the battlefield can now be individually shifted by config file 2009-08-30 12:58:38 +00:00
Michał W. Urbańczyk
ca7ee8936c Implemented redesigned pathfinder. Using new info from it, implemented various adventure map cursors.
(Paths are still calculated using the old pathfinder, it will be changed soon)
2009-08-30 12:47:40 +00:00
OnionKnight
c1b112d266 * LEVEL_SPELL_IMMUNITY (e.g. Dragon spell immunity) implemented.
* Modified the positioning of battle effects, they should look about right now.
2009-08-29 22:00:46 +00:00
mateuszb
8fac12f957 * estimating damage that will be dealt while choosing stack to attack 2009-08-29 17:09:07 +00:00
mateuszb
03b91b1ed7 * fixed reading of guards / granted creatures (for BankConfig)
* minor changes
2009-08-29 16:08:58 +00:00
Frank Zago
f92b6fc2b6 Depending on the distros, ffmpeg headers aren't always installed in the same directory. Fix from Szpak. 2009-08-29 15:52:29 +00:00
Michał W. Urbańczyk
1f0a1bd771 More fixes. 2009-08-28 19:34:08 +00:00
mateuszb
e746313565 * walls block movement now
* minor change
2009-08-28 10:49:11 +00:00
Michał W. Urbańczyk
780de79eba Further fixes. 2009-08-28 10:05:45 +00:00
mateuszb
fceeb05e16 * a bit of pathfinder interface redesign
* a few fixes for sieges
* better wall parts' positions by Ivan
2009-08-28 09:03:58 +00:00
Michał W. Urbańczyk
6bdfddd0c4 Mostly implemented Scenario Information and Save Game windows. Adventure Options Window (crash after closing it is known, will be soon fixed). Several minor improvements for pregame. Arrogance will be selected by default when starting a new game. 2009-08-27 08:04:32 +00:00
Frank Zago
e806399246 Compile fixes. 2009-08-26 23:38:17 +00:00
Frank Zago
be76586fab Added missing dependencies to makefiles. 2009-08-26 23:37:15 +00:00
mateuszb
adcfb3c020 * second part of sieges
* minor changes
2009-08-26 14:09:55 +00:00
mateuszb
2c7d7f4094 * first part of siege support
* minor fix
2009-08-24 12:55:05 +00:00
Michał W. Urbańczyk
579b7236b7 Fixed crash when r-clicking spell. 2009-08-23 18:23:21 +00:00
Michał W. Urbańczyk
1f79af440f * @previous revision: not an AI bug, it was a vector traversing bug. Fixed :-)
* Scrolling through scenario list with mouse wheel, HOME, END, PAGE UP and PAGE DOWN buttons
* Starting selected scenario with double-click
2009-08-23 18:01:08 +00:00
mateuszb
fe2085fe42 * support for new creature abilities: hate, spell cost decreasing, spell vulnerability
* fixed crash when vcmiistari is applied on hero without spell book
2009-08-23 13:41:57 +00:00
mateuszb
ef8f2e695f * support for HP regeneration
* minor fixes
2009-08-22 14:39:44 +00:00
Michał W. Urbańczyk
66dd31fd8a * attacking and capturing towns
* r-click popups on selected town/hero.bonus and teams in pregame
* disabled music due to bugs in SDL_mixer and smpeg (probably it was the source of reported random crashes / hangups)
* minor fixes
2009-08-22 13:59:15 +00:00
Frank Zago
ac7c7a3d23 Re-order declaration of 2 variables, and fix a typo. 2009-08-21 00:59:54 +00:00
Frank Zago
5352496bad Fixed uninitialized variables. callback2 is not yet initialized. 2009-08-21 00:59:12 +00:00
Frank Zago
8458a03e85 Added missing initialization. 2009-08-20 04:34:38 +00:00
OnionKnight
d8c2055809 * Shipyard window had it's wood and gold spots swapped, fixed.
* Melee cursor in battle now works like it should for 2-hex creatures.
2009-08-19 15:47:00 +00:00
mateuszb
c4b0bd9d7e * new spell: remove obstacle
* minor changes
2009-08-19 10:59:42 +00:00
Frank Zago
6312a55bac Fixed uninitialized variables. 2009-08-19 05:00:59 +00:00
Frank Zago
a7b7b0a431 Add new files to makefiles. 2009-08-19 04:45:33 +00:00
mateuszb
93f5c83d7c * support for new spell: hypnotize 2009-08-18 11:49:34 +00:00
Michał W. Urbańczyk
3915b71869 Various fixes. Subtitles for choosen hero/town/bonus in pregame. Fixed arrows behavior. Really fixed shortcuts. Fixed map scrolling. Fixed disappearing battle interface. 2009-08-18 08:22:56 +00:00
Frank Zago
c7a307dfed Compile fix. 2009-08-18 01:57:39 +00:00
OnionKnight
d8ddc4236b Shipyard window fixed. 2009-08-17 17:19:09 +00:00
OnionKnight
1ef51b6888 "Next Hero" on adventure map now selects heroes who have movement points left, rather than those who don't. 2009-08-17 13:50:21 +00:00
OnionKnight
c42ef6a23e Button hotkeys are now functioning. 2009-08-17 13:14:37 +00:00
mateuszb
49a142b92e * minor changes 2009-08-17 13:08:05 +00:00
mateuszb
e892913635 * support for battles in creature banks (hopefully) 2009-08-17 10:47:08 +00:00
DjWarmonger
fbc117b034 1.Pandora and Event now give experience correctly
2.Better, but not complete handling for big exp values
2009-08-17 10:02:29 +00:00
Michał W. Urbańczyk
b4070c6b3e Third part of GUI reorganization:
* Rewritten pregame
* FNT fonts support
* Several additions to GUI system. 

Changes are significant, some things may be broken.
2009-08-17 08:50:31 +00:00
DjWarmonger
dd91e7e406 1. Support for Pandora Box
2. Improved functions handling experience. Now it works with values over 65K, but still didn't with event giving 99M exp
I have no idea what it has to do with AI though
2009-08-16 15:39:18 +00:00
mateuszb
4fc25c7b98 * corrected per-stack spell immunity handling
* support for new artifacts: * of Legion, shackles of war
2009-08-16 13:44:17 +00:00
Frank Zago
79362501c1 Make sure we actually have an ellipsis. 2009-08-15 15:43:30 +00:00
OnionKnight
4845ba80bd Ellipsis in messages will not be broken apart, as with the description for Speculum. 2009-08-15 04:54:52 +00:00
OnionKnight
ce86e88fa3 Better positioning of the melee cursors. 2009-08-14 02:13:22 +00:00
OnionKnight
ccbc2ebf6f Changed the melee cursor behavior in battle. 2009-08-13 01:55:00 +00:00
Michał W. Urbańczyk
2af6d85c23 Various fixes and improvements, mostly for r1093 2009-08-13 01:03:11 +00:00
Michał W. Urbańczyk
1d765e8f29 Second part of GUI reorganization. Some things may not work properly. 2009-08-11 16:05:33 +00:00
DjWarmonger
4653396d76 1.Support for Keymaster Tent & Borderguard, Eye & Hut of The Magi, Stables.
2.Partially done support for creature banks. ToDo: load config file, start battle with surrounding enemies
3.Attempt to increase hero exp capacity. You may ignore it at the moment.
4.Fixed negative countdown in timeHandler.
2009-08-11 07:50:29 +00:00
Frank Zago
bf17a77e00 Added workaround for a const value treated by gcc -O0 as a regular variable, and thus preventing linking. 2009-08-08 05:45:00 +00:00
Michał W. Urbańczyk
425791f27e "onlyai" command - game starts with no human players, only AI. 2009-08-07 23:17:12 +00:00
mateuszb
0787b6a79b * new spell: blind
* a part of hypnotize support
* minor changes and bugfixes
2009-08-07 11:22:17 +00:00
mateuszb
9d531b0d84 * fixed:
- 0.72d #27
- 0.73 #13
2009-08-07 09:45:21 +00:00
Michał W. Urbańczyk
a91ab8872b First part of GUI reorganization: extracted CGuiHandler from CPlayerInterface.
Minor fixes for Creature Generators and recruitment window.
2009-08-06 22:36:51 +00:00
mateuszb
ea6ab102a7 * support for new spells: anti-magic and elemental summoning
* obstacles in battles should fit now the battlefield
* minor changes
2009-08-06 14:02:21 +00:00
Frank Zago
9aca713050 Compile fixes. 2009-08-06 05:08:17 +00:00
mateuszb
507597301f * new spells: resurrection, animate dead
* a lot of minor fixes in battles
* resolution & depth in settings.txt reverted to 800x600 and 24bpp
2009-08-05 12:46:08 +00:00
mateuszb
1872c2d575 * new spell: cure
* minor changes
2009-08-04 17:05:49 +00:00
Michał W. Urbańczyk
de1ed92379 * version set 0.73b
* config entry for 1600x1200 resolution
* several fixes
* http://vcmi.antypika.aplus.pl/forum/viewtopic.php?p=3185#3185
2009-08-03 23:53:18 +00:00
mateuszb
f582bfde49 * fixed all problems in engine with wide creatures (I hope) (except problem with range of flying wide creatures) 2009-08-03 14:29:29 +00:00
Michał W. Urbańczyk
92ef19942f Splitting buttons in the exchange window. Minor fixes. Updated changelog. Version set to 0.73. 2009-08-01 19:25:12 +00:00
mateuszb
d17469bc7a * small memory leak fixed
* minor changes
2009-08-01 12:54:05 +00:00
mateuszb
c0ff3c30fd * minor changes 2009-08-01 11:55:40 +00:00
Michał W. Urbańczyk
1f75aeaf34 Video working with 32 bpp. Proper loading of hero on boat. Fixed problems with newly recruited hero blockvis info. Fixed possible crashes. 2009-08-01 10:08:16 +00:00
Michał W. Urbańczyk
78afb07f52 New, experimental crashhandler for windows (creates minidumps).
Several minor fixes and improvements.
2009-07-31 20:10:22 +00:00
mateuszb
586957b749 * minor changes 2009-07-31 11:20:53 +00:00
mateuszb
8e63c73cf8 * flaggable objects change their color on minimap when taken over
* corrected damage inflicted by spells and ballista
* minor changes
2009-07-30 12:49:45 +00:00
Michał W. Urbańczyk
25663d2605 Fixes for exchange window in non 800x600 res
Minor improvements and fixes.
2009-07-27 17:55:56 +00:00
Michał W. Urbańczyk
aad61c8ac8 Fixed exchanging artifacts between heroes. Fixed def visibility issues. Refactored alphaTransform. 2009-07-27 12:29:10 +00:00
mateuszb
898d266580 * swapping artifacts in hero window almost works (artifacts are cloned instead of swapped for some reason) 2009-07-26 15:37:27 +00:00
mateuszb
150a79d643 * fixed bug reported by Zamolxis (see http://vcmi.antypika.aplus.pl/forum/viewtopic.php?p=3052#3052) 2009-07-26 13:06:43 +00:00
mateuszb
27dda485a4 * support for spell resistance, including secondary skill (resistance) and new artifacts (Garniture of Interference, Surcoat of Counterpoise, Boots of Polarity) and unit's resistance (such as dwarfs' resistance) 2009-07-26 12:15:38 +00:00
Michał W. Urbańczyk
0d408bc6c2 Fixed switching music between towns and system options window. 2009-07-26 11:42:00 +00:00
Michał W. Urbańczyk
e358845873 Golems Factory and Elemental Conflux creature generators supported. Minor improvements. Updated changelog. 2009-07-26 10:43:22 +00:00
Michał W. Urbańczyk
9fd4b5bb62 Fourth part of sailing code.
Support for Shipyard (both for town and adventure map versions). Improved boat displaying code. Minor changes.
2009-07-26 03:33:13 +00:00
mateuszb
4bc0d1ace6 * partially fixed problems with boats
* minor changes
2009-07-25 12:49:45 +00:00
mateuszb
1c2edcf496 * support for new objects:
- magic plains
- fiery fields
- rock lands
- magic clouds
- lucid pools
- holy ground
- clover field
- evil fog
2009-07-21 13:53:26 +00:00
Michał W. Urbańczyk
9206a13390 Fixed fighting guardians of Dwellings (and other objs as well).
Most of creature generators should work fine.
2009-07-20 23:34:06 +00:00
Michał W. Urbańczyk
ec3b254c83 Castle interface: improved town scrolling.
Minor changes for future loading-without-restarting.
2009-07-20 08:18:33 +00:00
Michał W. Urbańczyk
fbd496b756 Infowindows for enemy towns. 2009-07-20 02:56:35 +00:00
Michał W. Urbańczyk
c9cac18482 Support for infowindows on enemy heroes. 2009-07-20 01:47:49 +00:00
Michał W. Urbańczyk
9272f501cd Second part of sailing support:
* boat graphics and appropriate flags are used
* disembarking possible
* new objects supported:
 - Flotsam
 - Shipwreck Survivor
 - Sea Chest
2009-07-19 03:10:24 +00:00
Michał W. Urbańczyk
2ca7cc5b5c First part of Boat and sailing support.
[It's possible to enter the boat and move by sea, graphical glitches removal and disembarking will be done soon]
2009-07-19 01:00:19 +00:00
Michał W. Urbańczyk
eb40ade906 * saving system options
* saving hero direction
* minor changes in saving
2009-07-18 03:13:13 +00:00
Michał W. Urbańczyk
d1d2823c58 * fixes for glitches in garrisons in non 800x600 resolutions
* fixed timed events
* in recruitment window upgraded creatures will be selected by default
* bumped version number
* spell points won't be negative
2009-07-17 21:53:28 +00:00
Michał W. Urbańczyk
b24bd585bc Really fixed glitches in garrison slots. 2009-07-16 01:10:16 +00:00
Michał W. Urbańczyk
ac175895b1 MKinor bugfixes.
(cf http://vcmi.antypika.aplus.pl/forum/viewtopic.php?p=2980#2980 )
2009-07-15 23:58:47 +00:00
Michał W. Urbańczyk
23803c9f17 * improved Events handling
* fixed saving town available creatures info
* minor improvements
2009-07-15 22:46:00 +00:00