Commit graph

9847 commits

Author SHA1 Message Date
Dennis Felsing d1a5b45dc3
Merge pull request #2109 from def-/pr-13.0
Version 13.0
2020-04-07 07:13:50 +02:00
bors[bot] d06eea8af5
Merge #2112
2112: curl 7.68.0 -> 7.69.1 & fix SSL on Mac r=def- a=def-



Co-authored-by: def <dennis@felsin9.de>
2020-04-06 13:44:55 +00:00
bors[bot] f8a7acc074
Merge #2111
2111: Try to fix freetype mac warning (fixes #2110) r=heinrich5991 a=def-



Co-authored-by: def <dennis@felsin9.de>
2020-04-06 12:03:35 +00:00
def 51eca5daa6 curl 7.68.0 -> 7.69.1 & fix SSL on Mac 2020-04-06 13:51:17 +02:00
def 564e7577f7 Try to fix freetype mac warning 2020-04-06 12:48:58 +02:00
def f7e8b10bff Make gfx_resizable default to 0
because of common graphics issues. As suggested by Jupstar
2020-04-06 12:04:53 +02:00
def f06796e497 Version 13.0
I guess it's time for a new version even if we don't have any large
changes
2020-04-06 07:03:19 +02:00
bors[bot] 2367cd042d
Merge #2104
2104: Add spectate_closest now works when in Free-View r=def- a=d3fault

sry for the general refactor along with it xD

Co-authored-by: d3fault <d3fault@d3fault.net>
2020-04-01 07:02:56 +00:00
d3fault 7fb46beb85 Add spectate_closest now works when in Free-View 2020-03-31 23:30:25 -07:00
bors[bot] 4a6f5b156c
Merge #2101
2101: Add dbg_unpredicted_shadow (fixes #2100) r=heinrich5991 a=def-



Co-authored-by: def <dennis@felsin9.de>
2020-03-31 16:41:31 +00:00
def a8c3d192d1 Add cl_unpredicted_shadow -1 value (fixes #2100)
to disasble unpredicted shadow even in debug mode
2020-03-31 18:00:20 +02:00
bors[bot] fe05f0dfbc
Merge #2103
2103: Add spectate_closest r=def- a=d3fault

Spectates the tee closest to the one you are currently spectating.
This commit brought to you by COVID-19 lockdown boredom.

Fix #1793

Co-authored-by: d3fault <d3fault@d3fault.net>
2020-03-31 08:19:58 +00:00
d3fault 6968b17017 Add spectate_closest
Spectates the tee closest to the one you are currently spectating.
This commit brought to you by COVID-19 lockdown boredom.

Fix #1793
2020-03-31 01:17:32 -07:00
bors[bot] 1b546b3e48
Merge #2102
2102: Add reason to mute r=def- a=trafilaw



Co-authored-by: trafilaw <gitlawsserver@outlook.de>
2020-03-31 05:03:27 +00:00
trafilaw b6c25273f8 Fix compiling error 2020-03-31 03:29:45 +02:00
trafilaw 44cc0e29a4 Remove No reason given 2020-03-31 00:20:25 +02:00
trafilaw dc0e77f8e2 fix 2020-03-31 00:16:42 +02:00
trafilaw 8d8bc018c6 Add pr_mutereason 2020-03-30 23:51:58 +02:00
bors[bot] f6c8c350f9
Merge #2098
2098: Streamline platform client r=def- a=Learath2

Ditto teeworlds/teeworlds#2519

Co-authored-by: Learath <learath2@gmail.com>
2020-03-28 06:40:59 +00:00
Learath 61e5667624 Streamline platform client 2020-03-28 02:20:16 +03:00
bors[bot] c4ca110f2e
Merge #2097
2097: Fix bug about console video start r=def- a=sirius1242

Did some small modifications to console video start (using video_start command):
- Fix bug that demo can't play when demo pause and then use console video start.
- If demo playing paused when console video start, video rendering will not begin until video playing continue.

I think this will make experience of console video start more comfortable, you can pause demo playing and type video_start in console, quit console and continue demo playing, then console will not be rendered into video.

Co-authored-by: sirius <sirius.ustc@gmail.com>
2020-03-26 12:54:48 +00:00
sirius 3c085b53ed fix bug that demo can't play when demo pause and use start_video 2020-03-26 18:25:50 +08:00
bors[bot] fb81000351
Merge #2096
2096: Fix the double-free of the antibot r=def- a=heinrich5991

I could not find an easy way to ensure that `AntibotDestroy` is only
being called once for each `AntibotInit` but still happening after all
the `CPlayer` destructors.

Co-authored-by: heinrich5991 <heinrich5991@gmail.com>
2020-03-24 15:16:24 +00:00
bors[bot] 10299266c3
Merge #2078
2078: Fix cl_showrecord with dummy (fixes #2077) r=heinrich5991 a=def-

Shows best time of either dummy or main player depending on which is selected

Co-authored-by: def <dennis@felsin9.de>
2020-03-24 14:23:38 +00:00
heinrich5991 a7042f7139 Fix the double-free of the antibot
I could not find an easy way to ensure that `AntibotDestroy` is only
being called once for each `AntibotInit` but still happening after all
the `CPlayer` destructors.
2020-03-24 15:15:40 +01:00
heinrich5991 d50547ea42 Revert "Fix AntibotDestroy being called twice"
This reverts commit efb3106b71.
2020-03-24 15:07:01 +01:00
bors[bot] 6e78deb0c4
Merge #2069 #2076 #2095
2069: Move global configuration out of client interface r=heinrich5991 a=ChillerDragon



2076: Allow editing multiple tile layer props r=heinrich5991 a=Learath2

Requested by Ravie on discord

2095: Fix `AntibotDestroy` being called twice r=def- a=heinrich5991

The resource deallocation needs to happen in symmetry with the
allocation, otherwise we get unmatched dealloctions leading to crashes.

Allocations happened in `CAntibot::Init`, but it was not guaranteed that
this was called before the destructor.

Co-authored-by: ChillerDragon <ChillerDragon@gmail.com>
Co-authored-by: Learath <learath2@gmail.com>
Co-authored-by: heinrich5991 <heinrich5991@gmail.com>
2020-03-23 17:04:15 +00:00
bors[bot] 048ca9fe0a
Merge #2070
2070: Fix demo recording with broken maps r=heinrich5991 a=Learath2

Apparently there are maps out there with broken headers advertising the wrong map size. This allows demos to be recorded on those.

Example of such a map is `ctf4_old_d668e9fa_2f472051b26b6bffaa4af8990cf882cafd6364e00e1333b77762cb9911e49464.map`
Hosted on `Allround Network`

Reported by teini94 on discord

Co-authored-by: Learath <learath2@gmail.com>
2020-03-23 16:58:01 +00:00
bors[bot] bf821fe391
Merge #2071
2071: Add an option to only start a new demo when connect while automatically record demos r=def- a=sirius1242

Origin auto demo recording of ddnet will generate lots of demo files especially when playing in mods which have shorter rounds, such as infclass. I added a new option to open a new demo file only when connect to server (include map changing), this is disabled by default, and can use `cl_auto_demo_on_connect 1` to open. It works only when `cl_auto_demo_record` open.

Co-authored-by: sirius <sirius.ustc@gmail.com>
2020-03-23 16:38:17 +00:00
Learath 6919ed3041 Use updated stub, switch around versions 2020-03-23 15:46:57 +01:00
Learath 060d60f2ea Output library versions 2020-03-23 15:46:57 +01:00
heinrich5991 efb3106b71 Fix AntibotDestroy being called twice
The resource deallocation needs to happen in symmetry with the
allocation, otherwise we get unmatched dealloctions leading to crashes.

Allocations happened in `CAntibot::Init`, but it was not guaranteed that
this was called before the destructor.
2020-03-23 15:35:16 +01:00
bors[bot] 2bc3f52f99
Merge #2090
2090: added base-devel alphabetically to dependency list r=heinrich5991 a=Patiga

required for building ddnet on a fresh arch linux installation
(noticed while trying to build ddnet on the arch linux docker image)

Co-authored-by: patiga <patigatus21@gmail.com>
2020-03-21 19:28:57 +00:00
patiga c64e6d5053 added base-devel alphabetically to dependency list 2020-03-21 19:24:39 +01:00
bors[bot] 477b8ff987
Merge #2088
2088: Fix antibot crash r=Learath2 a=heinrich5991

`m_Core.m_HookedPlayer` can be -1 if you get teleported the moment you'd
normally attach the hook.

Co-authored-by: heinrich5991 <heinrich5991@gmail.com>
2020-03-16 13:19:57 +00:00
heinrich5991 ed76cd7b12 Fix antibot crash
`m_Core.m_HookedPlayer` can be -1 if you get teleported the moment you'd
normally attach the hook.
2020-03-16 14:16:04 +01:00
bors[bot] b6d6c8eed7
Merge #2084
2084: Fix antibot crash after map change r=def- a=heinrich5991



Co-authored-by: heinrich5991 <heinrich5991@gmail.com>
2020-03-14 20:01:57 +00:00
heinrich5991 bda3adabcc Use relative rpath, force relative rpath for older CMake versions
This allows you to copy around the built binaries together with the
binaries.
2020-03-14 01:48:45 +01:00
heinrich5991 2574c060e4 Fix antibot crash after map change 2020-03-14 01:44:57 +01:00
bors[bot] fdf7e4e918
Merge #2081
2081: Add support for dynamically loading an antibot module r=Learath2 a=heinrich5991

Support for this feature is turned off by default. This feature allows
to integrate with noby's anticheat feature.

Co-authored-by: heinrich5991 <heinrich5991@gmail.com>
2020-03-13 17:08:34 +00:00
heinrich5991 a3163c5b9c Add support for dynamically loading an antibot module
Support for this feature is turned off by default. This feature allows
to integrate with noby's anticheat feature.
2020-03-11 01:58:50 +01:00
heinrich5991 3c64bed767 .gitignore shared libraries 2020-03-10 21:35:44 +01:00
def 6efcc473c9 Fix cl_showrecord with dummy (fixes #2077)
Shows best time of either dummy or main player depending on which is
selected
2020-03-01 12:55:01 +01:00
Learath d2498f257c Stateful editing 2020-02-28 18:25:27 +03:00
Learath f2103881c8 Add shift by, fix id overlap 2020-02-28 15:33:32 +03:00
def 2319151fb4 Disable currently broken sv_vanilla_antispoof 2020-02-27 22:53:56 +01:00
Learath a50e59d4f6 Allow editing colors, add warning 2020-02-27 18:02:36 +03:00
Learath ce8987cd43 Missing include 2020-02-27 16:56:40 +03:00
Learath f679fbfbc5 Allow editing multiple tile layer props 2020-02-27 16:53:12 +03:00
bors[bot] 43316d0c0b
Merge #2075
2075: Add option to pause video rendering when demo playing pause r=def- a=sirius1242

This option default is open, which means video rendering will pause when demo playing pause, we can use this to:
- change player spec to
- check demo playing speed
- check playing progress

I think this is better.
There is a modification which make tee not transparent when playing demo from server with commit 5dab6e2e1, but if you don't like it, you can undo this modification.

Co-authored-by: sirius <sirius.ustc@gmail.com>
2020-02-27 13:47:59 +00:00