e8354908c3
Big change: Introduced new mechanism to handle queries. It should not cause any visible changes ATM apart from fixing several long-standing bugs realted to handling post-visit/battle/levelup callback, including infamous creature bank issues: #955 , #1053 , #1063 , #1191 . Needs testing.
...
Minor changes:
* default log level set to trace
* LOG_TRACE raii guardian lifetime will last till the end of block
* compile fixes
* minor refactorings
2013-04-20 11:34:01 +00:00
857274a670
gcc compile fix
2013-04-18 07:55:57 +00:00
850f47261d
ID should be always outputted as number (not char).
2013-04-17 19:09:54 +00:00
5252e2aefe
Added few more icons for creature abilities.
...
Graphics here http://forum.vcmi.eu/viewtopic.php?p=8715#8715
2013-03-04 18:33:58 +00:00
dbec99ffc7
* PlayerColor and TeamID refactoring
2013-03-03 17:06:03 +00:00
b5fcefe455
- moved all system-specific handling of filesystem to VCMIDirs.cpp (new file)
...
- fixed #1128 , artifact constituents are now stored as pointers
2013-03-02 18:41:25 +00:00
f306d7bb70
some changes towards editing H3 objects via mods. Should be stable, report if not.
...
- removed duplicated json loading code in handlers
- simpler and mod-friendly handling of combined artifacts
- reorganized CCreature to avoid huge number of fields in one structure
2013-03-02 16:55:51 +00:00
e708dd5545
Version set to 0.92. Changelog updated.
2013-03-01 21:48:37 +00:00
74ac44662c
- a bit less memory usage during compilation with gcc, new file - RegisterTypes.cpp
...
- fixed several issues related to visiting town by ally
- fixed #1215
2013-02-23 12:22:23 +00:00
9492592a8f
Version bump. Fixed crash on desync saves.
2013-02-19 12:24:17 +00:00
d45a554fec
Significant changes to saving system. Now both client and server store their lib part.
...
Desync detection upon loading. Fixed many desyncs. (more remain)
Monsters won't have creature count 0 even if that is set as creature properties.
2013-02-18 22:37:22 +00:00
b22d8a007f
- minor fixes
2013-02-17 18:25:42 +00:00
560315bc48
* SlotID refactoring
2013-02-16 14:03:47 +00:00
827d7b8681
Fixes for previous rev.
2013-02-14 02:17:46 +00:00
9e00090c42
* refactoring, a few intriguing problems remain
2013-02-13 23:55:42 +00:00
ceea466f54
[refactor] spell handling
...
* more config options for spells
+ mind immunity handled by config
+ direct damage immunity handled by config
+ immunity icon configurable
- removed mind_spell flag
* more use of new spell identifacation
2013-02-13 19:35:43 +00:00
9c1a117c1c
* refactoring
2013-02-12 22:24:48 +00:00
bda766b697
* refactoring
2013-02-12 19:49:40 +00:00
8a8eecd063
* refactoring
2013-02-11 19:11:34 +00:00
d540723739
* refactoring
2013-02-11 14:42:09 +00:00
86dc9386d6
* refactoring, including a generic solution for IDs
2013-02-10 23:24:57 +00:00
d03dbf64a6
* refactoring
2013-02-09 12:56:35 +00:00
0003d30991
* refactoring
2013-02-08 22:42:46 +00:00
f1c78e3260
* creature ID refactoring
...
* double week creatures are configurable now
2013-02-07 17:34:50 +00:00
af5287c193
* fixed opening custom campaign selection window
...
* artifact positions refactored
* vstd::advance allows moving between enum values
2013-02-06 23:24:43 +00:00
25663ce7af
* fixed vector<bool> serialization
...
* refactoring
2013-02-04 19:43:16 +00:00
e63747d2d2
Fixed #860 and #1169
...
Imprisoned heroes as well as their commanders will get full level ups, with updated specialty, mana and movement.
2013-02-04 12:32:53 +00:00
8769f67c5d
* JsonReader can convert to enums
...
* refactoring
2013-02-03 21:05:44 +00:00
beb1ca1bf8
- getDate function now uses enum for different modes
...
- Fixed Black Market (#1195 )
- Fixed one-week bonuses removed eveyr day (#976 )
2013-02-02 08:29:57 +00:00
096b0d6a36
Post-release version bump.
2013-02-01 09:37:39 +00:00
d325528aa5
For 0.91 release.
2013-02-01 08:44:20 +00:00
ad9cfdcc1b
Version 0.90c
2013-01-26 14:56:32 +00:00
d71b11de81
Development version 0.90b
2013-01-23 20:33:34 +00:00
616cedb2f2
get rid of few more magic numbers (obj types)
...
+stub for wog objects
2012-12-24 15:07:30 +00:00
889031a95a
get rid of few magic numbers (obj types)
2012-12-24 10:18:30 +00:00
ffe8b99369
- reorganized hero classes
...
- artifact iconIndex should work
- new file with hardcoded string constants: lib/StringConstants.h
Note: some minor bugs, will fix soon:
- slow to open hero window
- hero adventure map images serialization is broken\incorrect
2012-12-14 15:32:53 +00:00
2643762f08
Mac OS patch from stopiccot
2012-12-01 06:30:52 +00:00
306d64b0c4
- it is possible to read json file with vector
...
- town configuration:
- - all town-related texts are now in TownHandler
- - alignments are now part of faction
- - removed CTown::bonus field
2012-10-05 13:11:26 +00:00
3e82b92fce
Version set to 0.9, updated changelog.
2012-09-30 21:51:23 +00:00
6934ec13e2
Post-release version bump.
...
Minor correction for emptyAI VS project file.
2012-09-29 21:10:39 +00:00
572cfa50e7
Bumping release version.
2012-09-27 05:45:38 +00:00
f3f4a7633d
* fixed 1085
...
* fixed starting hero is granted in normal scenarios
* introduced TArtifactInstanceID
2012-09-25 14:40:39 +00:00
18bd898cb1
* fixed bug when starting certain maps in campaigns
...
* introduced TPlayerColor typedef
2012-09-24 16:14:53 +00:00
6a81c8b1af
* campaign against magic numbers
...
* ArtifactID was misleading and wrongly used in one place -- renamed and fixed
* minor changes
2012-09-23 18:01:04 +00:00
9acfa0d136
* more or less working HERO campaign bonus
...
* minor improvements
2012-09-22 17:23:28 +00:00
99dcb73a72
- filesystem.json files for wog and vcmi data
...
- merged puzzle map into town configuration (todo: sieges, adventure map, icons)
2012-09-20 21:28:18 +00:00
62e63d45b1
Work in progress on BattleAI. Related changes:
...
* battle AIs receive ptr to CBattleCallback (not sure why it was CPlayerBattleCallback, likely mistake)
* reworked some battle callback methods to be more generic and able to handle some hypothetic scenarios
* for testing purposes in duel mode the first AI will be taken fro mconfig and the second will remain stupid ai
* minor changes
2012-09-20 16:55:21 +00:00
d961ec0507
* Fixed crash on casting spells.
...
* version bump
2012-09-09 23:51:20 +00:00
0ca9f64573
Next part of town configuration:
...
- town screen is mostly implemented, has some minor issues
- factions are now separate from towns, neutrals have faction with id=9
- more constants to GameConstants: town-specific buildings, strings for terrains and resources
- replaced most access to builtBuildings with isBuilt() method
- replaced id's with enums for town subtype and buildings id's
2012-09-05 12:49:23 +00:00
4e726f0eb2
- Handling for Hill fort and (kinda) Magic Well
...
- Improved hero exchange
- Fixed strange case when AI found allied town extremely dangerous, resulting in endless loop
2012-08-29 09:19:20 +00:00