Commit graph

4286 commits

Author SHA1 Message Date
Andrew adab934c99 Switcher,speeduper,tuner,teleporter mixed to one button 2016-05-15 18:17:57 +03:00
Tim Schumacher aeadffa585 calculate type height in ddnet browser type filter 2016-05-15 10:19:15 +02:00
Tim Schumacher 434b9345d8 automatically add linebreaks in broadcasts 2016-05-15 10:19:15 +02:00
def d2f5714042 Sort file names case-insensitively 2016-05-15 00:06:32 +02:00
def 475df14134 Fix editor popups a bit 2016-05-14 15:16:52 +02:00
def d6ca9dcb7b Version 10.0.3 2016-05-14 01:17:51 +02:00
def d1275f239a cl_show_ids also shows ID in chat (fixes #454) 2016-05-14 01:17:18 +02:00
def ff747953b4 Make envelopes unsynchronized by default and explain the setting better (fixes #479) 2016-05-14 00:42:40 +02:00
def b0b2774695 Clean up other paste code a bit 2016-05-11 18:00:27 +02:00
def b7d4beccea Fix buffer overflow when pasting text (thanks to Im 'corneum) 2016-05-11 17:51:27 +02:00
H-M-H 2bcbe52d14 fixed /load message 2016-05-11 15:54:09 +02:00
H-M-H 42fc8a0fe2 fixed use of Str and ClrStr 2016-05-11 15:26:16 +02:00
H-M-H 6a2438e1cf fixed includes 2016-05-11 15:01:53 +02:00
def 03a48dd09f Add code to remove unused tiles on game and front layers (commented out) 2016-05-11 12:13:54 +02:00
def 695bf346ac Make gfx_refresh_rate functional (fixes #255) 2016-05-10 17:43:27 +02:00
H-M-H 3b6baaa8d3 made CSqlData const for threadfunctions and added a class for sqlstrings
CSqlData is const for threadfunctions now to avoid modification from
within the threadfunctions as these might be called several times.
Previously this was a problem as ClearString could possibily be applied
multiple times to the same string.

To solve this the class CSqlString has been added. This class takes a
const char* and copies it. Additionally a clearstring is created from
the given const char*. This enables access to the original as well as
the cleared string safe for sql-statements.

sql_string_helpers got an own source file now.

A crashbug from CSqlServer has been fixed (pointer has not been set
back to 0)
2016-05-09 23:35:23 +02:00
heinrich5991 fe3e05cee5 Merge pull request #474 from Henningstone/pr-ddnet-chat-input-jump
Jump to special characters with CTRL+arrowkeys in chat input
2016-05-09 18:07:41 +02:00
def 37e822ba0f Version 10.0.2 2016-05-08 19:41:06 +02:00
def f3a4069867 Set gfx_highdpi to 0 as default (needs someone to fix it on Win >= 8.1 and Mac) 2016-05-08 19:40:53 +02:00
def 9bd30ce447 Make high-dpi screen support optional 2016-05-07 17:47:05 +02:00
def e0ee7a2bb9 Merge branch 'master' of github.com:ddnet/ddnet 2016-05-07 16:12:41 +02:00
def bfcf0c4067 Fix auto reconnect abortion 2016-05-07 16:12:23 +02:00
def 25fda2751c Fix "vanilla skins only" setting in menu 2016-05-07 15:59:58 +02:00
def c325b08087 Add inp_mouseold for warped mouse input 2016-05-07 15:59:13 +02:00
Henningstone 6a10c96e02 Fix cursor behaviour when skipping backwards 2016-05-07 01:01:56 +02:00
Henningstone cdc37493c2 Removed the check for uppercase letters 2016-05-06 19:48:36 +02:00
Henningstone 997713f9a1 Jump to special characters with CTRL+arrowkeys in chat input 2016-05-06 17:16:31 +02:00
Tim Schumacher d80d2de134 fix tab 2016-05-06 16:45:30 +02:00
def 41f34aa187 Add vanilla check for entities_clear 2016-05-05 20:21:34 +02:00
def 072eadbb99 Use DDNet entities by default, fixes seeing unhookable from start (thanks to kamillentee) 2016-05-05 20:17:13 +02:00
Dennis Felsing bc907f319d Merge pull request #467 from timakro/master
rename some auto game tile placers
2016-05-05 18:59:53 +02:00
Dennis Felsing 47455fa78b Merge pull request #468 from timakro/pr_fix_editor_gametiles_automapper_overlap
fix editor gametiles automapper overlap
2016-05-05 18:59:41 +02:00
Dennis Felsing e7af8cfdd7 Merge pull request #466 from Ryozuki/pr_showpred
Fixed cl_showping (now cl_showpred)
2016-05-05 18:59:01 +02:00
def 513c742197 Fix cl_antiping_players to be off on solo (thanks HMH) 2016-05-05 18:57:35 +02:00
Tim Schumacher 78f8c9978d fix editor gametiles automapper overlap 2016-05-05 18:40:38 +02:00
Tim Schumacher afd0e5a3eb rename some auto game tile placers 2016-05-05 18:23:04 +02:00
Ryozuki 82d2a994ed Fixed cl_showping (now cl_showpred) 2016-05-05 18:07:00 +02:00
H-M-H 4bf1a68292 do not write nullbytes to failed_sql.sql 2016-05-05 13:23:35 +02:00
Henningstone 77b584c12f Forbid showing /top5 from rank 0 on 2016-05-05 01:33:28 +02:00
H-M-H 30ca8d8774 made writing to sql-failurefile threadsafe 2016-05-04 23:37:34 +02:00
gamertyp b479dd412c Removed a tab 2016-05-04 23:37:02 +02:00
gamertyp e9378973de Re-ordered the Gametiles-menu 2016-05-04 22:33:10 +02:00
gamertyp 7a3f96431a Re-ordered the Gametiles-menu 2016-05-04 22:30:16 +02:00
def 2df9c79483 proper str_copy size (fixes #461) 2016-05-04 18:43:54 +02:00
def 1b668047c8 Clean up auto reconnect and make it independent of rendering 2016-05-04 18:23:00 +02:00
H-M-H 5dc47ede58 put sql_string_helpers into an own namespace 2016-05-04 16:51:18 +02:00
H-M-H a7c0cd58ee fixed birthdaycheck and the format of sql-inserts for the failure-file 2016-05-04 16:47:53 +02:00
def 45971ee8e9 no player antiping when appropriate tunings set 2016-05-04 16:01:58 +02:00
H-M-H cd41220a44 wait for score-threads on shutdown 2016-05-04 15:32:24 +02:00
H-M-H e351080dd3 removed double semicolons 2016-05-04 00:24:54 +02:00
H-M-H a93e845e6d checkbirthday now also sends a broadcast to the 'birthdaychild' 2016-05-03 23:50:42 +02:00
H-M-H 94f163f094 added CSqlPlayerData for simple tasks like getting best time 2016-05-03 23:24:44 +02:00
H-M-H c9e65c7931 Merge branch 'master' into sqlmasters 2016-05-03 23:07:24 +02:00
H-M-H c9b64053d0 cleaned up structure of sql_score.cpp 2016-05-03 20:45:58 +02:00
H-M-H d0cebb576d sql-score can now handle mapchanges/reloads 2016-05-03 20:36:17 +02:00
Dennis Felsing 230784d234 Merge pull request #458 from Ryozuki/pr_showping
Added cl_showping
2016-05-03 16:12:30 +02:00
Ryozuki 5c7856ee59 Added cl_showping 2016-05-03 16:06:10 +02:00
def bad26a3a8a Pressing shift makes slider move slower (fixes #455) 2016-05-03 15:11:52 +02:00
def 61e47422f6 Clean up debug messages a bit (lower case, no useless errors) 2016-05-02 21:35:32 +02:00
Tim Schumacher 50f9e37282 disable deepfly patch applied at wrong position 2016-05-02 16:25:34 +02:00
def 8af1e59fc6 Version 10.0.1 2016-05-01 23:11:11 +02:00
def 7e7bfcddd2 Fix console autocompletion (fixes #451) 2016-05-01 20:30:34 +02:00
def 2a92a171da Merge branch 'master' of github.com:ddnet/ddnet 2016-05-01 19:34:40 +02:00
def f6518e4d25 Remove unesed cl_version_server 2016-05-01 19:34:33 +02:00
Dennis Felsing 07aa6c6d9b Merge pull request #449 from timakro/master
added auto game tile placer for hookthrough & show button to mapper when placing unused tiles
2016-05-01 18:18:30 +02:00
Tim Schumacher aeea3777a3 show button to mapper when placing unused tiles 2016-05-01 18:12:20 +02:00
Tim Schumacher e61456f381 added auto game tile placer for hookthrough 2016-05-01 17:44:02 +02:00
def b6733a1827 Update credits 2016-05-01 17:14:02 +02:00
def 88780b8fbc Use new ddnet update server 2016-05-01 12:09:02 +02:00
def 29a26a6633 Version 10.0 2016-05-01 12:07:16 +02:00
def a1151fd296 ban -> Timeout 2016-05-01 11:15:45 +02:00
def 13143eac23 Reconnect for timeout instead of bans, some simplification 2016-05-01 11:12:07 +02:00
Dennis Felsing bd40eec54f Merge pull request #446 from timakro/pr_improve_hookthrough_shortcut
hookthrough shortcut now works for game and front
2016-05-01 10:13:33 +02:00
Dennis Felsing 1ccbc7a69b Merge pull request #447 from timakro/pr_dont_remove_unused_tiles
dont remove unused tiles
2016-05-01 02:50:09 +02:00
Tim Schumacher 01024252b5 fix editor buttons for 5:4 resolutions 2016-05-01 02:34:06 +02:00
Tim Schumacher 04887e44f8 remove useless function 2016-05-01 01:54:37 +02:00
Tim Schumacher 70ffbbbbf9 hookthrough shortcut now works for game and front 2016-05-01 01:47:29 +02:00
def 915bce38fc Toggling console with custom bind doesn't print that key on console (fixes #443) 2016-05-01 00:26:03 +02:00
def a0a7d96ca0 Fix statboard bind 2016-04-30 23:39:42 +02:00
Tim Schumacher f1b6848d85 dont remove unused tiles 2016-04-30 22:37:17 +02:00
Dennis Felsing 44d16d2374 Merge pull request #441 from timakro/master
fix hooktele on unhook, broke with new hookthrough
2016-04-30 21:29:27 +02:00
def 2cc236cb8c Make spectator work again 2016-04-30 21:28:44 +02:00
Tim Schumacher 3378811ecf fix hooktele on unhook, broke with new hookthrough 2016-04-30 21:13:54 +02:00
Dennis Felsing f016a0eb1f Merge pull request #436 from timakro/pr_other_gametype_entities_clear
added entities clear for other gametypes
2016-04-30 20:28:27 +02:00
def 4761608329 Input fixes from TW master for mouse wheel 2016-04-30 20:11:26 +02:00
def 1446adee2c Window resizing only with X11 (not on Windows and Mac OS X) 2016-04-30 19:19:19 +02:00
def 0667864657 Fix double click in demos menu 2016-04-30 18:18:22 +02:00
def df12171040 Merge branch 'master' of github.com:ddnet/ddnet 2016-04-30 18:00:08 +02:00
def 644fec7e55 Resize window without restarting client 2016-04-30 17:59:58 +02:00
Tim Schumacher 0a972185dc prevent placing unused entity tiles in game layer 2016-04-30 11:02:00 +02:00
def 74f4ad77d6 fixed utf8 text input from tw master 2016-04-30 04:02:32 +02:00
def 7a5b79e48a More SDL2 graphics goodness, partially from TW master 2016-04-30 00:43:11 +02:00
def 11e3fd55db seperated ingame input handling from rendering (from TW master) 2016-04-29 23:05:20 +02:00
Dennis Felsing 09284c3ba9 Merge pull request #434 from timakro/pr_prevent_unused_tiles
Prevent placing unused tiles in the editor
2016-04-29 22:36:35 +02:00
def 2e0ca0f4b4 Fix SDL2 compilation 2016-04-29 21:58:24 +02:00
def e8965bee68 Some keyboard input changes from teeworlds master 2016-04-29 21:56:38 +02:00
def 354696afb7 switch between fullscreen and windowed mode without restarting the client (by oy) 2016-04-29 21:56:38 +02:00
def a1403ef457 Make sure GetClipboardText's null returns are handled properly 2016-04-29 21:56:38 +02:00
def 632db36fe4 Add clipboard copy&paste support (by swick) 2016-04-29 21:56:38 +02:00
def db8a126315 Merge swick's SDL2 branch 2016-04-29 21:55:48 +02:00
def 97743b8e70 Also ctrl-r to refresh and in demo browser as well 2016-04-29 20:39:25 +02:00
Tim Schumacher 4a22e762ff added entities clear for other gametypes 2016-04-29 19:29:19 +02:00
Tim Schumacher d69133c877 prevent placing unused tiles in the editor 2016-04-29 19:23:34 +02:00
def e0e7f20196 added sv_deepfly (default 1) to disable deepfly (by timakro) 2016-04-29 18:08:53 +02:00
Henningstone 8279855bb0 Show ingame Ghost tab only on race servers 2016-04-28 22:40:46 +02:00
def 7dd593a35e A bit nicer ingame browser menu corners 2016-04-27 23:54:26 +02:00
def d3a411afa6 Key up/down only change selected server, not friend list 2016-04-27 20:26:33 +02:00
def dc162d02fc F5 to refresh server browser 2016-04-27 20:17:10 +02:00
def ec7d28ed86 Change ingame menu layout a bit: Browser, Ghost directly instead of Network tab 2016-04-27 20:14:03 +02:00
def b495b1681c Double click works on votes (and vote window disappears after server setting vote) 2016-04-27 20:04:31 +02:00
def 740868c938 Add cl_show_local_time_always (fixes #319) 2016-04-27 19:22:55 +02:00
def 67bff95a72 Merge remote-tracking branch 'timakro/new_hookthrough' 2016-04-27 18:59:51 +02:00
def d019eb87c6 Use default page when ingame browser uses invalid page (fixes #345) 2016-04-27 17:59:12 +02:00
def 618dc9a6b0 Alert if layer size too big in editor (thanks to Lady Saavik, fixes #404) 2016-04-27 17:49:14 +02:00
def 0f5611c2f0 Add function to filter chat out of demo when slicing (fixes #382) 2016-04-27 17:05:30 +02:00
def 11a07f2c69 Merge branch 'master' of https://github.com/timakro/ddnet into timakro-master 2016-04-27 16:11:14 +02:00
def 3aeb1ae23c Version 9.3.1 2016-04-27 01:29:20 +02:00
def ecd7b48339 Version 9.3 2016-04-26 23:07:15 +02:00
def 378a713b1d No antiping in demo player 2016-04-24 01:57:01 +02:00
def 750f30b6b9 Don't use hardcoded table name 2016-04-23 16:42:54 +02:00
def 93ce3c84c3 Add fake tuning for hammer hit 2016-04-20 11:59:14 +02:00
def 8fdeb9df58 Don't use antiping when spectating 2016-04-17 18:36:33 +02:00
def f524c71c38 Fix a few default binds 2016-03-26 01:09:34 +01:00
def 2f170c4d1c Actually call new birthday function 2016-03-26 00:36:54 +01:00
def fc2bf86174 Birthday check when player joins 2016-03-26 00:20:18 +01:00
def 52fcc6e550 Fix sv_hide_score 2016-03-26 00:19:44 +01:00
def b2105ef3ec Revert "Nicer formatting for SQL stats"
This reverts commit c36b7efe1d.
2016-03-09 23:45:48 +01:00
def 64e4f99102 Revert "Further improvement on ranks formatting"
This reverts commit fad318e86f.
2016-03-09 23:45:43 +01:00
def fb03247580 muteid and muteip are in seconds, not minutes 2016-03-09 01:48:17 +01:00
def fad318e86f Further improvement on ranks formatting 2016-03-08 17:53:49 +01:00
def c36b7efe1d Nicer formatting for SQL stats 2016-03-08 17:36:14 +01:00
def ce7eb0aac1 Add UNLOCK_TEAM tile (someone draw a tile please) 2016-03-07 18:04:59 +01:00
H-M-H e39829ef7c killer of locked team will get strong hook on respawn 2016-03-04 22:55:12 +01:00
heinrich5991 e8be975f5b Merge pull request #417 from awaysoft/add_simplified_chinese_support
Add font support for chinese, japanese, korean.
2016-03-03 16:48:28 +01:00
Tom ff1c6705d6 fix compile warning 2016-03-03 23:40:19 +08:00
def f1ff7e80ea Version 9.2 2016-03-02 22:47:50 +01:00
def e577c8e9ae Fix web links 2016-02-23 01:05:37 +01:00
H-M-H 53a004fa74 reset preferred sql-server to the first specified
on map load
2016-02-20 15:33:35 +01:00
H-M-H 2bd6d0c381 do not always try to connect to unreachable sqlservers
but instead remember the last reachable server
- some cleanup
- added timeout of 10 seconds to sql-connections
2016-02-20 15:33:35 +01:00
H-M-H 783c2161f1 sql_score init is threaded now 2016-02-20 15:33:35 +01:00
H-M-H 8dacd88755 more generic format of saved sql-inserts 2016-02-20 15:33:35 +01:00
H-M-H 88ed7391da handle exceptions from sql properly
- write failed sqlinserts to a file
- improved structure
2016-02-20 15:33:35 +01:00
H-M-H 1314085928 restructured sqlconnection
reading from and writing to several different servers is now possible
TODO:
-handle Exceptions properly (try another sqlserver)
-if everything fails while writing write the insert to a file
2016-02-20 15:33:35 +01:00
H-M-H 2d41ce3527 try next sqlmaster also if the current write fails 2016-02-20 15:33:35 +01:00
H-M-H c4ab59e4c3 fixed use of locks for threading:
each sqlserver has its own lock now
-> it is required that every connect call is followed by a disconnect call
2016-02-20 15:33:35 +01:00
H-M-H 15f2e07c48 moved sqlserver stuff into CServer-class
as sqlconnections should not last only
until next mapreload
2016-02-20 15:33:35 +01:00
H-M-H 6ba10d2719 mastersqlservers are working now
TODO: move the sqlserver objects somewhere else
so they wont be destroyed on every reload
2016-02-20 15:33:35 +01:00
H-M-H 5e4456584f started with sqlmasters
+ added #ifdef for sql_server.cpp
(fixes compilation for release mode)
2016-02-20 15:33:35 +01:00
H-M-H 9ed66f7adc Cleanup of Sqlconnection
-moved all connectionstuff to a new class
-moved sqlstring functions to an own file
-do not give threads access to CSqlScore
2016-02-20 15:33:35 +01:00
Tim Schumacher 6e7dbec76e made fading border in menu more customizeable 2016-02-16 17:04:46 +01:00