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

379 Commits

Author SHA1 Message Date
Michał W. Urbańczyk
f5b5da348b Reverted r1416 - doesn't resolve anything, probably wrong file got committed. 2010-01-08 06:40:18 +00:00
DjWarmonger
7e102e3ef1 Resolved issue #109 2010-01-03 11:17:12 +00:00
Michał W. Urbańczyk
226935fd89 More missing virtual d-tors. GCC should be pleased.
Moved some code.
2010-01-02 01:48:44 +00:00
Ivan Savenko
58d1ec7ac5 2010-01-01 18:54:31 +00:00
DjWarmonger
711094da82 Fixed bugs 275 & 324
+Some minor tweaks
2010-01-01 12:15:20 +00:00
Michał W. Urbańczyk
5be449b6ca Fixed crash on closing. Fixed #326. Max movement points values follow H3 more closely. Minor fixes. 2009-12-31 11:04:29 +00:00
OnionKnight
ef5b1ca1de * Fixed bug #112
* Improved the security checks for ExchangeArtifact and SetArtifact, but have also come to realize that SetArtifact  is inherently broken and can be used for cheating. :(
* Preliminary work for combination artifacts, it's now possible to identify artifacts that are combined and what they're made up of.
* Happy New Year!
2009-12-30 15:33:28 +00:00
Michał W. Urbańczyk
5d74e61e3e Hopefully fixed compilation. Unified line endings. 2009-12-30 07:49:25 +00:00
Ivan Savenko
def041a8c9 #39 and #106 - fixed cosmetic buildings behaviour
#102 - fixed config + requirements system
#161 - extended clickable rectangle
and some minor fixes
2009-12-29 13:40:16 +00:00
Michał W. Urbańczyk
eb6f7fffc9 Support for smart pointer serialization. Fixed creature banks serialization. Minor fixes. 2009-12-29 01:07:17 +00:00
Michał W. Urbańczyk
01831e912a Fixes for adventure AI: battles where AI is the attacker should work, fixed drawing AI heroes under FoW.
Restructured thread structure: no new thread on yourturn, instead of that introduced update() method called by thread dispatching GUI events. 

Further changes are planned.
2009-12-28 04:08:24 +00:00
Michał W. Urbańczyk
6c4b4f21bc * Implemented rivers animation. Thanks to GrayFace for giving range of colors in palette to be shifted.
* Hopefully fixed all issues with bliwWithRotate functions family. If there are any artefacts on terrain drawing, let me know.
* Fixed drawing of objects shadows.
2009-12-22 21:53:50 +00:00
Michał W. Urbańczyk
1c32679f93 Implemented flagged garrisons passableness ( #150 ). Full support for BorderGates. 2009-12-20 17:14:14 +00:00
mateuszb
4780bcd1a6 * fix for bug 272, 176 and (probably) 273 (creatures cannot be attacked with catapult, position of explosion of catapult shot seems to be fixed for non 800x600 resolutions) 2009-12-20 13:35:59 +00:00
Michał W. Urbańczyk
d037bec1be Fixed #229, #290.
Fixed problems with accessing shared memory sometimes occurring after application has previously crashed.
2009-12-19 12:31:57 +00:00
OnionKnight
0a96decf87 * Fixed the artifact screen completely, hopefully. Structural overhaul of the CArtPlace and CArtifactsOfHero classes, and I had to add a new server message SetArtifact to deal with things properly. The only thing that differs from H3 now is that you can't have gaps of empty slots in the backpack.
* Preliminary work on bug #112, a bigArtifacts set is added to CArtHandler.
2009-12-01 23:19:43 +00:00
Michał W. Urbańczyk
df3ef1c330 Incremented versions. Updated changelog. 2009-12-01 22:14:25 +00:00
Michał W. Urbańczyk
a3bfde9a41 Hopefully fixed #261, #263, #246. 2009-12-01 21:05:57 +00:00
DjWarmonger
1408269aeb Fixed wrong sight center (#276) 2009-12-01 10:23:23 +00:00
Michał W. Urbańczyk
7f97a56a28 Fixed crash on casting spell. Fixed giving resources from towns. Version set to 0.74c. Incremented save format version.
Disabled adventure AI. Will be released as dev build.
2009-11-28 01:42:08 +00:00
Michał W. Urbańczyk
82faf7538e Fixed #160, #167 2009-11-24 20:29:50 +00:00
Michał W. Urbańczyk
8f217c5cdf Fixed #50, #191, minor 2009-11-20 22:35:18 +00:00
DjWarmonger
adf3c9fd4b Resolved bugs #76 and #168 which always gave same heroes in tavern. 2009-11-15 14:06:25 +00:00
Michał W. Urbańczyk
a6f61e33bd * restored 0.74 savegames compatibility (for easier reproducing reported issues)
* Fixed #184 and #189
* minor fixes
2009-11-13 19:04:36 +00:00
Michał W. Urbańczyk
f99c4d3c66 Fixed #110.
Some minor changes / fixes.
2009-11-13 16:02:25 +00:00
DjWarmonger
e1c793068d 1.Support for Skyship - revealing entire map
2.Reorganization of visible tiles processing
3.Turned off revealing the map at build structure as it caused odd conflict
2009-11-11 17:45:03 +00:00
OnionKnight
64a72c39cb * Fixed bug 101, placing artifacts in specific slots in the backpack. Cleaned up swapArtifacts() to use more descriptive names as well. 2009-11-10 03:10:14 +00:00
mateuszb
db4ee5844f * implemented 206 and 207 from mantis 2009-11-08 14:44:58 +00:00
Frank Zago
359ca49f26 (gcc) Fixed some warnings. 2009-10-31 16:32:18 +00:00
DjWarmonger
e4417e9204 Added feature #111 - external dwellings increase town growth. 2009-10-26 09:11:10 +00:00
mateuszb
60a401384f * please don't include headers in headers if not necessary 2009-10-25 10:41:58 +00:00
DjWarmonger
1683a419a3 Implemented artifact placement rules for advMap objects, but not for the random artifacts placed via editor. (feature #119) 2009-10-24 19:21:32 +00:00
Frank Zago
21f574f5ee Added a destuctor to CISer to fix some memory leaks. 2009-10-24 15:54:08 +00:00
Frank Zago
aa43938117 Fixed bug 7 & 153. 2009-10-24 03:28:14 +00:00
mateuszb
88f209a86f * bug 151 fixed 2009-10-17 14:53:16 +00:00
mateuszb
c08151cb5b * bug 123 fixed 2009-10-17 14:32:42 +00:00
Frank Zago
3cdefa2790 accesible->accessible 2009-10-16 02:09:58 +00:00
Frank Zago
c4e82959f1 Added file missing from previous commit. 2009-10-10 15:09:02 +00:00
Frank Zago
668b203486 Work with full file paths instead of partial ones. 2009-10-10 01:42:33 +00:00
Frank Zago
77812c8e36 Added missing is_base_of header. 2009-10-06 14:02:47 +00:00
Michał W. Urbańczyk
fe7ef6bbe1 Smart map object serialization over net.
Fixed doubling click sound on map selection.
2009-10-06 00:32:33 +00:00
DjWarmonger
2cf3e6885f Support for Castle Stables. These are compatible with advMap Stables. 2009-10-05 16:38:54 +00:00
Frank Zago
1609b8fdb9 Made all paths dependent on DATA_DIR, USER_DIR, BIN_DIR or LIB_DIR. Data access can now be separated from saved games and binaries.
Fixed a file handle leak.
Bumped revision to 0.74b (linux).
Reworked the build system to remove uneeded dependencies (linux).
Removed use of PATHSEPARATOR since Windows can use / too.
2009-10-04 02:02:45 +00:00
DjWarmonger
913c0af6fa Fixed bugs 11, 24 & 26
Next part of Shops script, however still no GUI.
2009-10-03 11:16:42 +00:00
Michał W. Urbańczyk
310a6f5828 Changelog update, minor fix. 2009-10-01 22:12:30 +00:00
Michał W. Urbańczyk
3d4db35df0 Added icon to the MSVC project, minor fixes, version bumped to 0.74. 2009-10-01 20:00:21 +00:00
mateuszb
7382314dfd * battle should now end automatically when last stack of one of sides is killed by a spell
* minor changes
2009-09-28 14:21:48 +00:00
OnionKnight
e3eeed0b70 gcc compilation fixes. 2009-09-25 21:11:13 +00:00
mateuszb
4dbc54f335 * minor changes (a few new consts introduced) 2009-09-25 12:33:29 +00:00
mateuszb
45e60cc826 * minor fix in IGameCallback::getAllowedSpells 2009-09-25 09:33:59 +00:00
Frank Zago
66541027b5 Correct spelling. 2009-09-25 04:05:01 +00:00
DjWarmonger
0937653e0a getAllowedSpells fixed. Shrines will use it from now on. 2009-09-24 19:28:26 +00:00
DjWarmonger
55925e0eea 1.Fixes for RazeStructures net packs.
2.Support for Pyramid. Unfortunately untested entirely as combats won't work on my system.
2009-09-24 17:54:02 +00:00
mateuszb
9a1669b926 * animation of catapult
* stacks won't be reversed when attacked by turrets
2009-09-24 13:44:55 +00:00
Michał W. Urbańczyk
307c20e7dc * fixed crash on clicking on the map frame
* battle settings will be stored
* fixed calculating battle casualties
* fixed crash when clicking on enemy stack without moving mouse when we receive action
* fixed issue when splitting stack to the hero with only one creatures
2009-09-24 13:23:52 +00:00
mateuszb
dce07fe1c9 * fixes for previous commit 2009-09-23 12:42:14 +00:00
mateuszb
e9c991a180 * compilation fixes (I didn't test everything, I hope it works) 2009-09-23 12:05:33 +00:00
DjWarmonger
91b4212c5f Support for Magic Spring
Optimized Pandora Box
2009-09-22 16:12:33 +00:00
DjWarmonger
7c2b54844f Update for previous rev. Support for synchronous building demolition. 2009-09-22 14:27:46 +00:00
DjWarmonger
1f92b2af2c Towns belonging to specific player will now allow only one capitol. Function triggers on InitObj and after siege. 2009-09-22 11:28:05 +00:00
DjWarmonger
b29ac50dcb 1.Support for cage of Warlord, Temple of Valhalla, Wall of Knowledge, Order of Fire
2.Level-up from newly implemented School of War crashed the game.
3.A sketch of shops support
2009-09-21 09:00:33 +00:00
Michał W. Urbańczyk
ee3c318ed9 Version for development release 0.73c
* version set to 0.73c, bumped save format version, updated changelog
* new stack queue for higher resolutions (needs new graphics!)
* improved stack ordering during battle
* many minor fixes
* temporarily disabled AI
2009-09-20 12:47:40 +00:00
Frank Zago
14ee503056 Added SDL path to lib/. Regenerated build files. 2009-09-19 15:10:32 +00:00
mateuszb
bab07c0ab3 * fixed bugs 66, 74 from VCMI 0.73 bug thread 2009-09-19 09:57:37 +00:00
DjWarmonger
af1f53cd65 Fixed loot string. 2009-09-17 19:22:47 +00:00
mateuszb
451c08922c * spell animations are handled by new battle animation engine
* armageddon works when there are dead stack on the battlefield
2009-09-17 12:59:04 +00:00
DjWarmonger
7660e29751 Creature banks are now functional, however there are some glitches listed on our board. 2009-09-17 06:19:27 +00:00
DjWarmonger
df6a7d680e Creature banks display resonable info about gathered loot. 2009-09-16 16:16:57 +00:00
mateuszb
e77e49783a * improved handling of animations in battles 2009-09-15 12:20:11 +00:00
Michał W. Urbańczyk
670a408fab Fixes for handling starting spells / spellbook. 2009-09-13 22:45:58 +00:00
Michał W. Urbańczyk
efb1049860 * fixed crashes with paths when fastly switching heroes
* fixed and improved slider behavior
* fixed possible thread access conflicts
* support for attacking town with visiting hero
* fixed dwellings saving
* minor improvements
2009-09-12 22:17:23 +00:00
OnionKnight
a939e134a1 Fixed bug #76 for version 0.73. 2009-09-12 12:55:03 +00:00
Michał W. Urbańczyk
df87b34662 * fixes for moving War Machines
* automatic merging same creatures stacks if needed when moving hero to town garrison
* minor improvements
2009-09-11 05:45:40 +00:00
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
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
1772f52554 * new spell: berserk 2009-09-06 17:46:20 +00:00
mateuszb
05b0d82769 * next part of sieges 2009-09-05 14:10:26 +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
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
mateuszb
8fac12f957 * estimating damage that will be dealt while choosing stack to attack 2009-08-29 17:09:07 +00:00
mateuszb
4743bff359 * fixed incorrectly blocked positions reported by Warmonger ( http://vcmi.antypika.aplus.pl/forum/viewtopic.php?p=3396#3396 ) 2009-08-29 16:22:34 +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
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
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
mateuszb
543e3c6431 * one more fix for r1145 2009-08-24 10:35:11 +00:00
OnionKnight
7a45f707a0 * Giants/Titans now immune to Blind.
* Added hero bonuses for the composite artifacts.
* Angelic Alliance troop mixing implemented.
* Elixir of Life gives regenerating capabilities.
* Power of the Dragon Father gives spell level immunity, though that is still not implemented.
2009-08-23 20:33:05 +00:00
DjWarmonger
23c917f874 Next part of Creature Banks script, partial support for once visitable objects in towns.
Can't test it anymore due to new major bug in AI library (vector subscript out of range)
2009-08-23 15:02:21 +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
56fe3b0547 * jousting support 2009-08-22 15:29:30 +00:00
mateuszb
ef8f2e695f * support for HP regeneration
* minor fixes
2009-08-22 14:39:44 +00:00