Redix
c832beca63
Remove 30 min limit from the ghost
2017-09-28 16:02:01 +02:00
Redix
a3a82b6571
Move filename clearing function to base lib
2017-09-28 16:02:01 +02:00
Redix
5721612761
Clean up trailing whitespaces
2017-09-28 16:02:01 +02:00
Redix
d37bb5e65a
Fix ghost menu localization
2017-09-28 16:02:01 +02:00
Redix
0c6026c22e
Hide ghost menu buttons if there are no ghosts
2017-09-28 16:02:00 +02:00
Redix
0b4d629dab
Improved ghost memory management
2017-09-28 16:02:00 +02:00
Redix
216e5654e8
Added config variables for server controlled ghost and race recording
2017-09-28 16:02:00 +02:00
Redix
17f1978740
Use the race timer for the demo recorder as well
2017-09-28 16:02:00 +02:00
Redix
491cfdb93e
A few fixes in ghost and race recorder code
2017-09-28 16:02:00 +02:00
Redix
1efa8023ea
Use race timer for ghosts if available
2017-09-28 16:02:00 +02:00
Redix
4c8c546c35
Improved ghost start accuracy
2017-09-28 16:01:59 +02:00
Redix
ac234ad3ee
Write the correct player name into ghosts that are saved from menu
2017-09-28 16:01:59 +02:00
Redix
ffaa077c72
Improved ghost skin handling a bit
2017-09-28 16:01:59 +02:00
Redix
456a67fe2d
Start race recording immediately so we can also record the preparation steps
2017-09-28 16:01:59 +02:00
Redix
0721b895ae
Make sure that we have a free ghost slot for new records
2017-09-28 16:01:58 +02:00
Redix
353190588b
Disable ghost and race recorder during demo playback
2017-09-28 16:01:58 +02:00
Redix
1e845a4020
Added reload button in ghost menu
2017-09-28 16:01:58 +02:00
Redix
5b3e9e4bbf
Improved ghost file management
2017-09-28 16:01:58 +02:00
Redix
d09e825065
Use existing code for rendering the ghost
2017-09-28 16:01:58 +02:00
Redix
5cc0d16029
Reworked the race recorder
2017-09-28 16:01:57 +02:00
Redix
9e52957423
Only restart ghost and race demo on non-solo servers when crossing the start line again
2017-09-28 16:01:57 +02:00
Redix
1c377ed00f
Added Fastcap support for ghost and race demo
2017-09-28 16:01:57 +02:00
Redix
bd3e81d5e0
Use snapshot values instead of predicted ones for the ghost and also save the tick
...
This makes the ghosts more resistant against lags
2017-09-28 16:01:57 +02:00
Redix
3c8217b39c
Mark own ghost with color
2017-09-28 16:01:56 +02:00
Redix
4f57b33524
Use static array for active ghosts
...
Improve ghost file handling
2017-09-28 16:01:56 +02:00
Redix
c189678e44
Cleaned up the ghost component and made it use the ghost recorder and loader
2017-09-28 16:01:56 +02:00
Redix
b1e7138847
Added ghost file handling classes
2017-09-28 16:01:56 +02:00
Redix
e8d3469465
Fix fs_rename on windows
2017-09-28 16:01:56 +02:00
Dennis Felsing
4fe6dc51f7
Fix non-random announcements (thanks noby)
2017-09-26 14:20:37 +02:00
Dennis Felsing
f2d9c401f7
Merge pull request #874 from Ryozuki/patch-2
...
Add instructions to run tests in README
2017-09-25 14:31:40 +02:00
Ryozuki
f4515acd32
tests instructions are only for debian/ubuntu
2017-09-25 14:28:32 +02:00
Ryozuki
f472b02b17
fix little typo
2017-09-25 14:25:23 +02:00
Dennis Felsing
5b05e558dc
Fix grammar (thanks noby)
2017-09-25 09:07:12 +02:00
def
b7f4ab4d80
Move comment
2017-09-23 22:49:01 +02:00
Ryozuki
5e815cf40d
add instructions to run tests
2017-09-23 11:14:13 +02:00
Learath2
ac0999e728
Merge pull request #873 from nobody-mb/master
...
fng2 entities
2017-09-22 06:18:22 +02:00
nobody1
0bd51db7cd
fng2 entities
2017-09-21 21:19:10 -05:00
Learath2
d6f2dc7521
Merge pull request #872 from heinrich5991/pr_ddnet_cpp11
...
Change to C++11 in `CMakeLists.txt`, `bam.lua`
2017-09-22 02:56:01 +02:00
heinrich5991
72a17da716
Change to C++11 in CMakeLists.txt
, bam.lua
2017-09-21 23:34:51 +02:00
def
a9b80e8c11
Update to Portuguese translations (by RockuS)
2017-09-21 21:55:58 +02:00
Dennis Felsing
94c7c8d864
Use C++14
2017-09-21 15:11:09 +02:00
def
553c97b52d
Fix crash with broken ddnet-info.json
2017-09-20 22:25:55 +02:00
def
03fa475b5e
Implement /pause [name] and /spec [name]
2017-09-18 19:12:01 +02:00
Redix
43f246f174
Made int packing functions safe
2017-09-17 02:36:50 +02:00
Dennis Felsing
7a2bd361a6
Merge pull request #868 from heinrich5991/pr_ddnet_revert_div0
...
Revert "Don't divide by 0"
2017-09-16 19:01:41 +02:00
heinrich5991
42934fe102
Remove statically detectable float divisions by zero
...
This should fix the warning in MSVS.
2017-09-16 18:34:26 +02:00
heinrich5991
9911759314
Revert "Don't divide by 0"
...
This reverts commit 03faa51e28
.
Dividing floats by zero isn't undefined behavior and results in +inf or
-inf depending on the sign of the first operand.
#include <math.h>
#include <stdio.h>
#define PRINT(x) printf("%s = %f\n", #x, x)
int main()
{
PRINT(1.0 / 0.0);
PRINT(-1.0 / 0.0);
PRINT(atanf(1.0 / 0.0));
PRINT(atanf(-1.0 / 0.0));
return 0;
}
prints
1.0 / 0.0 = inf
-1.0 / 0.0 = -inf
atanf(1.0 / 0.0) = 1.570796
atanf(-1.0 / 0.0) = -1.570796
The changed function was problematic for values like (0,1), (-1,0),
(0,-1) where it always returned an angle of 0°.
2017-09-16 18:33:10 +02:00
def
03faa51e28
Don't divide by 0
2017-09-16 12:06:07 +02:00
def
75d3eeaa09
Try linking against security framework on macosx
2017-09-16 11:39:09 +02:00
Dennis Felsing
81f704516f
Merge pull request #857 from heinrich5991/pr_ddnet_fix_msvs_warnings
...
Fix MSVS warnings, activate /WX for CI on Windows
2017-09-16 11:19:53 +02:00