Commit graph

4912 commits

Author SHA1 Message Date
def b5d722672a On switch layer fix delay number with FillSelection when creating new tiles instead of copying 2015-04-21 04:57:20 +02:00
def cb64bc6859 Move "Add Sound" button down for 5:4 resolutions 2015-04-21 04:34:14 +02:00
def a1d62d297a Merge branch 'DDRace64' of github.com:def-/ddnet into DDRace64 2015-04-21 04:26:42 +02:00
def c85865c492 Go back in envelopes with right mouse click 2015-04-21 04:25:49 +02:00
east 9d50085782 Fix dummy connect on servers without security token protocol 2015-04-19 23:09:55 +02:00
east 93305aef74 Fix dummy connect delay (Fullfill securitytoken handshake) 2015-04-19 19:53:37 +02:00
def 8f02de318b Make dummy connecting a bit nicer: Show that dummy is being connected, disable unusable buttons 2015-04-19 14:40:05 +02:00
def 16106d8ee6 Fix menu bug with button pressing (more of a hack) 2015-04-19 14:24:20 +02:00
def 14b5766b30 Disallow spectators to participate in kick votes
Fixes #186
2015-04-19 14:15:59 +02:00
def d690877117 At least don't access invalid memory on server request. Should fix #173 2015-04-19 14:09:40 +02:00
def 9c1e65a1f5 Clean up a bit and hopefully fix player move on dummy connect 2015-04-19 14:06:31 +02:00
timgame c4f011dd9d resend player/dummy info that filtered the server 2015-04-19 13:17:51 +02:00
def 230ad1a6f6 Revert "Timestamp index for race table for improved performance of /players/"
Better indices on the relevant server, not necessary everywhere else.

