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

499 Commits

Author SHA1 Message Date
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
f4dd78507c Patch from Ivan ( http://vcmi.antypika.aplus.pl/forum/viewtopic.php?p=4089#4089 )
"I've noticed that on town screen left-bottom info panel doesn't behave like in H3 and it looks that I fixed this as well as some connected issues:
-all elements now response like in H3 on mouse moves\clicks
-town status bar was not cleaned when nothing is selected
-growth calculation was a bit wrong (in case of town with grail)
-in H3 legion statue effect does not include effect of its components - only global +50% "
2009-12-23 01:46:15 +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
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
a3bfde9a41 Hopefully fixed #261, #263, #246. 2009-12-01 21:05:57 +00:00
DjWarmonger
79592d6fbb Definitelly fixed #268 2009-12-01 11:47:52 +00:00
DjWarmonger
1408269aeb Fixed wrong sight center (#276) 2009-12-01 10:23:23 +00:00
DjWarmonger
f00e3fd1e1 Fixed skeleton (part of #268) 2009-12-01 10:10:42 +00:00
DjWarmonger
0d0212642c Fixed #256 2009-11-30 16:14:41 +00:00
DjWarmonger
b87dc7950f Fixed #241 2009-11-28 11:26:32 +00:00
Michał W. Urbańczyk
82faf7538e Fixed #160, #167 2009-11-24 20:29:50 +00:00
DjWarmonger
0ffbaa457e Fixed #218 - mana will be given to heros after taking all bonuses into calculation. 2009-11-21 16:37:27 +00:00
DjWarmonger
4bb5d083f4 Added missing serialization of bank configs (bugs #9, #165 and #221) 2009-11-21 15:45:37 +00:00
Michał W. Urbańczyk
8f217c5cdf Fixed #50, #191, minor 2009-11-20 22:35:18 +00:00
Michał W. Urbańczyk
d18b6c3d5a Fixed #2, #10, #118, #209, #210 2009-11-14 20:14:15 +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
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
DjWarmonger
ddd755c0c1 1.Removed unused code from hero handler
2.Minor changes in GUI
3.Attempt to manage different alignments of ships
2009-10-28 10:45:45 +00:00
DjWarmonger
2c77785bc7 Hero experience tooltip will now be shown correctly despite of its type (bug #99) 2009-10-27 20:40:11 +00:00
DjWarmonger
e4417e9204 Added feature #111 - external dwellings increase town growth. 2009-10-26 09:11:10 +00:00
mateuszb
68c5bb63a4 * various improvements and code cleanups 2009-10-25 14:36:11 +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
e916e94a40 Commented out unused code. 2009-10-24 03:51:14 +00:00
DjWarmonger
f0e04ad850 Fixed #178 = Scholar won't give unavaliable spells anymore. 2009-10-23 19:58:21 +00:00
Frank Zago
20c4fbd25c Fixed bug 187. 2009-10-22 05:39:04 +00:00
Frank Zago
e412619ce7 Info map for terrain type. Fixes bug 5. 2009-10-22 02:09:14 +00:00
mateuszb
e88bec607b * Ubuntux's patch for Windows (now PreGame runs but we cannot start any game) 2009-10-16 14:56:57 +00:00
Frank Zago
02ee620abc Fixed bug introduced in r1301. 2009-10-14 23:18:19 +00:00
mateuszb
0078037df8 * compilation fixes for MSVC / minor changes
* CDefHandler::openFromMemory DOES NOT WORK! It seems to be design error, not windows specific.

Note: please write more C++-like code (declarations don't have to be in the beginning of block of code, use C++-style casts, follow our naming convention for structs / classes, don't write struct before structure's name etc.)
2009-10-14 12:44:44 +00:00
Frank Zago
bf64a9a851 Changed some log. 2009-10-13 02:04:06 +00:00
Frank Zago
c2cb7be227 Fixed bug 143 and possibly 142. 2009-10-12 05:00:28 +00:00
Frank Zago
a2861a82d2 Removed the magic from CDefHandler::openFromMemory. CDefHandler::openDef is using that function instead of duplicating the code. Made a few few values unsigned instead of signed. 2009-10-11 18:26:36 +00:00
Frank Zago
a5f7c913ee Changed some comments. 2009-10-11 16:08:01 +00:00
Frank Zago
cb18b7c82a Rewrote CSndHandler::CSndHandler and CVidHandler::CVidHandler to get rid of readNormalNr. 2009-10-11 16:05:40 +00:00
Frank Zago
ea361fe2b4 Removed unused code. 2009-10-11 16:03:52 +00:00
Frank Zago
eee726bd32 Removed duplicated code. 2009-10-10 23:46:42 +00:00
Frank Zago
044875d500 Rewrote a piece of CLodHandler::init. 2009-10-10 23:25:34 +00:00
DjWarmonger
9764e968cd 1.Support for Mana Vortex
2.Bonusing town buildings now dispplay correct message.
2009-10-06 07:55:39 +00:00
DjWarmonger
60085e2249 Fixed bug 116 - constructing bonusing buildings will now affect town heroes. 2009-10-06 06:15:56 +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
DjWarmonger
7f9d6e0a36 Fixed crash when visiting Academy of Battle Scholars.
Crash with Cage of Warlords not confirmed?
2009-10-05 11:28:49 +00:00
Frank Zago
92d856d3e4 Refactored giveFile() a bit and enhanced a couple error messages. 2009-10-05 01:47:48 +00:00
DjWarmonger
9792c64cbf Fixed bug #71. Little redesign of town buildings handling. 2009-10-04 14:20:19 +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
Frank Zago
8d34b602b3 Removed a few extra semicolons. 2009-10-04 01:31:14 +00:00
DjWarmonger
6d6b3ae1ea Additional functions to obtain precise info about stacks and armed instance for OnionKnight and general use. 2009-10-03 19:31:50 +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