Commit Graph
100 Commits
Author SHA1 Message Date
DjWarmonger ea03273c8e Some work towards useful AI:
-It is possible to toggle adventure AI on / off typing "ai" in the console (default is true)
-General cleaning and formatting of code
-Some minor optimizations
-Teal console log for AI

AI tends to hang in the maze of mutexes and current player interface, further investigation is needed.

Fixed #580
minor tweaks
2010-11-28 16:39:13 +00:00
DjWarmonger 310a36c8d1 Fixed 313 & 314 :) 2010-11-15 12:51:53 +00:00
DjWarmonger f758d13a22 One more file. 2010-11-15 07:16:29 +00:00
DjWarmonger 56cd172b82 Fixed #296
Partial fix for #314
2010-11-15 07:15:10 +00:00
DjWarmonger 67baa3d8e4 I hope that's final shape of universal Expert System, now it's time to add some functionality. 2010-11-13 19:25:21 +00:00
DjWarmonger e2f4a60c4b A bit more metamagic for expert system. 2010-11-12 15:20:44 +00:00
DjWarmonger 6da5c8ee56 A framework for generic expert system, currently aimed at Bonus processing. 2010-11-11 21:01:35 +00:00
DjWarmonger d1c1758aad Fix for guards of neutral towns. 2010-11-09 12:33:44 +00:00
DjWarmonger 3e644e873d Fixed creature banks bug of unknown origin. 2010-11-09 12:07:57 +00:00
DjWarmonger 1f2e9bf9c2 Added important fix reverted in r1817. 2010-10-31 07:11:28 +00:00
DjWarmonger d823b18c72 Fixed 625, probably also 628 and 568. Minor fixes. 2010-10-27 09:01:27 +00:00
DjWarmonger c395661754 2010-10-25 16:43:05 +00:00
DjWarmonger 8ac954a7f9 Fixed crash with damage calculation. 2010-10-23 08:58:48 +00:00
DjWarmonger 6cadd47f0d Fixes for artifact system - instances are serialized and synchronized. However, still some serializer issue prevents Scroll from working. 2010-10-09 18:38:32 +00:00
DjWarmonger b75cf89f86 Partial support for customizable artifacts and Spell Scroll. Still doesn't work, though. 2010-10-03 17:52:11 +00:00
DjWarmonger 0f314e106c Artifacts will now be handled by pointers.
Assembling & disassembling combos may be buggy, but it's already been before.
2010-10-03 07:07:53 +00:00
DjWarmonger 2c43707661 More fixes for weeks & growths. 2010-10-02 09:43:22 +00:00
DjWarmonger 02d7fa35b7 A number of fixes. Banks serialization, doubling spell effects, week of plague. 2010-10-02 07:10:38 +00:00
DjWarmonger 2866222280 A sketch of new artifact system based on pointers. 2010-10-01 16:54:12 +00:00
DjWarmonger e481a4375b Removed bonus system loop in GameState.
Moved some game settings to global.h
2010-09-30 13:15:18 +00:00
DjWarmonger fd7dffc8ef Fixed #619 2010-09-26 16:11:50 +00:00
DjWarmonger 47c8ee2e13 Statue of Legion constituents are now properly handled by GUI. 2010-09-26 05:21:09 +00:00
DjWarmonger eb525be52a Fixed previous commit. Actually it was float/int mismatch, 2010-09-25 20:35:01 +00:00
DjWarmonger 717141ab0b Statue of Legion is finally functional.
You can see my attempt to create very generic handling of global effects, but I abandoned it since no other items might actually use it.

However, Statue's constituents are buggy, so may be assembling & dissasembling them. Most likely this issue is general.
2010-09-25 20:23:55 +00:00
DjWarmonger 4696d89d2e Last part of hero specialities - support for peculiar enchants. 2010-08-31 08:39:32 +00:00
DjWarmonger 30cf8b7e77 Fixes for previous commit. 2010-08-30 19:46:38 +00:00
DjWarmonger bfe266a377 Moved battle effects to bonus system. May be buggy.
Moved creature damage to bonus system, simplified its handling. Some changes and tweaks.

