Commit graph

3192 commits

Author SHA1 Message Date
oy 4d992ecc43 made the add friend button text more logical and fixed alignment. closes #1879 2018-12-16 09:56:58 +01:00
oy a0875f6498 fixed removing of online clan friend. closes #1877 2018-12-16 09:49:58 +01:00
oy 512133fd4a
Merge pull request #1868 from nheir/fix/1867
sort by real players/clients
2018-12-15 13:53:02 +01:00
nheir 1cb89e3cc9 typo == 2018-12-15 13:48:41 +01:00
oy fd541861f5
Merge pull request #1870 from nheir/fix/1866
fi: uid background is red in dm
2018-12-15 12:57:23 +01:00
oy 868b35fea0
Merge pull request #1864 from nheir/fix/invalid-serverinfo
Fix: invalid serverinfo
2018-12-15 12:56:25 +01:00
sepulzera 82ac68b38f Fix change_map command not always changing (close #1841)
After applying this commit, the change_map command will work even
- when in warmup
- when the map is not finished (sv_matches_per_map)
2018-12-15 10:06:51 +01:00
nheir d868225f1d fi: uid background is red in dm 2018-12-15 10:02:07 +01:00
nheir 99725c7417 remove comments 2018-12-15 09:44:23 +01:00
nheir 0809eefc1c sort by real players/clients 2018-12-15 09:36:53 +01:00
nheir 16f608ab91 fix: NumClient > MaxClients is invalid 2018-12-14 20:42:32 +01:00
sepulzera 9adb31df81 Fix CycleMap end map matches 2018-12-14 20:09:29 +01:00
oy d1bf48f42c
Merge pull request #1794 from Dune-jr/feature-cancel-emote
Emotes can now be cancelled by releasing the mouse in the middle of the circle
2018-12-13 20:57:35 +01:00
Jordy Ruiz e716482d58 Adjust volume label size 2018-12-13 13:40:00 +01:00
oy 563ae8231a fixed click a player to follow note just showing up on own teamchange. closes #1848 2018-12-12 23:48:16 +01:00
oy 41846559bf
Merge pull request #1837 from Dune-jr/fix-activelistbox
Language/Theme listboxes now always render selection, despite not always accepting inputs
2018-12-11 20:43:37 +01:00
Jordy Ruiz 6139aaf42b General settings listboxes now only process inputs after being clicked on 2018-12-11 12:10:30 +01:00
oy 19e918d0f1 fixed overlapping name within ingame server info. closes #1832 2018-12-10 21:08:27 +01:00
oy 62dbf469fe
Merge pull request #1836 from Dune-jr/fix-theme-saving
Fix none theme not saving properly (default is selected at restart) - #1833
2018-12-10 20:37:18 +01:00
Jordy Ruiz faec1e553b Do not complain about invalid ClientID when no parameter is given to chat whisper 2018-12-10 18:14:34 +01:00
Jordy Ruiz d8392baa40 Default general settings listboxes to none selected 2018-12-10 17:50:37 +01:00
Jordy Ruiz 288236891d Language/Theme listboxes now always render selection, despite not always accepting inputs 2018-12-10 17:23:53 +01:00
Jordy Ruiz e25c28e8e3 Fix none theme not saving properly (default is selected at restart) 2018-12-10 15:31:43 +01:00
oy c4fbceb02e fixed stuck input. closes #1761 2018-12-09 19:44:33 +01:00
oy a05e40f96a fixed clipping in the server browser. closes #1818 2018-12-09 19:27:22 +01:00
oy 0e9b8aa220
Merge pull request #1822 from Dune-jr/fix-countryflags
Fixed the selection of UK flags
2018-12-09 19:00:24 +01:00
oy ea6c6953e0 fixed chat messages for players with empty names. closes #1775 2018-12-09 18:58:34 +01:00
Jordy Ruiz c7036b9987 Also fix country flags selection in the server browser 2018-12-09 18:49:54 +01:00
oy 80843bcf27
Merge pull request #1824 from Dune-jr/fix-readystate
Fix readystate when player leaves or spectates (#1784)
2018-12-09 18:28:06 +01:00
oy 0f9270e7d4
Merge pull request #1823 from LordSk/fix/scoreboard_swap_ping_score
Scoreboard: Moved ping column
2018-12-09 18:22:26 +01:00
oy 1b020f4ca9
Merge pull request #1820 from savander/bug/no-hover
Add hover over quick search button
2018-12-09 18:13:10 +01:00
Zwelf 68920a037e Set alt key to move between words for OSX 2018-12-09 15:42:34 +01:00
Zwelf b37f77574e Added ctrl+arrows/backspace/delete keys for text input 2018-12-09 15:42:32 +01:00
LordSk 5548ee01bd Swapped Ping and Score columns 2018-12-09 15:31:22 +01:00
Jordy Ruiz 9809b18488 Fix disconnecting players being counted in GetPlayersReadyState 2018-12-09 15:29:29 +01:00
Jordy Ruiz e6b91a97c2 Fixed blocked flags causing the selected flag to not match the ListBox index 2018-12-09 14:29:54 +01:00
Unknown 1d0078be49 Fix packet resending 2018-12-09 00:25:07 +01:00
Savander 7c0a03a005 Add hover over quick search button 2018-12-09 00:14:23 +01:00
oy c25fd502a0
Merge pull request #1815 from fokkonaut/master
fix typo (capital letter in console)
2018-12-08 17:54:08 +01:00
oy e61b3645aa
Merge pull request #1806 from Dune-jr/fix-checkmark
Fix scoreboard spacing, make some room for the checkmark
2018-12-08 17:50:36 +01:00
fokkonaut 4143e8af7e fix typo (capital letter in console) 2018-12-08 17:04:34 +01:00
Jordy Ruiz fd2e933de5 Fix damage indicators angle 2018-12-07 19:28:12 +01:00
Jordy Ruiz 8dfbc705af Make some more room for the checkmark 2018-12-07 19:00:19 +01:00
Jordy Ruiz fac3dba7e6 Resume game when last non-ready player leaves or spectates 2018-12-07 12:45:33 +01:00
oy b9144fb5f1
Merge pull request #1800 from Dune-jr/add-locale-context
More localization context
2018-12-06 20:56:01 +01:00
oy d25e419efc
Merge pull request #1796 from Dune-jr/fix-votekey
Fix broken key helper in callvote popup
2018-12-06 20:55:02 +01:00
Jordy Ruiz 4e84c04c35 Remove red/blue as locales, reuse red flag/blue flag instead 2018-12-05 17:58:42 +01:00
Jordy Ruiz 6c60a2cc50 Add context to some locales 2018-12-05 17:57:21 +01:00
Jordy Ruiz 583e37f418 Fix broken key helper in callvote popup 2018-12-05 16:02:10 +01:00
Jordy Ruiz d04d29dd1c Emotes can now be cancelled by releasing the mouse in the middle of the circle. Closes #1786 2018-12-05 13:07:00 +01:00
Jordy Ruiz 1cf43b7ae7 Move 'Show user IDs' option up to keep consistency 2018-12-04 19:04:43 +01:00
oy 1cdd43d6de
Merge pull request #1774 from Dune-jr/remove-gfxrefreshrate
Remove unused gfx_refresh_rate option
2018-12-04 18:27:56 +01:00
Jordy Ruiz d87a157c65 Remove unused gfx_refresh_rate option 2018-12-04 17:00:34 +01:00
Jordy Ruiz e46d0084eb Add some more localization context for the menus 2018-12-04 09:12:09 +01:00
Jordy Ruiz c274925af7 Fix some localizations 2018-12-04 09:06:16 +01:00
oy ee8b6dff99
Merge pull request #1767 from ChillerDragon/UnusedConnect
Remove unused connect code
2018-12-03 18:48:32 +01:00
ChillerDragon bede7e0b14 Remove empty lines 2018-12-03 17:00:53 +01:00
ChillerDragon 24aed18b61 Remove unused connect code 2018-12-03 15:39:19 +01:00
LordSk 4b09431c78 Map screen again since moving the function up removed it 2018-12-03 13:48:47 +01:00
oy 6febd33997 fixed data dir detection on macos 2018-12-03 10:37:26 +01:00
oy a25f7e57e5 changed version to 0.7.1 2018-12-02 19:40:22 +01:00
oy c5af2a77a5 show a notification "click a player or flag to follow it" when joining spectator 2018-12-02 18:21:53 +01:00
oy 814c76248a Merge branch 'master' of https://github.com/teeworlds/teeworlds 2018-12-02 17:33:12 +01:00
oy 9b50815c6e fixed problem with initializing sv_player_slots 2018-12-02 17:33:02 +01:00
oy 4f71242925
Merge pull request #1760 from ChillerDragon/UnusedGraphicsInclude
remove unused graphics include
2018-12-02 17:13:59 +01:00
oy 359042fb42 fixed that set_team commands respect the available player slots 2018-12-02 17:11:14 +01:00
ChillerDragon fa7f7d6b7d remove unused graphics include 2018-12-02 17:06:59 +01:00
oy 548baa7b70
Merge pull request #1759 from LordSk/fix/chat_truncated
Adapt chat size depending on scoreboard
2018-12-02 16:11:48 +01:00
LordSk 05b6440739 Adapt chat size depending on scoreboard 2018-12-02 16:04:58 +01:00
nheir 8184bc1119 sanitize sv_player_slots 2018-12-02 15:59:37 +01:00
oy afb5029c61 added id's to the scoreboard. closes #1747 2018-12-02 15:09:44 +01:00
oy 2ac756c5f0 fixed team change unbalance indication in the ui. #1752 2018-12-02 13:43:42 +01:00
Henri D 1653d47350
ignore 0 damage 2018-12-02 12:55:10 +01:00
oy 2c76f33f93 fixed events for 64 players 2018-12-02 12:43:55 +01:00
oy c87fcb293e check for valid placeholders within translation files 2018-12-02 00:12:23 +01:00
oy 3e9eeff1c5 fixed offset of the ctf flag in the scoreboard 2018-12-01 21:00:11 +01:00
oy bce1eda7bb reduced alpha of the game menu and adjusted the record button 2018-12-01 19:14:36 +01:00
oy 5768a35018 moved game buttons to the top. #1698 2018-12-01 18:02:17 +01:00
oy 3bb6f9d959 fixed a typo 2018-12-01 15:24:42 +01:00
oy 23c9682e2c increased the flags in the scoreboard 2018-12-01 14:31:47 +01:00
oy 6c3e2713de fixed server crash 2018-12-01 14:24:00 +01:00
oy 9637215859 fixed player stat reset 2018-12-01 14:07:57 +01:00
oy 3209791976
Merge pull request #1580 from nheir/more_spec
Increase the number of clients (max 64) for more spectators
2018-12-01 13:45:01 +01:00
nheir 8a3fc7aa60 drop server with MaxPlayers > MAX_PLAYERS only if standard gametype 2018-12-01 13:25:55 +01:00
nheir 6dc5385d3d improve ingame menu players scrollbar 2018-12-01 13:20:55 +01:00
nheir 375e040c7a Add scrollbar to ingame Players menu 2018-12-01 13:20:55 +01:00
nheir 2b471f31f2 use 2 columns for 17 to 32 players, 3 for 33-48, 4 otherwise 2018-12-01 13:20:55 +01:00
nheir 62e0ee998c fix: ... other players is cropped 2018-12-01 13:20:55 +01:00
nheir 9c86850d70 scale down spec view highlight 2018-12-01 13:20:55 +01:00
nheir b86d96fc95 Scale down tee in spec view 2018-12-01 13:20:55 +01:00
nheir 6aa81c2b20 move up player list to feel more centered 2018-12-01 13:20:55 +01:00
nheir 820cd16c34 wrong first colomn 2018-12-01 13:20:55 +01:00
nheir b2352bb4b0 workaround to show more than 16 players in spectator ui 2018-12-01 13:20:55 +01:00
nheir 84ccee1d86 Limit the max size of the scoreboard to 16 lines 2018-12-01 13:20:00 +01:00
nheir 7887e492e4 Crop spectator list on scoreboard to 4 lines 2018-12-01 13:20:00 +01:00
nheir b2b72d4006 Reset scoreboard size on OnReset() 2018-12-01 13:20:00 +01:00
Henri Derycke 9cd1cf2459 fix wrong indice 2018-12-01 13:20:00 +01:00
Henri Derycke c221a6b3dd debug: up to MAX_CLIENTS-1 dummies 2018-12-01 13:20:00 +01:00
Henri Derycke 760ed1163d Fix item height when there is a scrollbar 2018-12-01 13:20:00 +01:00
Henri Derycke 46faf532dd Add horizontal scrollbar for scoreboard in server browser 2018-12-01 13:20:00 +01:00
oy c6f0d19df5 try to fix missing data dir for the mac app 2018-12-01 13:17:19 +01:00
oy 6884cb617a Merge branch 'master' of https://github.com/teeworlds/teeworlds 2018-12-01 13:11:57 +01:00
oy b8fcdf9c8b fixed kill messages when a player leaves. closes #1744 2018-12-01 13:11:44 +01:00
Henri Derycke a867847712 fix wrong limit and calculation 2018-12-01 13:10:41 +01:00
Henri Derycke 38fc5ff50a add support for ingame scoreboard (untested) 2018-12-01 13:10:41 +01:00
Henri Derycke 9450a9e72d misplace silent mode 2018-12-01 13:10:41 +01:00
Henri Derycke 412db81508 Add silent mode for join/leave message of spectators 2018-12-01 13:10:41 +01:00
Henri Derycke 584ac1aba4 Add cropped list for serverbrowser embeded scoreboard
Add scrollbar for server browser scoreboard
2018-12-01 13:10:41 +01:00
Henri Derycke 8b02113744 forgot Console->Chain sv_player_slots 2018-12-01 13:10:41 +01:00
nheir 4efa8b90c9 Drop servers with MaxPlayers > MAX_PLAYERS 2018-12-01 13:10:41 +01:00
nheir 98bee55a41 Allow more spectators
Replace sv_spectator_slots by sv_player_slots
Introduce MAX_PLAYERS to 16 (original MAX_CLIENTS)
2018-12-01 13:10:41 +01:00
oy bb544ca3ae
Merge pull request #1589 from Dune-jr/feature-complexbinds
Implement composed binds (Ctrl, Shift, Alt); adapt controls menus.
2018-12-01 12:54:34 +01:00
oy 0e655437c9 use linear mapping for the gametype icons and fixed c&p error 2018-12-01 12:47:14 +01:00
oy 9b6db9b26c Merge branch 'master' of https://github.com/teeworlds/teeworlds 2018-11-30 19:15:54 +01:00
oy 7a7785e9f3 properly align selected header in the server browser. closes #1738 2018-11-30 19:15:42 +01:00
oy ec9cf90e1e use gametype icons. #1637 2018-11-30 19:06:25 +01:00
oy 148f149af3
Update broadcast.cpp 2018-11-30 17:08:20 +01:00
oy 0d30c48080
Merge branch 'master' into master 2018-11-30 17:04:34 +01:00
oy 7fa0dc05d9
Merge pull request #1743 from LordSk/fix/editor_mouse_delta
Fixed editor world mouse delta (used when moving quad points)
2018-11-30 17:01:42 +01:00
oy 2f1646f5b1
Merge pull request #1741 from LordSk/fix/broadcast_scoreboard
Fixed broadcast not being shown when scoreboard/motd is active
2018-11-30 17:01:19 +01:00
oy c0da735639
Merge pull request #1740 from Dune-jr/fix-warnings
Fix some warnings
2018-11-30 17:00:48 +01:00
oy c58510c345
Merge pull request #1716 from Dune-jr/feature-damage-netevent
Add Damage net event
2018-11-30 17:00:30 +01:00
Chiller Dragon 13f0d259a5
Fix too much indentation 2018-11-30 13:27:04 +01:00
LordSk 3536803519 Fixed editor world mouse delta (used when moving quad points) 2018-11-29 21:42:03 +01:00
LordSk 2cbdda7c62 Don't show if offline, reset on join 2018-11-29 17:24:33 +01:00
LordSk ba5083f8ff Fixed broadcast not being shown when scoreboard/motd is active 2018-11-28 17:41:59 +01:00
Jordy Ruiz a4c4607a59 Fix some warnings 2018-11-28 11:40:09 +01:00
oy 499653cd2c consider max clients configuration for dbg_dummies. closes #1735 2018-11-27 19:24:14 +01:00
Jordy Ruiz ff1ba08a0c Fix typo 2018-11-27 19:23:00 +01:00
Jordy Ruiz 029b0accbd Removed DamageInd net event. Moved the server code to the client, using the new Damage net event. 2018-11-27 18:57:17 +01:00
oy d86165b63c changed ready character to a checkmark. #1736 2018-11-27 18:09:34 +01:00
oy a103c0bf3c
Merge pull request #1736 from Dune-jr/feature-smallreadystate
Make the ready state indicator a small green star instead of the whole line green
2018-11-27 18:03:01 +01:00
LordSk 44ec214c31 Reverted alpha changes 2018-11-27 17:29:40 +01:00
LordSk cf4364418d Round corners 2018-11-27 17:23:36 +01:00
Jordy Ruiz 8ef08b4641 Make the ready state indicator a small green star 2018-11-27 16:44:30 +01:00
LordSk 87e36241d0 Use TextShadowed to render text instead, dynamically scale FontSize depending on line count 2018-11-26 22:16:55 +01:00
oy d158ab0ff0
Merge pull request #1731 from heinrich5991/pr_various
Various fixes
2018-11-26 21:09:23 +01:00
oy 40424ddae8 quick and dirty map reordering routine 2018-11-26 21:08:39 +01:00
heinrich5991 a5a5fe1cc8 Fix thread safety of mem_alloc and mem_free
This works by removing everything from these functions except for the
`malloc` and `free`.
2018-11-26 20:35:37 +01:00
heinrich5991 eb32a492c4 Fix warning about incompatible function pointers
This comes at the cost of one allocation per started thread. This should
be okay because we're about to invoke a syscall anyway.

(cherry picked from commit 1b4a16233d)
2018-11-26 20:35:37 +01:00
heinrich5991 a4bcd6383a Fix compilation with gcc in debug mode
It needs explicit template instantiations for
src/engine/server/server.cpp, for the Ban function.

(cherry picked from commit b8b6808cd5)
2018-11-26 20:35:37 +01:00
def 0f4b7a6aac Try to fix secure RNG on Windows
(cherry picked from commit 9b27da8e4a)
2018-11-26 20:35:37 +01:00
heinrich5991 b739536e67 Fix indentation in src/engine/shared/network.h 2018-11-26 20:35:37 +01:00
oy a8e77ef535
Merge pull request #1718 from LordSk/feature/broadcast
Server broadcast
2018-11-26 19:25:41 +01:00
oy 7536c8823d removed unused variable 2018-11-26 19:21:29 +01:00
oy aa4476a845
Merge pull request #1695 from Dune-jr/feature-scoreboard2
Implement SushiTee's scoreboard
2018-11-26 19:15:34 +01:00
LordSk a50b99bf4f ready state green color, increase chat width 2018-11-26 19:01:29 +01:00
LordSk 1756047ff4 Country flags 2018-11-26 19:01:29 +01:00
Jordy Ruiz 89ad2ad3c6 Red team wins and Blue team wins now using %s team wins for localization 2018-11-26 19:01:29 +01:00
Jordy Ruiz 8f41717d43 Fix NumPlayers not counting the right team, add an assert 2018-11-26 19:01:29 +01:00