mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-20 06:58:20 +00:00
c43fa1f34a
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 |
||
---|---|---|
.. | ||
backend_sdl.cpp | ||
backend_sdl.h | ||
client.cpp | ||
client.h | ||
friends.cpp | ||
friends.h | ||
graphics_threaded.cpp | ||
graphics_threaded.h | ||
input.cpp | ||
input.h | ||
keynames.h | ||
serverbrowser.cpp | ||
serverbrowser.h | ||
serverbrowser_entry.h | ||
serverbrowser_fav.cpp | ||
serverbrowser_fav.h | ||
serverbrowser_filter.cpp | ||
serverbrowser_filter.h | ||
sound.cpp | ||
sound.h | ||
text.cpp |