Commit graph

3064 commits

Author SHA1 Message Date
oy 6fd0de865c changed back camera position for internet tab and fixed some line endings 2018-11-11 15:53:30 +01:00
oy d1b8b18b3a fixed flag position, closes #1640 2018-11-11 15:47:48 +01:00
oy d466c43c91 improved the camera movement for the menu map #1618 2018-11-11 15:21:59 +01:00
oy 686ecac38a fixed mouse sens in the editor 2018-11-11 14:51:29 +01:00
oy db08239506 adjusted the grenade ammo in the hud 2018-11-11 14:23:15 +01:00
oy 83fe7b5952 made gametype text in the server list align on the left and adjusted the corresponding icon rendering 2018-11-11 14:08:08 +01:00
oy fcfa0c6d42 adjusted the rendering of the server level icons 2018-11-11 13:56:52 +01:00
oy f639b8a673 removed graphical glitch when opening the sidebar 2018-11-11 13:46:17 +01:00
oy 3859f4ae97 removed no longer used info icons 2018-11-11 13:43:13 +01:00
oy 1274decdc5 show server info in the list when sidebar is closed 2018-11-11 13:35:36 +01:00
LordSk 1bf18f6c81 fixed white outline 2018-11-10 14:07:55 +01:00
Tom_Adams@web.de 693c409b96 fixed graphic issue with the mouse pointer. closes #1609 2018-11-10 09:19:13 +01:00
Tom_Adams@web.de 31c6d2684d removed the hud scaling. closes #1624 2018-11-10 09:19:03 +01:00
oy a9a013ca87
Merge pull request #1590 from LordSk/feature/chat_part1
Improve chat look and feel part 1
2018-11-10 08:53:00 +01:00
nheir 40912b8ef6 Fix: scoreboard on menu when game over 2018-11-10 01:33:16 +01:00
nheir 58439819c8 Disable scoreboard when on menu and hide motd when on menu
NB: the scoreboard was stuck if pressing TAB and going to menu because controls are disabled on menu
MotD is preserved if entering and leaving menu in the ClMotdTime
2018-11-10 01:20:34 +01:00
LordSk 6f90349433 Only show Team and Whisper categories, outline highlighted text, adjust colors 2018-11-09 20:44:36 +01:00
Tom_Adams@web.de ffba1d05c2 added reset filter feature 2018-11-08 19:01:02 +01:00
Tom_Adams@web.de a063f8d428 load/store sidebar settings 2018-11-08 19:00:51 +01:00
oy 74a29c1786
Merge pull request #1616 from Dune-jr/feature-redesigncontrolsmenus
Redesigned the controls menus, with a scrollbar, and independent dropdowns. Fixes #1597
2018-11-08 16:49:56 +01:00
Jordy Ruiz 447cef9595 Implemented independent dropdowns. Redesigned the controls menus, with a scrollbar. 2018-11-07 19:41:10 +01:00
oy d3553d5f2f started on reworking the server browser 2018-11-07 19:36:35 +01:00
oy 0b25463b75 adjusted the spam protection on the server a bit (fixes #1602) 2018-11-03 10:39:02 +01:00
oy 3e81eb7dac fixed hide console window (fixes #1599) 2018-11-03 08:58:31 +01:00
oy b699d2bf47 disabled dynamic camera by default and updated its description (fixes #1565) 2018-11-03 08:49:15 +01:00
oy b2243b7e88
Merge pull request #1604 from Dune-jr/feature-dyncamoption
Introduce cl_dynamic_camera option to toggle between camera modes
2018-11-03 08:41:59 +01:00
LordSk f24ed0887d Tuned down saturation/luminosity influence on team colors. 2018-11-02 21:11:57 +01:00
Jordy Ruiz 4d1160971f Introduced cl_dynamic_camera option to easily toggle between camera modes. Separated cl_mouse_max_distance in two settings, one for each mode 2018-11-02 15:33:41 +01:00
Jordy Ruiz 61f46541c8 Reintroduce code to move from a filter to the next, currently dead code. 2018-11-02 14:46:00 +01:00
oy 8221dac5de
Merge pull request #1596 from nheir/show_favorites
Use favorite list as a local master server
2018-11-01 20:29:25 +01:00
oy be6afd0481
Merge pull request #1593 from Dune-jr/feature-noconsole
In release builds, disable Windows console by default. Closes #1583
2018-11-01 20:10:41 +01:00
Jordy Ruiz 06c0c1a087 Fix server&friend browser spacing and scrolling 2018-11-01 17:27:18 +01:00
Jordy Ruiz 19e113cde3 Fix -c argument being ignored if not in first position 2018-11-01 12:09:36 +01:00
oy c8d300841b added missing localizations 2018-10-31 21:57:26 +01:00
oy 31f2594ee9 fixed internet server entries showing up in the lan section 2018-10-31 21:46:04 +01:00
Jordy Ruiz 54760abc9d Pass size of buffer to getKey 2018-10-31 20:59:07 +01:00
Jordy Ruiz c27ce66b3a Fix names to abide by naming conventions 2018-10-31 19:07:54 +01:00
oy eaab561b5b skip communication with the version server in case the client can't resolve the address 2018-10-31 18:21:39 +01:00
oy 9800dd4172 purge stored server info requests in case of a refresh 2018-10-31 18:19:27 +01:00
Jordy Ruiz 1b1cf5d312 Bugfix: inverted release and debug 2018-10-31 18:02:01 +01:00
Jordy Ruiz 055cdc87d4 In release builds, disable Windows console by default. Can be enabled again with -c/--console 2018-10-31 17:05:37 +01:00
Jordy Ruiz 2e5831ad34 Now can setup composed binds using the Controls menus. Binds are only set on key release, now. 2018-10-31 15:48:32 +01:00
Jordy Ruiz 9188a357b9 Fixed bug where composed binds would trigger simple binds ingame. Composed binds now work in menus even without including an Fn button 2018-10-31 14:27:52 +01:00
oy 9324e2e42b update time when server info requests are actually sent #1585 2018-10-30 19:08:08 +01:00
LordSk a9a003d981 Increased shadow intensity 2018-10-30 18:40:44 +01:00
Jordy Ruiz 404d8d709a Controls menus now support display of composed binds, and support changing them for simple binds. The only way to create composed binds remains the console. 2018-10-30 18:20:24 +01:00
LordSk 2983d1c318 Added [Category] at the start of each line,
Tweaked colours and used TexShadowed().
2018-10-30 18:18:22 +01:00
LordSk 5c5820a139 Decoupled text rendering and calculation (TextDeferredRenderEx),
Added TextShadowed() based on it.
2018-10-30 18:03:23 +01:00
Jordy Ruiz cfaa0ea638 Implemented support for Shift, Ctrl, Alt modifiers for binds (console-only for now) 2018-10-30 17:41:26 +01:00
nheir cb54ef66d9 Add fetching favorites info 2018-10-29 19:56:57 +01:00
oy 9eeb7dffa5
Merge pull request #1553 from LordSk/feature/1537
Fps limit option
2018-10-29 18:25:46 +01:00
LordSk 7b43aeb5ed Hide limit fps option when vsync is on 2018-10-28 21:48:14 +01:00
LordSk fed245011b Skip rendering frames 2018-10-28 21:31:23 +01:00
oy a50c7aeb90 fixed broken team change buttons 2018-10-28 14:11:24 +01:00
oy 576ae46e56 don't show player and tee setting tab ingame #1573 2018-10-28 14:05:55 +01:00
oy 8ae5eb2dcc made it possible to move the favorite filter on top 2018-10-28 13:52:01 +01:00
oy af31eed357 readded the client command 'team' #1561 2018-10-28 13:32:46 +01:00
Jordy Ruiz 5951545bc1 small code improvements, fixing wrong parenthesis again 2018-10-28 12:22:45 +01:00
Jordy Ruiz 12984794db Merge remote-tracking branch 'upstream/master' into feature-fixcompil 2018-10-28 12:13:55 +01:00
Jordy Ruiz a570efb756 Implemented a cl_filterchat option to choose between all chat, friends-only chat, or no chat; added a toggle button on the general menus. This replaces cl_show_chat_friends. 2018-10-28 11:09:28 +01:00
Jordy Ruiz b783340a51 Resolved merge conflict 2018-10-28 10:39:50 +01:00
Jordy Ruiz ee40b7eb37 Add missing parenthesis 2018-10-28 10:20:38 +01:00
Jordy Ruiz e4d3df5268 Replaced nullptr by NULL 2018-10-28 09:47:02 +01:00
oy fd99a6f7c9 fixed the delete friend button in the friends browser #1571 2018-10-27 17:51:19 +02:00
oy 6bea95dbfa fixed some warnings 2018-10-27 17:48:47 +02:00
oy 6410f26c70 check for valid game message id (#1572) 2018-10-27 16:24:42 +02:00
oy fdcb2f26fb switch to game start timer for the last 3 seconds of warmup to prevent 2 timers. #1567 2018-10-27 11:51:23 +02:00
oy bbdaf1ea3a reduced pause between round in survival gametypes by half. #1558 2018-10-27 11:49:57 +02:00
oy 21f97a9fa2
Merge pull request #1554 from Dune-jr/feature-fixkeybinds
Write unbindall to settings.cfg to avoid unbound keys being restored by defaults. Fixes #1540
2018-10-27 09:23:31 +02:00
Jordy Ruiz a637c72a40 Do not trigger highlighting for our own messages 2018-10-26 14:19:12 +02:00
Jordy Ruiz fd142e054b Fixed highlighting not being triggered when message is empty, after a colon 2018-10-26 14:17:51 +02:00
Jordy Ruiz 6d694396fc When saving config, now unbinds every unbound key that was bound by default 2018-10-25 19:25:22 +02:00
LordSk 1126fa8926 Cosmetic fixes, include intrinsics file for mingw 2018-10-24 21:34:08 +02:00
LordSk 8353185c5a Added gfx_limitfps option (allows gfx_maxfps to have a minimum other than 0) 2018-10-24 21:34:07 +02:00
LordSk dc43fdb7b5 Corresponding menu setting 2018-10-24 21:34:07 +02:00
LordSk 7ac512345a Fps limit 2018-10-24 21:34:07 +02:00
LordSk 2e6be01830 Removed commented out code 2018-10-24 17:52:40 +02:00
LordSk 5ef5a2655c Populate lists depending on desktop format 2018-10-24 17:41:47 +02:00
LordSk 43ad8787a4 Moved static ListBox variables to a CListBoxState struct 2018-10-24 17:04:56 +02:00
Jordy Ruiz 3915f09795 Write unbindall when saving to settings.cfg to avoid unbound keys being restored by defaults on the next session 2018-10-24 15:16:47 +02:00
oy 4d78d67d97 prevent disabling the pure filter in the standard browserfilter 2018-10-23 21:49:23 +02:00
oy a5f5853570 removed no longer used code 2018-10-23 21:44:03 +02:00
oy 656ed30d6d load/store server filters in a settings file 2018-10-23 19:07:44 +02:00
oy e05187eb0c
Merge pull request #1547 from LordSk/feature/1533
Display a hand in the settings menu
2018-10-23 18:26:44 +02:00
oy 5626715a53
Merge pull request #1545 from nheir/fix_motd
Show motd unless we actively wanna look the scoreboard
2018-10-23 18:25:19 +02:00
LordSk 72d96e9e2e fixed the tab situation 2018-10-23 17:55:05 +02:00
LordSk d9fd61261e Scale hand properly and draw it 2018-10-23 16:54:39 +02:00
LordSk ecea6edcf7 Relocated RenderHand to CRenderTools 2018-10-23 15:53:46 +02:00
nheir f9792eff63 fix debug crash on startup 2018-10-22 23:55:05 +02:00
nheir 9d58a7e1e6 Show motd unless we actively wanna look the scoreboard 2018-10-22 23:38:48 +02:00
oy 18e293ee62 update flag positions after updating the player ones 2018-10-21 10:37:50 +02:00
oy 9d5795fd18 don't play the hurt/hit sound when no damage was taken by an explosion 2018-10-21 10:36:13 +02:00
oy a5b437d301 fixed a problem with the scoreboard 2018-10-20 11:12:52 +02:00
oy fa3496c5a6 fixed a problem with the stored connless packet list 2018-10-20 10:45:23 +02:00
oy e244c2752d
Merge pull request #1527 from nheir/fix_ctf_count
Fix CTF teamscore for initial grabing
2018-10-17 17:04:48 +02:00
fokkonaut fa5b444503 remove unused broadcast definition 2018-10-16 21:47:43 +02:00
nheir 156650e047 Fix teamscore for initial grabing 2018-10-16 21:33:11 +02:00
oy a073f066f4
Merge pull request #1513 from Lucki/add_xdg
Add basic XDG support
2018-10-16 19:08:48 +02:00
Chiller Dragon 282e612b69
Consistent spacing 2018-10-15 16:00:51 +02:00
oy ca2210d0b8 fixed some warnings 2018-10-14 19:23:34 +02:00
oy 52941d22de added new maps to the standard map list 2018-10-14 16:58:41 +02:00
oy 21b95e140f added an option to skip the start menu 2018-10-14 16:47:36 +02:00
oy fbe0d1636c added the quit button to all menus 2018-10-14 16:27:21 +02:00
oy 61be6defa3 display client id hexadecimal 2018-10-14 16:10:23 +02:00
oy 31a2ef39d0 fixed problem with some config values 2018-10-14 15:30:38 +02:00
oy e54e5afdb3 added new deadtee image by android272 and fixed its rendering 2018-10-14 15:29:56 +02:00
oy 83434941fe fixed some menus 2018-10-14 12:35:21 +02:00
oy a4b000d99a changed game version to 0.7.0 2018-10-14 10:36:18 +02:00
oy 4cd588ee38 provide a client version via the status tool 2018-10-14 10:33:37 +02:00
oy ee253ddf57 fixed a server problem on dbgstress 2018-10-14 10:24:42 +02:00
oy ff6fb5a71b made server/friends browser useable 2018-10-14 09:55:44 +02:00
oy b3981fb74c fixed game info update 2018-10-13 17:12:55 +02:00
oy e451a1d28b removed stateless packets 2018-10-13 14:53:20 +02:00
oy 1db166cd18 changed master server port 2018-10-13 14:45:57 +02:00
oy b580a8dbc6 reverted hook behavior (#1488) 2018-10-13 13:36:25 +02:00
ZombieToad bff3749844
whisper typo 2018-10-12 22:39:01 +01:00
Lucki 74db619a4e
Add basic XDG support
Fixes #1504
2018-06-08 20:51:48 +02:00
oy 16d5c5234d added "Limit m_NumTimelineMarkers" by def-. (#1507) 2018-01-24 20:33:26 +01:00
oy 9092782254 fixed some line endings 2017-12-11 11:55:59 +01:00
oy 4c437b8a25 added default bind and menu setting for whisper chat mode 2017-12-11 11:55:22 +01:00
oy 548f326bc6 use tab to switch target in whisper chat mode 2017-12-11 11:27:35 +01:00
oy f548838356 merged whispering system by cinaera 2017-12-11 10:52:54 +01:00
oy 2503dfdaec finished skip tile based map loading 2017-12-11 09:50:15 +01:00
heinrich5991 787035a27a added support for saving slightly compressed maps 2017-12-10 21:33:54 +01:00
oy bda625de12 fixed last commit 2017-12-10 19:37:38 +01:00
heinrich5991 f9f8cabc4b Only use WriteConsoleW if the intended output is the console 2017-12-10 19:24:47 +01:00
heinrich5991 2d81b2fc33 Fix compilation on windows
const int wasn't detected as compile-time constant.
2017-12-10 19:24:47 +01:00
heinrich5991 8bcd40fa91 Add unicode support for console output on windows
Hints regarding the unicode support were taken from the libuv project, which
really helped.
2017-12-10 19:24:47 +01:00
oy 03d3fb0c71 cleaned up last commit 2017-12-10 19:04:09 +01:00
Needs c43fa1f34a Make client launchable from the browser given a special link
It's the exact same mechanism than mailto:foo@bar.com links, adapted to
teeworlds.  Such links looks like:

	teeworlds:1.2.3.4:8300
	teeworlds:localhost

Browsers may require extra configuration to be able to open such
links[1].

Once everything is set up, clicking on a link in any webpage will prompt
the user to pick an application to open the link.  Choosing (a
compatible) teeworlds client will open it and automatically connect it
to the given address.

Behind the scene, the browser will run the client with only one
argument: the full address.  Hence it is the same than running the
teeworlds client with the following command line:

	teeworlds "teeworlds:1.2.3.4:8300"

The rational for this change is to allow websites like teerank.com,
teeworlds-stats.info, and others to provide a link to directly connect
to a server.  Also users or webpages could also link a server.

[1]: http://kb.mozillazine.org/Register_protocol
2017-12-10 18:29:19 +01:00
oy 5e5218a88d fixed last commit 2017-10-07 20:43:35 +02:00
Zwelf 85b2f98d71 Improved spectator mode closes #1367
- follow flag
- click a player/a flag to follow in world-free mode
- click to go into the world-free mode while follow-mode
2017-10-04 21:04:22 +02:00
oy 055685406a fixed dynamic camera when spectating a player. (#1485) 2017-09-27 00:53:51 +02:00
oy 7a8687a618 fixed warnings on macosx 2017-09-17 18:50:06 +02:00
oy ea6d380f7f added „Made int packing functions safe“ by Redix. (#1502) 2017-09-17 18:31:55 +02:00
oy 10eb5fad87 fixed currentdir and added appdir search path 2017-09-16 19:10:19 +02:00
oy bd84c98893 skip text input when the console is open. (#1465) 2017-09-13 19:15:34 +02:00
oy e92f729cc9 fixed compiling on raspberry pi. (#1497) 2017-09-11 15:51:07 +00:00
necropotame 29731a111a Skip clipped groups that are outside the screen 2017-03-15 12:27:33 +01:00
oy 4a7db945c0 fixed font loading message and updated submodules 2017-03-15 12:26:12 +01:00
oy 2ae6a1b03c fixed a debug message. #1480 2016-12-18 11:26:52 +01:00
oy 20e3b6143a added "Fix kicking afk spectators joining the game" by Zwelf. #1482 2016-12-18 11:21:48 +01:00
oy 720874f831 added fix for intersectline by Speedy-Consoles. #1205 2016-12-18 11:11:55 +01:00
oy 3deb58d409 fixed typo 2016-12-18 11:07:26 +01:00
oy a09d498bc9 added some checks to snap handling 2016-12-18 11:07:10 +01:00
oy 0a8ce055cd removed old sdlmain code. Closes #1475 2016-09-13 21:42:28 +02:00
oy 170b487430 fixed compiling on macosx 2016-09-11 18:51:20 +02:00
Sonix Nik 5e0f760b37 Remove "some clan" text when using AntiSocial option 2016-07-16 11:30:01 +02:00
oy 0c8b327e3a fixed building with sdl 2.0.4 2016-07-05 17:13:31 +02:00
oy a2935faae3 removed some unused functions 2016-07-05 15:02:21 +02:00
oy 23a1b80f60 invalidate texture when unloading a texture. Closes #1450. 2016-07-02 10:33:37 +02:00
oy 176cb36682 reset error string for new connections 2016-06-30 13:04:54 +02:00
oy e9b4c70390 added social option by d3faultdotxbe (#1259) 2016-06-30 12:12:50 +02:00
oy 85b4cfd245 Added ids to names in the gui, removed ascii name restriction and fixed kick/spectate vote description 2016-06-26 18:28:33 +02:00
oy 2ff7628d65 skip automatic password generation in case initialization fails 2016-06-17 10:04:24 +02:00
heinrich5991 933159a652 Only generate rcon password if it's not manually set 2016-06-17 09:49:05 +02:00
heinrich5991 7af6e6ae5b If no rcon password is set, generate one
After the generation (using the OS random number generator), the password is
displayed to the user on stdout.
2016-06-17 09:49:05 +02:00
heinrich5991 903878f4a2 Add platform-independent secure random number generator 2016-06-17 09:49:05 +02:00
oy 0f0af75054 fixed button fading. Closes #1337 2016-06-16 17:38:44 +02:00
oy a16c4dbb7a fixed chat messages for kick and move to spec votes 2016-06-14 19:21:52 +02:00
oy 46d331b459 close votes on map change. Closes #1455 2016-06-14 19:14:46 +02:00
oy 8447152b0a autocomplete last player that highlighted you or got highlighted in chat 2016-06-14 18:32:09 +02:00
oy f9368007b1 cleaned up some constants 2016-06-13 11:12:09 +02:00
oy 135df7b3a1 fixed rendering of markings. Closes #1445 2016-06-13 10:41:48 +02:00
oy 7cd566b4ac fixed mistake in listbox code #1463 2016-06-13 10:19:17 +02:00
oy 7ebcb77072 move mouse cursor in the center of the screen on start. Closes #1441 2016-06-13 09:57:57 +02:00
heinrich5991 2eba774a62 Don't send uninitialized memory over the network 2016-06-13 09:11:04 +02:00
east 6faabe9122 Updating TokenCache in CNetClient 2016-02-14 16:49:52 +01:00
oy c9bf87e757 fixed flag capture timer. Closes #1454 2016-02-14 16:48:50 +01:00
oy 6a1939184d fixed last commit 2015-12-22 18:23:08 +01:00
Zwelf 49901e6fd7 allow vote caller to cancel his own vote 2015-12-22 18:17:41 +01:00
oy ceadee1d75 fixed picking the correct default resolution 2015-12-21 11:37:59 +01:00
oy bd14ce2a1b fixed last commit 2015-12-21 11:05:23 +01:00
msiglreith afa8e57ef2 fix rectangle calculation for reading of the backbuffer 2015-12-21 10:54:34 +01:00
msiglreith e71fde8c4e display selected color in toolbar and improve pipette workflow (switch back to edit mode on right-click) 2015-12-21 10:54:34 +01:00
msiglreith 667ca2d0c8 fix encoding issue 2015-12-21 10:54:34 +01:00
msiglreith ebac987a44 fix color picker logic and add palette feature to select color from pipette 2015-12-21 10:54:34 +01:00
msiglreith 890366bbe1 fix partially unresponsive picker logic 2015-12-21 10:54:34 +01:00
msiglreith e17d0597c2 add hsv color picker for editor 2015-12-21 10:54:34 +01:00
msiglreith d46f067b74 display selected color above the cursor 2015-12-21 10:54:34 +01:00
msiglreith b960e7491a refactor editor map view logic 2015-12-21 10:54:34 +01:00
msiglreith a516935854 add initial support for color picking from editor view 2015-12-21 10:54:34 +01:00
oy e268371fae just extend one filter in the server browser 2015-11-25 10:19:05 +01:00
oy 4b60022268 show number of servers and players per filter in the header 2015-11-25 10:05:35 +01:00
oy 8d18a5a55b adjusted spacing in the server browser 2015-11-25 09:53:26 +01:00
oy 3511ba2e37 added coloured death effect for teamplay. Closes #41 2015-11-24 17:35:41 +01:00
oy f846afd697 fixed last commit 2015-11-24 17:09:35 +01:00
oy 994005de8e fixed problem with the editboxes 2015-11-24 17:00:56 +01:00
oy 53f1ebf632 fixed last commit 2015-11-23 17:15:04 +01:00
oy 55a4ee2528 separated ingame input handling from the rendering. Closes #1056 2015-11-23 13:23:33 +01:00
oy 82771cc072 fixed problem with input handling that's not linked to rendering and some cleanup 2015-11-23 09:38:55 +01:00
oy 54b42845a5 fixed hook hook chain measurements 2015-11-21 16:46:49 +01:00
oy 8eaa040e3e fixed sprite rendering. Closes #44 2015-11-21 16:46:02 +01:00
oy a00fbf1121 added shortcuts to refresh browsers 2015-11-15 17:25:18 +01:00
oy 274c222051 fixed brush selection color. Closes #1429 2015-11-15 10:18:32 +01:00
oy 8155f3a95a fixed missing borders for current brush and tile layers in the map editor. #1429 2015-11-15 10:04:55 +01:00
oy fe0c9d9f4b added missing settings to the controls menu 2015-11-15 09:12:48 +01:00
oy ce7e10d465 fixed wrong calculation of weapon angle. Closes #1260 2015-11-15 08:03:24 +01:00
oy bad57e24ec fixed problem with mousewheel binds 2015-11-08 20:52:02 +01:00
oy 5bef0bcb8f fixed missing handling for mouse keys 2015-11-08 20:46:48 +01:00
oy 9f1d91e573 fixed size of the ingame exit button 2015-11-08 19:50:12 +01:00
oy 76aaf258d2 moved the connect button in the server browser, so it doesn't overlap with the ingame disconnect button. Closes #1389 2015-11-08 19:16:15 +01:00
oy 373f98ea3d cleaned up key press handling 2015-11-08 19:03:03 +01:00
oy bf61d41c49 improved the debug graphs. Closes #1058 2015-11-08 16:25:14 +01:00
oy b277320a57 added exit button to the ingame menu. Closes #1316 2015-11-08 16:03:43 +01:00
oy f6dcdfc459 do not show ingame settings tabs after disconnect 2015-11-08 14:11:43 +01:00
oy e52b5de410 merged image and standard menu buttons 2015-11-08 13:53:58 +01:00
oy cddfdd08ea some cleanup 2015-11-08 13:03:32 +01:00
oy e98921593b prevent lock of the ingame GUI. Closes #828 2015-11-04 18:11:14 +01:00
oy d107e34e1f changed standard filter to teeworlds and always keep it on top 2015-11-03 18:10:24 +01:00
oy a584c1b4c1 show empty filters in the server browser 2015-11-03 17:56:54 +01:00
oy d3eb83a3d9 fixed moving filters in the server browser 2015-11-03 17:53:30 +01:00
oy f02b0c8163 made random_int() just return positive values. Closes #1427 2015-11-03 08:47:52 +01:00
oy fae0115bd8 don't reload serverlist when switching between lan and global. Closes #1281 2015-11-01 20:05:26 +01:00
oy ee567f7769 fixed server info 2015-11-01 17:56:15 +01:00
oy eead3cf276 reworked serverbrowser 2015-11-01 17:50:45 +01:00
oy a9cceea57d mark highlighted messages in the client console. Closes #1364 2015-10-31 21:28:02 +01:00
oy fdcb58ac06 added timeout for lan server info requests and some cleanup 2015-10-31 20:38:21 +01:00
oy 25a1044141 fixed updating info from connected server. Closes #1412 2015-10-31 20:22:53 +01:00
oy b84b8ddfda cleaned up usage of the rand function 2015-10-31 12:15:52 +01:00
oy d3c1cd2641 fixed utf8 text input 2015-10-31 11:09:41 +01:00
oy f3a1e68df9 fixed laser clipping. Closes #1142 2015-10-30 19:55:51 +01:00
oy b864214f1e fixed updating screen config when moving the window to screen 0 2015-10-30 19:22:42 +01:00
oy 7a6d94b260 fixed command completion in the console 2015-10-29 20:01:07 +01:00
oy 23bfea6f79 changed names of the mouse buttons 2015-10-29 19:37:01 +01:00
oy ead8b9c82c enter server browser when pressing 'enter'. Closes #1146 2015-10-28 18:31:07 +01:00
oy dbc43249a5 fixed some unclear code safety. Closes #1285 2015-10-28 17:43:48 +01:00
KillaBilla f55a6e9034 added server-side debug messages for invalid player input 2015-10-27 18:13:50 +01:00
KillaBilla 086027343e show netobj and netmsg failures on debughud 2015-10-27 18:13:44 +01:00
KillaBilla 4e5d713f75 fixed #1211: netobjs containing integers and flags out of range are discarded
Conflicts:
	datasrc/compile.py
2015-10-27 18:12:06 +01:00
oy d55d6ab82d fixed saving config message 2015-10-27 16:58:43 +01:00
oy a97c15b20c switched from scancodes to keycodes 2015-10-27 16:56:20 +01:00
oy 50b98771cc changed some comments 2015-10-25 21:07:56 +01:00
oy 4423f20cd2 ignore mouse movements in absolute mode 2015-10-25 21:02:55 +01:00
oy 98c11d3d7d fixed bad mouse state on startup for macosx 2015-10-24 21:31:28 +02:00
oy e442a023f9 fixed typo 2015-10-23 18:58:22 +02:00
oy b81e295350 added some workaround for macosx 2015-10-23 18:50:06 +02:00
oy 0f2f071086 fixed problem on single screen 2015-10-23 18:42:37 +02:00
oy 482f5066b8 skip duplicate mousemode changes 2015-10-23 10:06:14 +02:00
oy 7a5285cff0 disable system cursor when in relative mouse mode 2015-10-23 09:56:41 +02:00
oy 4f8e924067 center the window on startup 2015-10-23 09:46:07 +02:00
oy f9c5e8b0f4 merged some duplicate code 2015-10-23 09:36:05 +02:00
oy 1c7f83f381 update video modes in settings when screen changes 2015-10-23 09:24:43 +02:00
oy 989b19a342 update screen config in case the window gets moved outside teeworlds 2015-10-23 09:12:59 +02:00
oy aacc0b0eda made selecting a value via scrollbar more sensitive 2015-10-23 08:52:14 +02:00
oy 6d038bd621 added a menu setting to switch the screen 2015-10-22 20:28:19 +02:00
oy dd98fd86eb added workaround to make switching screen work in fullscreen 2015-10-22 19:56:10 +02:00
oy 0b29a42e2b switch screen without restarting the client 2015-10-22 19:51:53 +02:00
oy 444b605d88 use the correct screen on startup 2015-10-22 19:21:58 +02:00
oy 6f28e9e662 filled maximize window dummy function 2015-10-22 18:47:29 +02:00
oy 00ae3c874e switch vsync without restarting the client 2015-10-22 16:41:18 +02:00
oy b27b7104ab switch between bordered and and borderless window without restarting the client 2015-10-22 15:44:03 +02:00
oy 4691df2607 made fullscreen switch via config 2015-10-22 11:04:30 +02:00
oy aac345ead3 made the tournament chat mode optional 2015-10-19 21:00:29 +02:00
xushTW 10a19ba7f9 redirect messages to teamchat when a tournament is running 2015-10-19 20:55:07 +02:00
oy e7534094ab switch between fullscreen and windowed mode without restarting the client 2015-09-29 19:40:35 +02:00
oy 53de4b36b3 fixed some warnings 2015-09-29 12:40:02 +02:00
oy 93651e7b54 some cleanup 2015-09-29 12:03:05 +02:00
oy f79c117f9e cleaned up centering the window 2015-09-29 11:58:45 +02:00
oy 2a96c6d247 use correct fullscreen on unix 2015-09-29 11:56:54 +02:00
oy 96c5f9bc9d removed some unused code 2015-09-29 11:52:10 +02:00
H-M-H 53b0fb53d9 set colors to 1.000 instead of 0.001 for new colorenvelopes 2015-09-21 18:56:04 +02:00
H-M-H a864c5c6fe fixed Envelopes-Bug see: http://forum.ddnet.tw/viewtopic.php?f=5&t=2277 2015-09-21 18:56:04 +02:00
fstd 69fe8ec1bc add /usr/pkg to the list of paths searched for data files (this is the default installation prefix on NetBSD (pkgsrc)) 2015-09-21 18:51:41 +02:00
oy 1fcb7e19e1 fixed masterserver 2015-09-21 18:39:23 +02:00
oy 3086a422f8 some cleanup 2015-09-20 18:25:38 +02:00
oy cd83db08b8 restored token for master server and some cleanup 2015-09-20 13:06:36 +02:00
oy 3f49c69522 restored master server 2015-09-20 12:46:06 +02:00
heinrich5991 29a4448dbc Fixed some bugs with the new protocol specification
Conflicts:
	src/engine/client/serverbrowser.cpp
2015-09-03 18:49:27 +02:00
heinrich5991 cedf0b7a58 New packet header specification
Conflicts:
	src/engine/client/client.cpp
2015-09-03 18:48:02 +02:00
heinrich5991 ea507a5161 Fixed serverbrowser
Conflicts:
	src/engine/client/serverbrowser.cpp
2015-09-03 18:43:58 +02:00
heinrich5991 ad070fe277 fixed connless packets sending 2015-09-03 18:42:38 +02:00
heinrich5991 4e7137ad48 removed backward compatiblity 2015-09-03 18:42:34 +02:00
heinrich5991 7129f17fb7 Added versionsrv to mastersrv (ONLY COMPILES, NOT TESTED)
- It's now selectable which services the master starts, available are:
	- mastersrv 0.5
	- mastersrv 0.6
	- mastersrv 0.7
	- versionsrv
2015-09-03 18:42:29 +02:00
heinrich5991 64c8fcd74a Finished mastersrv, now supports all versions
Fixed mastersrv packet building
2015-09-03 18:42:23 +02:00
heinrich5991 1c591793b0 refactored mastersrv, working for 0.7 only currently 2015-09-03 18:42:18 +02:00
heinrich5991 e49e67e2f4 Added some assertions to the network 2015-09-03 18:41:49 +02:00
heinrich5991 16f2899e3f Finished CNetTokenCache
Added basic support for mastersrv

Conflicts:
	bam.lua
	src/engine/shared/network_client.cpp
2015-09-03 18:41:32 +02:00
heinrich5991 9222e37aae added CNetTokenCache 2015-09-03 18:37:15 +02:00
heinrich5991 ea27d546ac fixed some things about connless packets
Conflicts:
	src/engine/client/client.cpp
	src/engine/server/server.cpp
2015-09-03 18:36:52 +02:00
heinrich5991 24d299ea34 Finalized server-client communication over the new protocol
Still missing:
	- Master server
	- Version server

Conflicts:

	src/engine/client/serverbrowser.cpp
	src/engine/shared/network.cpp

Conflicts:
	src/engine/client/client.cpp
	src/engine/client/serverbrowser.cpp
2015-09-03 18:33:57 +02:00
heinrich5991 3df02af240 fixed Hash function in src/engine/shared/network_token.cpp 2015-09-03 18:31:01 +02:00
heinrich5991 a92a2f5bdd added support for receiving connless packets over a connection
Conflicts:
	src/engine/shared/network_client.cpp
2015-09-03 18:30:38 +02:00
heinrich5991 1c15f404b2 added functionality to send connless packets to the connection peer
also reworked server info sending
FUNCTIONALITY TO RECEIVE CONNLESS PACKETS FROM THE CONNECTION
PEER IS STILL MISSING

Conflicts:
	src/engine/server/server.cpp
2015-09-03 18:27:14 +02:00
heinrich5991 bbf261891c Added typedef for the tokens 2015-09-03 18:22:09 +02:00
heinrich5991 66fcf9308c Changed CNetClient and CNetServer to work with CNetTokenManager
Conflicts:
	src/engine/shared/network_client.cpp
2015-09-03 18:21:52 +02:00
heinrich5991 2ba3cf859f Added response token and CNetTokenManager
Conflicts:

	src/engine/shared/network_client.cpp
2015-09-03 18:14:14 +02:00
heinrich5991 eaa036ed0f added support for tokens to connless packets
Conflicts:

	src/engine/shared/network.cpp
	src/engine/shared/network.h
2015-09-03 18:14:04 +02:00
heinrich5991 40978b87e9 added support for tokens in netbase and netconnnection (NOT TESTED)
preserves backward compatiblity for connless packets

Conflicts:

	src/engine/shared/network.cpp
	src/engine/shared/network.h
	src/engine/shared/network_conn.cpp
2015-09-03 18:13:51 +02:00
heinrich5991 058dc8d1ba added md5 library to teeworlds
Conflicts:
	bam.lua
2015-09-03 18:12:59 +02:00
oy f6862947d0 added reverse chat name completion by zwelf 2015-08-31 20:09:51 +02:00
oy a7a1aaff1d added game layer tile set picker + brush manipulation fix by Speedy-Consoles. #1159 2015-08-31 19:36:46 +02:00
oy 1a9e7a1ed0 cleaned up map handling. #1227 2015-08-31 19:35:10 +02:00
oy 43e38941dd Added fix for intersectline by Speedy-Consoles. #1205 2015-08-31 19:08:48 +02:00
Choupom c63551b450 fixed some memory leaks 2015-08-30 19:03:33 +02:00
Choupom b18d218c98 refactored CFlag 2015-08-30 18:48:55 +02:00
Choupom e86a486688 refactored CEntity 2015-08-30 18:46:46 +02:00
oy 453f720212 disabled the map checker 2015-08-30 18:12:15 +02:00
oy e401679055 fixed last commit 2015-08-30 18:10:31 +02:00
KillaBilla 008c50d429 fixed behaviour for standard maps, added a nullptr check 2015-08-30 17:22:28 +02:00
KillaBilla 52da970427 fixed code style and whitespaces 2015-08-30 17:22:28 +02:00
KillaBilla 1ea6100a3b removed debug messages 2015-08-30 17:22:27 +02:00
KillaBilla e96f1995b2 fixed mapchecker, made it check subdirs too before giving up 2015-08-30 17:22:26 +02:00
oy 0c2b1d4ab4 removed some unused stuff 2015-08-30 16:45:59 +02:00
oy 6e8cbf072d increased range of the serverlist request token. #1366 2015-08-30 11:21:31 +02:00
oy 246bebb773 show notification about disabled remote console only once 2015-08-30 10:47:35 +02:00
oy 66d9c5f790 reset tab completion just in case of manipulation. #1340 2015-08-30 10:00:13 +02:00
oy c92c633b95 fixed last commit 2015-08-30 09:58:00 +02:00
Zwelf b65b02c345 Fixes issues pointed out by heinrich5991
Byte lenghts of 128 Bytes is enouth and DDNet is using this lenghts too.
2015-08-30 08:54:42 +02:00
Zwelf 1df383ad90 Added initialisation of the variable aBuf
Sorry, didn't find this in the history of ddnet.
2015-08-30 08:54:42 +02:00
def f8278ec032 Display map name while downloading
Conflicts:
	src/engine/client.h
	src/engine/client/client.h
2015-08-30 08:54:41 +02:00
oy 329e6261f3 removed the extra projectile. #1381
Conflicts:
	src/game/client/gameclient.cpp
	src/game/server/entities/character.cpp
2015-08-30 08:46:51 +02:00
oy 7f78915171 fixed mouse lock in the editor. Closes #1383 2015-08-30 08:42:28 +02:00
oy b5095427b2 fixed a possible crash within snapshot handling and some misspellings. Closes #1382 2015-08-30 08:42:04 +02:00
encypruon d41c4b4dbd Fixed econ clients don't get dropped when banned 2015-08-30 08:41:45 +02:00
oy f9f9249477 fixed frozen input when leaving a server with active chat 2015-08-30 08:41:26 +02:00
oy 5b5a5875b8 made utf8 decoding check for valid continuation bytes. Closes #1373 2015-08-30 08:38:25 +02:00
oy 51c44953ca check for valid codevalue range on utf8 decoding 2015-08-30 08:37:58 +02:00
oy 014f77eefc skip duplicate error string. Closes #1339 2015-08-30 08:37:39 +02:00
oy 6722e8e3b1 fixed wrong types within vector constructors. Closes #1371 2015-08-30 08:37:10 +02:00
oy cbe133dce0 let the client check if a connection is still established and for the correct peer address before processing data. Closes #1356 2015-08-30 08:36:34 +02:00
oy cc2dcd865a force vital check on essential cl/srv messages and added additional sequence checking
Conflicts:
	src/engine/client/client.cpp
	src/engine/server/server.cpp
2015-08-30 08:31:29 +02:00
oy d4c00097a5 separated connless packet handling and use random port for client's server connection 2015-08-30 08:22:04 +02:00
oy b9e4c7e979 made server info requests more strict
Conflicts:
	src/engine/client/serverbrowser.cpp
2015-08-30 08:20:24 +02:00
oy e592d1b1fa fixed updating the menu map on change 2015-04-02 19:28:38 +02:00
oy 83ea5f71ad fixed a warning 2015-04-02 16:14:38 +02:00
oy 8f0c5d634b fixed fullscreen on mac osx 2015-04-02 15:37:47 +02:00
oy 15fa362905 fixed stuck mouse on mac osx 2015-04-02 15:28:41 +02:00
heinrich5991 cd26c89c2f Remove unnecessary use of the comma operator 2015-03-31 17:44:22 +02:00
oy 135640ac9b fixed compiling on mac osx. Closes #1334 2015-03-31 16:00:25 +02:00
oy 2283a3b785 fixed some quad rendering. Closes #1333 2015-03-28 10:49:02 +01:00
oy 39f1d3a7e2 fixed key handling for the console/binds. Closes #1331 2015-03-26 16:01:34 +01:00
oy 999163301e fixed a line separator 2015-03-22 15:24:26 +01:00
oy 663c39655e fixed last commit 2015-03-22 14:38:22 +01:00
oy 721739ed42 Merge remote-tracking branch 'remotes/swick/sdl2'
Conflicts:
	src/engine/client/backend_sdl.cpp
	src/engine/client/graphics_threaded.h
	src/engine/shared/config_variables.h
2015-03-22 14:10:53 +01:00
oy 845331bca3 Make SERVERBROWSE_GETINFO extensible. Closes #1324 2015-03-22 13:48:00 +01:00
oy cdcc641af3 made day/night detection more accurate and did some cleanup. Closes #1304 2015-03-22 13:44:19 +01:00
oy 191d7fab81 fixed custom skin colour picker 2015-03-22 13:28:28 +01:00
oy fa8959311e skip multiple skins during loading and prevent saving skin as special one 2015-03-22 13:15:18 +01:00
oy d0a028ae7e fixed saving skin with a name that already exists. Closes #1330 2015-03-22 12:54:08 +01:00
oy 939be9c949 cleaned up camera positions for the background map a bit 2015-03-10 19:37:21 +01:00
oy e6cfd22ca0 removed unused config variable 2015-03-10 19:31:29 +01:00
BeaR 2aab20bb80 Fix camera movement in the menu
* Wrap menupage updates
* Remove magic value
2015-03-10 19:24:43 +01:00
oy c727995ffa open quit popup when pressing escape in the main menu 2015-03-04 12:24:48 +01:00
oy 2fdd97df06 fixed some comments 2015-03-04 11:26:39 +01:00
heinrich5991 e872d7599e str_check_pathname: Only check for "..", "." is not dangerous 2015-03-04 11:20:50 +01:00
heinrich5991 1af9980b03 str_check_pathname: Also fail if the forbidden sequence is at the end 2015-03-04 11:20:49 +01:00
heinrich5991 d335694931 Make clearer comments on why the current path checking suffices
Also fix that it `str_check_pathname` counted dots even if they were after a
non-dot character.
2015-03-04 11:20:48 +01:00
oy 6a1a0d800f fixed last commit 2015-03-04 11:15:54 +01:00
Henningstone 7e180dfdb9 Make seekbar toggable/hide automatically 2015-03-04 10:54:56 +01:00