beegee1
56534bc3fb
- Bug fix to previous commit
2013-05-21 19:26:31 +00:00
beegee1
5328beb8e7
- Fixed some bugs when starting a RMG map - Checks if there is a template for the chosen options(rejects if not) - Added a few templates for development(2 to 4 players, medium maps are supported) - Refactoring
2013-05-21 19:08:06 +00:00
Michał W. Urbańczyk
c920f29c45
More missing serialization items.
2013-05-20 17:25:19 +00:00
Michał W. Urbańczyk
096e1230ce
That needs to be serialized.
2013-05-20 08:37:31 +00:00
Michał W. Urbańczyk
c85829a00c
* creature window prints morale/luck for actual stack in battle (CStack), not stack as seen in hero screen (CStackInstance), fixes #1264
...
* creature abilities bonus properties are updated when the creature id is assigned
* removed decrease morale ability from config file (it was duplicating the one from ZCRTRAIT.TXT
2013-05-19 19:53:03 +00:00
Michał W. Urbańczyk
fc6e72dc75
* Fixed enchantments ( #1265 ). Their effects were not properly added when reading config. Battle interface will be little less likely to block itself after corrupted spell cast.
...
* Fail gracefully when the file from which game is started is in invalid version.
* Bumped versions.
2013-05-19 15:14:23 +00:00
Michał W. Urbańczyk
be7c2bd07f
CGHeroInstance* can be serialized over network even when hero has been defeated. Strongly typed hero type ID introduced.
...
Should fix #1260 .
2013-05-18 22:30:48 +00:00
Michał W. Urbańczyk
f95e6c233b
It is possible to set on visit query that object is to be removed after visit is over.
...
Fixes #1263 .
2013-05-14 13:42:52 +00:00
beegee1
42c2c29976
- Added support for RMG templates(subset of OH3) - Added template "Small Ring" for testing
2013-05-11 17:36:11 +00:00
Michał W. Urbańczyk
0eb19dc16d
WoG map version is 0x33, not 33.
2013-05-09 11:45:20 +00:00
Michał W. Urbańczyk
5c2473d436
Support for saving/loading in player interfaces, including VCAI.
...
Minor changes.
2013-05-09 11:09:23 +00:00
Michał W. Urbańczyk
5de00c752c
VC project updated.
2013-05-05 12:21:50 +00:00
Ivan Savenko
b3bbe27089
- ignore wog maps if wog is not present
2013-05-04 19:20:32 +00:00
Ivan Savenko
8be801a6dc
- CMappedFileLoader class to remap WoG files to h3 names
...
- WoG should be optional, all remapped files are listed in WoG/config/wogFileOverrides.json
- fixed several cases of incorrect positioning of creatures in battles
- some missing sounds for battle effects
- negative luck support, disabled by default
- a bit hackish detection of WoG presence, VCMI should work on SoD-only installs
2013-05-04 13:14:23 +00:00
beegee1
298f862d86
- Implemented updating additional terrain types fully(including 2 special cases)
2013-05-03 10:15:59 +00:00
stopiccot
da659a4924
tiny fix in OS X cmake files
2013-05-01 12:30:46 +00:00
beegee1
3358a8efec
- Added terrain & object selection classes - Added CComposedOperation - Refactored clear terrain, it is now an operation - Added rough support for updating terrain type if required
2013-04-29 15:51:39 +00:00
Ivan Savenko
b20f8fd3d4
- fixed uninitialized access into modHander
...
- fixed #389
2013-04-28 15:06:14 +00:00
beegee1
9776fa9f18
- Added the last two missing patterns
2013-04-27 08:57:04 +00:00
DjWarmonger
a7ed3ee3d0
Fixed #987
2013-04-27 08:11:20 +00:00
DjWarmonger
32c87f532f
- Added missing abilities for devil & ghost dragon
...
- Stack affected by Berserk should not try to attack itself
Neither of these can be actually seen in game duo to more general engine bugs :/
2013-04-27 06:39:59 +00:00
beegee1
0f7d175896
- Fixed all unit test failures and a few more bugs - Simplified view generation algorithm
2013-04-26 15:57:47 +00:00
Ivan Savenko
ecb644fce4
- fix to last commit
2013-04-26 07:40:46 +00:00
Ivan Savenko
8297102350
- some groundwork for wog optionality
...
- moved wog artifacts to wog mod
2013-04-25 21:50:55 +00:00
beegee1
23f7be2a54
- Fixed a few bugs related to the terrain view generation - Updated CMakeLists in /test(copy resources if no source files has been changed too)
2013-04-25 16:09:48 +00:00
Ivan Savenko
8273f323b1
- it is possible to edit data of another mod or H3 data via mods
...
- mods can access only ID's from dependenies, virtual "core" mod and itself (optional for some mods compatibility)
- metadata field for JsonNode, used to track source mod
- moved wog creatures into wog mod
- (linux) convertMP3 option for vcmibuilder for systems where SDL_Mixer can't play mp3's
2013-04-25 14:03:35 +00:00
Michał W. Urbańczyk
be6aff5173
VC11 compile fix.
2013-04-25 08:22:04 +00:00
DjWarmonger
57ea1ed1b8
Fixed crash at month of double population.
...
doublingCreatures vector was never properly initialized.
2013-04-23 17:29:16 +00:00
DjWarmonger
0dc5a13596
Fixed missing spell effects, root cause of #1257 .
2013-04-23 09:54:57 +00:00
Ivan Savenko
e71bace8e3
- fixed crash on missing icons
...
- proper ID resolution for secondary skills to avoid #1258
2013-04-23 09:16:20 +00:00
DjWarmonger
c9bbf7dfd5
Fixed missing Mirth effects
2013-04-23 07:06:26 +00:00
Ivan Savenko
3285f1910b
- finally, solution for imageIndex fields. All image lists will be generated in runtime
...
- iconIndex fields from json are no longer used
- simple check for missing icons on startup
2013-04-22 19:51:22 +00:00
beegee1
7a3f5dc23b
- Replaced exceptions with assert for internal-API code
2013-04-22 16:04:17 +00:00
beegee1
8d82c49a99
- Compile fix - Renamed map operations
2013-04-22 15:08:04 +00:00
beegee1
dd78205ce8
-Added test subfolder and updated CMakeLists for unit testing - Added a test case for the DrawTerrainOperation class(does not pass all tests successfully, 6 failures left to fix) - Fixed a few bugs
2013-04-22 14:49:28 +00:00
DjWarmonger
a9cfb4bddb
Refactoring, fixed #1255
2013-04-22 13:23:53 +00:00
Ivan Savenko
d88caec82c
- fixes to previous commits
2013-04-21 17:06:24 +00:00
Ivan Savenko
4db13ba845
- proper destructors for handlers and lib objects
2013-04-21 16:38:31 +00:00
Ivan Savenko
2ea1051395
- fixed uninitialized pointer
2013-04-21 14:08:46 +00:00
Ivan Savenko
c6cc6e6301
Large changeset, first part of editing H3 objects via mods feature. Changes:
...
- loading of all objects (including H3 objects) will be directed by mod handlers
- common base for all handlers accessible from mod system (IHanderBase)
- json format changes: use struct with string ID's instead of vector
- fixed some gcc/clang errors and warnings
- fixed several cases of memory leaks and invalid memory access (mostly related to usage of bonus system and/or identifiers resolution)
Note that right now loading is much slower than before due to excessive json validation (or not fast enough validator)
2013-04-21 12:49:26 +00:00
Michał W. Urbańczyk
8a4f81b981
Tribool - part II.
2013-04-21 12:28:26 +00:00
Michał W. Urbańczyk
6e1464b568
Tribool - I used it wrong.
2013-04-21 12:24:54 +00:00
Michał W. Urbańczyk
d30571aa4d
AI won't access enemy heroes' objects that went under FoW. Fixes #1235 .
2013-04-21 12:11:13 +00:00
Michał W. Urbańczyk
d1d67caa0b
Get rid of some old serialization workaround code that is not needed because serializer was improved in the meantime.
...
Fixing #1254 .
Fixed possible race causing corruption of the server savegame.
2013-04-20 18:44:55 +00:00
DjWarmonger
87988b0ae7
Compile fixes for MVS2010
2013-04-20 16:01:58 +00:00
alexvins
48e51b8d44
[c::b] update projects
2013-04-20 13:59:09 +00:00
Michał W. Urbańczyk
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
stopiccot
1fca335a2c
Be careful with global var initialization order. All mutexes should be initialized before all CLoggers. Caused a crash on OS X when compiling with clang
2013-04-19 12:26:57 +00:00
beegee1
03c2aa9153
- Refactored CMapEditManager(added structure for undo functionality) - Refactored CMap(terrain pointer is private, safe access via getTile)
2013-04-19 11:43:11 +00:00
Ivan Savenko
857274a670
gcc compile fix
2013-04-18 07:55:57 +00:00