Commit graph

3330 commits

Author SHA1 Message Date
Jordy Ruiz ce38aec2ec Remove DamageInd armor flag, add a type field in Damage to distinguish self damage 2018-11-25 20:59:41 +01:00
LordSk 8c905013b5 Soft bottom bar corners, option do disable colors 2018-11-25 20:33:41 +01:00
LordSk bd1ef7cb54 User defined lines support 2018-11-25 20:33:41 +01:00
LordSk 23d1cc3953 Save lines state instead of calculating every frame 2018-11-25 20:33:40 +01:00
LordSk 8d19f5f8a8 Moved the code over to broadcast.cpp 2018-11-25 20:33:39 +01:00
LordSk dc449f84e5 Adjusted spectator bottom-right box, broadcast network back-end, options to disable/mute it 2018-11-25 20:33:39 +01:00
LordSk af49073f55 A few more fixes, better luminance calculation 2018-11-25 20:33:36 +01:00
LordSk 549470980a Fixed some utf8 issues (m_CharCount/m_GlyphCount), added color parsing 2018-11-25 20:33:36 +01:00
LordSk 3b0c088575 Setting up the display part 2018-11-25 20:33:35 +01:00
oy 35a1e26f97 fixed using the new level icons. closes #1669 2018-11-25 20:30:32 +01:00
oy 75350af11d added support for ai-controlled players #1390 2018-11-25 17:50:57 +01:00
oy 454af88ee5
Merge pull request #1717 from Dune-jr/feature-whisper-target
Whisper: properly blend icon, implement shift+tab, memorize last whisper target
2018-11-25 15:29:46 +01:00
Jordy Ruiz 0231027047 Add missing Localize 2018-11-25 14:56:44 +01:00
Jordy Ruiz 07dc2e0818 Remove unused variables 2018-11-25 14:55:53 +01:00
Jordy Ruiz 781e832117 Ctrl+Tab to go to previous whisper, instead of Shift+Tab 2018-11-25 14:26:38 +01:00
Alex Belke 234753b197
Fix server info tab 2018-11-25 12:36:46 +01:00
oy de85ec70bd fixed an initialization 2018-11-25 12:24:40 +01:00
oy dbbca2cc54 reworked ingame menus, updated to the style of the new design 2018-11-25 11:34:19 +01:00
Jordy Ruiz 2daca8d3cf Fix whisper icon not blending 2018-11-25 01:17:28 +01:00
Jordy Ruiz a985edce41 Improve whisper navigation: enable shift+tab, save last whisper target ID 2018-11-25 01:10:20 +01:00
Jordy Ruiz 79fda7979a Added Damage net event, informs of angle from which damage is taken and its amount; preparing future work 2018-11-24 23:59:17 +01:00
oy e865d1c15a increased the overall cuteness factor of the ingame menus. closes #1551 2018-11-24 17:52:51 +01:00
oy 0ea6c8adf0
Merge pull request #1711 from LordSk/feature/display_user_id
Display user IDs
2018-11-24 17:11:20 +01:00
oy 07f009b5a2 fixed faulty shift. closes #1714 2018-11-24 16:41:49 +01:00
oy 42707f9e79 Merge branch 'master' of https://github.com/teeworlds/teeworlds 2018-11-24 15:17:16 +01:00
oy e2684bc925 improved the ingame menus. closes #1611 2018-11-24 15:17:00 +01:00
Jordy Ruiz 91458b18f6 Scan for none.png for the checkerboard theme 2018-11-24 13:30:27 +01:00
LordSk 85c17b4626 Show correct whisper id 2018-11-23 19:40:24 +01:00
oy 43b8bac9ac Merge branch 'master' of https://github.com/teeworlds/teeworlds 2018-11-23 19:33:00 +01:00
oy 001921242b added a slight background to the menus 2018-11-23 19:32:04 +01:00
LordSk 19c2636a4e A few chat fixes, display id on chat log 2018-11-23 19:31:34 +01:00
LordSk 8f14070996 Added an option to turn it on/off 2018-11-23 19:31:33 +01:00
LordSk c19c60012c Append rect width 2018-11-23 19:31:33 +01:00
LordSk b285a3d96d Stylize it a bit 2018-11-23 19:31:32 +01:00
LordSk 72a6417400 Replace hard coded id display most everywhere 2018-11-23 19:31:32 +01:00
oy 8bc55e5e27
Merge pull request #1707 from Dune-jr/feature-themeselector
Theme selection
2018-11-23 19:12:59 +01:00
oy b2a93432e5 fixed flickering setting sound menu 2018-11-23 19:07:03 +01:00
oy c12ec2611f increased the alpha for not related tabs in the ingame menu 2018-11-23 17:25:53 +01:00
Jordy Ruiz 46df793b45 Merge branch 'master' of https://github.com/teeworlds/teeworlds into feature-themeselector 2018-11-22 20:35:35 +01:00
oy a6e8bb7a06 use linear mapping just for icons 2018-11-22 20:06:28 +01:00
oy 16f0823d28
Merge pull request #1709 from LordSk/feature/chat_whisper
Whisper UX/UI
2018-11-22 19:35:05 +01:00
oy 006a1cd1c0 improved the ingame menus. #1611 2018-11-22 19:17:21 +01:00
oy f1953c18a2 use linear texture mapping so textures don't get blurry when scaling done. closes #1708 2018-11-22 19:15:33 +01:00
oy 79c44862bd fixed switching to next/previous player in dead spec mode 2018-11-22 19:13:41 +01:00
oy b28e5285c6 don't let the client change spectator info when not in the spectator team 2018-11-22 18:39:32 +01:00
oy 556481078c fixed free-view 2018-11-22 18:37:49 +01:00
oy 12307ae6b0 decreased the cooldown for spectator mode changes 2018-11-22 17:40:51 +01:00
LordSk d6add414c7 Align icon properly 2018-11-22 14:20:45 +01:00
LordSk 83a8c77d36 Display whisper icon when typing and a few tweaks 2018-11-22 14:20:44 +01:00
LordSk 05c2af908a Display a whisper icon 2018-11-22 14:20:43 +01:00
LordSk acef8e178e Save the correct name 2018-11-22 14:20:42 +01:00
LordSk 0bf36fbbe5 Added TargetID in Sv_Chat for whispers 2018-11-22 14:20:42 +01:00
Jordy Ruiz 8fb0bf115b Allow loading of generic background maps, change the rules a bit; fix some code issues 2018-11-22 11:38:55 +01:00
Jordy Ruiz f37bf350d7 Changed default map from 'menu' to 'jungle' 2018-11-22 01:33:32 +01:00
Jordy Ruiz 2909152183 Removed now unnecessary menu option to disable map backgrounds 2018-11-22 01:27:32 +01:00
Jordy Ruiz e0d292be63 Implemnt theme selection, recognize automatically maps and icons in ui/themes 2018-11-22 01:25:19 +01:00
oy 208000d157 moved around the header bits to resemble the 0.6.5 header 2018-11-22 00:04:16 +01:00
oy b9610614a4 fixed warnings 2018-11-21 21:40:23 +01:00
oy 9d3ec8355c properly align the refresh and connect button in the server browser. closes #1701 2018-11-21 21:01:29 +01:00
oy 64e5165eef respect the maximum chunk number when constructing a packet. 2018-11-21 20:52:07 +01:00
oy 0bed238238 fixed the quit button character 2018-11-21 20:48:00 +01:00
oy 27c6f8ae46 increased the token size to 32bit and set a minimum datasize of 512bytes for token request to counter reflection attacks. #1681 2018-11-21 19:56:46 +01:00
oy 646d055a59 Merge branch 'master' of https://github.com/teeworlds/teeworlds 2018-11-21 19:48:35 +01:00
oy faee8cf6fe
Merge pull request #1702 from Dune-jr/feature-quitbutton
Change quit button to use unicode character \u2715, and resize it.
2018-11-21 19:19:24 +01:00
Jordy Ruiz 8f2adb2030 Change quit button to use unicode character \u2715, and resize it. 2018-11-21 17:10:04 +01:00
oy 27012ac42d only add tokens to the catch on request. increased seedtime and expire time for tokens in the cache to sync it better with the master heartbeats 2018-11-21 12:17:27 +01:00
oy 1c05f9ad6a fixed server registration again 2018-11-21 08:25:28 +01:00
oy a99addcb22 show current resolution in graphics settings 2018-11-20 20:18:50 +01:00
oy 7b51a1f03e some token polishing 2018-11-20 19:58:01 +01:00
oy 3010a3ad54 made the version server work again. closes #1407 2018-11-20 19:18:30 +01:00
oy 8011e3e8be tie the global tokens to broadcast token request response 2018-11-20 17:09:38 +01:00
oy abdde05df7 fixed death camera in survival modes. closes #1641 2018-11-20 16:59:25 +01:00
oy 5bc1d7cec0 use the lms naming convention for survival maps #1562 2018-11-19 19:16:25 +01:00
oy d9b1758d2d renamed 'sur' gametype to 'lts'. closes #1562 2018-11-19 18:50:15 +01:00
oy dda8b89ae9 try to fetch the token for stored packets again, as the initial request might got lost 2018-11-19 18:31:53 +01:00
oy bf7abb7def
Merge pull request #1673 from LordSk/feature/chat_part2
Chat look and feel part 2
2018-11-19 18:13:15 +01:00
oy 6fbe52ff3c increased the token cache size to speed up the server list refresh 2018-11-19 18:04:27 +01:00
oy a47f9faaf0 cache the master server list in a file and load it in case the masters are unavailable. #1154 2018-11-19 17:58:56 +01:00
oy edeb34153a
Merge pull request #1629 from nheir/feature/1610
Disable scoreboard when on menu and hide motd when on menu
2018-11-19 17:02:14 +01:00
oy 4584c16935 added the possibility to have silent enter/leave messages. closes #1539 2018-11-19 16:12:54 +01:00
oy b9ea02d13f
Merge pull request #1687 from Dune-jr/feature-refoldonclick
Hide server details when the server is clicked on again
2018-11-19 15:25:31 +01:00
Jordy Ruiz 3ef99d614a Only fold server browser entries when the line is clicked, not the details. Avoids doubleclick issues 2018-11-19 01:07:17 +01:00
Jordy 2fd60a331c Autswitch to info tab when a server is selected in the server browser (and add a console option) 2018-11-18 23:55:05 +01:00
Jordy 2c852c7f0f Now only gray out servers that cannot be joined. Closes #1605 2018-11-18 23:32:49 +01:00
oy 1c7e320441 added camera movement by sushitee and improved camera positions. closes #1618 2018-11-18 19:14:53 +01:00
LordSk d5d39c7879 A few tweaks 2018-11-18 15:49:57 +01:00
oy f549fbab0c show the heart icon to indicate a friend in the server browser and fixed alt+tab issue. #1670 2018-11-18 15:14:50 +01:00
oy ea5389d2f1 removed old friends browser code and fixed pop dialog when removing a friend 2018-11-18 12:33:36 +01:00
oy c65da92640 sort friends list 2018-11-18 12:12:01 +01:00
oy 695a538f78 some more removed dead code 2018-11-18 11:47:11 +01:00
oy e683bc3b5f moved the renderfiltertab code and removed some dead code 2018-11-18 11:46:30 +01:00
oy 7b963e5c15 adjusted the expand icons in the server browser. #1670 2018-11-18 11:37:18 +01:00
oy 5954c11739
Merge pull request #1688 from Dune-jr/feature-browserupdates
Server browser: update (i) icon; remove inline server filter editing
2018-11-18 10:17:15 +01:00
oy f344450f4c
Merge pull request #1686 from Dune-jr/feature-addlocalecontext
Add context to the locale for the Yes/No password field
2018-11-18 10:14:33 +01:00
oy edd1b13374
Merge pull request #1677 from LordSk/fix/button_fade
Fixed button fade getting stuck in some situations
2018-11-18 10:13:38 +01:00
LordSk 151a2f4f77 tune down highlight 2018-11-18 00:32:33 +01:00
Jordy Ruiz fdfe775979 Removed inline filter editing feature (#1670 9/10) 2018-11-18 00:18:58 +01:00
Jordy Ruiz 03a90a4dd1 Added arrows.png; updated the browser sidebar button (#1670 10/10) 2018-11-18 00:17:38 +01:00
LordSk 805206e3ac Fixed non-synchronized envelope time not being reset 2018-11-17 18:02:04 +01:00
LordSk d9dff698c6 Fixed editor mouse world position 2018-11-17 18:00:46 +01:00
Jordy Ruiz 1c9c78d382 Hide server details when the server is clicked on again 2018-11-17 15:54:45 +01:00
Jordy Ruiz 16ed5be406 Add context to the locale for the Yes/No password field 2018-11-17 15:10:05 +01:00
oy 92e9ee83d5 fixed not expanding the filter by using the tool icons. closes #1682 2018-11-17 12:59:12 +01:00
oy d0f286babe Added friends tab 2018-11-17 12:45:57 +01:00
oy 625ea7d891 improved the new filter and add gametype buttons 2018-11-16 20:05:48 +01:00
LordSk 902b6611fd Reverted time_get use, fixed m_LocalStartTime being reset 2018-11-16 18:52:15 +01:00
oy 617eccb74c fixed selected server when opening a different filter or switching between global and lan 2018-11-16 18:30:19 +01:00
oy 35f7b6a8b9 fixed scrollbar and prevent key-navigation when all filters are closed, selecting a server entry on filter close and still show the filter add feature in case all filters are closed 2018-11-16 18:06:28 +01:00
LordSk 4b4315d9e9 Display "spectators" when pressing the team chat button while spectating, fade and reduce the size of the black box. 2018-11-16 17:44:55 +01:00
oy 4af6b33058 just expand it when a server is selected 2018-11-16 17:24:21 +01:00
oy f9524e78a4 fixed server browser scrollbar when sidebar is closed 2018-11-16 17:19:48 +01:00
oy efecf3371d
Merge pull request #1598 from Dune-jr/fix-browserscroll
Fix server&friend browser spacing and scrolling
2018-11-16 16:20:37 +01:00
oy cf79fcc868
Merge pull request #1680 from Dune-jr/feature-browserfixes
Fix&improve the server browser (issue #1670)
2018-11-16 15:55:29 +01:00
oy 803f88b81a
Merge pull request #1679 from Dune-jr/feature-exitbutton
Enhanced the 'X' quit button with the proper icon and a fading red color
2018-11-16 15:47:18 +01:00
oy 37d63f56e7
Merge pull request #1676 from LordSk/fix/pma
Pre-multiplied alpha fix
2018-11-16 15:33:06 +01:00
oy 8adaad3d15
Merge pull request #1675 from Dune-jr/reorganize-settingsmenus
Add option to disable background maps; reorganize menus a bit
2018-11-16 15:13:21 +01:00
Jordy Ruiz 138a90b001 Make server filter tabs toggle-able with the Tab and Shift+Tab keys (#1670 8/10) 2018-11-16 14:05:55 +01:00
Jordy Ruiz cfc4485f4b Reorder filter tabs to put friends last, adjust sizes to 30-30-40, from 25-25-50 (#1670 7/10) 2018-11-16 13:57:46 +01:00
Jordy Ruiz 4596b922be Add some space between the + and Clear in the gametype filter (#1670 6/10) 2018-11-16 13:31:21 +01:00
Jordy Ruiz 8cfc49d593 Remove top left icons (#1670 5/10) 2018-11-16 13:25:22 +01:00
Jordy Ruiz 1a50a027c0 Do not show the game types scrollbar when it's not necessary (#1670 4/10) 2018-11-16 13:20:16 +01:00
Jordy Ruiz ec4e6ead87 Make dropdown filters expandable by clicking on the line (#1670 1/10) 2018-11-16 13:08:17 +01:00
Jordy Ruiz 75a4597306 Enhanced the 'X' quit button with the proper icon and a fading red color 2018-11-15 21:10:23 +01:00
Jordy Ruiz 085fbd85b5 Added Ctrl+up/down functionality to switch filters 2018-11-15 18:40:50 +01:00
Jordy Ruiz 7f725f11cf Fix up&down key behavior for the server browser scrollbars, make UI code more readable, clean up useless parts and convoluted computations. 2018-11-15 17:54:00 +01:00
Jordy Ruiz 250a4c99e5 Merge with master 2018-11-15 17:53:38 +01:00
LordSk 04bf6c40cb Fixed button fade getting stuck in some situations 2018-11-15 16:54:59 +01:00
LordSk 76ec843f35 Fixed pre-multiplied alpha for flags, damage indicators, emotes and tile layers 2018-11-15 13:48:57 +01:00
Jordy Ruiz 12a9d2a842 Fix text overlap in server info screen. Addresses #1671 2018-11-14 16:38:01 +01:00
Jordy Ruiz a9c3e3c4d2 Add menu option to disable background maps. Addresses #1566 2018-11-14 16:37:09 +01:00
Jordy Ruiz ab8b363a56 Reorganize menus a bit, adjust sizes for translations 2018-11-14 16:30:00 +01:00
LordSk e6bc7077ed fixed c++11 initialization 2018-11-14 15:49:44 +01:00
LordSk a30eff82a3 Take ClipEnable/Disable into account when checking mouse pos 2018-11-14 15:18:32 +01:00
LordSk c6467295f3 Completely fade out background rect, added back outline, restored beep on whisper. 2018-11-14 14:22:08 +01:00
LordSk 5b28eac915 Icon + box behind category when typing 2018-11-14 14:22:08 +01:00
LordSk 4b8641ec41 Show chat when typing, dark background to enhance readability when showing chat. 2018-11-14 14:22:08 +01:00
LordSk 6338ae947d Highlighted line fading background 2018-11-14 14:22:07 +01:00
oy d2365df927
Merge pull request #1664 from Dune-jr/feature-sndinitopt
Add a separate option to turn off audio and to disable the initialization of sound systems
2018-11-12 22:30:08 +01:00
Jordy Ruiz e9a7bb7088 Fix must-restart bottom text not being triggered in a specific scenario in the sound menus 2018-11-12 22:26:28 +01:00
oy 27a7691263 fixed some texture issues #1667 2018-11-12 22:17:32 +01:00
Jordy Ruiz 5194cf66fe Do not let SpecialBinds capture anything that doesn't have an Fn key 2018-11-12 22:14:49 +01:00
oy 3519270de8
Merge pull request #1662 from Dune-jr/fix-menusarrowcapture
Menus now properly capture up&down arrow inputs
2018-11-12 20:56:18 +01:00
oy e52a7452bc
Merge pull request #1661 from Dune-jr/fix-consolechain
Remove outdated console chain code for browser filters
2018-11-12 20:55:28 +01:00
oy 28f92559df
Merge pull request #1655 from LordSk/feature/ninja_bar
Ninja bar
2018-11-12 20:55:06 +01:00
oy 0ef6447e73
Merge pull request #1657 from axblk/json_parser_update
Update json-parser
2018-11-12 20:48:41 +01:00
oy 666cb3a32f
Merge pull request #1653 from axblk/zlib_update
Update zlib to 1.2.11
2018-11-12 20:42:28 +01:00
oy df66574d18
Merge pull request #1650 from axblk/ping_correction
More accurate ping estimation in the scoreboard
2018-11-12 20:40:25 +01:00
Jordy Ruiz bd0b5f846a Update m_NeedRestartSound to be triggered by changed to snd_init 2018-11-12 15:39:10 +01:00
nheir eb8f1f109a Remove useless code 2018-11-12 15:26:45 +01:00
Jordy Ruiz b5571f0434 Add a separate option to turn off the audio and to disable the initialization of sound systems. Adapt the menus a bit. 2018-11-12 14:33:11 +01:00
Jordy Ruiz 74e1c59717 Menus now properly capture Up&Down arrow inputs. Closes #1660 2018-11-12 14:06:55 +01:00
Jordy Ruiz cf586f0a1e Remove outdated console chain code for browser filters 2018-11-12 10:41:25 +01:00
Redix 733d077bf5 Update json-parser 2018-11-11 21:23:56 +01:00
LordSk 7d3e320d18 Draw ninja bar 2018-11-11 19:54:49 +01:00
Redix 81a2df7e28 Update zlib to 1.2.11 2018-11-11 19:41:44 +01:00
Redix 3ef912f4ec Remove unused CClient::DirectInput method 2018-11-11 19:07:55 +01:00
Redix 77924b4254 More accurate ping estimation in the scoreboard 2018-11-11 19:04:19 +01:00
oy e2c6ce81eb fixed dead tee offset. closes #1648 2018-11-11 18:26:21 +01:00
oy 26ebd7817d fixed ingame cursor graphic glitch. closes #1649 2018-11-11 18:12:57 +01:00
oy 925d2c6783
Merge pull request #1646 from axblk/sur_crash_fix
Fix for a client crash when reloading a survival game with sv_warmup -1
2018-11-11 17:30:03 +01:00
Redix a3500d1c02 Check the ClientIDs when receiving a snapshot 2018-11-11 16:47:53 +01:00
Redix 4fda4e335d Make sure to always enter a warmup state after reloading 2018-11-11 16:21:06 +01:00
oy 2a46b17453 fixed chat message in the console 2018-11-11 16:20:59 +01:00
Redix 1d2889a3ac Skip end-round state when the match is over
Fixes the match-end time in survival
2018-11-11 16:20:02 +01:00
Redix 3ed64edfb8 Verify that the GameData snap-item exists before using it 2018-11-11 16:19:20 +01:00
Redix 62885e8228 Fix end-round time
In some cases m_GameStateEndTick had a negative value, so the client ignored the GameData snap item
2018-11-11 16:19:08 +01:00
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