Commit graph

2695 commits

Author SHA1 Message Date
oy 4c437b8a25 added default bind and menu setting for whisper chat mode 2017-12-11 11:55:22 +01:00
oy 548f326bc6 use tab to switch target in whisper chat mode 2017-12-11 11:27:35 +01:00
oy f548838356 merged whispering system by cinaera 2017-12-11 10:52:54 +01:00
oy 2503dfdaec finished skip tile based map loading 2017-12-11 09:50:15 +01:00
heinrich5991 787035a27a added support for saving slightly compressed maps 2017-12-10 21:33:54 +01:00
oy bda625de12 fixed last commit 2017-12-10 19:37:38 +01:00
heinrich5991 f9f8cabc4b Only use WriteConsoleW if the intended output is the console 2017-12-10 19:24:47 +01:00
heinrich5991 2d81b2fc33 Fix compilation on windows
const int wasn't detected as compile-time constant.
2017-12-10 19:24:47 +01:00
heinrich5991 8bcd40fa91 Add unicode support for console output on windows
Hints regarding the unicode support were taken from the libuv project, which
really helped.
2017-12-10 19:24:47 +01:00
oy 03d3fb0c71 cleaned up last commit 2017-12-10 19:04:09 +01:00
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
oy 5e5218a88d fixed last commit 2017-10-07 20:43:35 +02:00
Zwelf 85b2f98d71 Improved spectator mode closes #1367
- follow flag
- click a player/a flag to follow in world-free mode
- click to go into the world-free mode while follow-mode
2017-10-04 21:04:22 +02:00
oy 055685406a fixed dynamic camera when spectating a player. (#1485) 2017-09-27 00:53:51 +02:00
oy 7a8687a618 fixed warnings on macosx 2017-09-17 18:50:06 +02:00
oy ea6d380f7f added „Made int packing functions safe“ by Redix. (#1502) 2017-09-17 18:31:55 +02:00
oy 10eb5fad87 fixed currentdir and added appdir search path 2017-09-16 19:10:19 +02:00
oy bd84c98893 skip text input when the console is open. (#1465) 2017-09-13 19:15:34 +02:00
oy e92f729cc9 fixed compiling on raspberry pi. (#1497) 2017-09-11 15:51:07 +00:00
necropotame 29731a111a Skip clipped groups that are outside the screen 2017-03-15 12:27:33 +01:00
oy 4a7db945c0 fixed font loading message and updated submodules 2017-03-15 12:26:12 +01:00
oy 2ae6a1b03c fixed a debug message. #1480 2016-12-18 11:26:52 +01:00
oy 20e3b6143a added "Fix kicking afk spectators joining the game" by Zwelf. #1482 2016-12-18 11:21:48 +01:00
oy 720874f831 added fix for intersectline by Speedy-Consoles. #1205 2016-12-18 11:11:55 +01:00
oy 3deb58d409 fixed typo 2016-12-18 11:07:26 +01:00
oy a09d498bc9 added some checks to snap handling 2016-12-18 11:07:10 +01:00
oy 0a8ce055cd removed old sdlmain code. Closes #1475 2016-09-13 21:42:28 +02:00
oy 170b487430 fixed compiling on macosx 2016-09-11 18:51:20 +02:00
Sonix Nik 5e0f760b37 Remove "some clan" text when using AntiSocial option 2016-07-16 11:30:01 +02:00
oy 0c8b327e3a fixed building with sdl 2.0.4 2016-07-05 17:13:31 +02:00
oy a2935faae3 removed some unused functions 2016-07-05 15:02:21 +02:00
oy 23a1b80f60 invalidate texture when unloading a texture. Closes #1450. 2016-07-02 10:33:37 +02:00
oy 176cb36682 reset error string for new connections 2016-06-30 13:04:54 +02:00
oy e9b4c70390 added social option by d3faultdotxbe (#1259) 2016-06-30 12:12:50 +02:00
oy 85b4cfd245 Added ids to names in the gui, removed ascii name restriction and fixed kick/spectate vote description 2016-06-26 18:28:33 +02:00
oy 2ff7628d65 skip automatic password generation in case initialization fails 2016-06-17 10:04:24 +02:00
heinrich5991 933159a652 Only generate rcon password if it's not manually set 2016-06-17 09:49:05 +02:00
heinrich5991 7af6e6ae5b If no rcon password is set, generate one
After the generation (using the OS random number generator), the password is
displayed to the user on stdout.
2016-06-17 09:49:05 +02:00
heinrich5991 903878f4a2 Add platform-independent secure random number generator 2016-06-17 09:49:05 +02:00
oy 0f0af75054 fixed button fading. Closes #1337 2016-06-16 17:38:44 +02:00
oy a16c4dbb7a fixed chat messages for kick and move to spec votes 2016-06-14 19:21:52 +02:00
oy 46d331b459 close votes on map change. Closes #1455 2016-06-14 19:14:46 +02:00
oy 8447152b0a autocomplete last player that highlighted you or got highlighted in chat 2016-06-14 18:32:09 +02:00
oy f9368007b1 cleaned up some constants 2016-06-13 11:12:09 +02:00
oy 135df7b3a1 fixed rendering of markings. Closes #1445 2016-06-13 10:41:48 +02:00
oy 7cd566b4ac fixed mistake in listbox code #1463 2016-06-13 10:19:17 +02:00
oy 7ebcb77072 move mouse cursor in the center of the screen on start. Closes #1441 2016-06-13 09:57:57 +02:00
heinrich5991 2eba774a62 Don't send uninitialized memory over the network 2016-06-13 09:11:04 +02:00
east 6faabe9122 Updating TokenCache in CNetClient 2016-02-14 16:49:52 +01:00
oy c9bf87e757 fixed flag capture timer. Closes #1454 2016-02-14 16:48:50 +01:00
oy 6a1939184d fixed last commit 2015-12-22 18:23:08 +01:00
Zwelf 49901e6fd7 allow vote caller to cancel his own vote 2015-12-22 18:17:41 +01:00
oy ceadee1d75 fixed picking the correct default resolution 2015-12-21 11:37:59 +01:00
oy bd14ce2a1b fixed last commit 2015-12-21 11:05:23 +01:00
msiglreith afa8e57ef2 fix rectangle calculation for reading of the backbuffer 2015-12-21 10:54:34 +01:00
msiglreith e71fde8c4e display selected color in toolbar and improve pipette workflow (switch back to edit mode on right-click) 2015-12-21 10:54:34 +01:00
msiglreith 667ca2d0c8 fix encoding issue 2015-12-21 10:54:34 +01:00
msiglreith ebac987a44 fix color picker logic and add palette feature to select color from pipette 2015-12-21 10:54:34 +01:00
msiglreith 890366bbe1 fix partially unresponsive picker logic 2015-12-21 10:54:34 +01:00
msiglreith e17d0597c2 add hsv color picker for editor 2015-12-21 10:54:34 +01:00
msiglreith d46f067b74 display selected color above the cursor 2015-12-21 10:54:34 +01:00
msiglreith b960e7491a refactor editor map view logic 2015-12-21 10:54:34 +01:00
msiglreith a516935854 add initial support for color picking from editor view 2015-12-21 10:54:34 +01:00
oy e268371fae just extend one filter in the server browser 2015-11-25 10:19:05 +01:00
oy 4b60022268 show number of servers and players per filter in the header 2015-11-25 10:05:35 +01:00
oy 8d18a5a55b adjusted spacing in the server browser 2015-11-25 09:53:26 +01:00
oy 3511ba2e37 added coloured death effect for teamplay. Closes #41 2015-11-24 17:35:41 +01:00
oy f846afd697 fixed last commit 2015-11-24 17:09:35 +01:00
oy 994005de8e fixed problem with the editboxes 2015-11-24 17:00:56 +01:00
oy 53f1ebf632 fixed last commit 2015-11-23 17:15:04 +01:00
oy 55a4ee2528 separated ingame input handling from the rendering. Closes #1056 2015-11-23 13:23:33 +01:00
oy 82771cc072 fixed problem with input handling that's not linked to rendering and some cleanup 2015-11-23 09:38:55 +01:00
oy 54b42845a5 fixed hook hook chain measurements 2015-11-21 16:46:49 +01:00
oy 8eaa040e3e fixed sprite rendering. Closes #44 2015-11-21 16:46:02 +01:00
oy a00fbf1121 added shortcuts to refresh browsers 2015-11-15 17:25:18 +01:00
oy 274c222051 fixed brush selection color. Closes #1429 2015-11-15 10:18:32 +01:00
oy 8155f3a95a fixed missing borders for current brush and tile layers in the map editor. #1429 2015-11-15 10:04:55 +01:00
oy fe0c9d9f4b added missing settings to the controls menu 2015-11-15 09:12:48 +01:00
oy ce7e10d465 fixed wrong calculation of weapon angle. Closes #1260 2015-11-15 08:03:24 +01:00
oy bad57e24ec fixed problem with mousewheel binds 2015-11-08 20:52:02 +01:00
oy 5bef0bcb8f fixed missing handling for mouse keys 2015-11-08 20:46:48 +01:00
oy 9f1d91e573 fixed size of the ingame exit button 2015-11-08 19:50:12 +01:00
oy 76aaf258d2 moved the connect button in the server browser, so it doesn't overlap with the ingame disconnect button. Closes #1389 2015-11-08 19:16:15 +01:00
oy 373f98ea3d cleaned up key press handling 2015-11-08 19:03:03 +01:00
oy bf61d41c49 improved the debug graphs. Closes #1058 2015-11-08 16:25:14 +01:00
oy b277320a57 added exit button to the ingame menu. Closes #1316 2015-11-08 16:03:43 +01:00
oy f6dcdfc459 do not show ingame settings tabs after disconnect 2015-11-08 14:11:43 +01:00
oy e52b5de410 merged image and standard menu buttons 2015-11-08 13:53:58 +01:00
oy cddfdd08ea some cleanup 2015-11-08 13:03:32 +01:00
oy e98921593b prevent lock of the ingame GUI. Closes #828 2015-11-04 18:11:14 +01:00
oy d107e34e1f changed standard filter to teeworlds and always keep it on top 2015-11-03 18:10:24 +01:00
oy a584c1b4c1 show empty filters in the server browser 2015-11-03 17:56:54 +01:00
oy d3eb83a3d9 fixed moving filters in the server browser 2015-11-03 17:53:30 +01:00
oy f02b0c8163 made random_int() just return positive values. Closes #1427 2015-11-03 08:47:52 +01:00
oy fae0115bd8 don't reload serverlist when switching between lan and global. Closes #1281 2015-11-01 20:05:26 +01:00
oy ee567f7769 fixed server info 2015-11-01 17:56:15 +01:00
oy eead3cf276 reworked serverbrowser 2015-11-01 17:50:45 +01:00
oy a9cceea57d mark highlighted messages in the client console. Closes #1364 2015-10-31 21:28:02 +01:00
oy fdcb58ac06 added timeout for lan server info requests and some cleanup 2015-10-31 20:38:21 +01:00
oy 25a1044141 fixed updating info from connected server. Closes #1412 2015-10-31 20:22:53 +01:00