ddnet/src/engine/client
Needs c43fa1f34a Make client launchable from the browser given a special link
It's the exact same mechanism than mailto:foo@bar.com links, adapted to
teeworlds.  Such links looks like:

	teeworlds:1.2.3.4:8300
	teeworlds:localhost

Browsers may require extra configuration to be able to open such
links[1].

Once everything is set up, clicking on a link in any webpage will prompt
the user to pick an application to open the link.  Choosing (a
compatible) teeworlds client will open it and automatically connect it
to the given address.

Behind the scene, the browser will run the client with only one
argument: the full address.  Hence it is the same than running the
teeworlds client with the following command line:

	teeworlds "teeworlds:1.2.3.4:8300"

The rational for this change is to allow websites like teerank.com,
teeworlds-stats.info, and others to provide a link to directly connect
to a server.  Also users or webpages could also link a server.

[1]: http://kb.mozillazine.org/Register_protocol
2017-12-10 18:29:19 +01:00
..
backend_sdl.cpp fixed building with sdl 2.0.4 2016-07-05 17:13:31 +02:00
backend_sdl.h update screen config in case the window gets moved outside teeworlds 2015-10-23 09:12:59 +02:00
client.cpp Make client launchable from the browser given a special link 2017-12-10 18:29:19 +01:00
client.h Make client launchable from the browser given a special link 2017-12-10 18:29:19 +01:00
friends.cpp cleaned up updating the friend state 2012-08-03 18:46:33 +02:00
friends.h improved friends feature 2011-06-26 17:10:13 +02:00
graphics_threaded.cpp invalidate texture when unloading a texture. Closes #1450. 2016-07-02 10:33:37 +02:00
graphics_threaded.h invalidate texture when unloading a texture. Closes #1450. 2016-07-02 10:33:37 +02:00
input.cpp fixed problem with the editboxes 2015-11-24 17:00:56 +01:00
input.h fixed problem with the editboxes 2015-11-24 17:00:56 +01:00
keynames.h changed names of the mouse buttons 2015-10-29 19:37:01 +01:00
serverbrowser.cpp fixed compiling on macosx 2016-09-11 18:51:20 +02:00
serverbrowser.h don't reload serverlist when switching between lan and global. Closes #1281 2015-11-01 20:05:26 +01:00
serverbrowser_entry.h reworked serverbrowser 2015-11-01 17:50:45 +01:00
serverbrowser_fav.cpp reworked serverbrowser 2015-11-01 17:50:45 +01:00
serverbrowser_fav.h reworked serverbrowser 2015-11-01 17:50:45 +01:00
serverbrowser_filter.cpp reworked serverbrowser 2015-11-01 17:50:45 +01:00
serverbrowser_filter.h reworked serverbrowser 2015-11-01 17:50:45 +01:00
sound.cpp fixed some unclear code safety. Closes #1285 2015-10-28 17:43:48 +01:00
sound.h Implement stricter panning(audio), make pan depending on screen width and remove useless channel pan value 2014-12-21 18:48:44 +01:00
text.cpp removed some unused functions 2016-07-05 15:02:21 +02:00