Commit graph

11164 commits

Author SHA1 Message Date
heinrich5991 659e1ff527 Merge pull request #853 from Redix/pr_ghost_time
Ghost and Race demo time extraction fix
2017-08-31 12:31:20 +02:00
Dennis Felsing f5e1ba7638 Merge pull request #855 from heinrich5991/pr_ddnet_tests_travis_linux
Run tests on Travis on Linux
2017-08-31 08:15:02 +02:00
Redix affa3faeec Only use integers for ghost and race demo handling
Ghosts still use floats internally
2017-08-31 03:22:08 +02:00
heinrich5991 fc44bfcc76 Run tests on Travis on Linux
Fix the style of our only test.
2017-08-31 01:39:08 +02:00
Redix cf09b6b08b Use -1 as invalid for time parsing functions 2017-08-31 01:13:26 +02:00
Redix a396e40c5e Move race helper functions to own cpp file
Fix some style issues
2017-08-31 00:17:16 +02:00
def bff1c12b83 Don't try to load ddnet-ranks.json while fetcher is downloading it anyway 2017-08-31 00:07:59 +02:00
def a20db6ec56 Don't shutdown sound twice (fixes #851) 2017-08-30 23:19:33 +02:00
def 7d71dae87f Fetcher: sephamore instead of spinlock, exit thread gracefully 2017-08-30 23:14:00 +02:00
def 040fc9ca32 Implement right click and middle click on country and type filters
Right click: exclusively activate one
Middle click: reset (reenable all)
2017-08-30 22:36:39 +02:00
def 58c5303262 Change unit test layout 2017-08-30 22:18:48 +02:00
Redix b6a3a42aa6 Use the time parsing functions for race demo name parsing 2017-08-30 22:10:43 +02:00
Dennis Felsing eb2634ab0a Merge pull request #852 from heinrich5991/pr_ddnet_fix_extractname
Add testing; fix, rename and test the `CEditor::ExtractName` function
2017-08-30 22:09:17 +02:00
heinrich5991 de2fd75a16 Add possibility to write tests
Also add a test for `IStorage::StripPathAndExtension`
2017-08-30 21:57:55 +02:00
def a1d2ecb6de Empty when no rank 2017-08-30 21:50:09 +02:00
Redix f1f7e4e30b Fix ghost and race recorder time parsing 2017-08-30 21:44:27 +02:00
def 16f3ddc5a7 Show if user has rank on map in browser (+filter)
UI implementation by timakro
2017-08-30 21:34:04 +02:00
def e480b651e7 Fix fetcher write function to return size 2017-08-30 21:01:19 +02:00
def 7f0eb53ff4 Initialize in order to ensure destruction in order (fixes #848) 2017-08-30 17:22:36 +02:00
Dennis Felsing 25a5eff1f8 Merge pull request #847 from heinrich5991/pr_ddnet_uncompressed_datasize
Rename `GetUncompressedDataSize` to `GetDataSize`
2017-08-30 16:34:02 +02:00
oy 43af1fdb5f fixed sprite rendering. Closes #834 2017-08-30 16:32:39 +02:00
heinrich5991 22be1be389 Fix and rename the CEditor::ExtractName function
Fixes #846.
2017-08-30 13:59:42 +02:00
heinrich5991 2682480f8a Rename GetUncompressedDataSize to GetDataSize
Also rename the old `GetDataSize` to `GetFileDataSize`. `GetDataSize`
now returns the actual data size, not the data size before
decompression.
2017-08-30 08:36:17 +02:00
Dennis Felsing 3555762e1a Merge pull request #844 from sctt/master
Fixing map_resave tool and add map_replace_image tool
2017-08-30 07:48:19 +02:00
root 7cd95f63cf Fixing spaces and globals 2017-08-30 00:34:14 +02:00
root 2c748ebf70 Fixing PR over heinrich revision 2017-08-30 00:21:41 +02:00
sctt 0849fa6024 fixing map_resave and adding map_replace_image
Update datafile.h

Update datafile.cpp

Update datafile.cpp

Update map_resave.cpp

Update datafile.h

Update map_resave.cpp

Update datafile.h

Update datafile.cpp

Update config_store.cpp

Update config_retrieve.cpp

Update io.cpp

Update gamecontext.cpp

Update config_store.cpp

Update CMakeLists.txt

Create map_replace_image.cpp

Update map_replace_image.cpp

fixing bug with height and witdth
2017-08-29 16:21:16 +02:00
Dennis Felsing 5d98b55d66 Merge pull request #845 from heinrich5991/pr_ddnet_cmake_readme
Add CMake compilation instructions
2017-08-29 15:47:18 +02:00
heinrich5991 bd229a2de7 Change the Linux/MacOS build instructions to CMake 2017-08-29 14:52:12 +02:00
heinrich5991 3df0df4285 Add Windows CMake compilation instructions 2017-08-29 11:26:24 +02:00
def 40b145fe20 More utf8mb4 in database connection and database default 2017-08-26 10:12:47 +02:00
def ac2943a49b utf8mb4 in database for real utf8 2017-08-26 09:00:33 +02:00
def fb252c4940 Fix compilation 2017-08-25 13:27:37 +02:00
heinrich5991 1ae004ba46 Make a copy of the input only after sanitizing it
This fixes a physics bug that allowed players to set their mouse
direction to (NaN, NaN), resulting in funny effects.
2017-08-25 13:20:10 +02:00
Dennis Felsing b51b3cf0c1 Merge pull request #842 from deepest/patch-1
Update russian.txt
2017-08-25 13:18:13 +02:00
Deeper 098c9101cc Update russian.txt
Corrected errors in translation
2017-08-25 14:14:39 +03:00
def 0e1cc205ef Fix formatting for server chat messages with time in already 2017-08-21 20:48:11 +02:00
def 98520bb407 other kind of fix 2017-08-19 09:36:13 +02:00
def d40dd4f362 Don't try next SQL server when /times returns empty 2017-08-19 09:32:14 +02:00
def e7814635fe Add jungle_midground rules by hi_leute_gll 2017-08-15 17:22:31 +02:00
def 0b1842d438 Use filesystem paths for -f command line param 2017-08-11 21:07:20 +02:00
def 0b5dcdc478 Disable vsync by default and warn about possible delay 2017-08-08 19:53:16 +02:00
Dennis Felsing e76db84eba Merge pull request #839 from Laxa/fixwinbuild
fix bam windows build
2017-08-07 21:46:57 +02:00
laxa b6f70e8c86 fix bam windows build 2017-08-07 21:40:57 +02:00
def 5d8a0ddc1e Add time in console 2017-08-04 22:38:22 +02:00
Learath2 77ca505e74 Do not continue without python
We can not compile without python anyways.
2017-08-03 18:44:36 +02:00
heinrich5991 05f136fdfb Unify icons for gcc and MSVC, fix server icon 2017-08-01 21:43:56 +02:00
Dennis Felsing b8db88e026 Merge pull request #833 from ACTom/master
update simplified chinese language file
2017-08-01 08:52:52 +02:00
Tom 549f95c741 update simplified chinese language file 2017-08-01 09:07:49 +08:00
heinrich5991 523f35205d Statically link standard libraries in MinGW for CMake
Hopefully fixes the CMake MinGW build.
2017-08-01 01:37:54 +02:00