Commit graph

4417 commits

Author SHA1 Message Date
heinrich5991 6302e4d7e0 Fix some style issues and a > to >= 2017-03-06 20:11:23 +01:00
heinrich5991 e08ca70b1f Fix dummy input reset 2017-03-06 19:45:39 +01:00
Learath2 0d4499a027 Rename bind_print to dump_binds. 2017-03-06 18:06:55 +01:00
Learath2 759799953f Remove dump_binds. Let bind_print dump all. Fixes #634 2017-03-06 15:32:11 +01:00
Learath2 a87edad978 Move to a cpp file 2017-03-06 14:04:09 +01:00
Learath2 cbb5891263 Introduce ugly workaround to allow empty usernames 2017-03-06 13:49:08 +01:00
Learath2 9319a82c6e Add /invite for locked teams. Fixes #647 2017-03-06 12:14:38 +01:00
Learath2 5317be824e Fix coloring of team chat. Fixes #648 2017-03-06 10:24:00 +01:00
def de7587b8b5 Version 10.4.2 2017-03-05 20:19:46 +01:00
heinrich5991 ba5af42b1f Fix the brace style in some places 2017-03-04 15:43:49 +01:00
heinrich5991 a13cdc25b2 Merge pull request #632 from Learath2/dd_pr_friend
Put hearts before friends names. Closes #606
2017-03-04 15:37:24 +01:00
Learath2 adfd6ca644 Enable the username prompt on client side 2017-03-02 18:16:50 +03:00
necropotame 2c24fbce25 Fixed #636 2017-03-02 09:27:03 +01:00
Dennis Felsing 4c1053c6c4 Merge pull request #635 from heinrich5991/pr_dummy_input_demo_filter
Refactor dummy input and demo filtering
2017-03-01 07:59:24 +01:00
heinrich5991 6517567e7e Merge pull request #602 from necropotame/gametick
Send the race time using warmup timer
2017-03-01 00:05:22 +01:00
heinrich5991 e3f2316106 Revert "Revert "Refactor dummy input and demo filtering""
This reverts commit 187560c8c0.
2017-02-28 10:08:14 +01:00
Dennis Felsing 45c27e8b10 Version 10.4.1 2017-02-28 08:16:08 +01:00
Dennis Felsing 187560c8c0 Revert "Refactor dummy input and demo filtering"
This reverts commit 8375f4888e.
2017-02-28 08:15:35 +01:00
necropotame 6a9406dc81 Fixed merge conflict 2017-02-28 07:31:39 +01:00
necropotame b6548aa8cf Fix wrong code convension, add enum for timer display type 2017-02-28 07:31:24 +01:00
necropotame 4cfe96801b Send the race time using warmup timer 2017-02-28 07:31:24 +01:00
Learath2 7af41f6765 Actually use the color chosen 2017-02-28 01:23:10 +03:00
Learath2 fa22425f26 Add a checkbox to disable friend heart 2017-02-27 23:56:22 +03:00
Learath2 c783122301 Do not override the team color 2017-02-27 23:42:48 +03:00
Learath2 c76849c51a Add sliders for friend chat color 2017-02-27 23:39:06 +03:00
Learath2 3b2d707f31 Add a second page to HUD page 2017-02-27 23:38:24 +03:00
Learath2 cd1f337bf5 Put hearts before friends names. Closes #606 2017-02-27 22:38:08 +03:00
Dennis Felsing 16f04d8989 Version 10.4 2017-02-27 16:33:10 +01:00
Dennis Felsing eb36f421c5 Merge pull request #630 from heinrich5991/pr_ddnet_cmake_basic
Add overly simple CMakeLists.txt
2017-02-27 16:28:19 +01:00
heinrich5991 8375f4888e Refactor dummy input and demo filtering
Remove references to src/game/ from src/engine/
2017-02-23 14:13:14 +01:00
Learath2 09552a6d9f Get rid of trailing whitespaces 2017-02-21 19:11:43 +03:00
heinrich5991 1a103081b8 Merge pull request #623 from Ryozuki/pr_ctrl_backspace_fix
ctrl + backspace support on chat (Fixes ddnet#515)
2017-02-18 10:41:42 +01:00
Ryozuki 9af59fe8f3 tiny style changes 2017-02-18 09:02:29 +01:00
heinrich5991 0f50356e2d Merge pull request #624 from Redix/pr_stats
Statboard fix
2017-02-18 02:36:33 +01:00
Redix abcb074dcc Fixed statboard
- FPM value
- reset when a player leaves
2017-02-15 16:43:45 +01:00
Ryozuki 141a256cb3 Delete useless brackets 2017-02-14 17:06:51 +01:00
Ryozuki ec957fc00e ctrl + backspace support on chat (Fixes ddnet#515) 2017-02-14 17:00:50 +01:00
Marcel Herd 7737129ed6 Fixed code style 2017-01-28 18:34:24 +01:00
Marcel Herd b09bcb90a3 Added check for unbound key 2017-01-28 17:02:39 +01:00
Marcel Herd 1f58595033 Added command bind_print 2017-01-28 16:29:03 +01:00
def 1f636fe875 Fix team for echo 2017-01-06 00:30:21 +01:00
def 224b9d5443 echo command for clients prints to chat instead of mostly useless console 2017-01-06 00:17:53 +01:00
Dennis Felsing fd7561f869 Merge pull request #604 from necropotame/clipfix
Skip clipped groups that are outside the screen
2017-01-05 18:11:40 +01:00
necropotame b9e7728e2e Skip clipped groups that are outside the screen 2017-01-05 10:24:52 +01:00
heinrich5991 b42a59f290 Fix a crash with semicolon handling and timeout codes
Timeout codes lead to deallocation of the player structure, the
semicolon code tried to access it, resulting in a segmentation fault.
2017-01-04 18:14:08 +01:00
heinrich5991 80ea4c8590 Disallow usage of semicolons in chat commands
This prevents player name exploits due to tab completion of nicknames
that could result in unwanted commands being executed.

Print a deprecation message that is supposed to be removed in the
future.
2017-01-03 14:01:51 +01:00
heinrich5991 e94c0260d7 Implement /rules in a less copy-and-pasty way 2017-01-03 13:57:22 +01:00
Dennis Felsing 57c04cf988 Version 10.3.5 2016-12-16 15:56:22 +01:00
Dennis Felsing 7296dd2b53 Merge pull request #590 from Redix/pr_finish_buffer
Fix buffer overflow in race recorder and ghost
2016-12-16 15:54:02 +01:00
BannZay c6e7ad5e45 map details button name fix 2016-11-27 20:55:05 +02:00
Kevin Mersch 22753c2026 fix laser rendering on high gameticks 2016-11-18 21:28:14 +01:00
Redix 22e2489377 fixed buffer overflow in race recorder and ghost 2016-11-15 15:28:11 +01:00
Dennis Felsing c21399c4c5 Merge pull request #567 from d3fault/master
dummy copyMoves/hammer disabling when dummy connecting
2016-11-07 10:20:11 +01:00
Dennis Felsing b7cb4ee017 Merge pull request #573 from ddnet/pr-demo-speed
Refactor demo speed setting, add 1.5x speed (fixes #568)
2016-11-07 10:19:05 +01:00
Dennis Felsing 3bf925f5d7 Version 10.3.4 2016-11-04 13:27:01 +01:00
def 79c37ce0fe Version 10.3.3 2016-11-03 22:13:37 +01:00
Dennis Felsing c92e10914a Refactor demo speed setting, add 1.5x speed (fixes #568) 2016-10-28 09:31:22 +02:00
d3fault d6b732113e dummy copyMoves/hammer disabling when dummy connecting 2016-10-26 15:00:02 -07:00
BannZay a96ebde93a getting jetpack through remote 2016-10-10 15:18:06 +03:00
east 823e330a76 Merge pull request #554 from heinrich5991/pr_ddnet_random_timeouttoken
Generate server-specific timeout codes
2016-10-05 12:21:51 +02:00
heinrich5991 fce9ec6cda Replace UI elements for the timeout code
Now you can regenerate your timeout seed with the click of a button.
2016-10-03 13:56:15 +02:00
Dennis Felsing 1db5d72879 Version 10.3.2 2016-09-29 13:50:51 +02:00
Dennis Felsing 67ef498573 Merge pull request #549 from heinrich5991/pr_ddnet_improve_pause
Don't show player HUD during `/pause`
2016-09-29 13:48:12 +02:00
BannZay d4ea20001c tee size fix 2016-09-26 21:56:13 +03:00
def 3ed6692ad7 SQL string cleanup 2016-09-25 10:41:34 +02:00
heinrich5991 c08206dd96 Don't show player HUD during /pause for vanilla clients 2016-09-20 21:40:40 +02:00
heinrich5991 f49d60945d Don't show player HUD during /pause 2016-09-20 16:34:49 +02:00
Dennis Felsing 5a29fa8fca Merge pull request #544 from east/dnsbl
Basic DNSBL implementation
2016-09-19 11:57:07 +02:00
Dennis Felsing 98a2f459b6 Merge pull request #533 from BannZay/openCurrentMap
Load Current Map button added
2016-09-05 18:27:54 +02:00
east c9a50916b3 sv_dnsbl_vote option added 2016-09-05 11:53:26 +02:00
east 678a69bf5b basic DNSBL implementation 2016-09-05 11:38:11 +02:00
Dennis Felsing 504e01fb74 Version 10.3.1 2016-09-05 09:30:56 +02:00
Dennis Felsing 2291625305 Merge pull request #542 from ACTom/master
Fix lost first character when quickly input in chat
2016-09-05 09:28:36 +02:00
H-M-H 1a311585be escape strings before applying FuzzyString 2016-09-03 18:28:11 +02:00
ACTom 3da2ba1f38 delete comment code 2016-09-01 21:17:27 +08:00
ACTom c06e2d71cd fix lost first character when quickly input in chat 2016-09-01 21:12:13 +08:00
Speedy Consoles 39704a04a7 made 1-tick unfreeze reliable 2016-08-27 18:03:50 +02:00
Dennis Felsing 1b9c695652 Version 10.3 2016-08-24 11:11:20 +02:00
BannZay 6f99d05ef6 Merge remote-tracking branch 'upstream/master' into openCurrentMap 2016-08-23 14:40:13 +03:00
BannZay c658411f15 Load Current Map button added 2016-08-23 14:29:53 +03:00
Dennis Felsing d3f04a9470 Remove accidental code 2016-08-23 12:42:01 +02:00
Dennis Felsing 5b419914fa Merge pull request #534 from BannZay/disabling-dCopyMoves-after-disconnect
dCopyMoves disabling when Dummy disconnecting
2016-08-23 08:09:43 +02:00
def c91ef1ea81 str_append instead of strcat 2016-08-21 21:14:41 +02:00
def 2aa3303884 Longer team ranks 2016-08-21 21:06:12 +02:00
BannZay d78c565f8a dCopyMoves disabling when Dummy disconnecting 2016-08-21 16:22:46 +03:00
BannZay 52d8efdfde editor searchBar added 2016-08-21 03:06:01 +03:00
Freddie Wang 7aa7e463e0 fix keystroke hold after send the chat 2016-08-14 23:02:07 -07:00
Freddie Wang e5f23cd87c Added full IME support
Now with display of editing text.
2016-08-14 22:16:06 -07:00
def 320c299b68 Fix laser code 2016-08-07 22:38:45 +02:00
def c308c348cb Merge branch 'Display tee position in editor proof' 2016-08-03 00:11:10 +02:00
def 3b4381cf8e Version 10.2.1 2016-07-26 20:29:02 +02:00
def af250dd74e Fix colors in tele number selection 2016-07-26 20:28:30 +02:00
def e8dac3346a Fix veto 2016-07-20 20:56:22 +02:00
Tim Schumacher a99a9fecfc Display tee position in editor proof 2016-07-18 08:55:35 +02:00
def aab3beb3b0 Veto right for start and join time 2016-07-08 18:28:33 +02:00
def d5a2df5e63 Version 10.2 2016-07-03 23:33:53 +02:00
Dennis Felsing 3960dc36d8 Merge pull request #497 from BannZay/Int_step_edition
PROPTYPE_INT_STEP mixed to PROPTYPE_INT_STEP + PROPTYPE_INT_SCROLL
2016-07-03 23:31:12 +02:00
def 992c148dce Fix messages a bit 2016-07-03 23:23:33 +02:00
Dennis Felsing c323e178d9 Merge pull request #510 from timakro/pr_unlock_team_tile_msg
Send chat message when team is unlocked by a tile
2016-07-03 23:22:51 +02:00
Tim Schumacher 96d05e3370 Send chat message when team is unlocked by a tile 2016-06-30 17:55:34 +02:00
def 4681f69b1b Introduce cached ticks for client again, this time with workaround for
particles. Hopefully not many other parts of the code will need this.
2016-06-28 23:36:34 +02:00
H-M-H 35bd378a62 fixed RandomUnfinishedMap
do not execute this function several times even after success
2016-06-22 02:00:29 +02:00
def e518a701a3 Clean up sql dbg_msg calls 2016-06-15 11:52:40 +02:00
def e0ec97174a Try to fix broken /map 2016-06-10 03:05:47 +02:00
def eef3980b18 Revert "Highlight own whispers in F1"
This reverts commit 8d081140b0.
2016-06-03 22:47:38 +02:00
def f1cdbe8696 More accurate ping by refreshing servers on second frame instead of first (might be caused by intial font rendering) 2016-06-03 19:50:49 +02:00
def d137d0c19d Merge branch 'master' of github.com:ddnet/ddnet 2016-06-03 11:30:33 +02:00
def 097b6cabf3 Fix cut off names in scoreboard (still overlap with clan though) 2016-06-03 11:30:20 +02:00
Andrew e6eb607cc8 PROPTYPE_ANGLE_SCROLL mixed 2016-06-02 17:53:52 +03:00
Andrew a624db90b4 editeable proptype_int_step 2016-06-02 14:50:06 +03:00
HMH bb9d23bb73 sql-save: forgot a line 2016-05-31 12:32:09 +02:00
HMH 28d116217b fixed resetting of saving-state of teams (was not reset always)
destructor of CSqlTeamSave takes care of that now
while doing so the allocation of CSaveTeam has been moved to the stack
2016-05-31 00:03:28 +02:00
H-M-H ada3b9a5db Merge pull request #378 from H-M-H/sqlmasters
separate sqlwrite and sqlread server
2016-05-28 23:00:16 +02:00
rbmz 8d081140b0 Highlight own whispers in F1 2016-05-27 08:33:43 -03:00
def 63b92b729e Fix completion rendering on new input 2016-05-22 21:31:35 +02:00
def 0217a76771 accept input when opening, but not at first frame to discard the input that caused the console to open (fixes #443 again) 2016-05-22 21:23:33 +02:00
def d1770e4aa5 Version 10.1.1 2016-05-22 12:17:59 +02:00
def c437170856 Fix cl_showhud_score 2016-05-22 12:12:02 +02:00
def f193099f94 Version 10.1 2016-05-22 02:20:51 +02:00
def 1d98ff031c Immediately accept input while console is still opening (fixes #484) 2016-05-22 02:12:52 +02:00
def 3d3827a57d Don't render brush when picker is shown 2016-05-22 02:01:22 +02:00
def 668b0b887d Clean up modifier button 2016-05-22 01:43:33 +02:00
Dennis Felsing ba012a353b Merge pull request #483 from BannZay/mixedButtons
Switcher,speeduper,tuner,teleporter mixed to one button
2016-05-22 01:30:17 +02:00
def 86495bbad0 Add support for old race server racetime messages in HUD, including checkpoint time difference 2016-05-22 01:26:15 +02:00
HMH ea5892b1ce don't clear sql-mapstring twice 2016-05-21 22:53:49 +02:00
def af8317c2e9 Don't allow restarting after touching finish line on solo server 2016-05-21 21:51:38 +02:00
H-M-H b648b530d5 Merge branch 'master' into sqlmasters 2016-05-20 23:40:29 +02:00
def 3c54f443b2 Make sv_join_vote_delay work for /map votes and make the number of seconds configurable 2016-05-20 20:05:47 +02:00
def aff85462aa Update messages a bit 2016-05-20 18:36:32 +02:00
def ede6a9f93f More uniform /times output (thanks Soreu) 2016-05-20 18:28:33 +02:00
Tim Schumacher 22ad56486a revert automatically add linebreaks in broadcasts 2016-05-19 21:53:01 +02:00
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