Ivan Savenko
619a07da03
- projectile blitting should be closer to original H3. But still not perfect.
...
- removed no longer needed field "projectile spins"
2013-04-04 13:18:38 +00:00
Ivan Savenko
52e56693ea
- fixed handling of incorrect configuration in settings.json
...
- more compact schema for siege node
2013-04-03 13:39:46 +00:00
Ivan Savenko
0307639c32
properly initialize settings when configuration was not found
2013-04-02 21:39:32 +00:00
Ivan Savenko
c927913f5f
- Improved json validation. Now it support most of features from latest json schema draft
...
- Set of schemas in config/schemas directory that are used to validate input from mods.
2013-04-02 17:06:43 +00:00
DjWarmonger
c8bb363a45
Fixed Death Stare of Commanders, additional tweaks.
2013-03-30 20:09:50 +00:00
Ivan Savenko
a9fe9e9e8b
- fixed #1229 and #1245
2013-03-29 19:15:52 +00:00
Ivan Savenko
8f998b009b
- fixed 1247
2013-03-23 16:19:27 +00:00
Ivan Savenko
c4c592b773
- bugfixing: #1243 , #1227 , #1241 , #1236 , #1233
2013-03-14 20:44:00 +00:00
alexvins
ff1c224a97
Few more cleanup
2013-03-14 17:56:52 +00:00
alexvins
f686edc1b8
Cleanup
...
* simplify JSON values getting
* ensure initialization of Bonus fields
2013-03-14 17:21:16 +00:00
alexvins
9e7fe4d011
Fix duplication in zcrtraits load
2013-03-14 11:39:29 +00:00
Ivan Savenko
5082dafd62
- h3 hero classes and artifacts can be modified via json
...
- commander artifacts are now merged into main artifacts.json, todo - split 2.5k file into something manageable
2013-03-12 14:56:23 +00:00
alexvins
b5612624fb
fix clone immunity handling for 8+ level creatures, part of issue #1234 .
2013-03-10 16:16:43 +00:00
Ivan Savenko
b413d80ccc
- better logging of some config files errors
...
- restored lvl 10 for some dragons
2013-03-09 13:16:35 +00:00
mateuszb
044b19269e
* updated Visual Studio project file
2013-03-07 18:48:40 +00:00
stopiccot
277eb13cb4
Fixed OS X compilation
2013-03-06 22:03:57 +00:00
alexvins
2eb8263e51
Basic Configuration for bonus types
...
* introduced new handler BonusTypeHandler
* config\bonusnames.json converted to common format and splitted info main and localizable parts
* hanlders initialization refactored
2013-03-06 18:49:56 +00:00
DjWarmonger
ca8182f80f
Fixed #1133 .
2013-03-05 07:34:52 +00:00
DjWarmonger
ae7f3560a3
Moved phoenix immunity to .json. This fixes #978
2013-03-04 19:38:09 +00:00
DjWarmonger
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
Ivan Savenko
b4e54f76ea
- split heroes.json in manner similar to creatures\factions
...
- string ID's for H3 heroes
- data in vcmi configs for heroes will replace data in h3 txt's
2013-03-03 18:00:37 +00:00
mateuszb
dbec99ffc7
* PlayerColor and TeamID refactoring
2013-03-03 17:06:03 +00:00
Michał W. Urbańczyk
ac9a009516
VC project file update.
2013-03-03 14:08:39 +00:00
Ivan Savenko
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
Ivan Savenko
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
DjWarmonger
5f4fb22f53
Several fixes to combined artifacts added via mods.
2013-03-02 09:11:52 +00:00
Michał W. Urbańczyk
e708dd5545
Version set to 0.92. Changelog updated.
2013-03-01 21:48:37 +00:00
Michał W. Urbańczyk
459e858756
One more fix for turrets — defender should also not be turned.
...
Development build 0.91c.
2013-02-27 07:40:21 +00:00
Michał W. Urbańczyk
a9fd7b806c
Fixed crash on the new month when there are no creatures that can get double growth. ( #1219 , possibly #1217 )
...
The list of double growth creatures will be serialized.
Bumped format.
MSVC: silenced that stupid C4275 warning. (senseless when using STL)
2013-02-27 03:11:45 +00:00
Michał W. Urbańczyk
9cc7a28222
Fixed unnecessary turret turning.
2013-02-27 03:06:49 +00:00
Ivan Savenko
b78c4c19ea
- compile fix
2013-02-26 15:07:21 +00:00
DjWarmonger
928d1d2121
- Some work on bonus system, effect range can be ignored. TODO: usage of bonus with any subtype.
...
- Fixed #1156
2013-02-26 09:36:21 +00:00
DjWarmonger
28d3574b0b
Compile fix - do it the old way.
2013-02-25 13:28:31 +00:00
alexvins
2cb86d84fa
[refactor]
...
+ crexp parser: parse mind immunity
2013-02-25 12:18:45 +00:00
mateuszb
10fbe7b11e
primary skill identifiers for bonuses
2013-02-25 09:48:26 +00:00
alexvins
856c7feeba
[refactor]
...
* creature config use string ids now
+ support string subtype id in short bonus format
* crexp parser: less magic nombers
2013-02-23 22:48:22 +00:00
mateuszb
602827d1ae
* MSVC compilation fixes
...
* campaign epilogues and minor fixes
2013-02-23 19:16:14 +00:00
alexvins
5a135b9f42
[c::b] update projects, fix compilation
2013-02-23 16:05:32 +00:00
Ivan Savenko
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
mateuszb
fbb1ae1bb8
* prologue videos (according to Randjan's list)
2013-02-22 21:03:56 +00:00
mateuszb
92995964f3
a bit more of prologue/epilogue screen
2013-02-20 21:01:18 +00:00
mateuszb
b776b93b0c
* a bit of campaign prologue/epilogue screen
2013-02-19 20:39:09 +00:00
Michał W. Urbańczyk
9492592a8f
Version bump. Fixed crash on desync saves.
2013-02-19 12:24:17 +00:00
Michał W. Urbańczyk
ca4a34df7b
Development build 0.91b.
...
Removed not necessary log.
2013-02-18 23:35:25 +00:00
Michał W. Urbańczyk
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
DjWarmonger
111312636a
Fixed #1207 . Some tweaks.
2013-02-17 18:53:01 +00:00
Ivan Savenko
b22d8a007f
- minor fixes
2013-02-17 18:25:42 +00:00
Ivan Savenko
a75d237e93
compile fix
2013-02-16 19:53:57 +00:00
mateuszb
776eb13663
* editor menus
2013-02-16 16:37:43 +00:00
mateuszb
560315bc48
* SlotID refactoring
2013-02-16 14:03:47 +00:00
Michał W. Urbańczyk
d23a5dcfdf
Fixed #1208 .
2013-02-14 15:19:35 +00:00
Michał W. Urbańczyk
12e627ec49
Fixed #1206 .
2013-02-14 13:19:03 +00:00
Michał W. Urbańczyk
827d7b8681
Fixes for previous rev.
2013-02-14 02:17:46 +00:00
mateuszb
9e00090c42
* refactoring, a few intriguing problems remain
2013-02-13 23:55:42 +00:00
alexvins
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
mateuszb
6d06710684
* fixes for town building campaign bonus
2013-02-13 14:21:11 +00:00
mateuszb
9c1a117c1c
* refactoring
2013-02-12 22:24:48 +00:00
Ivan Savenko
7e46d462b6
- compile fixes
...
- fixed portrait initialization for random heroes
2013-02-12 21:32:55 +00:00
mateuszb
bda766b697
* refactoring
2013-02-12 19:49:40 +00:00
Michał W. Urbańczyk
6ac70d6a0b
Partially reverting r3191: DLL_LINKAGE on registerTypes def breaks compilation for MSVC. The function definition cannot be marked as dll import (and that happened, when it was included in CGameHandler.cpp)
...
Partially reverting r3184: user-defined include/lib paths got uploaded
2013-02-12 12:51:31 +00:00
Ivan Savenko
5a8787b74d
- fixed some compiler warnings, gcc\clang work fine
...
- better handling of innoextract in vcmibuilder.
2013-02-11 22:36:12 +00:00
alexvins
8249e15f0f
[c::b] update projects
2013-02-11 19:27:37 +00:00
mateuszb
8a8eecd063
* refactoring
2013-02-11 19:11:34 +00:00
DjWarmonger
b554af25d3
- Compile fix
...
- Fixed Basilisk spawning at Hive
- Fixed double-shot of Marksman
2013-02-11 17:23:55 +00:00
mateuszb
6ff7d61b91
* small fix
2013-02-11 16:07:29 +00:00
mateuszb
d540723739
* refactoring
2013-02-11 14:42:09 +00:00
mateuszb
86dc9386d6
* refactoring, including a generic solution for IDs
2013-02-10 23:24:57 +00:00
Michał W. Urbańczyk
2f39db2375
Hero portraits in campaign bonus selection.
2013-02-09 19:19:14 +00:00
Michał W. Urbańczyk
13b3d23b26
Finally working hero crossover in campaigns.
...
Uncovered new secrets of h3m.
2013-02-09 18:18:55 +00:00
Michał W. Urbańczyk
e31f5062f9
Fixed crashes when VCAI cannot find hero to recruit.
...
Bumped format version.
2013-02-09 17:37:38 +00:00
mateuszb
d03dbf64a6
* refactoring
2013-02-09 12:56:35 +00:00
mateuszb
0003d30991
* refactoring
2013-02-08 22:42:46 +00:00
mateuszb
9dd60b6dbe
* refactoring
...
* moat damage went to config file
2013-02-08 21:17:39 +00:00
DjWarmonger
140786a04b
- Drain Life now has % effect depending on bonus value
...
- Stack can use more than 2 attacks. Additional attacks can now be seperated as "ONLY_MELEE_FIGHT and "ONLY_DISTANCE_FIGHT".
2013-02-08 09:22:10 +00:00
mateuszb
043c7c52a3
* very important bugfix
2013-02-07 20:53:21 +00:00
mateuszb
f1c78e3260
* creature ID refactoring
...
* double week creatures are configurable now
2013-02-07 17:34:50 +00:00
alexvins
ed3d35554e
[refactor] h3m reader
...
* reduce code duplication
* use binary reader
2013-02-07 17:02:15 +00:00
mateuszb
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
mateuszb
169cf3558d
* changes in campaign handling
2013-02-06 19:48:09 +00:00
mateuszb
3958364884
* a bit more work on campaigns; hero crossover still buggy
2013-02-06 10:16:44 +00:00
DjWarmonger
1ef205e5f1
Various tweaks / enchancements to bonus mechanics
...
- Added CREATURE_SPELL_POWER for commanders
- Added spell modifiers to various spells: Hypnotize (Astral), Firewall (Luna), Landmine
- Fixed ENEMY_DEFENCE_REDUCTION, GENERAL_ATTACK_REDUCTION
- Extended usefulness of ONLY_DISTANCE_FIGHT, ONLY_MELEE_FIGHT ranges
2013-02-06 08:02:46 +00:00
mateuszb
dc091a1ce1
* some work on hero crossover; still buggy
2013-02-05 23:16:13 +00:00
Ivan Savenko
3f309f0c5e
- removed support for ancient versions of ffmpeg
...
- some cleanup in Linux video player
2013-02-05 23:11:48 +00:00
Michał W. Urbańczyk
60c18f1bb8
More fixes for campaigns.
2013-02-05 21:19:08 +00:00
Ivan Savenko
8ffd482324
- gcc compile fix
...
- mismatching enum (?) in HeroBonus
- probably fixed some cases of unaligned access
2013-02-05 19:56:28 +00:00
mateuszb
bda92a4a73
* refactoring
...
* fixed bug 1143
* some work on campaigns
2013-02-05 18:48:46 +00:00
Michał W. Urbańczyk
f8d7473f9a
* fixed vector<bool> serialization
...
* fixed issue with loading castle event
2013-02-05 14:32:59 +00:00
Michał W. Urbańczyk
937b316c11
Updated VC project file.
2013-02-05 01:25:56 +00:00
Michał W. Urbańczyk
59abcac7da
A patch from stopiccot http://forum.vcmi.eu/viewtopic.php?p=8340#8340
2013-02-04 23:12:43 +00:00
alexvins
a9d458c8f4
few more refactorings
2013-02-04 21:58:42 +00:00
mateuszb
25663ce7af
* fixed vector<bool> serialization
...
* refactoring
2013-02-04 19:43:16 +00:00
DjWarmonger
5b00d74e1a
Fixed commanders starting with 2^32 experience.
2013-02-04 19:22:19 +00:00
mateuszb
3c5d6dd79a
* vector<bool> serialization
2013-02-04 16:58:31 +00:00
DjWarmonger
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
alexvins
d264f17b76
[refactor] separate h3m reader from rest of mapservice
2013-02-04 10:29:59 +00:00
mateuszb
8769f67c5d
* JsonReader can convert to enums
...
* refactoring
2013-02-03 21:05:44 +00:00
mateuszb
ba3075317f
* proper bool serialization
...
* refactoring towards more enums/typedefs
2013-02-02 19:28:39 +00:00
alexvins
b376ac8568
refactor map loading, few small tweaks
2013-02-02 17:20:31 +00:00
DjWarmonger
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
mateuszb
c4e03ef0de
* enum serialization/deserialization (si32 as basetype ought to be enough for anybody)
...
* some fields in classes refactored to use appropriate enums (not yet finished)
2013-02-01 22:04:25 +00:00
DjWarmonger
096b0d6a36
Post-release version bump.
2013-02-01 09:37:39 +00:00
DjWarmonger
d325528aa5
For 0.91 release.
2013-02-01 08:44:20 +00:00
mateuszb
a1da195b85
* minor refactoring
2013-01-31 20:11:25 +00:00
mateuszb
5b0c6059e2
* bug 1193 should be fixed
...
* minor refactoring
2013-01-30 21:28:31 +00:00
DjWarmonger
5194569053
- Fixed #1190
...
- Fixed incorrect shield effect
2013-01-29 06:47:20 +00:00
Ivan Savenko
9caa21a51c
- fix for #1189 (h3 text parsing fix)
...
- fix for #1188 (replaced ffmpeg detection with module from KDE)
2013-01-26 19:39:54 +00:00
DjWarmonger
ad9cfdcc1b
Version 0.90c
2013-01-26 14:56:32 +00:00
beegee1
db2f468341
- Fixed some bugs when generating terrain view IDs (mock map seems to be OK) - Enabled RMG by default
2013-01-26 13:48:20 +00:00
Ivan Savenko
beac6b12d8
- loading fix
2013-01-24 21:03:01 +00:00
Ivan Savenko
080e037c54
- fix for starting towns ( #1180 )
...
- fix for creature window (#1184 )
2013-01-23 22:09:58 +00:00
DjWarmonger
d71b11de81
Development version 0.90b
2013-01-23 20:33:34 +00:00
DjWarmonger
f6acc8c77b
Added dummy message for artifacts that don't have pick-up texts.
2013-01-22 21:50:43 +00:00
Michał W. Urbańczyk
6232a1b369
Fixed #1181 . Do not change that setProperty to setPropertyDer, it has to be as it is.
...
Sketchy fix for BattleAIs colliding ith their callbacks.
2013-01-21 21:34:30 +00:00
beegee1
a4129f43f2
- Correct handling of who manages which players(player count may differ from initial start options for a RMG map) - Fixed warning
2013-01-21 20:49:19 +00:00
alexvins
5b2f176c27
compile fix
2013-01-21 18:27:00 +00:00
DjWarmonger
cf7108f075
- Made sure that stack artifacts will not spawn when they are turned off
...
- Description for "Spell-like attack"
2013-01-21 15:11:37 +00:00
Ivan Savenko
46eb0b3daf
- wrokaround/fix for #1177
...
- removed assert in Fonts.cpp (can be triggered a lot by old pregame\battles code)
- fixed battle console text positioning
- fixed some new compiler warnings
2013-01-20 22:49:34 +00:00
Michał W. Urbańczyk
a96f03e947
Crashes realted to illegal access to enemy hero data should be fixed, including #1178 .
2013-01-20 20:29:35 +00:00
DjWarmonger
fff7909958
- Fix for hero specialties (creature type limiters)
...
- Improved handling of new heroes / arts, check forum for fresh mod packages :)
2013-01-20 16:31:18 +00:00
beegee1
1cab54b87a
- Fixed bug when starting random map with 1 player - Refactoring - Fixed compile bug - Heroes can be selected in map selection screen(RMG map) - Main town gen
2013-01-20 14:43:58 +00:00
Michał W. Urbańczyk
5b919d88eb
"More stable" opening AI.
2013-01-20 12:06:49 +00:00
Michał W. Urbańczyk
0e826915ed
Fixed #1176 .
2013-01-20 12:06:18 +00:00
DjWarmonger
1e90de3c9f
Some more fixes for limiters and specialties.
2013-01-19 18:52:13 +00:00
DjWarmonger
79062eb15c
- Parsing hero specialty is working (though complicated)
...
- Some obvious fixed for limiters, more work needed
2013-01-19 17:38:37 +00:00
DjWarmonger
97db289d3c
Parsing for CREATURE_TYPE_LIMITER
2013-01-18 11:49:15 +00:00
DjWarmonger
ce15eb37c2
- Fixed serialization of limiters
...
- Hero can now can have several separate specialty nodes
- Fixed typo (speciality->specialty)
- Fixed several crashes related to commanders
- Improvements to specialty handling, bugfixes and temporary solutions for upcoming hero specialties in mods
2013-01-17 18:15:00 +00:00
alexvins
36469f406c
Fix results of merge conflict with Warmonger. + more fixes to barseBonus.
...
Bonus duration now can be array and parsed to bitmask as designed.
2013-01-16 16:41:01 +00:00
Ivan Savenko
5deb499e7e
Last breaking change into mod system (will explain on forum)
...
- paths in "filesystem" node are now relative to mod directory
- "filesystem" entry in mod.json is now optional
- made "register object" log messages visible only in log
- minor fixes, including #1173
2013-01-16 14:28:49 +00:00
DjWarmonger
d7c9377843
- Parsing propagators and limiters
...
- Experimental support for chaining limiters
- Added missing abilities, propagators and limiters to artifacts
- Sketch of Calculator for bonuses, ignore it for now
2013-01-16 13:02:01 +00:00
alexvins
53b684180d
[refactor]
...
* use spells configuration (all timed effects for battle spells)
* a few more cleanups
+register erm resource types (useful in future and less noise in log now)
2013-01-16 11:19:04 +00:00
DjWarmonger
a86b5c1e2e
Artifacts can now have multiple types of bearers. Fixed problems with Commander arts impossible to wear.
2013-01-16 07:37:51 +00:00
alexvins
0741639baf
fix c++ standard violation.
2013-01-15 15:24:52 +00:00
alexvins
68e91ada1c
[refactor]
...
* spells are now more configurable (unused yet, WiP)
* a few more cleanups
2013-01-15 14:20:48 +00:00
alexvins
264ce77ec9
[refactor] a few more cleanups
2013-01-13 12:40:24 +00:00
Ivan Savenko
2f83b211ca
- fix for text on kingdom overview ( #1172 + some other similar cases)
...
- removed unused code from text handler
2013-01-12 19:28:38 +00:00
alexvins
055e922e4d
[refactor] a few more cleanups
2013-01-12 18:08:33 +00:00
alexvins
f4ee750d64
[refactor] a few more cleanups
2013-01-12 13:53:02 +00:00
alexvins
daf2c285e9
[refactor] reduce some code duplication, get rid of few magic nombers.
...
*fix deletion of empty pandora box
2013-01-12 10:32:03 +00:00
Ivan Savenko
7e7d12095b
- basic support for dependencies\conflicts for mods
...
- adventure map objects transparency should be more similar to h3
2013-01-10 18:53:49 +00:00
DjWarmonger
d31277c3cc
Minor compile fix, not sure why it's necessary.
2013-01-09 08:58:58 +00:00
beegee1
6d0221c0e7
- Compile fixes
2013-01-08 18:32:47 +00:00
alexvins
d8b068afd9
[c::b] update projects
2013-01-08 09:41:28 +00:00
beegee1
0311e5e6f5
- Added basic mock/test generation - Added stub for terrain editing
2013-01-06 19:30:12 +00:00
alexvins
4bc2fd5519
[c::b] renamed map subfolder to workaround dependency tracking bug
2013-01-03 12:19:20 +00:00
DjWarmonger
c0e09679f1
- Mod artifacts can have components
...
- Mod artifacts can be for commander / stack
- Commander / stack artifacts will be automatically disabled from random spawning is related module is disabled
2012-12-27 11:00:28 +00:00
DjWarmonger
1807a8a536
- Bonus subtype will now be resolved using string identifiers.
...
- Registered secondary skills and resource names in identifier pool
2012-12-26 09:46:09 +00:00
DjWarmonger
d50f9c8d34
Moved combo artifacts to config file, they are now handled by string id.
...
TODO: use same solution for new mod artifacts.
2012-12-25 19:04:15 +00:00
DjWarmonger
743a0fc3f4
Added string identifiers to artifacts.
...
Some of them have lost some abilities, needs more work.
2012-12-25 17:23:26 +00:00
alexvins
9051731755
[c::b] reorganize workspace
2012-12-24 15:55:19 +00:00
alexvins
616cedb2f2
get rid of few more magic numbers (obj types)
...
+stub for wog objects
2012-12-24 15:07:30 +00:00
alexvins
889031a95a
get rid of few magic numbers (obj types)
2012-12-24 10:18:30 +00:00
Ivan Savenko
0b1c215882
- end of world, at least for autotools. Removed completely in favor of CMake
2012-12-23 19:44:37 +00:00
Ivan Savenko
da6cb0ae12
- trade windows work with new creatures\artifacts
...
- removed some duplicated code in creature loading
2012-12-23 10:23:41 +00:00
Ivan Savenko
8824f5e2d5
- H3 creatures use subset of mod creature format (todo - unify code)
...
- creatures configs moved into confg/creatures files, similar to factions.
- creatures ID's use same camelCase format as the rest of the game
2012-12-22 16:47:12 +00:00
Michał W. Urbańczyk
bcf8cab19a
Project files update/cleanup.
2012-12-19 18:23:21 +00:00
Ivan Savenko
b5ebf443fc
- all fonts handling is now in new file, UIFramework/Fonts.cpp/h
...
- common base class for H3 bmp and ttf fonts
- replaced fonts.txt with fonts.json
2012-12-19 17:24:53 +00:00
DjWarmonger
0e06ac15ad
- Commanders are now a part of faction config
...
- Support for external dwellings for new towns
2012-12-19 16:35:58 +00:00
alexvins
c0ce8712c1
add some missing licence headers
2012-12-19 14:54:10 +00:00
alexvins
66d9edf76e
small refactor secskill limit check.
2012-12-18 11:24:13 +00:00
Ivan Savenko
94c55e2632
- string ID's for spells (not configurable due to hardcode)
...
- spell chances in new towns guilds can be specified in config
2012-12-18 10:32:11 +00:00
Ivan Savenko
ff146a80fe
- fixed empty tavern in new towns
...
- by default new heroes\new towns will be enabled on maps (no effect without mods)
2012-12-17 12:55:29 +00:00
Ivan Savenko
e36bc50504
- support for new heroes and hero classes
...
- moved hero-specific data from text handler to CHero
- moved hero classes-specific data into heroClasses.json
2012-12-16 13:47:53 +00:00
DjWarmonger
99e7177d57
Fixed unitialized ptrs in CArtifacts.
...
Parsing for adventure map def for artifacts.
2012-12-16 11:35:14 +00:00
Ivan Savenko
c764ce6ebe
- one more unitialized memory crash ( #1163 )
...
- minor tweaks for hero handler
2012-12-15 13:40:22 +00:00
DjWarmonger
f05b398e5c
Compile fixes.
2012-12-15 09:04:55 +00:00
Ivan Savenko
d2ee602b29
- fix uninitialized cursor
...
- stubs for loading heroes and classes from mods (no real code yet)
- heroes loading uses string IDs for secondary skills, some cleanup in HeroHandler
2012-12-15 08:47:02 +00:00
Ivan Savenko
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
DjWarmonger
afe3f77a59
Fixed Artifact parser. Check http://forum.vcmi.eu/viewtopic.php?p=7889#7889 for example mod.
2012-12-14 08:37:46 +00:00
alexvins
a8175c13bd
fix to prev. revision
2012-12-13 15:38:04 +00:00
DjWarmonger
62a281a665
Complete parsing for new Artifacts. iconIndex needs to be handled.
...
Otherwise, they are ready for test.
2012-12-13 14:27:33 +00:00
Ivan Savenko
23fcdd1a4a
- missing fields in town serialization
2012-12-13 13:07:56 +00:00
DjWarmonger
71cbde7bbc
Bonus limiters are now implemented using Decorator design pattern, which allows to chain them.
2012-12-13 10:49:12 +00:00
Ivan Savenko
ec8e078ef8
- fixed out of sync hero armies
...
- one more crash in garrison
2012-12-12 14:52:42 +00:00
Ivan Savenko
04358ed0c6
multiple changes in config system, breaks existing mods. See upcoming post on forums.
...
- filesystem initialization works in conjuction with modHandler
- (config) split buildings.json in multiple files in "factions" directory
- (mods) merged filesystem.json and config/mod.json into mod.json
2012-12-12 11:13:57 +00:00
Ivan Savenko
e3231db1c9
- primaryResource and warMachine now use string ID
...
- fixed long delays on moving units in garrisons
- fixed bug on loading available spells from map
- removed unused bigImgs from Graphics
2012-12-11 12:12:46 +00:00
Ivan Savenko
16b72ee89b
minor:
...
- siege tower shooters use string ID's
- cmake will install vcmibuilder with correct permissions
- vcmibuilder will not extract outdated config files from core.zip
2012-12-10 20:08:00 +00:00
Ivan Savenko
1c5a4c669c
- merged minimap.json into terrains.json
...
- removed no longer used fields from Graphics + portraits.json
- work on pregame:
- - new code for map options window icons + popups
- - fixed bugs related to new towns
- - less hardcoded magic numbers
2012-12-10 14:28:27 +00:00
DjWarmonger
730cbd930a
Parsing for new artifact format: http://wiki.vcmi.eu/index.php?title=Artifact_Format
...
Not finished, not tested.
2012-12-10 13:55:54 +00:00
DjWarmonger
f4ec678b0c
Removed unused code. Some properties of artifacts will be generated automatically.
2012-12-07 11:35:57 +00:00
DjWarmonger
cff758cfba
Moved artifact-related text to CArtifact class.
2012-12-06 19:03:47 +00:00
Ivan Savenko
85a23e298c
- generic string ID -> numeric ID resolution system
...
- - hero army and creature upgrade names are resolved using new system
- - faction names and creatures in towns are resolved using new system
- (linux) replaced build_data.sh with hopefully better vcmibuilder script
- minor fixes
2012-12-03 16:00:17 +00:00
Ivan Savenko
c9dd80ea6d
- moved json-related functions (e.g. ParseBonus) into JsonUtils namespace
...
- replaced JsonNode::toStdVector with more universal convertTo
- some renaming in StartInfo
2012-12-02 12:21:44 +00:00
DjWarmonger
ca9033d0e4
- Support for "Enchanted" WoG ability.
...
- Precision will not be cast on non-shooters
2012-12-01 18:30:03 +00:00
DjWarmonger
c5d9110176
Compile fix for last commit.
2012-12-01 07:17:55 +00:00
Ivan Savenko
2643762f08
Mac OS patch from stopiccot
2012-12-01 06:30:52 +00:00
DjWarmonger
7be00e97a0
Fixed #1124 . Probably also other bugs related to two-hex creatures (or they were already resolved).
2012-11-30 14:06:22 +00:00
DjWarmonger
52242692f1
Fixed #1130 .
...
Moved isToReverse() function to battleCallback so that creature rotation will be handled by core mechanics and not only GUI.
2012-11-29 15:02:55 +00:00
Ivan Savenko
89196c577e
autotools compile fix
2012-11-28 09:16:59 +00:00
DjWarmonger
9d68b9d58d
Compile fix. Keep StdInc consistent.
2012-11-21 09:13:33 +00:00
beegee1
53169abea7
- Foundation for starting a random map is done - Moved StdInc.h to header file in some /Map and /RMG compilation units(better syntax highlighting, should have no negative impact)
2012-11-20 17:53:45 +00:00
DjWarmonger
c54b983663
Some improvements for AI logging.
2012-11-15 10:40:40 +00:00
mateuszb
100dad889a
* much better callback function declaration (previous version inspired me to write a new coding guideline)
2012-11-14 21:19:32 +00:00
DjWarmonger
13a5a820d0
- Fixed #1032
...
- Fixed upgrades not working after recent changes. Now all upgrades will be handled by creature names.
2012-11-14 15:26:33 +00:00
DjWarmonger
a7cea94247
- Hopefully fixed #1103
...
- Fixed #1137
2012-11-14 14:27:18 +00:00
beegee1
e08db9790b
* Map size can be any integer value * Changed new_*; to new_*(); for zero-parameter c-tors (=code convention; stack allocated objects without parantheses as ever to avoid c++ most vexing parse)
2012-11-13 18:01:31 +00:00
DjWarmonger
f5ddc44827
- Compile fix - unique_ptr can't be serialized
...
- Linking fix - now MapGenOptions have DLL-interface (but probably shouldn't be called directly from client anyway)
2012-11-13 12:55:47 +00:00
Ivan Savenko
f7915d9e61
- removed creature-related code from ModHandler
...
- new towns can be loaded as mods
- removed separate DefInfos for towns\capitals
- a bit simpler handling of adventure map def's
2012-11-13 11:52:23 +00:00
beegee1
c336abcf4a
* Added RMG tab to pregame(disabled by default, activate with: enableRMG=true in settings.json) * Fixed tab intendation * Renamed colors to more comprehensible names
2012-11-11 12:23:31 +00:00
Ivan Savenko
0d863c83d7
- removed autogenerated by autotools files
...
- fixes for #386 using patches from Ixtreon
2012-11-10 21:56:19 +00:00
DjWarmonger
d5aed7c0c7
Compile fix - why would lib headers be dependent on IDE?
2012-11-07 20:14:31 +00:00