sirius
3baba93ed2
fix the problem of audio when video fps is low
2020-01-06 11:57:24 +08:00
sirius
779afcb771
crf and preset can be set by variables
2020-01-05 11:18:51 +08:00
sirius
0be4629cc1
forget to deal with pError
2020-01-04 17:44:12 +08:00
sirius
3967ddba00
replace same operations by call Demoplay_Play() when rendering video by render button
2020-01-04 17:08:00 +08:00
sirius
521e822bbb
update map fix part when rendering video
2020-01-04 17:02:00 +08:00
sirius
5350a12185
fix wired sound
2020-01-04 10:17:16 +08:00
def
600a3b0bad
Fix preprocessor
2020-01-03 22:07:02 +01:00
def
511c9d248e
Fix alignment of pixels for reading to video recorder
2020-01-03 21:43:15 +01:00
def
1e36b4df15
Move some code out as a small optimization
2020-01-03 21:42:53 +01:00
def
8d716452ba
Fix sizes so that we don't write too far
2020-01-03 21:42:19 +01:00
def
54ae929b2f
Disallow resizing windows when videorecorder is compiled in
2020-01-03 21:40:41 +01:00
def
a0362019f0
Initialize m_NextaFrame
2020-01-03 20:37:27 +01:00
sirius
6803726209
extend sound buffer, try to solve segment fault problem
2020-01-03 10:26:10 +08:00
def
df807a7486
-DVIDEORECORDER=ON instead of -DFFMPEG=ON, fix README
...
remove unused files
2020-01-01 16:56:54 +01:00
sirius
7710b88670
Merge branch 'master' of https://github.com/ddnet/ddnet into demo_render2
2020-01-01 18:36:49 +08:00
Dennis Felsing
811ddb3283
Merge pull request #2008 from Learath2/dd_pr_demohotfix
...
Fix (not) small bug with demos that don't include a map
2019-12-22 22:38:22 +01:00
Learath
a882cf5196
Fix bug with slices
2019-12-22 19:09:14 +03:00
Dennis Felsing
83f2fc2669
Merge pull request #2012 from ChillerDragon/pr_func_style
...
Style 'void foo() {' -> 'void foo()\n{'
2019-12-21 18:18:49 +01:00
ChillerDragon
928e5407eb
Style 'void foo() {' -> 'void foo()\n{'
2019-12-21 14:35:09 +01:00
Dennis Felsing
3e08d473ab
Merge pull request #2011 from heinrich5991/pr_ddnet_fix_comment
...
Fix outdated comment
2019-12-21 08:00:38 +01:00
heinrich5991
e70fb8e43d
Fix outdated comment
2019-12-20 22:51:10 +01:00
Learath
65ec25a8a1
Fix small bug with demos that don't include a map
2019-12-18 13:51:08 +01:00
Dennis Felsing
4171e8751f
Merge pull request #1939 from Learath2/dd_pr_demoload
...
Always try extracting map before fail. Fix #1886
2019-12-17 21:20:10 +01:00
Learath2
3784f5bea4
Use a UUID, Cleanup code and UI
2019-12-17 15:44:54 +01:00
ChillerDragon
4a6a85124a
Remove some unused includes
2019-12-14 10:20:42 +01:00
bors[bot]
4a83a42f14
Merge #1981
...
1981: Fix: background colors being set to white r=def- a=Aerll
After changing either of background colors in ddnet tab in settings and reopening the client, both become white.
Co-authored-by: Aerll <31746984+aerll@users.noreply.github.com>
2019-12-10 12:34:48 +00:00
def
8639c902ae
map_convert_07: use regular paths
2019-12-08 23:14:56 +01:00
Aerll
ff685ac1e0
fix ub
2019-12-08 20:08:00 +01:00
def
18e2232727
Add support to tell DDNet7 ranks apart from DDNet ones
...
Saves should not be loadable from one to the other.
Requires:
ALTER TABLE record_race ADD COLUMN DDNet7 BOOL DEFAULT FALSE AFTER GameID;
ALTER TABLE record_teamrace ADD COLUMN DDNet7 BOOL DEFAULT FALSE AFTER GameID;
ALTER TABLE record_saves ADD COLUMN DDNet7 BOOL DEFAULT FALSE AFTER Server;
2019-12-08 16:04:49 +01:00
Magnus Auvinen
6a6a5f00c9
more typesafty in the graphics. introduced the IGraphics::CTextureHandle
...
Edited by @ChillerDragon to fit in ddnet
(cherry picked from commit cb95e8dfe8
)
2019-11-22 18:08:37 +01:00
sirius
76a80fe01b
deal with warnings
2019-11-12 21:41:30 +08:00
ChillerDragon
9c3447dd17
Use an enum for netclient indices
2019-11-10 13:46:27 +01:00
ChillerDragon
1a957f0abe
Fix typo 'user' -> 'use'
2019-11-05 09:16:54 +01:00
Dennis Felsing
785ec3d345
Expire server info on connected/drop events
2019-11-04 15:45:55 +01:00
Learath2
c2bcd3bd4d
Fix bug
2019-11-04 01:06:52 +01:00
bors[bot]
0de012572b
Merge #1955
...
1955: Cache serverinfo responses r=def- a=Learath2
I'm not sure I like it but it works
Co-authored-by: Learath2 <learath2@gmail.com>
2019-11-03 20:09:21 +00:00
Learath2
c0b0f48d16
Oops
2019-11-03 20:58:35 +01:00
def
fdaafea6b5
Also init m_aClients[*].m_Latency
...
as reported by valgrind --tool=memcheck:
==376722== Conditional jump or move depends on uninitialised value(s)
==376722== at 0x1CDBDB: int maximum<int>(int, int) (math.h:79)
==376722== by 0x216A46: CPlayer::Tick() (player.cpp:174)
==376722== by 0x1FB308: CGameContext::OnTick() (gamecontext.cpp:658)
==376722== by 0x1C60AF: CServer::Run() (server.cpp:2046)
==376722== by 0x1CB099: main (server.cpp:3040)
==376722==
==376722== Conditional jump or move depends on uninitialised value(s)
==376722== at 0x183F27: int minimum<int>(int, int) (math.h:77)
==376722== by 0x216A65: CPlayer::Tick() (player.cpp:175)
==376722== by 0x1FB308: CGameContext::OnTick() (gamecontext.cpp:658)
==376722== by 0x1C60AF: CServer::Run() (server.cpp:2046)
==376722== by 0x1CB099: main (server.cpp:3040)
2019-11-03 18:54:25 +01:00
Learath2
c4d18118c1
Use automatic storage for the data
2019-11-03 18:31:05 +01:00
def
258eaf5a98
Fix uninitialized variable
...
As reported by valgrind --tool=memcheck:
[201==344082== Conditional jump or move depends on uninitialised value(s)
==344082== at 0x483BC85: strlen (vg_replace_strmem.c:461)
==344082== by 0x5B9E61D: __vfprintf_internal (in /usr/lib/libc-2.30.so)
==344082== by 0x5BB0409: __vsnprintf_internal (in /usr/lib/libc-2.30.so)
==344082== by 0x222AE7: str_format (system.c:2350)
==344082== by 0x2196AB: CStorage::GetPath(int, char const*, char*, unsigned int) (storage.cpp:274)
==344082== by 0x219DDD: CStorage::RemoveFile(char const*, int) (storage.cpp:409)
==344082== by 0x255D3C: CClient::DemoRecorder_Stop(int, bool) (client.cpp:3546)
==344082== by 0x2569E7: CClient::ConchainReplays(IConsole::IResult*, void*, void (*)(IConsole::IResult*, void*), void*) (client.cpp:3727)
==344082== by 0x1F4659: CConsole::Con_Chain(IConsole::IResult*, void*) (console.cpp:1169)
==344082== by 0x1E4C2C: CConsole::ExecuteLineStroked(int, char const*, int, bool) (console.cpp:504)
==344082== by 0x1E4F37: CConsole::ExecuteLine(char const*, int, bool) (console.cpp:558)
==344082== by 0x1E5240: CConsole::ExecuteFile(char const*, int, bool, int) (console.cpp:604)
2019-11-03 18:05:42 +01:00
Learath2
52cca29cd9
Use a std::list, improve variable naming
2019-11-03 15:39:32 +01:00
sirius
8c48e7d633
some small changes
2019-11-03 11:20:24 +08:00
Learath2
3d495a9936
Initialize variables
2019-11-03 01:53:50 +01:00
Learath2
79e4651d5b
Only update serverinfo when needed
2019-11-03 01:07:10 +01:00
Learath2
7f0589bff7
Cache serverinfo responses
2019-11-03 00:33:30 +01:00
sirius
4cc03af9a9
remove useless functions for previous audio sync
2019-11-02 18:32:48 +08:00
sirius
e910fe404f
Direct mix when recording audio now, and seems solve the stuck problem when
...
DDNet is not the focusing window
2019-11-02 18:21:47 +08:00
sirius
f2ffa996c2
GetSync calculate only when m_Recording true (otherwise sometimes core dump)
2019-11-01 10:52:24 +08:00
Sirius
45263ebdd0
Merge branch 'master' into demo_render2
2019-10-31 22:08:49 +08:00
sirius
ae1ff28579
not abort sample when sync now
2019-10-31 22:01:12 +08:00