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

606 Commits

Author SHA1 Message Date
Michał W. Urbańczyk
d7ba3571bd Fixed crash on opening thieves guild window when player has no heroes.
Fixed #384, #385, maybe #381
2010-02-28 12:39:38 +00:00
DjWarmonger
76dab23dda Fixed #374 2010-02-28 06:36:51 +00:00
Michał W. Urbańczyk
9588e39e84 To be released as 0.75d. Fixed town list with hotseat. Fixed colouring hero window. Minor fixes. 2010-02-26 11:18:09 +00:00
Michał W. Urbańczyk
0a950c508b Grail digging and construction.
Minor fixes.
2010-02-24 13:03:36 +00:00
mateuszb
94b289dab0 * minor improvements 2010-02-21 18:07:24 +00:00
mateuszb
b2aa0e5930 * partial support for grail digging 2010-02-21 15:03:30 +00:00
Michał W. Urbańczyk
e6f31b7500 Compilation fixes for VC10.
Changes towards hot-seat support.
2010-02-20 13:24:38 +00:00
mateuszb
80d42a5313 * next part of campaigns. Now all campaigns all available via custom campaign menu.
* puzzleMap now works
2010-02-18 14:09:16 +00:00
mateuszb
db755622b3 * next part of campaign support 2010-02-18 12:34:44 +00:00
mateuszb
968148c4dc * next part of bonus selection screen (including Ivan's config) 2010-02-16 17:28:56 +00:00
OnionKnight
ab75f4b1f8 Some work on artifact assembly. 2010-02-16 14:39:56 +00:00
Frank Zago
a6aa36c5a9 Compile and warning fixes. 2010-02-16 05:01:15 +00:00
mateuszb
5db0c9da16 * generally finished custom campaign selection screen
* minor fixes
2010-02-15 13:28:33 +00:00
Ivan Savenko
f250880c69 - minor fixes (363, 365, 371) 2010-02-15 13:19:13 +00:00
mateuszb
448c2e7225 * next part of campaign support
* a few fixes for .h3c reading
2010-02-15 12:12:21 +00:00
Michał W. Urbańczyk
da87d25d21 Started making hot-seat GUI. Accompanying changes to rest of GUI. 2010-02-15 06:54:57 +00:00
DjWarmonger
415266279e -Resolved #345
-Fixes for give experience reward and belong to player text
2010-02-14 06:53:37 +00:00
mateuszb
40d50aaaa1 * a bit of custom campaign selection screen 2010-02-13 16:26:47 +00:00
Ivan Savenko
5eef9cde44 - fixed 355, 356, 360
- fixed bug in map handling (random creatures in random town\hero)
2010-02-13 15:56:34 +00:00
Michał W. Urbańczyk
96819379c5 Fixed #109, #352, #359.
Possibly also #344, #353.
Allowed switching heroes with l-click when another hero is selected. (works for not accessible heroes)
2010-02-13 04:47:31 +00:00
mateuszb
8637b021cc * (hopefully) full reading of h3c
* minor changes
2010-02-12 15:04:01 +00:00
mateuszb
a975c54f86 * most of .h3c reading 2010-02-11 14:12:22 +00:00
Frank Zago
68a9de5ab7 Partial port to SPARC Linux. 2010-02-11 05:25:17 +00:00
Michał W. Urbańczyk
b8edea2be9 Real fix for #328 2010-02-10 03:35:48 +00:00
Michał W. Urbańczyk
0fdbe787dc * New file: lib/HeroBonus.cpp - updated project files for MSVC
* Updated changelog
* Support for Lighthosues and Obelisks
* Bonus system extended on players 
* Army speed won't affect movement points when sailing
* Picking grail position (digging not implemented though, puzzle map only partially)
* Minor improvements
2010-02-10 02:56:00 +00:00
mateuszb
d0bf334394 * reading of .h3c headers
* a bit of readNormalNr deduplication
* minor changes
2010-02-09 13:48:14 +00:00
Frank Zago
ba80ba4f6e Compile fix + updated makefile. 2010-02-09 02:17:38 +00:00
OnionKnight
790a77c280 Locks for combination artifacts largely implemented, only one or two bugs when moving them around in a certain way. Artifact assembly still remaining.
To make sure these artifacts get (un)equipped properly the functions CArtHandler::equipArtifact and CArtHandler::unequipArtifact should be used instead of modifying artifWorn manually.
2010-02-08 21:17:22 +00:00
mateuszb
28f8ef3b0f * two missing files to previous commit 2010-02-08 14:39:19 +00:00
DjWarmonger
53365af90e Last part of Seer Hut & Quest Guard code:
1.Required artifacts & army are now taken on completion.
2.Hoover tooltip.
3.Fixed bugs.
2010-02-07 16:05:27 +00:00
Frank Zago
090cc602b6 Fixed buildings parsing. 2010-02-06 18:46:25 +00:00
mateuszb
5fbde49bfb * another part of thieves' guild
* den of thieves
2010-02-06 13:49:14 +00:00
Ivan Savenko
fa735b6a67 - partial implementation of scholar skill (spell exchange works, but no message)
- some fixes
2010-02-06 13:27:58 +00:00
OnionKnight
137ab65a13 Fixed artifact screens so only local changes are made. Some ugly const casting, for now. 2010-02-05 22:28:31 +00:00
DjWarmonger
c33f3e6baa Seer Hut & Quest Guard are now pretty functional. You may mark them as implemented. 2010-02-04 20:34:20 +00:00
Ivan Savenko
3aefb896fe - Created config file for true type fonts (disabled by default)
- Implemented buildings with bonuses for defending hero (glyphs of fear, fountain of fortune, some grails)
- Minor fixes
2010-02-04 15:50:59 +00:00
DjWarmonger
ce00ceaf08 Next part of Seer Hut code, including large number of Components, packs and help functions.
Mapa now contains separate vector of monsters to avoid linear search trough all objects.
2010-02-02 17:05:03 +00:00
Michał W. Urbańczyk
172b3b0158 Further loss improvements. 2010-02-01 19:19:42 +00:00
Michał W. Urbańczyk
94fa59cf45 * Compilation fix (missing includes, do not remove)
* New settings.txt file (needed for kingdom overview to work)
* Last remainings of h3m format: hero placeholders parsing
* Minor improvements
2010-02-01 17:07:46 +00:00
DjWarmonger
8e81b35e92 Partial handling of Seer Hut and sketch of Quest Guard. 2010-01-30 20:53:47 +00:00
Michał W. Urbańczyk
6803d08c6c Further victory conditions supported:
Transport artifact
Find artifact
Gather army
Gather resource
Build city
2010-01-30 12:46:15 +00:00
Michał W. Urbańczyk
5279e2e9fc First part of support for victory & loss conditions.
Implemented and tested are
victory:
Defeat hero
Capture town
Defeat monster
Flag dwellings
Flag mines

Lose:
Loss hero
Time expire

**

Some others may work but not has been tested yet.
I've added a new page in VCMI Status spreadsheet with status of various victory/loss conditions.
2010-01-29 20:52:45 +00:00
mateuszb
2fdc53594b * fix for #123 (I hope) 2010-01-29 16:35:05 +00:00
mateuszb
23a32ebf7a * fixed bug #20
* minor changes
2010-01-29 16:19:12 +00:00
Ivan Savenko
c6408f5b4b - Full support for Mystic Pond (Rampart)
- Fixed converHordes issue
- Partial implementation of kingdom overview window
2010-01-28 16:15:46 +00:00
Frank Zago
7c9f0eb19f Compile fix. 2010-01-27 05:11:31 +00:00
DjWarmonger
7f072665b2 Parsed SEERHUT.txt 2010-01-26 19:43:15 +00:00
Ivan Savenko
0f22ba0c0f - First part of kingdom overview window (not a 100% stable)
- Implemented town buildings: dwarven treasury, ballista yard, partially - mystic pond
2010-01-25 21:25:14 +00:00
DjWarmonger
711094da82 Fixed bugs 275 & 324
+Some minor tweaks
2010-01-01 12:15:20 +00:00
DjWarmonger
b4e58d9f60 First part of Seer Hut code 2009-12-31 11:43:37 +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
DjWarmonger
d50a3785bd Fixed #316
...as long as you're not going to visit town remotely via scripts ;)
2009-12-30 20:49:10 +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
DjWarmonger
b79fe389a2 Fixed #331 - Cartographer messages will now be based on their type and not the surface. 2009-12-30 10:02:31 +00:00
Michał W. Urbańczyk
5d74e61e3e Hopefully fixed compilation. Unified line endings. 2009-12-30 07:49:25 +00:00
DjWarmonger
6bff8aec34 Actually this one contains fixed Pyramid 2009-12-29 17:15:03 +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
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