9fd1cff090
Refactoring: always use std prefix for shared_ptr, unique_ptr and make_shared
...
Long time ago it's was used without prefix to make future switch from boost to std version easier.
I discusses this with Ivan and decide to drop these using from Global.h now.
This change wouldn't break anything because there was already code with prefix for each of three cases.
2015-12-29 05:43:33 +03:00
05a34fb417
Use "Favorable" instead of "Favourable" everywhere for consistency
...
Original game of course used american english version so we stick to it.
2015-12-06 02:23:41 +03:00
f33bcee84c
post-merge fixes
2015-12-05 13:56:38 +03:00
947edc0693
Merge branch 'develop' into feature/VCMIMapFormat1
2015-12-05 13:04:04 +03:00
3bf9696b13
Tweaks
2015-12-05 12:38:37 +03:00
2d777ea676
Small (temp) fix. Prevent nulls from serialization.
2015-12-05 12:36:43 +03:00
2d5a366e6c
Implemented (basic) object construction and placement
...
* contain refactoring of RMG and class handling (will be more)
2015-12-05 12:36:42 +03:00
9cc3dae5fe
Started working on objects serialization
2015-12-05 12:36:42 +03:00
a5b72ce593
Cleanup
2015-12-05 12:36:41 +03:00
8493d0cded
Initial implementation of new team settings format
2015-12-05 12:36:40 +03:00
60825fbbd3
Start implementing PlayerInfo serialisation
2015-12-05 12:36:37 +03:00
2f67e015e1
Fix build
2015-12-05 12:36:36 +03:00
7c8d29b871
Start implementing player info serialization
2015-12-05 12:36:36 +03:00
f5b348a1d1
Formatting
2015-12-05 12:36:35 +03:00
3af255d1b9
Implemented terrain serialisation
...
* with test
2015-12-05 12:36:34 +03:00
6552acdff6
Check coastal tile OTF
2015-12-05 12:36:29 +03:00
8bc242d002
Cleanup
2015-12-05 12:06:52 +03:00
27bf2524a3
Advance triggered events serialization
...
(-) missing indentifier serialization (unimplemented in engine)
(-) missing tests
2015-12-05 12:06:51 +03:00
11af00bcdf
Start working on Triggered Events
2015-12-05 12:06:50 +03:00
f6e2cd16ed
Fix header.mapLevels saving
2015-12-05 12:06:48 +03:00
0cc7213a27
WiP on zip serialization
...
(-) still not works correctly
2015-12-05 12:06:47 +03:00
f2164abf1b
Wip on zip serialize fixes
2015-12-05 12:06:45 +03:00
27a29bd035
Start implementing actulal json serialization
2015-12-05 12:06:44 +03:00
1a8faeb0b9
Start implementing map saver
2015-12-05 12:06:42 +03:00
0cc47f00c5
Advance map format simple test
2015-12-05 12:06:35 +03:00
7d16585f89
Use COutputStream in CMapSaverJson
2015-12-05 12:06:34 +03:00
221ec55f51
Define basic design of output streams
2015-12-05 12:06:32 +03:00
adc271d7b3
Draft on classes hierarchy.
...
* patcher and loader uses diferent input (JsonNode and binary stream of zipped map archive), dicided to split them
2015-12-05 12:06:32 +03:00
9e7e5b81e4
Merge pull request #143 from vcmi/feature/patrolSupport
...
Patrol support for AI heroes
2015-12-05 03:11:07 +03:00
faa7cbff18
Fixed gcc/clang warnings
2015-12-04 01:17:43 +02:00
c3ce4b25df
Removed all #include's of CMap.h from headers.
...
To all - please, avoid #include's in headers as much as possible
This kills incremental build compile times
2015-12-02 21:05:10 +02:00
f55bfe41d6
Digging: implement digging status on right click. Fix issue 401
...
This is also fix possibility to dig on some non-blockable objects like event.
2015-11-29 12:34:23 +03:00
6bb205b15b
CPathfinder: patrol support using getTilesInRange
...
For now we use getTilesInRange which isn't really correct for patrol, but good enough for first version.
2015-11-28 20:34:50 +03:00
d6a142ca3d
CMapLoaderH3M: support for patrol initialPos in readHero
2015-11-27 11:34:03 +03:00
649ebfad2f
TerrainTile::topVisitableObj: avoid costly vector copying
2015-11-22 05:34:37 +03:00
7eebcb9d60
Artifacts: replace few more ints by ArtifactID
2015-11-07 11:46:58 +03:00
e4b1ef1405
Add "override" to virtual overriden methods
2015-10-13 21:05:36 +03:00
237d3f2624
Refactoring: random spells
2015-08-12 16:40:08 +02:00
bfd4ff8954
Refactoring
2015-05-25 17:04:17 +02:00
6d502ef1a1
Implemented A* algorithm to draw shortest roads - but not correct roads yet.
2015-05-25 16:37:57 +02:00
3e8c395156
- More fixes for wander targets
...
- SectorMap won't find paths through the rock
2015-04-10 08:50:21 +02:00
9577ef4bda
Minor tweak.
2015-04-07 13:43:33 +02:00
896a2b17c0
fix patterns
2015-04-03 05:47:03 +03:00
4c4ad480c5
added experimental usage of roads
2015-04-03 05:47:01 +03:00
6520d2a577
fix
2015-04-03 05:46:17 +03:00
ae2c72ca52
Implemented road transitions.
...
* untested
* still unused
2015-04-03 05:46:16 +03:00
b1d4ce0474
Road|river patterns are trivial compared to terrain patterns - no need to use json, just define them as a constatnt
2015-04-03 05:46:15 +03:00
877634b3a3
Define public interface of CDrawRoadsOperation
2015-04-03 05:46:14 +03:00
a0f534146c
Fixed underground Lava terrain.
2015-03-28 22:03:38 +01:00
a90021364e
Disable logs for better performance.
2015-03-28 17:46:39 +01:00