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
beegee1
105083dd70
* Code convention updates * Default values for CMap types * Updated BinaryReader c-tor * Converted "bool" int types to bool in CMap classes * Removed map event operators in favor of member methods
2012-11-06 16:39:29 +00:00
Ivan Savenko
fc85e08a64
- clang and gcc 4.5 compatibility
...
- autotools update
- debian build system fixes
2012-11-03 19:31:16 +00:00
Michał W. Urbańczyk
9707e73eda
MSVC compile fixes:
...
* in projct file some headers were marked as compile objects
* pow(int,int) is ambiguous
* some missing includes
2012-11-03 14:29:54 +00:00
beegee1
a878f5f79a
* Separated map loading from the map object * Moved map classes to lib/Map * Renamed map.h/cpp to CMap.h/cpp * Profiling of map loading is now optional * Updated CMemoryStream
2012-11-03 13:30:47 +00:00
Ivan Savenko
2cd774fe42
- gcc 4.5 compatibility
2012-11-02 20:08:37 +00:00
beegee1
720deba838
* Added comments to map.h * Refactoring(renamed attributes, some steps towards coding guidelines, ..)
2012-10-26 17:51:05 +00:00
Ivan Savenko
8604234f8d
- fixes for autotools build
2012-10-26 12:57:18 +00:00
beegee1
2a50d8d464
* Fixed battle crash (if they're double wide creatures)
2012-10-19 13:16:14 +00:00
Ivan Savenko
fcc66b7bb9
- fixed RPATH in cmake
...
- minor fixes
2012-10-08 15:21:59 +00:00
Ivan Savenko
db10f512d5
- game won't crash on missing dwellings (instead random one will generated)
...
- added disabled code that can be used to fix buildings blit order
- minor fixes
2012-10-07 14:58:48 +00:00
Ivan Savenko
da7a6234b1
- some tweaks towards new towns
...
- it is possible for faction to have 0 available heroes
2012-10-06 08:47:13 +00:00
Ivan Savenko
9f0441a0be
- adventure map defs are now part of town config. Should be the last part
...
- possibly fixed #1136
2012-10-05 19:57:28 +00:00
Ivan Savenko
c071a03a8a
- fix for #1135
...
- merged wall_pos.json into town config
- removed tower_shooter field from creatures.json
2012-10-05 18:03:49 +00:00
Ivan Savenko
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
Ivan Savenko
f113f9573d
- CPack support. Works on my side, needs tweaks for Win
2012-10-05 12:38:17 +00:00
mateuszb
a8524a2f95
* missing change from previous commit
2012-10-03 18:13:07 +00:00
mateuszb
652ea4036e
* artifact bonuses are read from config file now
...
* removed two commented-out methods
2012-10-03 18:11:19 +00:00
DjWarmonger
4bacd97497
Quests now handled by pointers again, this time without bugs.
...
Fixed some issues with quests and AI.
2012-10-03 14:49:29 +00:00
DjWarmonger
1cf99f7be1
- Improved exploration algorithm. AI will avoid dead-end barriers and thus explore much faster.
...
- Fixed crash when there are no heroes available to recruit in the map. TODO: make AI handle it
- Fixed crash when Chain Lightning has not enough targets
- Fixed crash at Hill Fort (?)
- AI will buy Spellbook for its heroes
- AI will try to use Cartographer and Observatory when exploring
- AI will not visit Prison when heroes are at max
- Experiment: AI will try to capture Mines and Dwellings when there are no enemies around (part of CONQUER goal)
2012-10-01 18:25:43 +00:00
Michał W. Urbańczyk
3e82b92fce
Version set to 0.9, updated changelog.
2012-09-30 21:51:23 +00:00
Michał W. Urbańczyk
49c5f70551
Fixed #1112/#1114.
2012-09-30 11:33:19 +00:00
Ivan Savenko
07f9cb16c5
- spellbook fix ( #1110 )
...
- possible fix for kingdom overview (#1109 )
- tweaks for recruit window (part of #1113 )
2012-09-30 10:35:17 +00:00
Michał W. Urbańczyk
6934ec13e2
Post-release version bump.
...
Minor correction for emptyAI VS project file.
2012-09-29 21:10:39 +00:00
Michał W. Urbańczyk
dec3f9afd9
#1083 should be fixed.
...
To be released as dev build 0.89d.
2012-09-29 20:25:54 +00:00
mateuszb
657ed41088
* fixed bug in campaigns
...
* turned off artifacts.json creation
* minor changes
2012-09-29 17:36:48 +00:00
Ivan Savenko
2001aeac92
- typo fix
2012-09-29 17:16:07 +00:00
Ivan Savenko
b1557bc6c4
- fixes #1105
...
- minor improvement to resolution selection dialog
- removed (hopefully) all cases where neutral faction uses id -1
2012-09-29 15:10:56 +00:00
Michał W. Urbańczyk
f30ee8ff04
* fixed possible corruption of pack sent by server when player request is rejected
...
* BattleAI will restore callback to its previous state, fixes freeze after battle #1104
* BattleAI won't lose turn when unable to correctly evaluate a spell
* VCAI will correctly recognize hero standing on town entrance
* War machines of defender will have correctly set side
* Faction 9 as neutral causes crashes, changing to -1 as used elsewhere in the code
2012-09-29 14:44:06 +00:00
DjWarmonger
b6a20b6e99
Fixed teleporting animation ( #818 ). Flying ability with subtype "1" will cause movement animation to skip (teleport).
2012-09-29 12:40:12 +00:00
Ivan Savenko
a602d7e9da
- build system update
...
- compile\warning fixes
2012-09-29 12:02:46 +00:00
Michał W. Urbańczyk
f8a27a9fdb
* Moved CConfigHandler from client to lib, CMake/Makefile need updating. I believe other projects besides client also need access to settings. (surprisingly there was a "server" category used only by client... and now VCAI.)
...
* It is possible to set the battle ai that'll be used by neutrals by typing in VCMI console:
setBattleAI <AIName>
VCAI also respects that setting and uses given AI as its battle back-end.
2012-09-29 10:59:43 +00:00
Ivan Savenko
74cd2e77fe
- fixed (at least partially) #1100
2012-09-29 09:39:05 +00:00
Michał W. Urbańczyk
2ba0427432
* Fixed #1096
...
* serializing icon index, otherwise creature portraits are gone after loading a game
* VCAI: fixed crash on attempting revisiting a boat (that is no longer present because it was boarded)
* Fixed strange crash with "neutral hero" (there should be no such thing... but somehow it appears, needs further investigation)
2012-09-28 20:49:23 +00:00
Michał W. Urbańczyk
0750d46285
Fix #1095 .
2012-09-28 19:11:09 +00:00
Michał W. Urbańczyk
8bb4abb75a
* VCAI: fixed possible endless loop of realizing GATHERRESOURCE goal
...
* an assertion failing when quest object cannot find its targeted monster ("crash early" policy), related to #1076
2012-09-28 16:20:18 +00:00
DjWarmonger
0435d5a4f1
- Removed pointer usage for CQuest. may look rough, but works and fixes #1051 .
...
- Better autoSkip mode, now info windows are not displayed.
2012-09-28 15:46:09 +00:00
Michał W. Urbańczyk
1fce4770fb
Fixed crash when starting a game with new creatures on map using „Creature N” placeholders in armies.
2012-09-28 10:17:07 +00:00
DjWarmonger
ecda63683e
Fixed Bonus parser crashing at unspecified value. Assigning empty objects is also not good solution.
2012-09-27 17:58:14 +00:00
mateuszb
af133ae758
* experimental support for bonus limiter/propagator loading from json (not turned on yet)
2012-09-27 16:48:46 +00:00
Ivan Savenko
1fdacc4085
- fixes #1086
...
- removed outdated code from filesystem. Filesystem.json from 0.89b will no longer work.
2012-09-27 13:23:33 +00:00
DjWarmonger
572cfa50e7
Bumping release version.
2012-09-27 05:45:38 +00:00
DjWarmonger
906fa04a60
Tweaks for creature bonuses.
2012-09-26 19:02:44 +00:00
mateuszb
8dca88c3c8
* start map in campaign button is properly disabled/enabled (I hope)
...
* exported json for artifact bonuses; no limiters/propagators yet, so it's not used
* minor changes
2012-09-26 18:10:29 +00:00
Ivan Savenko
15a7f43e11
- fixed #1075 , #1080 , #1081
...
- fixed some warnings from cppcheck
2012-09-26 13:13:39 +00:00
DjWarmonger
7759ed017e
-Fixed abilities for new creatures not being displayed in creature window
...
-Fixed crash with rank-range limiter used with stack experience disabled
2012-09-26 05:13:47 +00:00
Michał W. Urbańczyk
ecd8947d8e
Crashes on starting next campaign mission should be fixed.
2012-09-25 18:00:55 +00:00
mateuszb
f3f4a7633d
* fixed 1085
...
* fixed starting hero is granted in normal scenarios
* introduced TArtifactInstanceID
2012-09-25 14:40:39 +00:00
DjWarmonger
8e78c86fe9
Parsing for stack experience and all other properties specified by creature format. Functionality untested due to other bugs in engine :(
2012-09-25 12:41:48 +00:00
mateuszb
f16a3a4527
* fixed bug 1084
2012-09-25 08:07:32 +00:00
mateuszb
7fe2692bf8
* support for campaign scenarios with no bonuses
2012-09-24 19:23:11 +00:00
mateuszb
59fcc15254
* last revision reverted, mysterious bug
2012-09-24 18:52:30 +00:00
mateuszb
55f1c47c16
* more TPlayerColor/TResource
2012-09-24 17:00:18 +00:00
mateuszb
18bd898cb1
* fixed bug when starting certain maps in campaigns
...
* introduced TPlayerColor typedef
2012-09-24 16:14:53 +00:00
Michał W. Urbańczyk
95b866c131
* Further work on Battle AI. Now it is able to cast a number of offensive spells. Battle callback exposes more spell-casting info.
...
* Took down the one Boost.Assign usage offending VC11. I'm getting impatient I guess...
2012-09-23 23:10:56 +00:00
mateuszb
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
Ivan Savenko
3fcba4fb5c
- fixed crash on start of some campaigns
...
- allowed on map factions is now set instead of bit field
2012-09-23 14:32:49 +00:00
mateuszb
9acfa0d136
* more or less working HERO campaign bonus
...
* minor improvements
2012-09-22 17:23:28 +00:00
mateuszb
82e21f8b6e
* minor campaign related improvements
2012-09-22 15:16:45 +00:00
Ivan Savenko
8f936cd34d
- added battleAI to CMake, compile fixes
...
- icons config for towns and creatures
2012-09-22 15:10:15 +00:00
DjWarmonger
e2bfd53c98
- Fixed some issues and crashes
...
- Simplified projectile handling. New creatures can now shoot.
2012-09-21 19:49:35 +00:00
mateuszb
8e3de98059
* restoring campaign features
...
* minor improvements
2012-09-21 17:59:54 +00:00
DjWarmonger
f38244bb5a
Fixed adventure map defs for new creatures.
2012-09-21 08:08:18 +00:00
DjWarmonger
16adfa3aa7
- Fixed crash on creature window drawn for neutral faction
...
- Fixed sound parsing. Check forum for updated mod.
It is now possible to attack & fight new creatures without crash.
2012-09-21 07:22:23 +00:00
Ivan Savenko
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