vcmi:refactoring/fow

Last commit made on 2017-09-14
Get this branch:
git clone -b refactoring/fow https://git.launchpad.net/vcmi

Branch merges

Branch information

Name:
refactoring/fow
Repository:
lp:vcmi

Recent commits

7eed456... by Arseniy Shestakov on 2016-09-22

Tower: use bonus system for lookout tower and grail extra sight radius

Skyship code in GH::newTurn can be also dropped since darkness will never cover tiles team have sight over.

c8d8e38... by Arseniy Shestakov on 2016-09-22

Sight map: add asserts to make sure we'll notice if something broke

If something goes wrong FoW that mean it's messed up completely so this code should not break.

06b50d5... by Arseniy Shestakov on 2016-09-22

Sight map: add enum with readable names to FoWChange netpack

33f8686... by Arseniy Shestakov on 2016-09-22

Sight map: new version of FoW. Using TeamState fogOfWarMap as storage

Before FoW code was really messy and slow in cases when tiles are hidden.
Since we didn't knew what we shouldn't hide we had to re-check every object.

Instead we'll store how many team-owned objects have sight over every tile on map.
Now we have to be more careful when GS changes, but overall FoW code become much cleaner.

1162923... by Dydzio <email address hidden> on 2017-09-12

update VS files

4948729... by Arseniy Shestakov on 2017-09-10

CGuiHandler: use std:atomic to sync breaks in event handling

986fc08... by Arseniy Shestakov on 2017-09-10

CGuiHandler: use SDL_PushEvent in fakeMouseMove to avoid crashes

Somehow this worked on other platforms, but on macOS it's cause constant crashes.

feba7e1... by Henning Koehler <email address hidden> on 2017-09-09

tactics distance increased to 1 + bonus (#375)

940c8a0... by Arseniy Shestakov on 2017-09-08

CMake: add $ORIGIN into RPATH for single-directory installation

End up that single-directory installation is useful for Snap package.

d01ecbb... by Arseniy Shestakov on 2017-09-06

Merge pull request #372 from vcmi/guiCleanup2

Gui cleanup2