Commit Graph

24 Commits

Author SHA1 Message Date
Sascha L. Teichmann
607b4de9ec Dedup code. 2016-04-23 21:09:23 +02:00
Sascha L. Teichmann
0db9b519a6 Implement fetaure request issue #17
mtseeder and mtwebmapper got an option to set the background color where no nodes are generated, yet.
2016-04-23 16:45:33 +02:00
Sascha L. Teichmann
e606e2700f Fixes #14. mtseeder and mtwebmapper now have command line flags -ymin=block and -ymax=block to limit the y range of mapping. Defaults to full range. 2015-07-27 19:03:47 +02:00
Sascha L. Teichmann
62a53dc26b Unified handling of printing versions of programs (--version). Setting version to 0.5 2015-07-26 22:04:16 +02:00
Sascha L. Teichmann
8817094001 Added missing copyright headers and updated dates on others. 2015-07-26 16:33:29 +02:00
Sascha L. Teichmann
e1eb03813f Add a -transparent-dim=percent flag to set the extra dimming of transparent materials each depth meter. 2015-07-26 11:55:38 +02:00
Sascha L. Teichmann
da51389935 Wire websocket forwarder with players updater. 2015-03-09 13:16:31 +01:00
Sascha L. Teichmann
ece8924355 Add stub for players controller. 2015-03-09 13:09:13 +01:00
Sascha L. Teichmann
83cf9dbaad Added command line flags for websocket support. Added dummy websocket controller. 2015-03-02 14:16:36 +01:00
Sascha L. Teichmann
33a53c11da Factored out some common stuff to separate file. 2015-03-02 13:14:29 +01:00
Sascha L. Teichmann
3e0e909a69 Added 'websocket' branch. Added mechanism to forward the coords of the updated base tiles. 2015-03-02 13:10:30 +01:00
Sascha L. Teichmann
4ea51eb744 mtwebmapper: Only allow update requests from a white list of remote hosts. Defaults to localhost. To allow all hosts use command line option -u='' 2014-11-15 13:40:39 +01:00
Sascha L. Teichmann
8452a26fcd Render transparent tiles if command line flag is set. 2014-10-26 18:36:47 +01:00
Sascha L. Teichmann
890ff350c8 main.go edited online with Bitbucket 2014-10-03 09:59:54 +00:00
Sascha L. Teichmann
216f641fa3 mtwebmapper: Move BaseTileCreator to common. TODO: Make mtseeder use it, too. 2014-09-20 15:21:01 +02:00
Sascha L. Teichmann
e899b13889 Regenerate base tiles when db signals changes. TODO remove duplicate code from mtseeder. 2014-09-19 13:06:04 +02:00
Sascha L. Teichmann
ed9e37e892 mtwebmapper: Cleaned up gorilla mux usage a bit. Added stub for post target to get changes from mtredisalize server. 2014-09-18 07:52:37 +02:00
Sascha L. Teichmann
29845a259d Moved sub baseline tile generation into separate file. 2014-09-17 17:20:07 +02:00
Sascha L. Teichmann
44a0d097c0 If we can't stat a base tile we can't deliver a sub tile -> 404. 2014-09-16 22:17:55 +02:00
Sascha L. Teichmann
c42be33ba9 Generate ETags and encode PNG directly to response stream. 2014-09-16 18:52:50 +02:00
Sascha L. Teichmann
3943c7cc5d Go fmt'ed. 2014-09-16 16:10:18 +02:00
Sascha L. Teichmann
48819a42a9 Used fix point arithmetic in scaler. 2014-09-16 15:49:14 +02:00
Sascha L. Teichmann
c67739fd77 Replace false rounding scaler with self written one. 2014-09-16 15:30:08 +02:00
Sascha L. Teichmann
e46968bbfd Added first version of the web server to drive the online mapping. 2014-09-16 03:29:28 +02:00