This reverts commit d4d5109c47.
2015-04-19 12:52:27 +02:00
def d4d5109c47 Timestamp index for race table for improved performance of /players/ 2015-04-19 11:55:35 +02:00
def 84cdcdb414 Remove wrong include 2015-04-19 11:23:25 +02:00
def 6d54de89b6 Get rid of clang static analyzer warnings 2015-04-19 00:31:45 +02:00
def 5dd83b58ff Fix security token conversion in a platform independent way 2015-04-18 23:54:19 +02:00
def 1f2d5d3e81 Fix masterserver compilation with clang and optimizations 2015-04-18 23:02:48 +02:00
def a77cd039a6 Get rid of all Clang warnings 2015-04-18 22:29:28 +02:00
def 0ffa79671b Get rid of all GCC warnings 2015-04-18 21:33:51 +02:00
def 710a786f88 Rename AutoUpdater to Updater because you have to press a button now 2015-04-18 21:17:27 +02:00
def 4625a4de58 Version 7.5 2015-04-18 19:56:07 +02:00
def aead2631b6 Fix os_compare_version a bit 2015-04-18 16:23:43 +02:00
Learath Lea df57a981de Add os_compare_version. Check for WinXP. 2015-04-18 15:53:11 +03:00
def b55bf7ef90 Try to add back WinXP compatibility for autoupdater (untested) 2015-04-18 13:42:56 +02:00
def 997470dfa2 Cleanup 2015-04-18 11:06:16 +02:00
def 554c865eeb Fix segfault in editor 2015-04-17 20:14:14 +02:00
def cea6fef24f Hack to disallow admins to enable /r after server was started 2015-04-17 11:24:28 +02:00
timgame 52aab8c00f added unfreeze after /r, /rescue 2015-04-16 18:13:36 +02:00
timgame 249988fa85 Merge branch 'DDRace64' of https://github.com/def-/ddnet into DDRace64 2015-04-16 17:40:08 +02:00
timgame 62aa011734 added /r, /rescue: teleport yourself out of freeze 2015-04-16 17:37:57 +02:00
def a57f639127 Minor cleanup 2015-04-12 15:23:33 +02:00
def 2e4cc07b09 Render kill messages with ddrace team color (only with cl_chat_teamcolors 1) 2015-04-12 15:19:47 +02:00
def ea55306a90 Minor fix 2015-04-08 13:58:39 +02:00
def ef994b87a1 Fix: rendering of images in editor when scrolling 2015-04-08 01:15:52 +02:00
def 3992b1346b Hopefully fix compilation on new OS X systems
Names collided with some new OS X defined names, fixes #189
2015-04-07 19:07:38 +02:00
H-M-H b97954f635 allow to exit editor valueselectors with mouseclicks 2015-04-07 17:08:01 +02:00
H-M-H 76481a139a fixed issue with wrongly displayed text in editor 2015-04-07 16:43:51 +02:00
def 0945e24ce4 Actual fix for crash with RGB images, convert them to RGBA instead 2015-04-04 18:07:57 +02:00
def c11044318e Hopefully fix map saving with RGB images 2015-04-04 17:16:20 +02:00
def 7bd3da6679 Hopefully fix voting problems 2015-04-03 01:29:11 +02:00
def 8e889e90eb Version 7.4 2015-04-02 19:40:22 +02:00
def 9ff0fbf530 Add /teamrank and /teamtop5 as aliases 2015-04-02 01:00:16 +02:00
def 3c496c62e1 Rename gfx_quads_as_triangles to gfx_quad_as_triangle and set default to 1 2015-03-31 16:41:51 +02:00
BeaR 2d3202862b Change the way quads are split into triangle splits (conform with intel/nvidia drivers) 2015-03-31 16:18:49 +02:00
BeaR 462d88eac4 Reduce amount of drawcalls when using triangles instead of quads 2015-03-31 13:35:18 +02:00
H-M-H 5e4d504c80 improved envelopeswitching and deleting 2015-03-30 13:06:05 +02:00
def 34f69f0bfd Cleanup 2015-03-30 11:44:32 +02:00
H-M-H 32606f3822 added labels and improved/fixed few things 2015-03-30 05:27:33 +02:00
H-M-H c98d8e3a63 added textinput for envelopes 2015-03-30 05:06:08 +02:00
H-M-H 68db1c1113 added option to type text into valueselector 2015-03-30 03:20:35 +02:00
def aa517af7c7 Don't let popup title flow out of box 2015-03-29 14:20:34 +02:00
def 3fb7b1520e Add descriptions for tunings 2015-03-29 03:52:33 +02:00
def c7617b06d2 Resize font in editor to show full image and sound name 2015-03-29 01:32:07 +01:00
Learath Lea 1839025732 Do call the callback even if it fails 2015-03-29 00:46:43 +02:00
Learath Lea 0024a4370c Catch an IO error 2015-03-29 00:41:58 +02:00
def bb88034def Merge branch 'DDRace64' of github.com:def-/ddnet into DDRace64 2015-03-28 21:53:13 +01:00
def 14d0d2ba08 Kill everyone!
This fixes a bug where some players can fall outside of a map and don't die.
2015-03-28 21:52:43 +01:00
Dennis Felsing 8290f447e0 Merge pull request #175 from timgame/DDRace64
fixed refill jumps with 1 jump
2015-03-22 19:28:42 +01:00
def a852e0da79 Fix spacing in browser menu search 2015-03-22 19:21:41 +01:00
timgame 108e46275c fixed refill jumps with 1 jump 2015-03-22 18:27:57 +01:00
def f436c55553 Version 7.3.5 2015-03-15 17:11:28 +01:00
def d8c97f0339 Fix: Still show empty lines in votes 2015-03-15 17:08:39 +01:00
def 9b27da8e4a Try to fix secure RNG on Windows 2015-03-15 12:11:44 +01:00
def ad255ccfe5 Add default bind for converse 2015-03-15 10:18:43 +01:00
def 04c64a1794 Don't ask to autoupdate if we're on a newer version already 2015-03-15 01:09:34 +01:00
Dennis Felsing d4794f2600 Merge pull request #170 from timgame/DDRace64
added ninjajetpack prediction
2015-03-14 20:21:10 +01:00
def d835826461 Use proper path for autoupdater on *nix 2015-03-14 20:01:18 +01:00
timgame 909db5cd55 added ninjajetpack prediction 2015-03-14 18:55:50 +01:00
def bccc94193e Version 7.3.4 2015-03-14 17:57:58 +01:00
Dennis Felsing ac5e58c6f4 Merge pull request #169 from Learath2/pr_Winxpfix
Winapi MoveFile allows moving the client.
2015-03-14 17:54:51 +01:00
Learath Lea b1044647f9 Winapi MoveFile allows moving the client. 2015-03-14 18:49:18 +02:00
def 4965da940d Fix shift+tab in server browser 2015-03-14 17:30:13 +01:00
def 6fc024d71f Fix Visual Studio compilation 2015-03-14 17:26:24 +01:00
def ce8beb2700 Version 7.3.3 2015-03-14 16:53:26 +01:00
def a913b1731c Fix scrolling in votes 2015-03-14 16:52:57 +01:00
def 8ae27f81b6 Improve autoupdater a bit
- Only ask for restart when we're ingame or unsaved changes in editor
- Otherwise restart directly
2015-03-14 16:10:46 +01:00
def b4336e4638 Version 7.3.2 2015-03-14 15:37:06 +01:00
def 079d92c3e7 Fix vote selection 2015-03-14 15:32:04 +01:00
def be6428286a Version 7.3.1 2015-03-14 12:30:38 +01:00
def 8cbd41abfe Revert "Reduce client load by only searching for new skin when it changed"
This reverts commit 7c503c3197.
2015-03-14 12:30:17 +01:00
def 6af7510cc5 Some more compilability 2015-03-14 11:31:06 +01:00
def 0fd857b410 Compiling on Android 2015-03-14 11:29:20 +01:00
def 6f4c7a1d41 Fix vote option search 2015-03-14 11:05:08 +01:00
def ba4f961594 Some more autoupdater changes and a button to check for autoupdates 2015-03-14 10:45:11 +01:00
Learath Lea 6289d174ba Fix graphical glitch with progressbar. 2015-03-14 11:09:04 +02:00
Learath Lea eb107a8f22 Don't remove the current version. 2015-03-14 10:54:37 +02:00
def 8a5fda61d5 Remove unused "Ignored" parts 2015-03-13 22:33:48 +01:00
def 838f0f57f4 Update instead of Yes/No 2015-03-13 21:37:25 +01:00
Learath Lea a164458f70 Add a messag for last file too 2015-03-13 21:27:37 +02:00
Learath Lea b75a756367 Don't get stuck on a manifest fail. 2015-03-13 21:18:00 +02:00
Learath Lea 1f34ed6740 Call the completion callback even on a fail. 2015-03-13 21:17:23 +02:00
def 62da96b518 Fix update done message a bit 2015-03-13 16:51:57 +01:00
def b306f4133d Fix button size for 5:4 resolution 2015-03-13 16:49:52 +01:00
def 81cb8fd32d Working call vote search (fixes #126) 2015-03-13 16:44:05 +01:00
def aa4453da40 Fix autoupdate to show download bar again 2015-03-13 16:27:57 +01:00
def 888c61a07d Prepare call vote search (but not implemented yet) 2015-03-13 16:15:05 +01:00
def 381b4512fb Fix segfault with demo cutting (fixes #140) 2015-03-13 15:48:30 +01:00
def 7c503c3197 Reduce client load by only searching for new skin when it changed 2015-03-13 15:42:09 +01:00
def 564a69210c Revert ZZZ emoticon when afk 2015-03-13 15:21:27 +01:00
def 6c84866e5b Version 7.3 2015-03-13 15:15:01 +01:00
def f893ed6ec4 Fix and clean up autoupdater 2015-03-13 15:14:00 +01:00
timgame 0c0ab27532 fixed loading unused tiles in game and front layer 2015-03-12 19:37:36 +01:00
def ec3c43faec TAB key in server browser swtiches between Filter, Info, Friends 2015-03-12 11:28:09 +01:00
Dennis Felsing 07497523b4 Merge pull request #152 from cinaera/pr_demo
Fix bug when reading reading chunks with a tick delta of 0
2015-03-11 17:55:51 +01:00
BeaR 723bf0f6dc Restore compatibility with older demo versions 2015-03-11 17:52:18 +01:00
def 91756cc529 Merge branch 'DDRace64' of github.com:def-/ddnet into DDRace64 2015-03-10 22:57:52 +01:00
def 05970cc2e2 Add BONUS tile, opposite of PENALTY (for Saavik's new map) 2015-03-10 22:57:40 +01:00
Dennis Felsing e692fe9ba3 Merge pull request #163 from Learath2/pr_autoupdate
Fix couple of stuff with Autoupdate
2015-03-08 18:54:53 +01:00
Learath Lea 1f4ddfe0ba Add some indication that the update is happening.
Prevent unexpected restart.
2015-03-08 19:51:13 +02:00
Learath Lea a4d16a2713 Fix bug with replacing executables. 2015-03-08 19:45:37 +02:00
Dennis Felsing 189395eec6 Merge pull request #155 from timgame/DDRace64
added tile -1 and updated several automappers
2015-03-07 13:39:25 +01:00
Dennis Felsing ec5a24e1ed Merge pull request #162 from eeeee/mac_build
fix missing size_t definition on mac
2015-03-06 11:49:13 +01:00
eeeee 739a83a3ce fix missing size_t definition on mac 2015-03-05 23:47:17 -08:00
eeeee 0dc332c931 fix timeout protection with tokens
timeout protection code now transfers the token properly
2015-03-05 22:33:01 -08:00
Dennis Felsing 1d061986d3 Merge pull request #160 from heinrich5991/pr_ddnet_random_windows
Make the secure random stuff platform-independent
2015-03-06 01:47:02 +01:00
heinrich5991 fa0708b99d Make the secure random stuff platform-independent 2015-03-06 01:35:08 +01:00
Dennis Felsing 69df880a4f Merge pull request #159 from Learath2/pr_autoupdate
Add Perform Update to settings
2015-03-05 22:14:40 +01:00
Learath Lea fd4b9d1f06 Add Perform Update to settings 2015-03-05 23:09:14 +02:00
Dennis Felsing 2780e26cbb Merge pull request #158 from Learath2/pr_autoupdate
Small revert
2015-03-05 21:12:04 +01:00
Learath Lea 467efee39b Do not reintroduce old buttons. 2015-03-05 22:10:06 +02:00
eeeee 85acfd9d77 added security token to protocol
to prevent packet injection from spoofed source ips
2015-03-05 11:07:03 -08:00
Dennis Felsing b46001ca5a Merge pull request #154 from Learath2/pr_autoupdate
[Testing]Autoupdate
2015-03-05 19:17:33 +01:00
fisted 68e30c29b3 added free md5 implementation w/o deps 2015-03-05 00:13:48 -08:00
timgame 6188b16e5e added tile -1 and updated grass automappers 2015-03-04 16:03:52 +01:00
def 030ebf37c7 Fix number 100000 for this 2015-02-28 01:18:35 +01:00
Learath Lea 7e22c77184 Fix small bugs. Update the server executable too.
Conform to fetcher interface.
2015-02-27 23:09:04 +02:00
Learath Lea 488db9b4fb Can't autoupdate on OSX and Android. 2015-02-27 23:08:34 +02:00
Learath Lea 8ee294a412 Fix use after free. Fix thread launching. 2015-02-27 23:06:19 +02:00
def cc00a428aa Fix crash 2015-02-24 12:22:08 +01:00
def 6c928c01f0 Oops, actual fix 2015-02-24 00:04:16 +01:00
def 7542868797 Fix hook with super 2015-02-23 23:45:29 +01:00
Learath Lea 422e726dce Fix two little bugs 2015-02-23 20:25:38 +02:00
Learath Lea 0f279a33cb Add restart functionality. 2015-02-23 20:25:03 +02:00
Learath Lea 8d7251be4a Add shell_execute. 2015-02-23 20:24:48 +02:00
Learath Lea cf418160b6 Made the user interface functional. 2015-02-23 20:24:27 +02:00
Learath Lea 233ce262ac Add Autoupdate. 2015-02-23 20:23:56 +02:00
Learath 1ea1e68005 Ui side of autoupdate. 2015-02-23 20:23:48 +02:00
Learath 09ce649238 First get rid of the old autoupdate
Conflicts:
	src/engine/client/client.cpp
	src/engine/client/client.h

Conflicts:
	src/engine/shared/config_variables.h
2015-02-23 20:23:35 +02:00
BeaR 6364e3e176 Fix bug when reading reading chunks with a tick delta of 0
* Remove magic value '63'
* Add flag for chunks where the tick value is stored on the first chunk along the flags
* Correctly read chunks with tick values smaller then the tick mask
2015-02-23 14:26:10 +01:00
def edfb41deeb Version 7.2.1 2015-02-21 21:05:29 +01:00
def 1cf333ada2 Fix antiping hook prediction 2015-02-21 21:05:15 +01:00
def cdc855f3fd Set telecp when using totelecp (for Saavik) 2015-02-21 19:48:22 +01:00
def 65e33052db Version 7.2 2015-02-21 13:52:20 +01:00
Dennis Felsing ed73b733e6 Merge pull request #150 from timgame/DDRace64
tons of automapper feautures
2015-02-20 07:02:28 +01:00
timgame d2e1137254 automapper: added 'NewRun' 2015-02-20 00:15:09 +01:00
timgame 758c4b1c4d added 'NOINDEX' and 'OR' to automapper 2015-02-19 22:54:47 +01:00
def 8f570596d9 Release hook when player changes team 2015-02-18 14:34:49 +01:00
def 781e96ef65 Emoticons for both with cl_dummy_copy_moves 2015-02-18 14:26:47 +01:00
def 7f54f8e10e Kill for both with cl_dummy_copy_moves 2015-02-18 14:23:25 +01:00
def 1b6cc638f7 Version 7.1 2015-02-16 11:53:47 +01:00
def ec01b6cd16 Add menu setting for dummy copy moves 2015-02-16 11:40:33 +01:00
Tobii b309fd41eb Added copy moves function for dummy 2015-02-16 11:19:42 +01:00
Learath Lea 62a35bfb81 Escape the filenames. 2015-02-12 19:58:54 +02:00
def 2b32b4a18a Add fire delay tunings 2015-02-12 15:20:22 +01:00
def 62a1a36fa2 Cleanup 2015-02-12 15:04:45 +01:00
eeeee 56c42c3c31 websockets support in server 2015-02-08 19:11:34 -08:00
eeeee 5971c1cb68 added libwebsockets source code 2015-02-08 18:31:30 -08:00
def dd3fae069b Cleanup 2015-02-08 21:18:24 +01:00
Learath Lea ec84bb890b Actually use the storagetype we passed. 2015-02-08 11:53:06 +02:00
Learath Lea 142c386cd6 Remove obsolete function prototype. 2015-02-08 11:52:47 +02:00
def 201e67d513 Update libcurl includes 2015-02-05 20:21:37 +01:00
def 8da8abdeaa No more verbose curl output 2015-02-05 19:41:48 +01:00
def c4e76af45f Version 7.0 2015-02-05 18:04:10 +01:00
def c1374ac70a Oops, fix highlighting color in console again 2015-02-02 00:21:41 +01:00
Dennis Felsing 99f2adc29b Merge pull request #139 from Learath2/pr_FixOverflow
Fix progress bar overflow and Abort segfault
2015-01-28 18:45:15 +01:00
Learath Lea c4ab42333d Make sure the old object is deleted 2015-01-28 14:17:39 +02:00
Learath Lea ace7e8208a Fix a segfault when aborting a download 2015-01-28 14:13:56 +02:00
Learath Lea 2d61e7610e Fix the progressbar overflow 2015-01-28 13:57:11 +02:00
def 499adf3cdb HTTP instead of HTTPs 2015-01-27 23:14:04 +01:00
def 0df35a990c Remove spoof protection, interacts badly with HTTP download 2015-01-27 23:13:47 +01:00
def aaf8311304 Reset highlighting color 2015-01-27 01:13:27 +01:00
def 96e864e9c3 Fix: Make /map work with # 2015-01-23 21:47:16 +01:00
def c65458ca06 Fix compilation on MSVC (by coffee) (fixes #138) 2015-01-20 13:46:26 +01:00
def 3aa4a613b6 Make the option to disable http download work (thanks Learath2) 2015-01-20 00:26:09 +01:00
def 3b0a52319b Typo 2015-01-20 00:21:38 +01:00
def 3d686a223f Add an option to disable http map download (not working yet) 2015-01-20 00:21:28 +01:00
def 7adc47ae9d cl_ddnet_map_server -> cl_ddnet_maps_server 2015-01-20 00:11:54 +01:00
Dennis Felsing b6c07e40d2 Merge pull request #137 from Learath2/pr_FollowRedirect
Follow 3xx Redirects
2015-01-20 00:05:33 +01:00
Learath Lea 6b354475ce Follow 3xx Redirects 2015-01-20 01:01:35 +02:00
Dennis Felsing 554342eb3f Merge pull request #136 from Learath2/pr_CrcFail
Fix for the crc fail fallback.
2015-01-19 23:56:40 +01:00
Learath Lea c6ee3ebbed Fix for the crc fail fallback. 2015-01-20 00:51:55 +02:00
Learath Lea 93d6ca2102 Fixed the order of callbacks 2015-01-20 00:34:05 +02:00
eeeee e5970145f7 fix fetcher codez formatting 2015-01-19 14:09:30 -08:00
Learath Lea b8ec5c6e65 Fallback to gameserver if LoadMap fails 2015-01-19 23:34:57 +02:00
def 883cd3d7d3 Adaptation to work with DDNet 2015-01-19 22:19:27 +01:00
Learath 340e79904d Added fetcher interface.
Make fetcher client only and move Task class from interface.

Fix queue logic, add destructor.
LEAN_AND_MEAN moved up to prevent curl including the whole winapi

Remove JobNo, Fix callback, Cleanup debug messages.

Fix include guard

Copy the Url and Destination. Delete pTask.

Fix typo

Add Completion callback

Let the user pass context

Add virtual to inherited funcs

Use 0 instead of NULL

Give fetcher the ability to create folders. Fix couple of small bugs.

Added .lib files for MSVC.

Leave user the allocation of CFetchTask. Get rid of unnecessary cb
arguments.

Get the HTTP return code from libcurl.

Incorperate the storage system.

Fail on HTTP error >= 400.

Add more info to the task.

Add blocking way of getting HTTP resp code.
Remove resp code from normal tasks as we fail >= 400 anyways.

Sleep instead of killing the thread

Forgot one instance of respcode.

Provide HTTP download for maps.

Dont check 404 first.
2015-01-19 22:14:52 +01:00
Learath Lea d7771f8f7d Fix debug build on MinGW. Add json_get_boolean. 2015-01-19 22:14:50 +01:00
def 7d448e0d53 Version 6.6.8 2015-01-19 22:14:50 +01:00
nuborn 92c9646060 detect and predict weak/strong hook 2015-01-19 22:14:50 +01:00
timgame b53009db7c improved refill jumps tile 2015-01-19 22:14:49 +01:00
timgame 2ee0ca0648 added refill jumps tile and cleaned tile detection 2015-01-19 22:14:49 +01:00
def 78faf6b0bd Version 6.6.7 2015-01-19 22:14:49 +01:00
def 27ac37a9f0 Oops 2015-01-19 22:14:49 +01:00
def b4f7321dd6 Revert "Add unicode support for console output on windows"
This reverts commit 92cdb15679.

Conflicts:
	src/base/system.c
2015-01-19 22:14:49 +01:00
eeeee 073a552b82 fix mac os build 2015-01-19 22:14:49 +01:00
def c8405ce13e Add cl_show_broadcasts, but don't save it 2015-01-19 22:14:49 +01:00
def 99a77bdcbf Version 6.6.6 (someone waited for this) 2015-01-19 22:14:48 +01:00
def 72278a18cb Fix cl_default_zoom bug 2015-01-19 22:14:48 +01:00
def 47bc43a5af Version 6.6.5 2015-01-19 22:14:48 +01:00