1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-10 09:50:17 +02:00
Commit Graph

738 Commits

Author SHA1 Message Date
mateuszb
fc79b9b6cf * partial implementation of hero crossover
* minor fixes to resolution handling
* other minor fixes and changes
2010-08-28 14:52:20 +00:00
Michał W. Urbańczyk
527a0ef4d6 Hopefully fixed videos on non-32bpp displays. 2010-08-26 16:55:42 +00:00
Ivan Savenko
8902aeb3f9 Small fix to correct *.def loading outsize of *.lod 2010-08-26 13:49:23 +00:00
mateuszb
c45d037bc8 * small bugfix for hiding tiles
* minor changes
2010-08-26 12:06:36 +00:00
DjWarmonger
c7f8f0a967 Support for creature weeks and Deity of Fire is now complete. 2010-08-26 07:23:08 +00:00
Ivan Savenko
dc2f3cf181 - some fixes for town events
- #190 - InfoWindow components adjusted vertically
- #194 - correct sex for heroes in battles
2010-08-25 14:57:58 +00:00
DjWarmonger
ea966a3d21 Creature weeks now work fine. Castle interface still needs to be updated. 2010-08-25 08:40:50 +00:00
DjWarmonger
630dc7f7f2 Next part of creature weeks code. 2010-08-24 14:26:57 +00:00
Michał W. Urbańczyk
7b5fefb65e Typo fixed. 2010-08-23 19:00:14 +00:00
mateuszb
6b8718b046 * partially done support for resolutions smaller than 800x600 by screen scrolling 2010-08-23 15:16:40 +00:00
Frank Zago
c84c9cb481 Fixed a few warnings. 2010-08-21 00:39:37 +00:00
DjWarmonger
0c4bec0a52 Fixed #608. I just ignored odd postInit interface, hope that's fine. 2010-08-20 16:23:43 +00:00
mateuszb
d681afe1c1 Changes towards campaign support. 2010-08-20 13:34:39 +00:00
Ivan Savenko
8319e5e703 - town events implemented
- merged CustomImagecComponent into SComponent
- moved some subID-related code from CastleInterface
2010-08-18 14:24:30 +00:00
DjWarmonger
3f31f6d33d Pyramid fixes: #287, #403, #572, #575. It's config is now stored in bankconfig.txt 2010-08-18 13:42:46 +00:00
Michał W. Urbańczyk
6057ca0c0b Reverted r1752
[breaks a few things]
2010-08-18 10:52:30 +00:00
Michał W. Urbańczyk
4aa60cd40e Minor changes. 2010-08-18 09:50:25 +00:00
DjWarmonger
48b262756b Fixed #577. New BlockingDialog functionality - only accept. 2010-08-17 16:26:48 +00:00
DjWarmonger
6c3ad7fcae Fixed #565. Creature components will not get description if they quantity is set to zero. 2010-08-17 15:50:17 +00:00
DjWarmonger
084a0148c7 Compile fix + minor changes. 2010-08-17 15:16:08 +00:00
mateuszb
9c60629bcf * minor changes 2010-08-17 14:58:13 +00:00
mateuszb
9aa6d0a7b9 * refactoring of map handler and minor changes 2010-08-16 13:51:31 +00:00
mateuszb
9445e5b184 * small refactoring
Please don't touch CGI->state directly in client code - use callbacks instead. I'd like to make some mechanics-critical handlers in CGI const - a lot of work, certain changes have been done here.
2010-08-16 09:54:09 +00:00
DjWarmonger
6f022e02bb Fixed #583. Minor fixes. 2010-08-15 16:24:58 +00:00
DjWarmonger
2ec775cb46 Fixed #599 2010-08-15 07:39:07 +00:00
Ivan Savenko
fd45cd0a6d - fix for #283
- ally support: adventure map
2010-08-13 10:46:08 +00:00
Ivan Savenko
520d40cc59 - uploaded config/settings.txt from 0.82 (fix for #605)
- fixes for #604 and #364
- ally support is mostly done:
-- exchange between heroes
-- exchange between hero\town
-- finishing the game
2010-08-12 15:54:25 +00:00
Michał W. Urbańczyk
afe84deb03 Support for videos in 16 bpp. Minor fixes. 2010-08-08 14:39:41 +00:00
Ivan Savenko
bdcdc89991 - University fix for #594
- Ally support:
- - fix for non-continuous players (notes to rev 1736)
- - objects visiting and shared puzzle map
2010-08-06 13:14:10 +00:00
mateuszb
ec5fa1dc22 * Mutare's special ability
* implemented vial of dragon blood

* problems with teams discovered:
maps with noncontinuous player occupancy (e.g. only red and teal) crash on loading. hideTiles has obvious bugs - loop goes through teams and team numbers, but fw.player is set to team number, as is the 4th argument to getTielsInRange.
2010-08-06 10:46:40 +00:00
mateuszb
6928f850b9 * fixed 494
* minor changes
2010-08-05 11:47:57 +00:00
mateuszb
f41c85212f * more appropriate calculation of spell level by SPELL bonus 2010-08-05 09:11:38 +00:00
mateuszb
52319f5713 * CBonusSelection will now work on CCampaignState instead of CCampaign; unfortunately there seems to be no elegant way to move that state between bonus selection screen and CGameState::init, so it's not yet moved. 2010-08-04 11:18:13 +00:00
Ivan Savenko
3c868146a6 - linux fix for BuildingHandler
- #584 should be fixed

- first part of ally support:
-- shared FoW
-- function Callback::getPlayerRelations for team checking
2010-08-03 12:34:06 +00:00
mateuszb
54496ddee1 * player's serialID removed (save format broken, new game seems to work)
* building bonus (campaigns) supported
2010-08-03 11:36:52 +00:00
Frank Zago
3d7e3e4acf Compile fix. 2010-08-03 03:03:57 +00:00
mateuszb
3361126c55 * partially done building bonus (campaigns)
* ERMU -> picture name mapping by Ivan (thanks)
2010-08-02 14:29:30 +00:00
Michał W. Urbańczyk
5665ec1a0d Fixed crash on sieges. 2010-08-01 18:12:53 +00:00
Michał W. Urbańczyk
c6653949e1 Fixed #90, #581, #567.
Broken #87
2010-08-01 14:04:48 +00:00
mateuszb
c06de1f1ce * improved campaign handling - bonus selection screen is mostly functional
* preliminary support for giving campaign bonuses (resources and spells, artifacts, skills for generated hero are given)
* differing the amount of resources given to AI and human players
* minor changes
2010-07-31 13:55:05 +00:00
Michał W. Urbańczyk
558350c686 Fixed #564.
Minor improvements.
2010-07-31 01:38:12 +00:00
Michał W. Urbańczyk
d79fa527a7 Implemented abandoned mine. Minor fixes. 2010-07-31 00:26:34 +00:00
mateuszb
99fcb23182 * several implrovements in campaign handling
* new cheat codes:
- vcmisilmaril - player wins
- vcmimelkor - player loses
2010-07-30 11:29:42 +00:00
mateuszb
052e4f08e5 * partially done campaign bonus selection 2010-07-29 17:00:34 +00:00
Ivan Savenko
c1f0b956f4 bugfixing:
#124 - level-up code will now use ping-pong mode
#145 - switched skills positions, 1st skill will be selected
#545 - replaced images in  reward dialog of seer hut
2010-07-28 22:39:56 +00:00
Michał W. Urbańczyk
7e64441e1b Fixed #87 and #542 2010-07-28 11:34:26 +00:00
Michał W. Urbańczyk
cc96374a40 Fixed #552 2010-07-28 10:46:36 +00:00
mateuszb
f004cbff3f * fixed #550 2010-07-28 10:09:15 +00:00
Ivan Savenko
e025a43cb0 - some fixes for Castle Gate and Hill Fort
- removed unavailable in Hill Fort upgrades from cr_upgrade_list.txt
- fixed bug in upgrading creatures
- workaround to make VCMI work with Russian language files (possibly fixed 289)
2010-07-26 23:20:21 +00:00
Michał W. Urbańczyk
2b899d5777 Fixed #544. Final fix for #493. 2010-07-26 20:56:39 +00:00
Michał W. Urbańczyk
dc936d5686 Fixed #543 and #547. Fixes for marketplace. Combined artifacts will again give bonuses from their constituents. 2010-07-26 15:37:58 +00:00
Ivan Savenko
a00e5cc177 - implemented scholar skill
- fixed some remaining building issues (#361)
- Portal of Summoning will now be present in fort window
- some fixes for Thieves Guild window (partial #386)
2010-07-25 22:47:59 +00:00
Michał W. Urbańczyk
a981dfd1fd Refugee Camp supported. 2010-07-23 21:05:49 +00:00
Michał W. Urbańczyk
8487653a8e Sacrificing artifacts. [Code is one giant workaround but should work good enough.] Updated changelog. 2010-07-23 12:02:15 +00:00
Ivan Savenko
215dc95acb - implemented Hill Fort (minor issue - you can do ANY upgrades, including archers to sharpshooters without Gelu and so on)
- fixed some g++ errors in macroses
- minor tweaks
2010-07-22 00:32:45 +00:00
Michał W. Urbańczyk
2f996f14ba Exchanging artifacts between slots should work again nicely. Minor fixes. 2010-07-21 19:50:15 +00:00
DjWarmonger
a8bb13cbcd Secondary skill bonuses will now be correctly updated on level-up. 2010-07-21 17:05:07 +00:00
Michał W. Urbańczyk
931949e349 A bunch of spellbook-related fixes: #91, #454, #462, #526, #527, #536 2010-07-21 10:09:29 +00:00
DjWarmonger
29e7530ff5 Corrected calculation of secondary skill speciality. 2010-07-21 09:00:24 +00:00
Michał W. Urbańczyk
7ae02b7c5a Fixed #471.
Bonuses from artifacts are now inherited. Some work on artifacts set GUI. CArtifactsOfHero now operates on its own hero copy when picking artifact. Still more fixes are needed though.
2010-07-20 18:34:32 +00:00
Ivan Savenko
5dc444cd2b - University is finally implemented, both town and map objects 2010-07-20 14:08:13 +00:00
Michał W. Urbańczyk
cd9ab4cc62 VCMI won't crash with invalid video file (should fix #92). 2010-07-20 10:46:38 +00:00
Michał W. Urbańczyk
0e9eb1ab2d Fixed #534, minor correction. 2010-07-20 09:16:48 +00:00
Michał W. Urbańczyk
cedf6d812c Half-done Altar of Sacrifice. (Sacrificing creatures should work) 2010-07-20 06:05:45 +00:00
DjWarmonger
7afc478ff4 Resolved #487
Minor fixes.
2010-07-19 18:30:51 +00:00
DjWarmonger
49beed4e42 Support for secondary skill specialities. Lots of changes, may be buggy. 2010-07-17 17:02:11 +00:00
DjWarmonger
91b0340540 Support for level-dependent spell bonuses (Deemer)
TODO: Bonuses for Resurrection, Animate Dead and probably other non-direct damage spells.
2010-07-17 13:49:58 +00:00
DjWarmonger
115b626cfd Support for damage bonus (Ciele, Luna). Creeps won't grow on first day. 2010-07-17 13:11:12 +00:00
DjWarmonger
112ac29fc0 Support for special upgrades (like Gelu). 2010-07-17 06:49:16 +00:00
DjWarmonger
52c224502c Compilation fix. Creature damage will now be displayed correctly. 2010-07-16 15:52:21 +00:00
mateuszb
a7d3c5fbca * minor cleanups 2010-07-16 14:22:18 +00:00
DjWarmonger
695c862638 Support for creature damage bonus.
TODO: display it in a creature window
2010-07-16 06:18:41 +00:00
DjWarmonger
26fe6b3f04 Fixed creature bonus formula 2010-07-15 20:09:21 +00:00
DjWarmonger
23d2dec3e5 Further support for specialities - fixed creature bonuses. Minor fixes. 2010-07-15 19:38:15 +00:00
mateuszb
af52f308a2 * fixed #438 and crash on ZMM170S.DEF 2010-07-15 16:21:53 +00:00
Michał W. Urbańczyk
d69ae9aa4c More logging for #520 2010-07-14 02:53:21 +00:00
Michał W. Urbańczyk
9febb357ff Fixed #504. More logging for #419. 2010-07-14 01:08:27 +00:00
DjWarmonger
ab8e24c490 Hero speciality in creatures (growing with level) is now ready.
Fixed Tree of Knowledge giving only 2^31 XP.
2010-07-13 19:55:13 +00:00
Michał W. Urbańczyk
88e1636250 Fixed #15, #224, #370, #516
Minor changes.
2010-07-13 05:25:40 +00:00
Michał W. Urbańczyk
fa4ee94cf9 Fixed #484. Preliminary support for bonus limiters/ 2010-07-12 10:20:25 +00:00
Ivan Savenko
bb7615309f - Implemented Portal of Summoning (Dungeon) 2010-07-10 16:50:23 +00:00
Michał W. Urbańczyk
44ee8e47b7 Support for sanctuary.
Minor fix.
2010-07-09 00:54:17 +00:00
Michał W. Urbańczyk
1e30045541 Support for Tavern on adv map. 2010-07-08 23:03:27 +00:00
DjWarmonger
24b47ce006 General tweaking of specialities for general consistency.
Values now grow with level. Warning: they affect entire hero himself, not the specific type of creature.
2010-07-08 19:10:26 +00:00
Michał W. Urbańczyk
94f7ee41e2 Fixed some issues with hiring heroes: #25, #232, #333 2010-07-08 05:52:11 +00:00
DjWarmonger
78789ef7fc Removed unused code. Fixed legions of neutrals spawning all around. 2010-07-07 12:51:28 +00:00
DjWarmonger
fb7771fcc2 Minor tweak. Stables will now upgrade Cavaliers to Champions. 2010-07-07 12:20:15 +00:00
Michał W. Urbańczyk
d3c6270980 Fixed a few potential crashes.
Minor improvements.
2010-07-07 02:29:07 +00:00
DjWarmonger
74364865ff Minor fixes. Support for resource generation special. 2010-07-06 10:02:38 +00:00
DjWarmonger
742e80b168 Preliminary distribution of hero specials. Sir Mullich actually works fine. 2010-07-06 07:32:40 +00:00
Michał W. Urbańczyk
d0ff61807d Obtaining town instance pointer via cb. Plz, don't access gamestate directly from player interface! Everything has to go via callback.
Commented out giving starting artifact - new artifact randomization make it crashing. Please fix it.

New control - CTextBox - for multi-line text with optional slider. Used it for map description and info windows. Related changes. Fixes #22 and #96.
2010-07-06 02:10:26 +00:00
Ivan Savenko
e4fcfd7044 - Skeleton transformer implemented 2010-07-03 12:00:53 +00:00
DjWarmonger
1159750bb6 Support for #448. Few code tweaks. 2010-06-29 09:59:14 +00:00
DjWarmonger
3af3785c00 Fixed #445 2010-06-28 17:49:15 +00:00
DjWarmonger
963c93551f Growing stacks will now properly display rough numbers.
By this occasion enabled power rating feature. Hope you like it :)
2010-06-28 13:33:05 +00:00
DjWarmonger
12f6d5a380 Redesigned artifact randomization.
Fixed #119, #128, #433, #493
2010-06-28 05:07:21 +00:00
Michał W. Urbańczyk
21a05d73cb Black Market and Artifact Merchant (only buying artifacts) support. 2010-06-27 16:03:01 +00:00
Michał W. Urbańczyk
ec6342d9a7 Serializer will now smartly send over network CArtifact* and CHero*. Unified handling of items stored in vector.
Started making support for Black Market / Artifact merchant.
2010-06-26 16:02:10 +00:00
DjWarmonger
627a1a5905 Implemented neutral army growth by 10% weekly, up to 4000. 2010-06-26 12:57:16 +00:00
DjWarmonger
9f1d947b9b Fixed #499 2010-06-26 08:31:31 +00:00