Commit Graph

404 Commits

Author SHA1 Message Date
Sascha L. Teichmann
d0b0ba83ba Merged 'websocket' branch back into 'default'. 2015-03-04 13:20:51 +01:00
Sascha L. Teichmann
02c3916bc8 Improved SETUP.md wording a bit. 2015-03-04 12:53:07 +01:00
Sascha L. Teichmann
f2b139eabb Wrote some setup documenation about the new websocket feature. 2015-03-04 12:47:28 +01:00
Sascha L. Teichmann
446a3ddc10 Small JS nits. 2015-03-04 12:10:07 +01:00
Raimund Renkert
c32e2646af Check the browsers websocket support and added flag to turn websocket on/off. 2015-03-04 11:05:36 +01:00
Raimund Renkert
7413221341 Replaced checkbox with toggle button to start automatic updates. 2015-03-04 10:36:59 +01:00
Sascha L. Teichmann
f708a7c44b Added forgotten semikola in JS. 2015-03-04 09:33:07 +01:00
Sascha L. Teichmann
b71f8bd208 Removed the radix 10 from parseInt calls as it is the default. 2015-03-04 08:55:20 +01:00
Sascha L. Teichmann
49c95f15ca Added missing auto update javascript file. Implemented smarter invalidatioon code based on server notification. 2015-03-04 00:39:35 +01:00
Sascha L. Teichmann
0b7c8b6afe Applied rrenkert's patch to have an autoupdating client. 2015-03-03 15:22:00 +01:00
Sascha L. Teichmann
7249a60043 Use "ignore incoming messages" code from the gorilla websocket documentation. 2015-03-03 01:33:12 +01:00
Sascha L. Teichmann
f943919ee6 Implemented the sending of the base tile changes to the connected websocket clients. 2015-03-03 01:13:37 +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
d871808b92 Little golint nit. 2015-03-02 13:17:52 +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
003d8cc785 Added support for position hash url support for mtwebmapper (issue #6). 2015-03-01 17:32:46 +01:00
Sascha L. Teichmann
0250a30af4 README.md edited online with Bitbucket 2015-03-01 15:53:32 +00:00
Sascha L. Teichmann
4c39830f17 Refer to Go 1.4.1 binary when compiling mtsatellite. 2015-02-15 19:55:22 +01:00
Sascha L. Teichmann
9dd9f5667f Typo fix. 2014-12-06 14:48:06 +01:00
Sascha L. Teichmann
f7738ff408 Improved wording about our map. 2014-12-06 14:33:25 +01:00
Sascha L. Teichmann
84791b43a6 Add link to our online map. 2014-12-06 14:32:40 +01:00
Sascha L. Teichmann
237e43f0db Mentioned transparency in SETUP. 2014-11-16 13:13:03 +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
52932b0351 Fixed bogus error handling in change tracking notification. 2014-11-03 18:57:10 +01:00
Sascha L. Teichmann
cf9cbe7087 Fixed hill shading for transparent structures a bit. Still not optimal. 2014-10-28 11:53:18 +01:00
Sascha L. Teichmann
6afed94154 Added profiling for mttilemapper. 2014-10-28 11:51:45 +01:00
Sascha L. Teichmann
121a046eee Increase base transparency from 45% to 50%. 2014-10-27 21:42:09 +01:00
Sascha L. Teichmann
f3ed470d57 Set transparency attenuation to %45 + 2%/m. 2014-10-26 23:53:58 +01:00
Sascha L. Teichmann
f5d84f0b7b Only use the transparent image generation if there where any transparent blocks. 2014-10-26 22:36:57 +01:00
Sascha L. Teichmann
b8bae923ec Prevent stopping depth scanning too early when handling transparent nodes. 2014-10-26 20:39:53 +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
2aa9ee0e24 Collect more statistics about number of solid and transparent blocks and print them in mttilemapper. 2014-10-26 17:09:23 +01:00
Sascha L. Teichmann
99ff99a8f4 Added cascading transparent annuation algorithm based on spans. 2014-10-26 11:01:36 +01:00
Sascha L. Teichmann
eaa3949b10 Added a flag to decoded block to check if it contains any transparent colors. Useful to establish a fast path in transparent rendering if it does not. 2014-10-25 11:20:51 +02:00
Sascha L. Teichmann
1acfd26e80 Uplift max bulk string size for redisalize server to 8MB. Big TNT explosion seem to write big blocks into the database. 2014-10-22 19:10:06 +02:00
Sascha L. Teichmann
4f49d114c6 span buffers: Simplified code by throwing away cases that cannot happen. Extended unit tests with more pattern to check. 2014-10-21 18:03:27 +02:00
Sascha L. Teichmann
269e63ea59 span buffer test now passes. Code ist still too complicated. 2014-10-21 17:41:19 +02:00
Sascha L. Teichmann
e744390503 Repaired old unit tests. Added unit test for span buffers ... which currently fails. :-/ 2014-10-21 16:11:20 +02:00
Sascha L. Teichmann
a82d20f14b Complete code of insert into span buffer. Looks complicated and needs testing. 2014-10-21 12:08:01 +02:00
Sascha L. Teichmann
d880983abc merged 2014-10-21 01:11:37 +02:00
Sascha L. Teichmann
1a087d127c Started implementing span buffers to handle transparency spans in right Y order. 2014-10-21 01:09:50 +02:00
Sascha L. Teichmann
08775444c4 Made a few blocks (water, glass) transparent in colors.txt. 2014-10-19 21:43:17 +02:00
Sascha L. Teichmann
c03d382ca6 Pass pointer to Colors struct around which makes it easier to eg. find transparent colors. 2014-10-19 21:05:38 +02:00
Sascha L. Teichmann
2a48fc3c35 Added tag 0.4 for changeset ec35ba11a140 2014-10-19 20:24:02 +02:00
Sascha L. Teichmann
8b42446acc Do not render air only blocks. Nice performance speed up! :-) 2014-10-19 17:15:33 +02:00
Sascha L. Teichmann
1c530a2ce7 Sort transparent colors from colors.txt to front of lookup table. Makes it easier
to determine if a color index corresponds to a transparent color.
2014-10-19 11:43:53 +02:00
Sascha L. Teichmann
e4baf66fb9 COMPILE.md: Fixed C&P error. 2014-10-06 06:04:30 +00:00
Sascha L. Teichmann
e5d9986750 README.md edited online with Bitbucket 2014-10-05 14:23:14 +00:00
Sascha L. Teichmann
6d263533c2 SETUP: Wrote final paragraph about configuring the Minetest server. 2014-10-05 15:08:25 +02:00