Support for Adela's bless.
2010-08-30 18:06:17 +00:00
DjWarmonger 01776b6a04 Support for MAXED_SPELL special (Melodia, Daremyth) 2010-08-29 19:03:10 +00:00
DjWarmonger 59447fb85e Hero speciality will now affect Resurrection and other remaining spells.
Minor refactoring of spell mechanics, more to come.
2010-08-29 18:29:00 +00:00
DjWarmonger 9d82d30856 Partial fix for #561 2010-08-29 10:13:56 +00:00
DjWarmonger cb1a01950f Fixed #617 2010-08-29 09:00:59 +00:00
DjWarmonger 6005e7a6ee Implemented fixed set of creatures that can get week of double growth. Minor fix. 2010-08-29 07:49:04 +00:00
DjWarmonger c7f8f0a967 Support for creature weeks and Deity of Fire is now complete. 2010-08-26 07:23:08 +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
DjWarmonger 70a158ba55 Fixes for random creature spawns. VCMI will display info about different weeks (though they are not supported yet). 2010-08-22 18:21:45 +00:00
DjWarmonger 6f94fcd083 Minor fix for creature Component.
Some missing code also.
2010-08-22 07:54:24 +00:00
DjWarmonger f6b97704c7 Partial support for random wandering stacks. Well, they are not 'that' random as don't use global ran() function. 2010-08-22 07:11:46 +00:00
DjWarmonger 0c4bec0a52 Fixed #608. I just ignored odd postInit interface, hope that's fine. 2010-08-20 16:23:43 +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
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
DjWarmonger 5615d1709a 2010-08-17 09:18:04 +00:00
DjWarmonger 6f022e02bb Fixed #583. Minor fixes. 2010-08-15 16:24:58 +00:00
DjWarmonger cbc215fa38 Fixed #445 2010-08-15 07:59:44 +00:00
DjWarmonger 2ec775cb46 Fixed #599 2010-08-15 07:39:07 +00:00
DjWarmonger a8bb13cbcd Secondary skill bonuses will now be correctly updated on level-up. 2010-07-21 17:05:07 +00:00
DjWarmonger 29e7530ff5 Corrected calculation of secondary skill speciality. 2010-07-21 09:00:24 +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
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
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
DjWarmonger b189356a63 Fix for quest artifacts 2010-07-09 05:07:56 +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
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
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
DjWarmonger 740c227d6c Fixed random crashes caused by random artifact starting bonus. 2010-07-06 05:09:06 +00:00
DjWarmonger 88f0ee0682 Added missing include for previous commit. Use of undefined type again. 2010-07-01 06:05:00 +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 f17adfafc7 Definitely handled #119 2010-06-28 06:12:22 +00:00
DjWarmonger 12f6d5a380 Redesigned artifact randomization.
Fixed #119, #128, #433, #493
2010-06-28 05:07:21 +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
DjWarmonger dcf10e978f Removed unnessessary code from previous commit. 2010-06-25 08:34:14 +00:00
DjWarmonger 08da1692cf Several fixes for Whirlpool and stack removal.
Sea Captain's Hat is also supported.
2010-06-25 08:19:39 +00:00
DjWarmonger 53d4b51b26 Fixed #506. Some really weird issues caused it.
Also fixed #502 - eye radius is now 10.
2010-06-21 04:43:10 +00:00
DjWarmonger db2bde9ae2 Support for Aurora Borealis 2010-06-19 10:42:30 +00:00
DjWarmonger a53be2d382 Minor tweaks for hiding tiles, now it belongs to CGObjectInstance class. 2010-06-19 09:13:10 +00:00
DjWarmonger 27722d9043 Support for Whirlpool 2010-06-07 13:11:08 +00:00
DjWarmonger 6869551510 Experimental support for Veil of Darkness - messing around with new bonus style. Fixed Cover of Darkness for many players.
Minor fixes, as always.
2010-06-07 05:28:12 +00:00
DjWarmonger e0dc6573bf Fixed #427 & #487 2010-06-06 09:50:37 +00:00
DjWarmonger 2ed69d3f4d Support for Cover of Darkness 2010-06-06 06:05:39 +00:00
DjWarmonger 6b447a4ae9 Fixed update view issue #301 2010-06-03 06:18:12 +00:00
DjWarmonger b118060304 Major optimization of getVisBitmap() 2010-06-03 05:38:59 +00:00
DjWarmonger 931cebdb04 Some conflicts resolved, minor changes. 2010-05-03 06:25:19 +00:00
DjWarmonger 0f0ad8031a Fixed behaviour or Crypt and Derelict Ship. 2010-03-24 14:58:17 +00:00
DjWarmonger 6a756cf882 Fixed #407 (it doesn't matter that banks battle won't freeze immediately) 2010-03-02 18:13:22 +00:00
DjWarmonger 76dab23dda Fixed #374 2010-02-28 06:36:51 +00:00
DjWarmonger 415266279e -Resolved #345
-Fixes for give experience reward and belong to player text
2010-02-14 06:53:37 +00:00
DjWarmonger 8f88cb19a8 Fixed #343 2010-02-11 15:51:26 +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
DjWarmonger c33f3e6baa Seer Hut & Quest Guard are now pretty functional. You may mark them as implemented. 2010-02-04 20:34:20 +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
DjWarmonger 8e81b35e92 Partial handling of Seer Hut and sketch of Quest Guard. 2010-01-30 20:53:47 +00:00
DjWarmonger 7f072665b2 Parsed SEERHUT.txt 2010-01-26 19:43:15 +00:00
DjWarmonger 88e42828da Added missing (?) includes from last revision. 2010-01-26 11:56:29 +00:00
DjWarmonger a058832862 Fixed # 109 from r1416 2010-01-11 09:18:52 +00:00
DjWarmonger 7e102e3ef1 Resolved issue #109 2010-01-03 11:17:12 +00:00
DjWarmonger 711094da82 Fixed bugs 275 & 324
+Some minor tweaks
2010-01-01 12:15:20 +00:00