Commit graph

3064 commits

Author SHA1 Message Date
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
Jordy Ruiz 71963f7b04 Some code fixes 2018-11-26 19:01:29 +01:00
Jordy Ruiz 98c99ad631 Scoreboard fixes & improvements, moved the scoreboard up, just below the HUD. Improve display of spectators 2018-11-26 19:01:16 +01:00
Jordy Ruiz 8ec70a1bde Merged scoreboard from #1171 2018-11-26 18:54:49 +01:00
oy 5125cf7dd6 changed default background map to heavens. closes #1566 2018-11-26 18:54:49 +01:00
oy 2f588a158b blocked non-country flags. closes #1721 2018-11-26 18:54:49 +01:00
oy bdaf3796f8 fixed camera position 2018-11-26 18:50:36 +01:00
oy 6dc93ee76d changed default background map to heavens. closes #1566 2018-11-26 18:13:43 +01:00
oy 46b0f264cc blocked non-country flags. closes #1721 2018-11-26 18:12:33 +01:00
LordSk 1895d1a3fa Removed magic value, reverted hud.h 2018-11-26 17:56:07 +01:00
Jordy Ruiz 9e67d32fa5 Merge branch 'master' of https://github.com/teeworlds/teeworlds into feature-complexbinds 2018-11-26 11:50:07 +01:00
Jordy Ruiz 577ce2ba25 Fix e.g. key press lshift being treated as shift+lshift 2018-11-26 11:39:55 +01:00
oy 6b5f2d8a31 fixed arrow keys effect theme and language listbox. closes #1722 2018-11-25 21:11:01 +01:00
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