bors[bot]
d61c97370f
Merge #2896
...
2896: Add edit box to write skin name, Add link to Skin Database r=Jupeyy a=def-
Co-authored-by: def <dennis@felsin9.de>
2020-09-21 17:50:09 +00:00
def
a273969bc1
Fix clang-format
2020-09-21 10:44:13 +02:00
def
d17e0e4819
Add link to Skin Database
2020-09-21 10:39:42 +02:00
def
f9e66f0b41
Add edit box to write skin name
2020-09-21 10:35:13 +02:00
def
3276f2925d
Reload skin menu when skin count changed
...
fixes graphics bug when new skins are added, skins array is reallocated
and we accessed freed memory
Thanks to Jupeyy & Learath2 for also looking into this
2020-09-21 10:19:54 +02:00
def
5cc826d6f5
edit box: only highlight x when hovering it
...
not when hovering the text field itself
Thanks to Ryozuki for report
2020-09-20 11:52:17 +02:00
def
a99b673042
Some browser improvements
...
- Increase size of Name and Clan in adding friend fields
- Smaller Search and Exclude fields
- No more duplicate Search - Search - Search text
- Smaller Connect and Refresh buttons
2020-09-20 11:47:04 +02:00
def
dfa072353d
Fix skin lookup
...
Thanks for Jupeyy for looking into this with me
2020-09-20 02:19:58 +02:00
def
61f89533c5
Clean up skin downloader code a bit
...
Was trying to find what's causing the issues with skin downloader, but
didn't find anything suspicious.
2020-09-20 02:19:49 +02:00
def
8ef6a0da16
Revert "Revert "Fix clang-format""
...
This reverts commit 833e3640b4
.
2020-09-20 02:19:32 +02:00
def
1d868fec70
Revert "Revert "Fix skin prefix search crash""
...
This reverts commit 4ad0f61a00
.
2020-09-20 02:19:28 +02:00
def
a09be98df9
Revert "Revert "Implement on-demand skin downloader ( fixes #1166 )""
...
This reverts commit cc2f05b6df
.
2020-09-20 02:19:24 +02:00
def
cc2f05b6df
Revert "Implement on-demand skin downloader ( fixes #1166 )"
...
This reverts commit 3cc1e47ec4
.
2020-09-20 01:51:23 +02:00
def
4ad0f61a00
Revert "Fix skin prefix search crash"
...
This reverts commit 1270434f5e
.
2020-09-20 01:49:58 +02:00
def
833e3640b4
Revert "Fix clang-format"
...
This reverts commit f42a5a0431
.
2020-09-20 01:49:26 +02:00
Jupeyy
a1eb5dc114
Max images(for editor, clamp for client and warning for mapconvert) ( fixes #2148 )
2020-09-19 21:22:21 +02:00
Jupeyy
5208a588b8
Add unmasked entities for all mods
2020-09-19 14:44:24 +02:00
def
1cf68d7191
Fix localizing demo list
...
You can't store the result of Localize in a static, it will be removed
by switching to another language.
Thanks to Jupeyy for report
2020-09-18 23:33:51 +02:00
Dennis Felsing
4317cb7af8
Merge pull request #2855 from def-/pr-kill-server-on-quit
...
Kill server on quit
2020-09-18 08:04:44 +02:00
def
427450ddc3
Demo viewer: Ignore shortcuts when popup is open
...
As reported by Shyzo on Discord
2020-09-18 07:57:43 +02:00
Jupeyy
1270434f5e
Fix skin prefix search crash
2020-09-18 06:27:18 +02:00
def
46b21020be
Kill server on quit
...
As suggested by Ryozuki
2020-09-18 00:30:31 +02:00
def
d5648f5cde
Fix localizing in browser
...
Thanks to gerdoe for noticing
2020-09-17 21:54:24 +02:00
def
9da149f84b
Localize control settings
2020-09-17 21:18:33 +02:00
def
da4a8c704b
Fix running server from other directory
2020-09-17 21:06:02 +02:00
bors[bot]
93e592dcd9
Merge #2813
...
2813: Sort spectator view by team, then name (not score) (fixes #2808 ) r=Jupeyy a=def-
Co-authored-by: def <dennis@felsin9.de>
2020-09-17 16:07:28 +00:00
bors[bot]
da62510a2d
Merge #2840
...
2840: [Idea] Add some decent hover effects and colors r=def- a=Jupeyy
Generally, would be nice to have very decent hover effects and decent colors.
I just tried for fun adding hover effects to menu tabs(red for the quit button),
hover effects for the server browser items
and color for search/exclude
I'm not an artist, it doesnt look good, if someone wants to overtake, he/she would be very welcome todo so
![image](https://user-images.githubusercontent.com/6654924/93282252-44ee1a00-f7ce-11ea-8b16-5d563610c9ce.png )
![image](https://user-images.githubusercontent.com/6654924/93282271-50d9dc00-f7ce-11ea-89cf-8f1e38b4a6b7.png )
![screenshot_2020-09-16_03-38-40](https://user-images.githubusercontent.com/6654924/93282288-57685380-f7ce-11ea-8cbe-3f04f8d89bc4.png )
Co-authored-by: Jupeyy <jupjopjap@gmail.com>
2020-09-17 14:19:22 +00:00
bors[bot]
21e080596a
Merge #2836 #2841 #2845
...
2836: Only make Esc key leave editor when no popup is open r=Jupeyy a=def-
2841: Fix ingame browser tab change (fixes #2839 ) r=Jupeyy a=def-
2845: Fix spacing in kick-vote menu (center tees and text) r=Learath2 a=def-
Old: ![screenshot-20200917@090205](https://user-images.githubusercontent.com/2335377/93431529-882ab480-f8c4-11ea-8e56-dfe903a5ae06.png )
New: ![screenshot-20200917@090226](https://user-images.githubusercontent.com/2335377/93431538-8cef6880-f8c4-11ea-8946-449e7aa6dea7.png )
Co-authored-by: def <dennis@felsin9.de>
2020-09-17 14:00:09 +00:00
bors[bot]
77cb30aec4
Merge #2733
...
2733: Implement on-demand skin downloader, remove Lappi's non-free skins (fixes #1166 , fixes #2547 ) r=Learath2 a=def-
Seems to work on first try, I'm somewhat surprised :D
Future ideas:
- I haven't checked how the performance impact is of a new skin joining,
might want to move the loading to a separate thread?
- Use the skins from download directory instead of redownloading? Might
want to compare modified time.
- Make all skins load on demand only to save some memory?
Co-authored-by: def <dennis@felsin9.de>
2020-09-17 13:49:23 +00:00
Jupeyy
1fe09f496c
Add some decent hover effects and colors
2020-09-17 15:47:13 +02:00
def
b5b218d67f
Fix spacing in kick-vote menu (center tees and text)
2020-09-17 09:39:50 +02:00
def
81d30f838d
Fix ingame browser tab change ( fixes #2839 )
2020-09-16 07:36:47 +02:00
Jupeyy
1cef3bf047
Only show new icons, when client is offline
2020-09-16 02:14:11 +02:00
def
f42a5a0431
Fix clang-format
2020-09-15 22:17:09 +02:00
def
3cc1e47ec4
Implement on-demand skin downloader ( fixes #1166 )
...
Seems to work on first try, I'm somewhat surprised :D
Future ideas (not for this change):
- I haven't checked how the performance impact is of a new skin joining,
might want to move the loading to a separate thread?
- Use the skins from download directory instead of redownloading? Might
want to compare modified time.
- Make all skins load on demand only to save some memory?
2020-09-15 22:17:08 +02:00
bors[bot]
c1d54da9f7
Merge #2826 #2829 #2835
...
2826: map_convert_07: Check for width/height 0 r=Learath2 a=def-
as suggested by Jupeyy
2829: Add libsteam_api.a to gitignore r=Learath2 a=def-
2835: Make spacing in top menu buttons consistent, fit for 5:4 r=Learath2 a=def-
![screenshot-20200915@184840](https://user-images.githubusercontent.com/2335377/93240346-4db9fe00-f784-11ea-9755-3a52f51d2755.png )
Co-authored-by: def <dennis@felsin9.de>
2020-09-15 17:08:45 +00:00
bors[bot]
3b0bb7d777
Merge #2816
...
2816: Implement context for translations (largely taken from Teeworlds) r=Learath2 a=def-
Missing: scripts/languages doesn't work yet, but the context can be
added manually, see german.txt for an example.
Co-authored-by: def <dennis@felsin9.de>
2020-09-15 17:02:00 +00:00
def
7a82779ff7
Make spacing in top menu buttons consistent, fit for 5:4
2020-09-15 18:49:43 +02:00
bors[bot]
a2a2abb26c
Merge #2833
...
2833: Use 0.7 cursor r=def- a=Jupeyy
![image](https://user-images.githubusercontent.com/6654924/93222705-83a0b780-f76f-11ea-866a-b2be9f47296e.png )
Co-authored-by: Jupeyy <jupjopjap@gmail.com>
2020-09-15 16:40:57 +00:00
Jupeyy
dc3580d976
0.7 cursor
2020-09-15 16:18:12 +02:00
bors[bot]
a4edac3969
Merge #2832
...
2832: Add new icons for demo, home and server browser r=def- a=Jupeyy
![image](https://user-images.githubusercontent.com/6654924/93217198-ff4b3600-f768-11ea-95a2-cd826b9ffbf5.png )
Co-authored-by: Jupeyy <jupjopjap@gmail.com>
2020-09-15 14:07:57 +00:00
Jupeyy
6a352b40eb
Add new icons for demo, home and server browser
2020-09-15 15:31:52 +02:00
bors[bot]
981d5d4e99
Merge #2675
...
2675: support multiple modifiers for binds r=def- a=plsplsplslol
Co-authored-by: plsplsplslol <alpootagpro@gmail.com>
2020-09-15 08:37:38 +00:00
def
3daa798639
Implement script/languages support for contexts
2020-09-15 10:30:49 +02:00
def
7af517009c
Implement context for translations (largely taken from Teeworlds)
...
Missing: scripts/languages doesn't work yet, but the context can be
added manually, see german.txt for an example.
2020-09-15 10:30:49 +02:00
Jupeyy
3eea399d37
Rename quality texture and compressed texture, because they should not be used
2020-09-14 21:34:56 +02:00
Jupeyy
8923116324
Fix entity text
2020-09-14 16:42:21 +02:00
def
3832d948bd
Sort spectator view by team, then name (not score) ( fixes #2808 )
2020-09-13 21:31:10 +02:00
heinrich5991
ffab6292ad
Merge branch 'master' into pr-start
2020-09-11 14:25:50 +02:00
def
aeb8bcbd9a
Show an error message on missing file
2020-09-11 09:59:05 +02:00
bors[bot]
d720f74cfd
Merge #2800
...
2800: Style-fixed version of #2784 r=def- a=heinrich5991
Thanks to @Jupeyy for the original pull request.
Co-authored-by: Jupeyy <jupjopjap@gmail.com>
Co-authored-by: heinrich5991 <heinrich5991@gmail.com>
2020-09-11 07:10:29 +00:00
heinrich5991
aa46ca6bf9
Fix some style issues via scripts/fix_style.py, size_t
2020-09-11 00:47:38 +02:00
Jupeyy
b83d8735fe
Create entity textures seperately
2020-09-11 00:34:42 +02:00
bors[bot]
f6e1ed5f19
Merge #2738
...
2738: Don't search the sorted array linearly r=heinrich5991 a=Learath2
Small optimization but it could start mattering with #2733
Co-authored-by: Learath <learath2@gmail.com>
2020-09-10 22:30:46 +00:00
def
8a6acfbb4a
Fix loading bar by adding menu images to count
2020-09-10 22:56:59 +02:00
def
f7b37eaf6a
clang-format fixes
2020-09-10 20:16:09 +02:00
def
a52c8a22a6
Quit without popup when it makes sense
2020-09-10 20:13:01 +02:00
def
419942ace4
Some more size improvements
2020-09-10 20:13:01 +02:00
def
b07d0d21d6
Default to DDNet if no page selected
2020-09-10 20:13:01 +02:00
def
57e2905e24
Clean up econ stuff, don't need it
2020-09-10 20:13:01 +02:00
def
0aef743d7a
Move News/Website/Wiki/Discord to bottom left
2020-09-10 20:13:01 +02:00
def
83d297a370
Server -> Econ (in preparation of the real change)
2020-09-10 20:13:01 +02:00
def
2ca613d982
Back -> Menu
2020-09-10 20:13:01 +02:00
def
90f3199d98
Implement opening server on Windows (reading autoexec_server.log not working yet)
2020-09-10 20:13:01 +02:00
def
33eefa449b
Only run server when pressing R
2020-09-10 20:13:01 +02:00
def
b2cfdc57eb
Clean up top menus, add back button
2020-09-10 20:13:01 +02:00
def
4ca4449ee4
Use Storage for opening autoexec_server.log
2020-09-10 20:13:01 +02:00
def
b522bbbb96
Localize the Learn link
2020-09-10 20:13:01 +02:00
def
9a5ee2cdbf
Auto-bind F7 to show server console if it's free
2020-09-10 20:13:01 +02:00
def
2cdc7d0faf
Adapt 0.7 start menu
...
- Working Local Server button (needs fixing for Windows)
- Highlight buttons if server is running, new news is out and editor has
unsaved changes
2020-09-10 20:13:01 +02:00
bors[bot]
d1aa014357
Merge #2793
...
2793: Add some more space for Countries & Types r=Learath2 a=def-
Since DDNet has too many locations now. A scroll wheel would be even better for the future if someone wants to implement that.
![screenshot-20200910@175801](https://user-images.githubusercontent.com/2335377/92758709-4ca55d00-f38f-11ea-924d-f13b998403f7.png )
Co-authored-by: def <dennis@felsin9.de>
2020-09-10 16:52:55 +00:00
def
cddfd6836b
Add some more space for Countries & Types
...
Since DDNet has too many locations now
2020-09-10 17:59:40 +02:00
Learath
1f261198a7
Don't search the sorted array linearly
2020-09-09 21:10:40 +03:00
def
7bea697114
Add some keyboard shortcuts for demos
2020-09-08 11:42:52 +02:00
def
757998e7d0
Fix some 5:4 rendering in demo menu & recorder menu
2020-09-08 11:37:37 +02:00
bors[bot]
e3cfb23f28
Merge #2742 #2745
...
2742: Add str_utf8_copy that trim broken utf8 sequence at the end. r=heinrich5991 a=TsFreddie
Currently this replaces `str_copy` text input and clipboard paste in chat. Many places may need the same treatments, like steam names.
![image](https://user-images.githubusercontent.com/3797859/92263741-08b8e080-eed5-11ea-84a5-b7f070ded260.png )
Test string:
abcd今天是个好日子心想的事儿都能成今天是个好日子打开了家门咱迎春风今天是个好日子心想的事儿都能成今天是个好日子打开了家门咱迎春风今天是个好日子心想的事儿都能成今天是个好日子打
2745: Update mapres by mind r=heinrich5991 a=def-
Adapted from 0.7 for new renderer. Not sure if this makes sense :D
Co-authored-by: TsFreddie <tsfreddiewang@gmail.com>
Co-authored-by: def <dennis@felsin9.de>
2020-09-06 23:12:04 +00:00
Jupeyy
bfd24d7dd8
Clamp camera zoom
2020-09-07 00:19:38 +02:00
Jupeyy
ebe5b51230
Clamp kill border count
2020-09-06 23:58:54 +02:00
TsFreddie
badc49cac7
Revert "Revert & use "str_utf8_truncate" instead"
...
This reverts commit b045a3d6ee
.
2020-09-06 20:54:57 +01:00
bors[bot]
7fd43163b7
Merge #2751 #2752 #2756
...
2751: More aggressive analysis & check 2.0 gl Functions that were used r=def- a=Jupeyy
If even that fails, I'm out of ideas
Checks all texture shaders, checks all functions used.
2752: Can't detect if paused on KoG, so don't show button r=def- a=def-
Since they're running an old version of DDNet server
2756: Don't deactivate menu when a popup is active r=def- a=Learath2
Deactivating menu while a popup is active causes the menu to never open again.
Reported by Anxton on discord.
Co-authored-by: Jupeyy <jupjopjap@gmail.com>
Co-authored-by: def <dennis@felsin9.de>
Co-authored-by: Learath <learath2@gmail.com>
2020-09-05 17:10:35 +00:00
def
e162045026
Can't detect if paused on KoG, so don't show button
...
Since they're running an old version of DDNet server
2020-09-05 19:06:12 +02:00
Learath
9e35752d1c
Don't deactivate menu when a popup is active
2020-09-05 18:13:32 +03:00
Jupeyy
89a6251ad7
Add message popup again
2020-09-05 16:54:20 +02:00
TsFreddie
b045a3d6ee
Revert & use "str_utf8_truncate" instead
2020-09-05 00:51:39 +01:00
plsplsplslol
4326d00df9
fix style and reomved repeated code
2020-09-04 13:49:14 -07:00
TsFreddie
44c699b812
Fix unicode pasting in DoEditBox
2020-09-04 18:03:08 +01:00
TsFreddie
92d08d07de
add str_utf8_copy
2020-09-04 17:34:27 +01:00
def
69e6a8fa41
Add buttons for Kill and Pause
...
Seems more useful than Spectate and Connect Dummy, both of which are
often mistaken by newcomers.
Make button sizes more consistent
Hide buttons that make no sense
2020-09-04 12:39:53 +02:00
Andrii
701bbab0bd
refresh on max ping filter changed
2020-09-03 04:08:34 +03:00
bors[bot]
dac3c782d3
Merge #2713
...
2713: allow empty max ping filter r=heinrich5991 a=BannZay
The inconvenieces I discovered so far:
1. You got to write 999 to "disable" this filter
2. If you try to clear this field and then type 75 then the field will contain 750 because the last zero is bugged at this point
Those are fixed
What I would like to be fixed as well (not sure if I gona do this soon):
1. Update browser servers live without refreshing. You press refresh - you receives all the servers and then you should be able (but currently not) to filter them out without pressing on "Refresh" button again but just by changing the max ping value
Co-authored-by: Andrii <bannzay3@gmail.com>
2020-09-03 00:37:47 +00:00
Andrii
b1d5538a96
fix style
...
Co-authored-by: heinrich5991 <heinrich5991@gmail.com>
2020-09-03 00:08:33 +03:00
Andrii
a215e375db
allow empty max ping filter
2020-09-02 19:26:26 +03:00
bors[bot]
197fe955e1
Merge #2674
...
2674: Add nameplates friend marks r=heinrich5991 a=BannZay
Problem: when I play with a friend in team 0, and there are many players nearby, I cannot distinguish him due to nameplates overlapping. It's getting worse when they are in freeze.
Solution: Mark your teammate as "Friend" and setup "cl_nameplates_friendmark"
Result:
![v2](https://user-images.githubusercontent.com/17499770/91647684-08988b00-ea66-11ea-9407-336437391b4f.png )
Co-authored-by: Andrii <bannzay3@gmail.com>
2020-09-02 16:12:15 +00:00
Andrii
271f0d8049
remove cl_nameplates_friendMark 2
2020-09-02 19:10:48 +03:00
Jupeyy
93a86f265f
Disabling OpenGL 3.3 in settings tab should reset the OpenGL version to the configs default 3.0
2020-09-02 07:53:03 +02:00
Jupeyy
cf80537eb8
Fix entities text size not recreating new texture ( fixes #2438 )
2020-09-01 09:13:47 +02:00
Andrii
2969d93941
disable mouse buttons if console not closed
2020-08-31 22:40:57 +03:00
Andrii
74f729109e
Set blendmode on background render
2020-08-31 17:16:40 +03:00
def
9dc6a1c1c2
Remove Quality Textures & Texture Compression from graphics menu ( fixes #2676 )
...
Since people just randomly click it and then complain about bad looking
graphics
2020-08-31 13:25:16 +02:00
def
2b0e13db53
Add platform and arch in console output
2020-08-31 12:05:50 +02:00
Andrii
e0616b38d7
add cl_nameplates_friendmark 2
2020-08-30 14:54:42 +03:00
Dennis Felsing
92616f1a55
Merge pull request #2664 from ddnet/pr-revert-revert
...
Revert "Revert Jupeyy's OpenGL changes" (fixes #2659 )
2020-08-30 10:55:15 +02:00
plsplsplslol
6782f93419
support multiple modifiers for binds
2020-08-29 17:04:36 -07:00
Andrii
90d1a93f40
add friend nameplate marks
2020-08-30 02:06:31 +03:00
bors[bot]
3101747d46
Merge #2666
...
2666: Non divisible by 16 texture resize and warning r=heinrich5991 a=Jupeyy
Co-authored-by: Jupeyy <jupjopjap@gmail.com>
2020-08-29 15:25:35 +00:00
Jupeyy
b1e98b598b
Show warnings with non divisible by 16 textures(3D/2D array textures)
2020-08-29 17:04:30 +02:00
bors[bot]
a6738d9fd6
Merge #2635
...
2635: We don't just list countries, but also regions like EU r=heinrich5991 a=def-
Co-authored-by: def <dennis@felsin9.de>
2020-08-29 10:37:52 +00:00
def
63c782bb46
We don't just list countries, but also regions like EU
2020-08-29 12:31:17 +02:00
def
c85ffb90af
Revert "Revert Jupeyy's OpenGL changes"
...
This reverts commit 3eab3f5eb7
.
2020-08-29 12:10:53 +02:00
def
3eab3f5eb7
Revert Jupeyy's OpenGL changes
...
Emergency-revert for 14.5.1 release, too many problems
2020-08-26 20:03:22 +02:00
Andrii
620f67af15
Refresh browser on Indicate map finish click
2020-08-26 20:23:25 +03:00
bors[bot]
9ba36991a9
Merge #2655
...
2655: Entity text should use space more effectively r=def- a=Jupeyy
Co-authored-by: Jupeyy <jupjopjap@gmail.com>
2020-08-26 16:07:58 +00:00
Jupeyy
410c4b3250
Entity text should use space more effectivly
2020-08-26 15:56:23 +02:00
bors[bot]
efdd35439e
Merge #2653
...
2653: Fix background map loading r=def- a=Jupeyy
As reported.
Tested all possible contexts, hope this is right now
Co-authored-by: Jupeyy <jupjopjap@gmail.com>
2020-08-26 13:49:30 +00:00
Jupeyy
14d383ef15
Fix background map loading
2020-08-26 15:25:44 +02:00
bors[bot]
694db44ee2
Merge #2598
...
2598: Allow specifying an OpenGL version manually r=def- a=Jupeyy
Ofc don't merge, we'll test it first, and if we want merge it, i'd need to enable shader compability for OpenGL 4+, and general support for OpenGL 3.1 and 3.2(bcs i think they already don't allow some older GL commands).
Also i never really read in the OpenGL 1.x specification, i remember that older OpenGL versions required glBegin and stuff like that
Co-authored-by: Jupeyy <jupjopjap@gmail.com>
2020-08-25 15:35:30 +00:00
heinrich5991
bfe7b3cbeb
Use player name prefixed with "[D] " for the dummy name
2020-08-25 16:22:03 +02:00
heinrich5991
5d83e9177f
Use player name from the Steam API as fallback
...
Fixes #2605 .
2020-08-25 16:21:58 +02:00
trml
4abe8caab8
Sort servers by a combination of players and ping as default
2020-08-24 23:25:45 +02:00
Jupeyy
3117a936a9
Do not create 2D textures, if not required
2020-08-23 08:53:26 +02:00
Jupeyy
a07e9ac2cf
Add OpenGL 1.x, 2.x, 3.x support ( fixes #2619 ) ( fixes #2607 )
2020-08-22 10:22:51 +02:00
Dennis Felsing
dbb9c662ba
Merge pull request #2617 from Jupeyy/pr_font_fallback
...
Font fallback
2020-08-20 20:34:48 +02:00
def
a388b709d6
Generalize loading fallback fonts
2020-08-20 19:48:08 +02:00
def
c458ee52b0
Remove need for custom certificate
...
in anticipation of using CloudFlare
2020-08-19 17:54:05 +02:00
def
99cf35d461
Don't bother Steam users with red update text
2020-08-19 13:41:11 +02:00
Jupeyy
7450e354de
Add OpenGL 4.x support & cleanup
2020-08-19 08:42:09 +02:00
Jupeyy
c2ce132ba3
Allow specifying an OpenGL version manually
2020-08-19 07:04:54 +02:00
bors[bot]
ac1649d13b
Merge #2579 #2588
...
2579: Ship map_convert_07 executable, allow drag'n'drop and ship Gold Mine map (with sixup version) instead of Kobra 4 and Goo! r=def- a=def-
2588: Add instructions about how to kill and pause game r=def- a=def-
Co-authored-by: def <dennis@felsin9.de>
2020-08-18 08:52:26 +00:00
def
1c583e5569
Add instructions about how to kill and pause game
...
As suggested by Lukas Kawalec on Discord
2020-08-18 10:32:44 +02:00
def
3ca4dadb92
Allow server list key bindings when nothing was selected
2020-08-17 10:14:33 +02:00
def
bd3656f6ad
Implement ctrl-u in lineinput to clear
2020-08-17 10:14:24 +02:00
plsplsplslol
8abf00b52c
move checkpoint to debug
2020-08-15 17:00:02 -07:00
Arda Demir
35995322d7
Add +resetdummy
2020-08-13 11:19:13 +03:00
bors[bot]
026ac99895
Merge #2543
...
2543: Remove unlicensed skins (fixes #2518 ) r=heinrich5991 a=def-
Co-authored-by: def <dennis@felsin9.de>
2020-08-09 23:23:40 +00:00
bors[bot]
3fde3ac496
Merge #2538
...
2538: Add Client message color option in HUD setting r=Learath2 a=def-
As requested by reo
Co-authored-by: def <dennis@felsin9.de>
2020-08-09 16:58:41 +00:00
def
7be7160d9b
Remove unlicensed skins ( fixes #2518 )
...
and mention skin licenses (fixes #2544 )
Still missing: Which skin is by btd?
2020-08-09 15:07:08 +02:00
def
20eb5a5d86
Add Client message color option in HUD setting
...
As requested by reo
2020-08-05 12:39:13 +02:00
def
e2fde4d730
Fix utf8 handling in str_truncate ( fixes #2533 )
...
and rename to str_utf8_truncate since it's only used for utf8 strings
2020-08-02 18:32:42 +02:00
sirius
2394d49d34
update calling way of TextWidth()
2020-07-16 21:07:41 +08:00
sirius
a6181ce8d3
Merge branch 'master' of https://github.com/ddnet/ddnet
2020-07-16 21:07:04 +08:00
Fireball
ab9b96ddb2
Backported fix for Text() incorrect parameter type (int -> float)
...
The original fix was done by @oy for 0.7.4.
2020-07-15 20:49:14 +01:00
Fireball
b1c17c3248
Backported fix for TextWidth() parameter mix-up
...
Fixes #2511 (Stack-buffer-overflows in some UIs).
The original fix was done by @oy for 0.7.4.
2020-07-15 20:48:29 +01:00
sirius
ef85308a47
remove aBuf
2020-07-14 10:45:03 +08:00
def
4d34dd365b
Limit zooming out further ( fixes #2497 )
2020-07-13 20:23:49 +02:00
sirius
17bf1a9b38
change identifier style
2020-07-14 00:12:03 +08:00
sirius
9482ffa10a
change identifier style
2020-07-13 23:10:00 +08:00
sirius
d7646666f0
use array instead of string
2020-07-13 12:41:07 +08:00
def
b2b664bf53
Don't reset chat on map change ( fixes #2451 )
2020-07-09 13:47:48 +02:00
bors[bot]
5cc6a08c2b
Merge #2471
...
2471: Don't send zoom level while zooming (fixes #2470 ) r=heinrich5991 a=def-
Co-authored-by: def <dennis@felsin9.de>
2020-07-09 11:24:19 +00:00
bors[bot]
56ef688489
Merge #2467
...
2467: Add cl_smooth_zoom_time r=def- a=def-
as requested on Discord by nils & fokkonaut
Co-authored-by: def <dennis@felsin9.de>
2020-07-09 10:35:07 +00:00
def
2e8faac549
Don't send zoom level while zooming ( fixes #2470 )
2020-07-08 10:42:28 +02:00
sirius
edab0d097d
add variable to adjust size of health and armor nameplate
2020-07-08 15:41:44 +08:00
sirius
4a44b90b11
adjust distance between health and armor
2020-07-08 14:32:24 +08:00
sirius
00c4adf05b
add function to show health and armor in nameplates (only when client can get the health and armor data)
2020-07-08 13:34:24 +08:00
def
defe2439bd
Add cl_smooth_zoom_time
...
as requested on Discord by nils & fokkonaut
2020-07-07 22:59:20 +02:00
def
f9d2c14ff6
Make zoom reset respect cl_default_zoom ( fixes #2453 )
2020-07-07 18:02:21 +02:00
bors[bot]
9008c96e80
Merge #2429
...
2429: Use a cubic polynomial for smoothing zoom r=def- a=heinrich5991
Supersedes #2420 .
Co-authored-by: Edgar <git@edgarluque.com>
Co-authored-by: heinrich5991 <heinrich5991@gmail.com>
2020-07-05 21:46:25 +00:00
heinrich5991
cdd715fd53
Add smoothing of camera zoom using a cubic polynomial
2020-07-01 00:19:17 +02:00
def
edba33be33
Add Show others (own team only) menu setting
2020-06-30 21:38:14 +02:00
Edgar
3578c74667
new defaults use logistic curve
2020-06-30 19:06:29 +02:00
Edgar
ce57d928eb
newline at end of file
2020-06-30 16:30:40 +02:00
Edgar
a46b266564
Smooth zoom
2020-06-30 16:25:54 +02:00
Edgar
eb1779f58c
Fix showothers for specchar
2020-06-30 14:04:41 +02:00
bors[bot]
de8cc79578
Merge #2389
...
2389: Ignore emoticon of spammy players (fixes #2387 ) r=heinrich5991 a=def-
Controlled with the regular ignore chat button in players menu
Co-authored-by: def <dennis@felsin9.de>
2020-06-29 12:09:48 +00:00
def
b3b0e1041c
Center the icons
2020-06-27 22:58:28 +02:00
bors[bot]
42455d4b4d
Merge #2388
...
2388: Get rid of the annoying font size warnings r=heinrich5991 a=def-
Since we're not doing anything about them anyway, and I get them
spamming me on every client start.
Co-authored-by: def <dennis@felsin9.de>
2020-06-27 20:53:39 +00:00
def
b2371522f9
Fix alignment of icons in player options
2020-06-27 22:40:22 +02:00
bors[bot]
6a7695e696
Merge #2396
...
2396: Color Selector improvement + cleanup r=Learath2 a=def-
![screenshot-20200627@150939](https://user-images.githubusercontent.com/2335377/85923064-3d326f80-b888-11ea-92f3-a7cf685890dc.png )
Tadaa, new feature in -200 lines :D
Co-authored-by: def <dennis@felsin9.de>
2020-06-27 20:38:42 +00:00
bors[bot]
70ccf76dcf
Merge #2390
...
2390: Support cl_show_hook_coll_own/other 2 to always show (fixes #2383 ) r=heinrich5991 a=def-
hook collision, without broadcasting to other players.
Removed cl_show_hook_coll_always in return
Renamed cl_video_showhookcollother to cl_video_show_hook_coll_other for consistency
Co-authored-by: def <dennis@felsin9.de>
2020-06-27 20:31:29 +00:00
def
4e5912909b
Improve & fix
2020-06-27 19:40:04 +02:00
def
50af2a8ed6
Show number in color scrollbars
...
As suggested by Lady Saavik
2020-06-27 15:08:50 +02:00
def
d147c1c7f5
Cleanup color scrollbars in menus
2020-06-27 15:08:35 +02:00
def
7608eb67d6
Ignore emoticon of spammy players ( fixes #2387 )
...
Add ignore emoticon button in player menu.
Someone needs to draw the graphic for that.
2020-06-27 01:15:09 +02:00
def
dc92626a3b
Support cl_show_hook_coll_own/other 2 to always show ( fixes #2383 )
...
hook collision, without broadcasting to other players.
Removed cl_show_hook_coll_always in return
Renamed cl_video_showhookcollother to cl_video_show_hook_coll_other for consistency
2020-06-26 23:58:07 +02:00
def
d6ba9440ca
Get rid of the annoying font size warnings
...
Since we're not doing anything about them anyway, and I get them
spamming me on every client start.
2020-06-26 23:42:04 +02:00
def
2d6e56fec8
Translation fixes
...
- Code didn't work with newlines, get rid of them
- Some stylistic improvements
2020-06-26 18:34:50 +02:00
def
07e6dafb50
Revert "Fix out of bounds access in RenderPlayer ( fixes #2365 )"
...
This reverts commit 80931b606a
.
2020-06-26 15:10:38 +02:00
bors[bot]
cfda912307
Merge #2009
...
2009: Fix min mouse position for follow factor r=heinrich5991 a=Jupeyy
@Learath2 you were the last to change this, would be nice if you could check if this is correct behaviour, i didn't find anything wrong :D
Co-authored-by: jupeyy <jupjopjap@gmail.com>
2020-06-26 12:54:49 +00:00
3edcxzaq1
4e7b534622
Update menus_ingame.cpp
2020-06-26 11:13:55 +02:00
sven
9d0bae9769
Fix unused translation
2020-06-26 02:49:35 +02:00
bors[bot]
b4472d72cf
Merge #2372
...
2372: Fix out of bounds access in RenderPlayer (fixes #2365 ) r=Learath2 a=def-
Co-authored-by: def <dennis@felsin9.de>
2020-06-25 21:56:35 +00:00
def
53971f44f1
ddnet-saves.txt: Also parse correctly when saving on other country
2020-06-25 22:30:51 +02:00
def
80931b606a
Fix out of bounds access in RenderPlayer ( fixes #2365 )
2020-06-25 18:33:41 +02:00
heinrich5991
8c095b2727
Make spec character rendering a bit cleaner
2020-06-25 14:56:23 +02:00
Edgar
2922b4b672
show spectee when player is inactive only
2020-06-25 10:34:57 +02:00
Edgar
2f3073c547
fix /spec hook
2020-06-25 10:12:17 +02:00
Edgar
b33180ae77
fix /spec rendering
2020-06-24 19:01:01 +02:00
Edgar
24a308c50c
fix saying /spec show you as chatting
2020-06-24 11:32:27 +02:00
def
f51a443998
Merge remote-tracking branch 'edg-l/pr_show_spec'
...
Update x_spec with the more minimal version by HiRavie
Fix CMakeLists.txt
2020-06-24 09:55:59 +02:00
bors[bot]
1652d73a5e
Merge #2322
...
2322: Use proper CSV writing for save codes r=def- a=heinrich5991
Supersedes #2296 .
Co-authored-by: def <dennis@felsin9.de>
Co-authored-by: heinrich5991 <heinrich5991@gmail.com>
2020-06-23 07:25:20 +00:00
heinrich5991
48e8ba69ca
Use the CSV write to write save codes
2020-06-23 09:11:59 +02:00
bors[bot]
11e2f04c21
Merge #2280
...
2280: Add a slightly longer introduction text r=heinrich5991 a=def-
Since we don't have a tutorial
![Screenshot](https://user-images.githubusercontent.com/2335377/85120864-235bb180-b224-11ea-8bb6-700f7228ee0d.png )
Co-authored-by: def <dennis@felsin9.de>
2020-06-22 20:45:06 +00:00
def
57280fba99
Store saves client-side in ddnet-saves.txt
...
Only appends saves, just in case you forgot where you saved.
Unfortunately only stores your own name, not your entire team.
2020-06-22 21:12:35 +02:00
Edgar
933ea7cca3
fix bug, use ddnet character
2020-06-22 19:05:57 +02:00
Edgar
3f476171f1
change to white and use colors
2020-06-22 18:43:49 +02:00
Edgar
befc4fc1b2
make skin also use alpha
2020-06-21 18:24:51 +02:00
Edgar
78bcc1d8fc
apply alpha to spec nameplates
2020-06-21 18:05:43 +02:00
Edgar
f3466e05ba
Show /spec tees with a dashed skin
2020-06-21 17:48:33 +02:00
def
c7908524cd
Add a slightly longer introduction text
...
Since we don't have a tutorial
2020-06-21 01:15:01 +02:00
def
1610079020
Make the learn button fit ( fixes #2293 )
2020-06-20 14:57:52 +02:00
bors[bot]
4edac3143a
Merge #2281
...
2281: Add Learn button which opens the ddnet wiki in the browser. r=heinrich5991 a=edg-l
![image](https://user-images.githubusercontent.com/15859336/85147350-05f00d00-b24f-11ea-8b6c-f79dbf605747.png )
## **I didn't test it on windows or mac.**
Co-authored-by: Edgar <git@edgarluque.com>
2020-06-20 12:00:45 +00:00
Edgar
07f0239e01
Add Learn button which opens the ddnet wiki in the browser.
2020-06-20 13:56:02 +02:00
Learath
75e96aa5d3
Get rid of more magic constants, adapt to 0.7
2020-06-19 21:48:48 +03:00
Learath
d200ef0bb0
Remove ugly hack
2020-06-19 21:42:19 +03:00
bors[bot]
13237ee12e
Merge #2245 #2266
...
2245: Stop playing map sound when demo player is paused r=heinrich5991 a=def-
Noticed on Shooting Range map
2266: Reset hook & collision in prediction after kill r=heinrich5991 a=def-
Thanks to Pipou for reporting
Co-authored-by: def <dennis@felsin9.de>
2020-06-18 19:29:41 +00:00
def
7aed6476dc
Allow larger map names
2020-06-18 18:29:27 +02:00
Learath
8d255921b8
Fix out of bounds read
2020-06-14 12:38:52 +03:00
def
d06f1949c2
Stop playing map sound when demo player is paused
...
Noticed on Shooting Range map
2020-06-02 13:47:05 +02:00
def
690fb852df
Don't reset client on demo menu events
2020-06-02 13:22:00 +02:00
12pm
e4b3559c95
add cl_nameplates_ids
2020-05-30 12:37:42 +02:00
MikiGamer
d5c5235c18
Changes
2020-05-19 17:13:34 +02:00
MikiGamer
95c419d684
BlockWorlds Entities
2020-05-19 16:49:28 +02:00
bors[bot]
2649fb5234
Merge #2161
...
2161: Small prediction fixes/update r=def- a=trml
I looked through the latest changes in the server code, and made some updates to the prediction with it. This includes the hammer-out-of-freeze server fix and a small fix for stopper prediction. Also cleaned up some code, and fixed predicted smoke-trails slightly so they don't go through walls in certain cases.
Co-authored-by: trml <trml@users.noreply.github.com>
2020-05-07 07:30:03 +00:00
def
741c97ccc7
Fix empty sound ( fixes #2163 )
...
The problem was that the string is empty after going through the trim,
thus the main displaying loop doesn't run, but the sound still does.
2020-05-06 08:15:23 +02:00
trml
cda99668c7
Fix antiping smoketrails
2020-05-02 18:52:09 +02:00
trml
eb1bacb969
Update prediction with latest server physics
2020-05-02 18:52:04 +02:00
def
76eda61c99
cl_showchat 2 to always show large chat area ( fixes #2153 )
2020-04-28 22:35:56 +02:00
Arda Demir
b7d452d2a0
Libnotify support for linux client ( #2099 )
...
Add libnotify support for linux client
Also unify notification management
Make libnotify mandatory for the client. It is installed on 100% of Arch
Linux systems and on 70% of Debian systems. I'd guess the remaining
Debian systems are servers.
Detect dependent libraries of `libnotify` using `pkg-config`. Remove
library-specific code from the game module. Decrement refcount for
libnotify notification object before leaving the function.
2020-04-14 17:53:53 +02:00
Learath
388d792205
Add an option for highdpi
2020-04-07 23:47:15 +03:00
bors[bot]
2367cd042d
Merge #2104
...
2104: Add spectate_closest now works when in Free-View r=def- a=d3fault
sry for the general refactor along with it xD
Co-authored-by: d3fault <d3fault@d3fault.net>
2020-04-01 07:02:56 +00:00
d3fault
7fb46beb85
Add spectate_closest now works when in Free-View
2020-03-31 23:30:25 -07:00
bors[bot]
4a6f5b156c
Merge #2101
...
2101: Add dbg_unpredicted_shadow (fixes #2100 ) r=heinrich5991 a=def-
Co-authored-by: def <dennis@felsin9.de>
2020-03-31 16:41:31 +00:00
def
a8c3d192d1
Add cl_unpredicted_shadow -1 value ( fixes #2100 )
...
to disasble unpredicted shadow even in debug mode
2020-03-31 18:00:20 +02:00
d3fault
6968b17017
Add spectate_closest
...
Spectates the tee closest to the one you are currently spectating.
This commit brought to you by COVID-19 lockdown boredom.
Fix #1793
2020-03-31 01:17:32 -07:00
bors[bot]
10299266c3
Merge #2078
...
2078: Fix cl_showrecord with dummy (fixes #2077 ) r=heinrich5991 a=def-
Shows best time of either dummy or main player depending on which is selected
Co-authored-by: def <dennis@felsin9.de>
2020-03-24 14:23:38 +00:00
def
6efcc473c9
Fix cl_showrecord with dummy ( fixes #2077 )
...
Shows best time of either dummy or main player depending on which is
selected
2020-03-01 12:55:01 +01:00
ChillerDragon
9e0f6d2ce0
Move global configuration out of client interface
2020-02-19 11:24:58 +01:00
def
964279a699
Reset quad rotation/color in damageind ( fixes #2062 )
...
Removed in 7ae4b39574
2020-02-13 22:55:32 +01:00
ElXreno
1799edc049
Fix build error
...
./src/game/client/components/maplayers.h:15:9: error: 'uintptr_t' does not name a type; did you mean 'uint64_t'?
15 | typedef uintptr_t offset_ptr;
| ^~~~~~~~~
| uint64_t
../src/game/client/components/maplayers.h:61:4: error: 'offset_ptr' does not name a type; did you mean 'offset_ptr32'?
61 | offset_ptr IndexBufferByteOffset()
| ^~~~~~~~~~
| offset_ptr32
In file included from ../src/game/client/components/background.cpp:8:
../src/game/client/components/maplayers.h:105:4: error: 'offset_ptr' does not name a type; did you mean 'offset_ptr32'?
105 | offset_ptr m_IndexBufferByteOffset;
| ^~~~~~~~~~
| offset_ptr32
../src/game/client/components/maplayers.h: In constructor 'CMapLayers::SQuadLayerVisuals::SQuadVisual::SQuadVisual()':
../src/game/client/components/maplayers.h:103:20: error: class 'CMapLayers::SQuadLayerVisuals::SQuadVisual' does not have any field named 'm_IndexBufferByteOffset'
103 | SQuadVisual() : m_IndexBufferByteOffset(0) {}
| ^~~~~~~~~~~~~~~~~~~~~~~
2020-02-13 17:27:39 +03:00
Dennis Felsing
50d848ec43
Merge pull request #1928 from sirius1242/demo_render2
...
Demo to video converter function.
2020-01-25 21:01:08 +01:00
oy
1b4131a7fd
fixed faulty message id
...
(cherry picked from commit 9023796d27
)
2020-01-19 21:30:12 +01:00
def
54d4aef145
Only start showing emoticons after their start tick has passed ( fixes #2025 )
...
Since we can go back in time in demo player
2020-01-04 10:07:14 +01:00
sirius
7710b88670
Merge branch 'master' of https://github.com/ddnet/ddnet into demo_render2
2020-01-01 18:36:49 +08:00
jupeyy
8a8674b545
fix min mouse pos for follow factor
2019-12-19 00:26:54 +01:00
Dennis Felsing
4171e8751f
Merge pull request #1939 from Learath2/dd_pr_demoload
...
Always try extracting map before fail. Fix #1886
2019-12-17 21:20:10 +01:00
Learath2
3784f5bea4
Use a UUID, Cleanup code and UI
2019-12-17 15:44:54 +01:00
ChillerDragon
01c873bcf7
Remove a few unused stdio.h's
2019-12-09 15:40:59 +01:00
bors[bot]
e02cd322ad
Merge #1979
...
1979: Clean up color handling a bit r=Learath2 a=def-
- SetAlpha should be called WithAlpha and only works for RGBA
- Fix type correctness of color_scale and introduce color_invert
- Nicer hook coll color handling in RenderPlayer
- Use CRTP to have type safe WithAlpha, otherwise this would compile:
`ColorHSLA = WithAlpha(ColorRGBA(1.0f, 1.0f, 1.0f));`
Follow-up to https://github.com/ddnet/ddnet/pull/1968
Co-authored-by: Dennis Felsing <dennis@felsin9.de>
2019-12-03 12:09:57 +00:00
Dennis Felsing
37ef24225e
Clean up color handling a bit
...
- SetAlpha should be called WithAlpha and only works for RGBA
- Fix type correctness of color_scale and introduce color_invert
- Nicer hook coll color handling in RenderPlayer
- Use CRTP to have type safe WithAlpha, otherwise this would compile:
ColorHSLA = WithAlpha(ColorRGBA(1.0f, 1.0f, 1.0f));
2019-12-03 11:32:55 +01:00
bors[bot]
d597322ef3
Merge #1978
...
1978: Update localizations (Thanks to Cellegen for report) r=Learath2 a=def-
Co-authored-by: Dennis Felsing <dennis@felsin9.de>
2019-12-03 10:07:34 +00:00
Dennis Felsing
5e8439acab
Merge pull request #1968 from d3fault/always-show-hook-coll-signaling
...
Invert hook coll colors when using cl_show_hook_coll_always and +showhookcoll is pressed
2019-12-02 09:50:34 +01:00
d3fault
5261ca25fe
Invert hook coll colors when using cl_show_hook_coll_always and +showhookcoll is pressed
...
This allows you to still see other players signaling you with their hook coll
when you have cl_show_hook_coll_always enabled.
2019-12-02 01:30:20 -07:00
Dennis Felsing
0498df2508
Update localizations (Thanks to Cellegen for report)
...
- Remove duplicate laser entries
- Update menus_settings.cpp comment for scripts
- Update instructions for scripts
- Run script to get updated localizations
2019-12-02 09:09:01 +01:00
bors[bot]
33d88f647c
Merge #1974
...
1974: more typesafty in the graphics. introduced the IGraphics::CTextureHandle r=def- a=ChillerDragon
Edited by @ChillerDragon to fit in ddnet
(cherry picked from commit cb95e8dfe8
)
Co-authored-by: Magnus Auvinen <magnus.auvinen@gmail.com>
2019-11-27 17:55:45 +00:00
Magnus Auvinen
6a6a5f00c9
more typesafty in the graphics. introduced the IGraphics::CTextureHandle
...
Edited by @ChillerDragon to fit in ddnet
(cherry picked from commit cb95e8dfe8
)
2019-11-22 18:08:37 +01:00
ChillerDragon
96c9b1ab73
Rename rifle to laser
...
This makes it easier to copy code from/to 0.7
23df3c609e
2019-11-22 15:37:18 +01:00
ChillerDragon
0f76c89d8a
Save selected UI settings page
...
Inspired by @SushiTee's teeworlds commit:
65cc8f7fd9
2019-11-17 18:11:33 +01:00
def
f9598c8ba8
Don't access m_aClients wiht invalid ClientID
2019-11-03 18:10:30 +01:00
sirius
8c48e7d633
some small changes
2019-11-03 11:20:24 +08:00
Sirius
45263ebdd0
Merge branch 'master' into demo_render2
2019-10-31 22:08:49 +08:00
Ryozuki
2bf76aac67
remove for loop in camera
2019-10-27 13:04:08 +01:00
bors[bot]
4717b21844
Merge #1934
...
1934: repair the problem that class selector appear when demo playing r=def- a=sirius1242
I think this problem is solved, but this may be a little hack, I don't know the effect of this if-else condition.
![2019-10-12-12-27-ScreenShot2](https://user-images.githubusercontent.com/32300858/66710842-eac12980-edb2-11e9-8866-cf3a1348616b.png )
Co-authored-by: sirius <sirius.ustc@gmail.com>
2019-10-27 08:31:41 +00:00
d3fault
2943eb0d4f
Don't locally render your own dummy's afk emote. Other players will still see it
2019-10-19 21:03:08 -07:00
sirius
b175a6fd42
add button to use sound when rendering video
2019-10-17 13:38:00 +08:00
sirius
71c53580ea
recover the if-else block changed in d89ae6c18
2019-10-14 19:11:29 +08:00
sirius
926414c8cf
remove the redundant line
2019-10-14 17:41:19 +08:00
sirius
aaddc49704
recovert the if-else block
2019-10-14 17:32:42 +08:00
Learath
7cdd050fee
Add SHA to demos. Bump Demo Version
2019-10-14 02:27:08 +02:00
Learath
3e7cf12995
Clamp ping to 999. Fix #1651
2019-10-13 17:17:05 +02:00
sirius
d347ded43e
change the time() in chat.cpp back to CComponent::time()
2019-10-13 22:01:08 +08:00
sirius
d9d6569580
add button to set whether show chat when rendering video
2019-10-13 20:29:55 +08:00
sirius
f5d0018ba9
solve the problem that chat message not show after a period of time when rendering
2019-10-13 19:57:24 +08:00
sirius
5b514e5c7f
repair the problem that class selector appear when demo playing
2019-10-13 12:09:20 +08:00
sirius
d89ae6c18c
repair the problem that class selector appear when demo playing
2019-10-13 00:27:44 +08:00
12pm
36df86fcd2
Add toggle keyboard shortcuts button to demo player
...
Demo shortcuts can be annoying if you have other binds on them.
Icons made by eNJi
2019-10-05 18:06:58 +02:00
12pm
bc62167131
Add show text entities button to settings
...
Fixes #1897
2019-10-02 13:57:39 +02:00
sirius
4f3f3d2a61
add two video settings: showhookcollother and showdirection
2019-10-02 13:33:55 +08:00
sirius
9467bef192
add button to set whether show hud when rendering video
2019-10-02 13:11:58 +08:00
sirius
b0ee5671ff
rebased to ef32fc4
2019-10-02 09:51:33 +08:00
sirius
605da124d4
add button to adjust render speed
2019-09-30 20:54:42 +08:00
sirius
d9d1e8b309
add if defined to newly added lines
2019-09-30 20:54:19 +08:00
sirius
14ed79972b
check if video exist when render
2019-09-30 20:52:25 +08:00
sirius
a71339366b
add function to appoint video name, but will segment fault
2019-09-30 20:52:25 +08:00
sirius
1375fbb95d
add a button to render whole demo
2019-09-30 20:52:24 +08:00
H-M-H
7ae4b39574
made recording demos work
...
- videorecorder only works for recording demos now
- demoplayer was modified to allow controll over the time that passed
in order to get perfect fps, IVideo controlls how much time passed,
basically every rendercall sets the time to record the next frame
2019-09-30 20:48:47 +08:00
Dennis Felsing
e06fb2b605
Don't highlight window when playing demo ( fixes #1919 )
2019-09-24 11:00:30 +02:00
Andrii Vynychenko
1671e6fbfc
numbers dynamically centered for OpenGL 3.3
2019-08-17 03:42:54 +03:00
Andrii Vynychenko
0fa23a2c47
Numbers centered for OpenGL 3.3
2019-08-15 23:57:23 +03:00
fokkonaut
fcc2e06352
Fix unmasked entities
2019-08-06 23:43:11 +02:00
heinrich5991
9627fd0841
Clarify what ENTITIES_UNUSED
does by renaming it
2019-07-31 21:22:11 +02:00
Dennis Felsing
c8d12bd386
Merge pull request #1853 from 12pm/pr_unused_non_ddnet
...
Render all entities on non ddnet servers
2019-07-31 17:31:11 +02:00
Learath
6882db1da2
Introduce flag to render all entities
2019-07-31 15:20:17 +03:00
bors[bot]
7b1d2d3f23
Merge #1862
...
1862: Add Sleepbubble to ClAfkMark r=def- a=FallenKN
With setting cl_afk_mark to 2 you will now get a sleepbubble on afk instead of the mark.
Which option should be default?
Also it displays chatbubble instead of sleepbubble when the playerflag is active. (I don't know which behavior is preferred)
Kept sleepy eyes on afk aswell.
![screenshot_2019-07-29_14-47-34](https://user-images.githubusercontent.com/13277346/62049848-624dd680-b210-11e9-82f7-2d20281eb899.png )
Co-authored-by: FallenKN <fallen.kn@gmail.com>
2019-07-30 19:15:58 +00:00
FallenKN
b2d3df8f75
Remove ClAfkMark option & rename it to ClAfkEmote
2019-07-30 20:19:46 +02:00
bors[bot]
1d9191edfe
Merge #1819
...
1819: Show mapname in scoreboard r=def- a=ChillerDragon
![screenshot_2019-07-11_16-03-47](https://user-images.githubusercontent.com/20344300/61057588-e53ff600-a3f5-11e9-8b20-3b082172bd63.png )
![screenshot_2019-07-11_15-46-04](https://user-images.githubusercontent.com/20344300/61057605-ecff9a80-a3f5-11e9-8f59-68811a1b123a.png )
Not sure if this feature should exclude non ddrace gametypes. Or exclude standard maps. Or if the truncation limit should increase with bigger scoreboards.
Co-authored-by: ChillerDragon <chillerdragon@gmail.com>
2019-07-30 17:17:32 +00:00
bors[bot]
fd502a8cce
Merge #1844
...
1844: Fix wrong flag color in scoreboard and spectator select menu (custom mods) r=Learath2 a=fokkonaut
Since in DDrace every player is in team red, in order to show them in one scoreboard, the flag will always be blue in scoreboard and the spectator select menu, here is a simple fix
I left kill messages out since they would need a fix which is a bit more complicated, and i didnt want to do too much just to support this. These two would make it already a lot better
Co-authored-by: fokkonaut <35420825+fokkonaut@users.noreply.github.com>
Co-authored-by: Learath <learath2@gmail.com>
2019-07-30 10:36:14 +00:00
Learath
99c62fb931
Fix killmessages aswell
2019-07-29 17:36:44 +03:00
FallenKN
b804d3e1f2
Enhance ClAfkMark with another option
2019-07-29 14:46:21 +02:00
bors[bot]
8ab6e2c0a8
Merge #1848 #1860
...
1848: Fix deci seconds not updating in spectator/pause (fixes #1846 ) r=heinrich5991 a=fokkonaut
Before this was set in `RenderDDRaceEffects()`, but that function is only called if `m_pClient->m_Snap.m_pLocalCharacter` exists, which isn't the case in spectator/pause.
1860: Ignore some more common files r=heinrich5991 a=Ryozuki
compile_commands.json is used a lot for language servers
https://cmake.org/cmake/help/latest/variable/CMAKE_EXPORT_COMPILE_COMMANDS.html
tags are generated from ctags
Co-authored-by: fokkonaut <35420825+fokkonaut@users.noreply.github.com>
Co-authored-by: Ryozuki <ryo@ryozuki.xyz>
2019-07-29 12:15:16 +00:00
bors[bot]
dc41bb9649
Merge #1821
...
1821: Add afk marks r=def- a=ardadem
This is final state (and most minimalist to not create mess) of my previous pull request. I didn't reopen it because it's contains changed unnecessary commits.
If someone will become afk, mark will be spawn next to tee's name.
![2019-07-13-13:59:20-screenshot](https://user-images.githubusercontent.com/13207692/61170739-8c4b9b80-a576-11e9-9d87-4c4b2f93941b.png )
Co-authored-by: Arda <ddmirarda@gmail.com>
2019-07-26 08:58:20 +00:00
Arda
1a7fc77931
better names
2019-07-26 10:18:50 +03:00
12pm
a0e2abf4af
Render all entities on non ddnet servers
...
Fixes #1741
2019-07-24 21:33:43 +02:00
Learath
5ddc140494
Remove unused branch/flag
2019-07-22 18:20:19 +03:00
fokkonaut
1bfda0f635
Fix deci seconds not updating in spectator/pause ( fixes #1846 )
2019-07-22 10:41:19 +02:00
fokkonaut
e77bdb8114
Fix wrong flag color in spectator select menu (custom mods)
2019-07-21 09:02:38 +02:00
fokkonaut
a268b95ea3
Fix wrong flag color in scoreboard (custom mods)
2019-07-21 08:55:55 +02:00
bors[bot]
cd8994147c
Merge #1842
...
1842: [WIP] Fix timer r=heinrich5991 a=Learath2
I'm really unsure about this one.
DEPENDS on #1839
Co-authored-by: Learath <learath2@gmail.com>
2019-07-19 22:23:22 +00:00
bors[bot]
628f673014
Merge #1830
...
1830: fix-ClDyncamMinDistance camera spawn r=Learath2 a=FallenKN
I forgot about the dyncam option, #1636 .
Co-authored-by: FallenKN <fallen.kn@gmail.com>
2019-07-19 16:53:06 +00:00
bors[bot]
2f23b5c29a
Merge #1839
...
1839: Set m_Race. Fix #1806 r=heinrich5991 a=Learath2
@heinrich5991 apparently you forgot to set `CGameInfo::m_Race` 🙂
Co-authored-by: Learath <learath2@gmail.com>
2019-07-19 09:31:04 +00:00
Learath
b1ed78d58d
Add new flag, Fix #1807
2019-07-19 12:28:08 +03:00
bors[bot]
ebeeace65e
Merge #1841
...
1841: Restart required message when changing Show console r=heinrich5991 a=fokkonaut
Co-authored-by: fokkonaut <35420825+fokkonaut@users.noreply.github.com>
2019-07-19 00:16:01 +00:00
fokkonaut
3edaf4b8cd
Style fixes
2019-07-19 02:06:33 +02:00
fokkonaut
78f52629e4
fix build
2019-07-19 01:58:49 +02:00
fokkonaut
07089be2e0
Restart required message when changing Show console
2019-07-19 01:53:27 +02:00
Learath
25ec19b70b
Set m_Race. Fix #1806
2019-07-18 18:56:24 +03:00
trml
cd64204358
Use IsOtherTeam for nameplates too
2019-07-16 22:34:18 +02:00
trml
ddfcb62caa
Apply ShowOtherAlpha to projectiles
2019-07-16 22:06:57 +02:00
FallenKN
e80cb9e86a
fix-ClDyncamMinDistance camera spawn
2019-07-16 12:56:43 +02:00
Arda
43c94c3d30
Add afk marks
2019-07-13 13:25:54 +03:00
ChillerDragon
4ad1cce93c
Show mapname in scoreboard ( closed #1818 )
2019-07-11 16:10:14 +02:00
bors[bot]
65f4a619e8
Merge #1810
...
1810: Use the float type explicitly r=def- a=ChillerDragon
Co-authored-by: ChillerDragon <chillerdragon@gmail.com>
2019-07-08 22:14:01 +00:00
ChillerDragon
6172a9dca0
Use the float type explicitly
2019-07-08 23:08:42 +02:00
ChillerDragon
573c46013d
Consitently mark floats as floats
2019-07-08 23:06:26 +02:00
bors[bot]
b50e7ee674
Merge #1802
...
1802: Prediction fixes r=def- a=trml
I believe this fixes #1671 (uninitialized variables).
Some other things: Use new ddnetchar fields in prediction, small fix for prediction of moving pickups, fix the freeze end tick in ddnetcharacter (will add it to the client later)
Also adds a setting for choosing between new/old antiping for grenade like suggested in #1683 (cl_antiping_gunfire 0 to disable).
Co-authored-by: trml <trml@users.noreply.github.com>
2019-07-04 12:59:52 +00:00
bors[bot]
ec5cfbad1e
Merge #1804
...
1804: Fix toggle not working with colors r=def- a=Learath2
Reported by @12pm on discord
Co-authored-by: Learath2 <learath2@gmail.com>
2019-07-04 12:47:05 +00:00
Learath2
1a80176365
Fix nameplate outline alpha
2019-07-03 12:31:05 +02:00
Learath2
1993989067
Fix toggle not working with colors
2019-07-02 14:54:06 +02:00
trml
011d9aa26f
Add option to use new/old antiping for grenades (cl_antiping_gunfire)
2019-07-01 00:42:02 +02:00
Jupeyy
60604cabca
fix name/clan width when zooming out ( fixes #1752 )
2019-06-28 20:23:01 +02:00
Dennis Felsing
6e24bf9ae2
Merge pull request #1790 from ChillerDragon/pr_ctrl_k_console
...
Add ctrl-k delete in client console
2019-06-19 12:12:19 +02:00
Dennis Felsing
d9286e8beb
Merge pull request #1786 from fokkonaut/master
...
Fix zoom if dummy is connected and only one is able to zoom
2019-06-18 20:38:24 +02:00
ChillerDragon
93dc33ee57
Add ctrl-k delete in client console
...
Extends shortcuts from:
ed8a0b5eee
e9f8bd42b7
2019-06-18 20:16:54 +02:00
trml
087a5cbf6e
Fix intratick for predicted pickup
2019-06-18 19:08:09 +02:00
bors[bot]
9c9264db8b
Merge #1785
...
1785: Revert "Merge pull request #1736 from sirius1242/master" r=Learath2 a=def-
This reverts commit e8362f1727
, reversing
changes made to 0f99605ab1
.
Apparently people don't like "Digital Wellbeing"-like features @sirius1242
Co-authored-by: Dennis Felsing <dennis@felsin9.de>
2019-06-15 13:18:11 +00:00
fokkonaut
1664a6e10e
Fix zoom if dummy is connected and only one is able to zoom
2019-06-15 12:23:50 +02:00
Dennis Felsing
1e74502e66
Revert "Merge pull request #1736 from sirius1242/master"
...
This reverts commit e8362f1727
, reversing
changes made to 0f99605ab1
.
Apparently people don't like "Digital Wellbeing"-like features
2019-06-14 12:00:49 +02:00
heinrich5991
a7857d58c4
Remove now-useless function in CGameClient
...
(incorporate @fokkonaut's feedback)
2019-06-14 00:28:59 +02:00
heinrich5991
f31e081bd4
Remove all checking for the gametype in the game
...
OK, maybe not actually remove because it is kept for fallback when the
new method isn't available.
The whole gametype parsing business had the same downsides as user agent
parsing on the web, hence I removed it while keeping behavior the same.
This allows servers to explicitly opt in or out of certain bug
workarounds and other client behavior. This increases the complexity of
different configurations that are available in the client (which is a
bad thing).
2019-06-14 00:28:59 +02:00
Dennis Felsing
0d9952b32a
Merge pull request #1748 from archimede67/pr_replays
...
Replay system (demo after-the-fact)
2019-06-11 18:13:26 +02:00
Dennis Felsing
bbe411901e
Merge pull request #1764 from ChillerDragon/pr_console_word_del
...
Add console word deletion/navigation (#1032 )
2019-06-11 18:05:23 +02:00
Dennis Felsing
bbb1b2cdef
Merge pull request #1733 from Learath2/dd_pr_colorsigned
...
Store colors unsigned
2019-06-11 12:26:28 +02:00
archimede67
0e62b4b9b9
fix code style
2019-06-05 19:49:00 +02:00
archimede67
929bf57bf6
infinite length and a lot of changes including notifications are now chat messages
2019-06-05 19:17:55 +02:00
bors[bot]
f3b1135770
Merge #1769
...
1769: Update view immediately when pasting in search in browser r=heinrich5991 a=def-
Co-authored-by: def <dennis@felsin9.de>
2019-06-03 16:34:26 +00:00
Dennis Felsing
e8362f1727
Merge pull request #1736 from sirius1242/master
...
Recorded the time of the player's game after the client was opened and show it on the top.
2019-06-03 11:02:28 +02:00
def
7e063109c6
Update view immediately when pasting in search in browser
2019-06-02 21:55:38 +02:00
Corantin H
2e27a22927
typo + added an optional argument to save_replay + changed max replay length and fixed cl_notification_time values
2019-06-02 15:34:01 +02:00
bors[bot]
b113b70ec6
Merge #1765
...
1765: Add ctrl-u delete in client console r=heinrich5991 a=ChillerDragon
Extends shortcuts from:
e9f8bd42b7
Co-authored-by: ChillerDragon <chillerdragon@gmail.com>
2019-06-01 15:58:11 +00:00
ChillerDragon
9c68765dae
Don't set Handled on ctrl-u
2019-06-01 17:51:22 +02:00
ChillerDragon
b98b71df88
Rename 'DeleteFromCursor' -> 'DeleteUntilCursor'
2019-06-01 17:41:40 +02:00
ChillerDragon
ed8a0b5eee
Add ctrl-u delete in client console
...
Extends shortcuts from:
e9f8bd42b7
2019-06-01 17:11:35 +02:00
ChillerDragon
1af09a840c
Add console word deletion/navigation ( #1032 )
2019-06-01 16:24:22 +02:00
bors[bot]
647bbcc259
Merge #1732
...
1732: Implement ISDDNET and Time Score cleanly r=def- a=Learath2
This is an attempt at implementing the two things in a cleaner way.
Deprecated #1320
Willfix #1622 soon(tm)
Co-authored-by: Learath <learath2@gmail.com>
Co-authored-by: Learath2 <learath2@gmail.com>
2019-05-31 10:12:10 +00:00
Corantin H
bf435e8b72
coding style + added cl_notification_time
2019-05-23 23:17:12 +02:00
bors[bot]
dc4111da12
Merge #1746
...
1746: Fix zoom reset r=def- a=archimede67
Fix zoom reset when connecting dummy.
This should fix #1731
Co-authored-by: Corantin H <archi0670@gmail.com>
Co-authored-by: archimede67 <archi0670@gmail.com>
2019-05-23 11:30:23 +00:00
Corantin H
858a85e7b5
fixed some typo errors, fixed code style and added a slider setting to set the replay length
2019-05-21 23:59:57 +02:00
Corantin H
e6ce2c0c46
Renamed class CNotification to CHudNotification
2019-05-21 18:50:41 +02:00
Corantin H
857656e8db
Implemented a small notification system, fixed some problems with removing tmp files and update the recorder status when checking/unchecking the setting "Enable replays".
2019-05-21 17:21:53 +02:00
Corantin H
ac4d7085c5
Switched to a proper new recorder instead of using the auto one
2019-05-21 12:49:19 +02:00
Learath2
c98978c9d6
Implement timescore using a netobj
2019-05-21 10:26:33 +02:00
Learath
0d25bb86c4
Style
2019-05-21 10:25:15 +02:00
Learath
23255a04b3
Remove time-score
2019-05-21 10:24:07 +02:00
Learath2
c7d8ca129a
Rerevert #1187
2019-05-21 10:51:43 +02:00
Corantin H
817bdaf9cd
initial work on a replay system
2019-05-20 23:55:40 +02:00
archimede67
ba86bf7ff9
Update src/game/client/components/camera.cpp
...
Better formatting
Co-Authored-By: heinrich5991 <heinrich5991@gmx.de>
2019-05-20 20:39:02 +02:00
Corantin H
280f67af5f
Fixed zoom reset when dummy connects
2019-05-20 12:07:07 +02:00
bors[bot]
131a0e370d
Merge #1742
...
1742: fix particles, emote wheel, zoom and score for blockworlds r=Learath2 a=kpro998
fixes a few things that got broken for players using ddnet client in blockworlds
Co-authored-by: Kpro998 <kpro998@gmail.com>
Co-authored-by: Learath <learath2@gmail.com>
2019-05-19 22:51:06 +00:00
Learath
66b1b44e07
Style
2019-05-20 00:18:19 +02:00
Kpro998
0856fec38e
fix particles, emote wheel, zoom and score for blockworlds
2019-05-19 22:11:16 +01:00
12pm
28f26a09cc
Ignore binds in slice save menu
...
Should fix a bug reported in #1702
2019-05-19 13:33:30 +02:00
sirius
f62f6d2207
show play time move to a new function
2019-05-17 21:57:00 +08:00
sirius
8819f21d3a
played time can show now
2019-05-17 21:47:12 +08:00
Learath
0d39eb128d
Use unsigned integers for colors
2019-05-15 18:05:19 +02:00
Learath
551397117b
Last return isn't necessary
2019-05-14 14:20:36 +02:00
Learath
546016092d
Consistently determine OtherTeam
2019-05-14 00:00:28 +02:00
Dennis Felsing
a562b573fd
Merge pull request #1717 from Learath2/dd_pr_bindstuck
...
Fix sticky binds
2019-05-13 11:29:35 +02:00
Dennis Felsing
0f65d02d1d
Merge pull request #1727 from trml/pr_pred_fixes_2
...
A few more prediction fixes
2019-05-13 07:29:04 +02:00
trml
672b4aef02
Fix ninja animation with antiping off
2019-05-13 01:46:50 +02:00
trml
53fe0a56f8
Fix predicted weapon animation
2019-05-13 01:46:50 +02:00
Andrii Vynychenko
0353eb94ef
fix zero fonsize
2019-05-11 18:59:47 +03:00
trml
d9ade50e0a
Disable grenade prediction with cl_predict 0
2019-05-11 13:25:08 +02:00
bors[bot]
b03dad7626
Merge #1714 #1719
...
1714: Make the color output more sane r=def- a=Learath2
1719: Show the correct button when paused r=def- a=Learath2
Fix one bug from #1702
Co-authored-by: Learath2 <learath2@gmail.com>
2019-05-11 08:13:24 +00:00
Learath2
b2f92b09eb
Show the correct button when paused
2019-05-11 03:02:00 +02:00
Learath2
15879c16f9
Fix sticky binds
2019-05-11 02:46:22 +02:00
12pm
51ba68eaa6
Don't show id for echo messages
2019-05-11 00:26:15 +02:00
Dennis Felsing
2396096e3b
Merge branch 'master' into pr-rename-col
2019-05-10 23:46:38 +02:00
Learath2
b41529fefd
Try to be more accomodating of old players
2019-05-11 01:38:15 +02:00
Learath2
39303e3430
Blood color is a light color
2019-05-11 01:02:46 +02:00
12pm
ea324592c6
Change col to color in variable names
2019-05-10 23:34:21 +02:00
Learath2
08e19e60f4
UI ID's need to be unique
2019-05-10 23:15:14 +02:00
Dennis Felsing
5e356b5327
Merge pull request #1692 from def-/pr-news
...
Render news without STL functions
2019-05-10 14:09:44 +02:00
Learath2
def36acce1
Apply alpha properly, fix refactoring fails
2019-05-10 01:00:24 +02:00
Learath2
06fc970ea1
Render the correct skin in the selector
2019-05-10 01:00:24 +02:00
def
e1c9033300
Render news without STL functions ( fixes #1693 )
2019-05-09 21:54:56 +02:00
Andrew
0fffd7705f
Cl_text_entities_size ( #1632 )
...
* new command added
* fix code duplication after merge
* merge #1632 suggestions
* align the texture to the center vertically
* refactor
* fix RenderSwitchOverlay
* Update src/engine/client/text.cpp
Co-Authored-By: BannZay <bannzay3@gmail.com>
* Apply suggestions from code review
Co-Authored-By: BannZay <bannzay3@gmail.com>
* Apply suggestions from code review
* Apply suggestions from code review
Co-Authored-By: BannZay <bannzay3@gmail.com>
* Apply suggestions from code review
2019-05-06 14:19:10 +02:00
trml
00ab99aa2e
Add prediction for weapon switches and gunfire animation
2019-05-05 12:33:26 +02:00
Learath
ca888c56a2
Lighten when rendering the teeselector aswell
2019-05-01 22:49:52 +03:00
bors[bot]
a2f44299e0
Merge #1678
...
1678: Handle colors in console r=def- a=Learath2
DEPENDS: #1654
A better way to fix #1581 possibly deprecates #1597
Co-authored-by: Learath <learath2@gmail.com>
2019-04-30 19:39:56 +00:00
bors[bot]
d8964ceedb
Merge #1654 #1685
...
1654: Try working on colors a bit r=def- a=Learath2
There were color functions everywhere, I tried cleaning it up a little. I still couldn't get the roundtrip from Hsl to Rgb to be exactly the same, but I think this is the best possible.
1685: Work on compound binds r=def- a=Learath2
Closes #1417
Co-authored-by: Learath <learath2@gmail.com>
2019-04-29 15:56:16 +00:00
12pm
8fa6dada95
Highlight same clan as dummy too
...
Fixes #1686
2019-04-29 00:48:40 +02:00
Learath
6a1ef1af62
Can't access a siblings protected members?
2019-04-28 20:34:34 +03:00
Learath
2975d6998d
Block ctrl+shift+ binds. Fixes #1490
2019-04-28 20:30:17 +03:00
Learath
66c89eafb2
Allow binding with modifiers in settings
2019-04-28 20:22:19 +03:00
Learath
1da935f4c1
Fix stuck input
2019-04-28 16:52:10 +03:00
Learath
c0c79c69c3
Fix output
2019-04-28 16:37:20 +03:00
Learath
6b815b2375
Work on compound binds
2019-04-28 16:32:49 +03:00
Learath
588acdda0d
Consolidate color configs, extend debugging
2019-04-27 02:02:31 +03:00
Learath
979d58f830
Use colors in CTextRender
2019-04-27 01:34:20 +03:00
Learath
6c371a9a57
Even more refactoring
2019-04-27 01:11:15 +03:00
Learath
15058330fa
Don't inherit from vector, more cleanup
2019-04-27 00:47:34 +03:00
Learath
93d14a1eca
Inconvenience for windows
2019-04-26 22:36:49 +03:00
Learath
65a17599e1
Add ColorHSVA, phase out more vec3's
2019-04-26 15:06:32 +03:00
Learath
e637064a68
Don't store HSL separately
2019-04-25 19:49:27 +03:00
Learath
cc36af73be
Cleanup colors
2019-04-24 23:53:26 +03:00
Ryozuki
42a5d7a9c1
fix conflicts
2019-04-23 20:42:07 +02:00
Dennis Felsing
3f99dfdbcd
Merge pull request #1666 from Ryozuki/pr_fix_solo_spec
...
fix ghosts in spec
2019-04-23 20:03:01 +02:00
Ryozuki
87c797e84d
fix ghosts in spec
2019-04-23 19:22:58 +02:00
bors[bot]
526af034dd
Merge #1620
...
1620: Rewrite of prediction code, with additional prediction (updated) r=def- a=trml
This is a reworked attempt at a rewrite of the prediction code (#464 ), to allow for more client side prediction. It doesn't fix the duplication of server code, but the client code should otherwise be cleaner. This includes separating prediction code out of gamecore/gameclient, and a refactor of the rendering of predicted characters.
There is also prediction for some new things, and some other changes:
- prediction of laser, shotgun, ninja, fng hammer, pickups and ddrace tiles (freeze/unfreeze tiles with cl_predict_freeze)
- laser and bullets are rendered when you fire them and bullets don't go through walls (when both cl_antiping_grenade and cl_antiping_weapons are enabled)
- antiping for flags
- prediction of dummy input
- an additional smoothing option that attempts to make antiping less jumpy (cl_antiping_smooth)
Co-authored-by: trml <trml@users.noreply.github.com>
Co-authored-by: trml <trml@noreply.github.com>
2019-04-23 17:11:21 +00:00
12pm
808bb1303a
Disable demo shortcuts in console
...
As reported here: https://forum.ddnet.tw/viewtopic.php?f=3&p=67807#p67807
2019-04-23 14:52:32 +02:00
Ryozuki
d6cc94f839
fix hook col a bit
2019-04-21 19:35:07 +02:00
trml
92ef0b0707
Collapse if statements
2019-04-21 16:12:21 +02:00
trml
0b3f3b03b5
Rewrite of prediction code, with additional prediction
2019-04-21 16:12:20 +02:00
Ryozuki
6bfdad9771
fix super and solo
2019-04-21 14:57:45 +02:00
bors[bot]
bbf485a9ac
Merge #1628
...
1628: Make client know about other solo players, fixes #258 r=heinrich5991 a=Ryozuki
When another player is in solo and you are not, you could notice a weird collision and also the hook moving a little towards the solo player. This as been fixed.
It also applies m_ClShowOthersAlpha to other players whenever you are on solo or others are.
It uses the protocol extension thingy.
fixes #258
Co-authored-by: Ryozuki <ryo@ryozuki.xyz>
Co-authored-by: Learath <learath2@gmail.com>
2019-04-18 23:03:52 +00:00
Dennis Felsing
00c87c121a
str_num_copy -> str_truncate, as in Vanilla 0.7
2019-04-18 10:25:01 +02:00
Learath
843dc29a88
Names can include quotes :/
2019-04-16 02:39:22 +02:00
Learath
dd62629ee9
Clean statboard chat parsing a bit
2019-04-16 01:47:12 +02:00
12pm
6e880644af
Add some demo player shortcuts
2019-04-15 21:08:12 +02:00
FallenKN
c69c4727ef
removed unnecessary brackets
2019-04-13 15:22:31 +02:00
FallenKN
83b385f8a5
Fix #1636
2019-04-13 14:33:25 +02:00
Ryozuki
fb84bd1f0b
fix prediction when antiping is on
2019-04-12 17:08:06 +02:00
Ryozuki
c686ceea53
Merge branch 'master' into pr_fix_solo
2019-04-12 16:34:43 +02:00
Ryozuki
7e43120b6e
make the client aware of other players solo status
2019-04-12 16:16:21 +02:00
Dennis Felsing
cde07b420b
Implement changes suggested by -Wuseless-cast
...
But don't enable it yet because I'm not sure what the best way is.
2019-04-11 19:54:43 +02:00
def
94f3d97ddf
Remove unmaintained Android code ( fixes #1575 )
2019-04-10 19:40:50 +02:00
bors[bot]
b05b268a6a
Merge #1598 #1601 #1605 #1606 #1607 #1609
...
1598: Fix home/end keys in console r=heinrich5991 a=def-
1601: 2 more tries to force DB to respond in UTF8 (fixes #1599 ) r=heinrich5991 a=def-
1605: Fix memory leak in draggers r=heinrich5991 a=def-
1606: Always initialize m_InfosLoaded r=heinrich5991 a=def-
otherwise it's uninitialized and then read, found by valgrind --tool=memcheck
1607: Enable a few more GCC warnings r=heinrich5991 a=def-
1609: Fix C90 compatibility on Windows r=heinrich5991 a=def-
Co-authored-by: def <dennis@felsin9.de>
2019-04-09 22:09:18 +00:00
def
fe432b8ae4
Enable a few more GCC warnings
2019-04-09 22:05:21 +02:00
ChillerDragon
0b18d6eb44
Remove if nesting for compose keys in console
2019-04-09 12:11:29 +02:00
def
c3e36ee483
Always initialize m_InfosLoaded
2019-04-08 22:13:47 +02:00
def
527859e70c
Fix home/end keys in console
2019-04-07 23:28:30 +02:00
Ryozuki
0138dd32e3
apply alpha to solo players
2019-04-07 19:42:26 +02:00
ChillerDragon
e9f8bd42b7
Add emacs style ctrl-a ctrl-e navigation
2019-04-07 15:59:15 +02:00
bors[bot]
5d9d0d7d35
Merge #1587
...
1587: Small fixxings r=heinrich5991 a=ChillerDragon
Co-authored-by: ChillerDragon <chillerdragon@gmail.com>
2019-04-06 21:08:40 +00:00
ChillerDragon
ce5a7ea626
Remove one of two graphic includes
2019-04-06 17:07:17 +02:00
bors[bot]
ea82402e7e
Merge #1574
...
1574: Updater localization and update language files r=heinrich5991 a=def-
Co-authored-by: def <dennis@felsin9.de>
2019-04-06 14:53:46 +00:00
bors[bot]
2f4dd5ae2c
Merge #1572
...
1572: cl_mouse_min_distance as requested by Makoyuri r=heinrich5991 a=def-
also cl_dyncam_min_distance
Co-authored-by: def <dennis@felsin9.de>
2019-04-06 14:17:25 +00:00
def
330a99686d
Add localization for updating output
2019-04-06 15:18:35 +02:00
12pm
98bfeb3e72
Notify about chat mentions in editor
2019-04-06 11:32:50 +02:00
Ryozuki
f0a4da58cb
Merge branch 'master' into add_clan_color
2019-04-05 16:46:14 +02:00
Ryozuki
4e3b2191a2
fix wrong variable
2019-04-05 13:47:38 +02:00
Ryozuki
735aab9609
fix braces
2019-04-05 13:25:17 +02:00
Ryozuki
bb3cde4369
add color to ping in scoreboard
2019-04-05 13:12:08 +02:00
Ryozuki
ef6d4b5de6
add clan color to people with same clan as you
2019-04-05 12:41:01 +02:00
def
e31561eb47
cl_mouse_min_distance as requested by Makoyuri
...
also cl_dyncam_min_distance
2019-04-04 20:19:37 +02:00
Dennis Felsing
fc76c2219f
Merge pull request #1566 from def-/pr-demo-speed
...
Demo speed improvements
2019-04-03 19:02:42 +02:00
12pm
4efc0e3b82
Make world offset calculation more accurate
...
Noticed that after some time groups with a parallax different than 100 were incorrectly rendered in the editor
2019-04-03 01:05:38 +02:00
def
9daa3beacd
Broadcast: Fix display time during demo replay
...
Only show for the same amount of ticks as originally, not number of
seconds, otherwise at high demo speeds you will see the broadcast for a
much longer game play time than originally.
2019-04-02 23:28:13 +02:00
Dennis Felsing
0b76009644
Merge pull request #1553 from def-/pr-official-tab
...
No checkmark in DDNet/KoG tab (as suggested by Alexander)
2019-03-30 17:00:12 +01:00
def
c0d3f5fa57
Actually disconnect dummy after confirmation ( fixes #1555 )
2019-03-30 16:59:25 +01:00
def
3248d94ace
No checkmark in DDNet/KoG tab (as suggested by Alexander)
2019-03-29 23:08:11 +01:00
Dennis Felsing
0b578c4330
Fix cl_confirm_disconnect/quit_time ( fixes #1550 )
...
-1 now works as described
Split into two settings
2019-03-29 14:56:02 +01:00
Dennis Felsing
138a9c6ff7
Merge pull request #1545 from def-/pr-load-font
...
Move out common font loading into method
2019-03-28 23:38:24 +01:00
Dennis Felsing
95cc357dd6
Merge pull request #1540 from def-/pr-disconnect-time
...
Add cl_confirm_disconnect_quit_time (fixes #1530 )
2019-03-28 23:38:16 +01:00
Dennis Felsing
72200a4e09
Merge pull request #1539 from def-/pr-esc-popup
...
Escape during popup: Only make popup disappear
2019-03-28 23:38:00 +01:00
Dennis Felsing
11fee99b9c
Merge pull request #1538 from def-/pr-kog-tab
...
Add KoG tab in server browser
2019-03-28 23:37:50 +01:00
def
9e25f4c113
Move out common font loading into method
2019-03-28 21:51:42 +01:00
12pm
0abbba4c5d
Add non-destructive brush drawing
...
New brush draw mode that doesn't override existing tiles. Empty brush still acts as an eraser. Button and ctrl+d shortcut to toggle it.
2019-03-26 19:19:25 +01:00
def
e6f327ef06
Move ingame browser tabs all the way left
2019-03-26 17:38:46 +01:00
def
8908102536
Add cl_confirm_disconnect_quit_time ( fixes #1530 )
...
Number of minutes of active racing time before being asked to confirm
disconnecting, disconnecting dummy or quitting through GUI. Defaults to
20 minutes, -1 to disable, 0 to always enable.
Also removed confirmation to quit when in main menu, except when having
an unsaved map in editor.
Spectate and kill should already be safe thanks to server-side kill
protection.
2019-03-25 20:10:38 +01:00
def
d31e9833f9
Escape during popup: Only make popup disappear
...
Not the menu. Otherwise when opening the menu again the popup will
reappear for one frame before disappearing.
2019-03-25 20:01:10 +01:00
def
bf576723a3
Add KoG tab in server browser
...
- As requested by qshar and KoG players
- Similar to DDNet tab
- Info fetched from servers-kog entry from https://info.ddnet.tw/info
- Also supports countries and types
- Doesn't inform whether map has been finished
- Generalized the code a bit but it's still ugly
- Depends on #1533 , also shows KoG servers as official/verified
2019-03-24 23:15:40 +01:00
Dennis Felsing
05f927b8ca
Merge pull request #1507 from ddnet/chat-command-autocomplete
...
Autocomplete chat commands (fixes #1504 )
2019-03-21 19:12:52 +01:00
def
82f9474eb4
Leave space for \0 byte ( fixes #1526 )
2019-03-20 18:27:08 +01:00
Dennis Felsing
abe9f6f5a9
Merge pull request #1518 from ddnet/fetch-info
...
Demo browser: Make Fetch Info a checkbox instead
2019-03-20 07:45:12 +01:00
bors[bot]
b1f3692980
Merge #1514 #1521 #1522 #1523
...
1514: Square and center icons before rendering them on button r=Learath2 a=def-
1521: Remove unused norank icon from browse_icons.png r=heinrich5991 a=def-
1522: Reset authed level in client r=Learath2 a=def-
As reported by jao on Discord:
22:26 jao @Learath2 client auth level needs to reset on server join or something
22:28 jao because other servers don't send it
1523: Make updating nameban reason work r=def- a=12pm
Co-authored-by: def <dennis@felsin9.de>
Co-authored-by: 12pm <30786226+12pm@users.noreply.github.com>
2019-03-19 23:08:37 +00:00
bors[bot]
9d623cb23c
Merge #1516 #1517
...
1516: Remove useless comments r=heinrich5991 a=def-
Not sure if we want to do this kind of cleanup
1517: Fix rendering of checkbox x r=heinrich5991 a=def-
old:
![screenshot-20190319@163151](https://user-images.githubusercontent.com/2335377/54619252-9811d000-4a64-11e9-92cf-df3e3c325566.png )
new:
![screenshot-20190319@163137](https://user-images.githubusercontent.com/2335377/54619237-91835880-4a64-11e9-9775-7625bbcd3cb3.png )
Co-authored-by: def <dennis@felsin9.de>
2019-03-19 21:15:40 +00:00
def
22f278fdb8
Demo browser: Make Fetch Info a checkbot instead
...
And persist the result. Helps with the workflow described by Shyzo on
Discord:
> I mean after i press ctrl-f or fetch info. then i want to sort by marker (from ... to 0) and just delete every demo without a marker. either in a whole (not possible i think) or just one by one. but I think after deleting one demo the order of demos change again
> so i have to fetch info again, delete one. fetch info again. delete one
> and so on
2019-03-19 18:28:10 +01:00
def
04d67c02f2
Square and center icons before rendering them on button
2019-03-19 17:26:36 +01:00
def
4468f61ee2
Fix rendering of checkbox x
2019-03-19 16:31:24 +01:00
def
2c640b626f
Remove useless comments in menus.cpp
2019-03-19 16:25:07 +01:00
def
f51c12cabe
Fix alignment of x inside button
2019-03-19 16:14:23 +01:00
def
58d9bd4105
Make cl_authed_player_color modifiable
...
Old color was rgb = (0.78, 1.0, 0.8)
In hsl = (125°, 100%, 89%)
Converted to hex hsl:
H = 125° / 360° * 255 = 89 = 0x59
S = 100% = 0xFF
since the TW HSL color system fobids too dark colors it uses l = 0.5 + 0.5*L/255
so L = (0.89 - 0.5) * 2*255 = 199 = 0xC7
So in total we get 0x59FFC7 = 5898183
2019-03-19 15:37:17 +01:00
def
da08b7b86f
Autocomplete chat commands ( fixes #1504 )
2019-03-19 10:33:08 +01:00
bors[bot]
38333b65a1
Merge #1506
...
1506: Color authed players in spec (fixes #1497 ) r=Learath2 a=def-
Co-authored-by: def <dennis@felsin9.de>
2019-03-19 08:16:34 +00:00
bors[bot]
2209113027
Merge #1505
...
1505: Add symbol for official servers in server browser (fixes #1501 ) r=heinrich5991 a=def-
- Also fix favorites checkbox when removing favorite
- Might need a nicer looking symbol
![screenshot-20190319@074729](https://user-images.githubusercontent.com/2335377/54585760-4b55d700-4a1b-11e9-962c-92c1b56659fd.png )
Co-authored-by: def <dennis@felsin9.de>
2019-03-19 07:48:07 +00:00
def
0f9b89fc74
Color authed players in spec ( fixes #1497 )
2019-03-19 08:16:46 +01:00
def
4f515bf67e
Add symbol for official servers in server browser ( fixes #1501 )
...
- Also fix favorites checkbox when removing favorite
- Might need a nicer looking symbol
2019-03-19 07:46:50 +01:00
Dennis Felsing
7a23baa020
Merge pull request #1502 from fokkonaut/master
...
Remove AllowTimeScore from browser (fixes #1499 )
2019-03-18 13:24:55 +01:00
fokkonaut
55150bb7d6
Remove AllowTimeScore from browser ( fixes #1499 )
2019-03-18 13:13:37 +01:00
bors[bot]
1d9eb965fa
Merge #1485
...
1485: Browser's scoreboard now shows score based on cl_ddrace_scoreboard r=def- a=fokkonaut
Co-authored-by: fokkonaut <35420825+fokkonaut@users.noreply.github.com>
2019-03-12 22:47:38 +00:00
fokkonaut
8440b051f7
forgot one thing
2019-03-12 19:36:33 +01:00
fokkonaut
3f628de592
Update menus_browser.cpp
2019-03-12 19:33:47 +01:00
def
bbec3b1f2f
Minor style fixes
2019-03-12 19:29:18 +01:00
def
6701000931
Rename Score board to Scoreboard for consistency
2019-03-12 19:00:47 +01:00
fokkonaut
5c1dfe6b65
Scoreboard headline for score can now be Time when on DDRace
2019-03-11 23:10:21 +01:00
Learath
6fa5d3fcce
One color for all auth levels
2019-03-05 11:48:06 +03:00
Learath
548e9969b2
Add colors for authed players. Deprecates #1299
2019-03-02 13:50:33 +03:00
ChillerDragon
53e14d02f0
Remove unused graphics include in ghost.cpp
2019-02-22 11:27:25 +01:00
fokkonaut
cf09fbd1ea
Merge BW support into IsDDNet
2019-01-14 16:50:06 +01:00
fokkonaut
fe4426b008
fixed ddrace score (time score)
2019-01-14 08:01:20 +01:00
fokkonaut
0e842359ad
Add DDRace Score NETMSG
2019-01-14 08:01:20 +01:00
def
f05c56d6ce
Fix cl_dyncam_mousesens
...
should only have an effect ingame, not in menus or editor
2019-01-11 09:40:04 +01:00
def
b3ca67e944
Minor code simplification
2019-01-10 15:54:42 +01:00
Dennis Felsing
c16c50fa80
Merge pull request #1424 from ddnet/demo-markers
...
Demo browser: Show markers (fixes #329 )
2019-01-09 08:54:42 +01:00
def
faa3cc195d
UTF8 nocase compare & use for chat TAB completion
...
- As suggested by Arseniy Zarche
- Also updated confusables to Unicode 12
2019-01-09 08:31:03 +01:00
def
f9d9fee314
Demo browser: Show markers ( fixes #329 )
...
- Fetch Headers button
- Display Markers & Length columns
- Display footer info
- Don't rescan directory when not required
- Clean up code a bit
2019-01-09 08:25:03 +01:00
def
779a928faf
CRaceDemo: Don't attempt to remove demo that hasn't been started
2019-01-07 14:36:17 +01:00
jupeyy
619a33a7d5
text kerning fix, add new text render flags for accurate positioning
2019-01-06 06:42:57 +01:00
def
bcdec941da
Update view target when spectating with chat open
...
Thanks to ReiTW for reporting and illustrating the bug:
https://www.youtube.com/watch?v=LKicYqtqJbQ
2018-12-29 00:05:05 +01:00
def
4217d5d536
Fix 5:4/4:3 skin prefix setting display
2018-12-23 22:58:41 +01:00
def
87fa394daa
Add Christmas skin event for client
2018-12-23 22:58:30 +01:00
Dennis Felsing
809afa265f
Fix typo
2018-12-05 07:28:29 +01:00
Shengyu Zhang
464ef9e74b
Fix crash when auto update is off
...
Since 2696ac134c
, whether to include auto
update related code should only control by macro CONF_AUTOUPDATE.
This commit should fix #1374
2018-12-05 01:06:52 +08:00
yangfl
a1db76cdef
Remove extra semicolons
2018-11-18 14:27:48 +08:00
def
c0b60979ec
style
2018-10-29 22:09:11 +01:00
Dennis Felsing
80f4b7934c
Merge pull request #1365 from Jupeyy/pr_bordercorner_fix
...
Border corner minimum fix
2018-10-29 22:08:43 +01:00
def
faf388b853
Fix #1350
2018-10-29 22:03:57 +01:00
jupeyy
95e8a031c7
style
2018-10-29 09:00:47 +01:00
jupeyy
c666417fa0
less code
2018-10-29 08:44:55 +01:00
jupeyy
536bb4ad3d
check minimum for width and height seperatelly
2018-10-29 04:21:35 +01:00
fokkonaut
1082ba77b0
increase max score that can be displayed in scoreboard
2018-10-11 22:19:26 +02:00
fokkonaut
3240f6fbc5
fix bw support
2018-09-28 18:27:51 +02:00
Dennis Felsing
a2e3496005
Merge pull request #1220 from heinrich5991/pr_ddnet_ui_skinprefix
...
Add some UI for the skin prefix stuff
2018-09-20 08:41:20 +02:00
heinrich5991
08b885dbbb
Just render the skin prefix suggestions line by line
...
For three items, it's not worthwhile to put two of them in the same
line.
2018-09-20 07:50:17 +02:00
heinrich5991
13e3872dca
Add clear button to skin prefix edit box
2018-09-20 07:48:14 +02:00
heinrich5991
9ff8b6e2df
Factor out clear button from four different places
2018-09-20 07:43:05 +02:00
def
ff8e97fbf8
Fix cl_nameplates_own with antiping on when spectating
2018-08-30 22:53:28 +02:00
jupeyy
6c10eb13c0
Don't update, if no time passed
2018-08-24 05:56:33 +02:00
bors[bot]
46bdc7af3e
Merge #1252
...
1252: fix #1226 r=heinrich5991 a=fokkonaut
Co-authored-by: fokkonaut <35420825+fokkonaut@users.noreply.github.com>
2018-08-21 17:29:31 +00:00
fokkonaut
7a4fa97ef0
fuck this no-space-convention
2018-08-21 18:29:25 +02:00
fokkonaut
533d4fe574
allow for non-vanilla aswell and fixed some stuff
2018-08-21 18:27:34 +02:00
Dennis Felsing
e2eb4a66dc
Add Filter for connecting players ( fixes #1263 )
2018-08-21 09:03:48 +02:00
fokkonaut
53e4bd44b7
fix #1226
2018-08-13 20:54:01 +02:00
def
0518769500
fix cl_show_nameplates_own with antiping off ingame
2018-08-03 23:40:03 +02:00
Jupeyy
d7bb03ee19
don't render all border all the time
2018-08-02 18:26:12 +02:00
heinrich5991
5c4e819e44
Use str_startswith
, str_endswith
instead of ad-hoc implementations
2018-07-26 14:18:23 +02:00
fokkonaut
32b6bd44f6
heinrich styling
2018-07-25 23:36:52 +02:00
fokkonaut
e621a4a8a2
fixed, thanks heinrich
2018-07-25 22:41:24 +02:00
fokkonaut
59272476d6
fixed #1225
2018-07-25 21:14:10 +02:00
fokkonaut
63f2a091b6
vanilla skins only list now only shows vanilla skins
2018-07-25 14:13:07 +02:00
heinrich5991
6b1a037415
Add some UI for the skin prefix stuff
...
This displays four buttons below the edit box, one for resetting the
skin prefix, and the other three for activating the shipped variants
"kitty", "coala", "santa".
The "none" string is translatable, the variants names are not because
they correspond to file names.
2018-07-25 08:16:57 +02:00
Bojidar Marinov
d08f03fecf
Changing vanila skins option no longer requires restart
...
Fixes #1216
2018-07-24 19:56:09 +03:00
fokkonaut
b8b97eb740
added skin prefix ( #1218 )
2018-07-24 17:26:39 +02:00
yangfl
81a39c229b
Fix typo
2018-07-10 17:29:02 +08:00
heinrich5991
925aff21d4
Fix all the header guards and adjust the script a little
2018-07-06 16:11:38 +02:00
bors[bot]
7c3e4e7f09
Merge #1187
...
1187: fix projectiles not rendering on mods based on ddnet r=heinrich5991 a=ZombieToad
for some reason the client doesnt render extrainfo projectiles if the gamemode wasnt ddnet
Co-authored-by: ZombieToad <25847476+zombietoad@users.noreply.github.com>
2018-07-06 12:27:33 +00:00
ChillerDragon
0ebf7b614d
Oop! forgot one
2018-07-06 11:37:33 +02:00
ChillerDragon
4e9eac432c
Better button id for dummy settings (thanks to deen)
2018-07-06 11:24:57 +02:00
ZombieToad
712fca8adc
fixes
...
thnx to Hey, Fuck you!
2018-07-04 04:35:06 +01:00
ZombieToad
5e723f6199
fix projectiles not rendering on mods based on ddnet
...
for some reason the client doesnt render extrainfo projectiles if the gamemode wasnt ddnet
2018-07-04 04:19:36 +01:00
def
daf83470cc
Add cl_nameplates_own for demo recording
2018-06-26 22:30:28 +02:00
ZombieToad
7da716e3f0
fix server browser bug
...
ddnet client has the server browser while online
2018-06-17 03:26:23 +01:00
ZombieToad
13722d849d
fix server browser bug
...
it loaded favourite servers into ddnet serverlist if you used add_favorite or remove_favorite
2018-06-17 02:47:18 +01:00
ChillerDragon
8a761bfedf
Add commands for switching pages in console
...
For now they were just hardcodet on page up and down keys.
The new command allows it to bind it for example on the f-keys for laptop users.
2018-06-03 11:48:08 +02:00
ChillerDragon
e31f53f651
Fix ui for low mousesens
2018-05-01 17:51:36 +02:00
Dennis Felsing
e561498617
fix...
2018-04-25 14:12:49 +02:00
Dennis Felsing
96ecbfcfa8
Add cl_show_hook_coll_always
2018-04-25 12:03:27 +02:00
bors[bot]
73a65a7026
Merge #1116
...
1116: Don't send buffer cmds to non OpenGL 3.3 backend r=def- a=Jupeyy
Co-authored-by: Jupeyy <jupjopjap@gmail.com>
2018-04-15 18:00:54 +00:00
Jupeyy
5b4a889ae0
quad positioning to center of text
2018-04-15 19:35:56 +02:00
bors[bot]
d77d18c98a
Merge #1114
...
1114: Some text positioning r=def- a=Jupeyy
To be clear, the entity text was meant to be a bit higher, so the text of the overlay is not overwritten("FROM", "CFROM")?
Because there was -4.f added to the y coordinate. Atleast it looks pretty much the same as the old renderer now.
Co-authored-by: Jupeyy <jupjopjap@gmail.com>
2018-04-11 10:27:07 +00:00
Jupeyy
8cc0de8d31
Some text positioning
2018-04-11 12:19:30 +02:00
bors[bot]
73cc3a147b
Merge #1110
...
1110: Fix killmessage flag render r=def- a=Jupeyy
Co-authored-by: Jupeyy <jupjopjap@gmail.com>
2018-04-09 20:28:24 +00:00
Jupeyy
2a6050eaf4
use killer team not victim
2018-04-09 22:11:51 +02:00
heinrich5991
f8277267a0
Remove mem_alloc
and mem_free
, use standard C functions instead
...
Replace `mem_free` by `free`, and `mem_alloc` by `malloc` or `calloc`
(the latter one being used to allocate a zeroed array of elements,
sometimes, this makes a call to `mem_zero` superfluous).
This results in having to remove `mem_stats` which previously recorded
the number of allocations and their size that the Teeworlds code did
directly.
Remove OOM handling in `src/game/client/components/binds.cpp`.
Remove needless copying in the CSV code in
`src/game/client/components/statboard.cpp`.
2018-04-09 11:56:39 +02:00
Jupeyy
fbaedff1e6
reset color for the gameflags
2018-04-05 20:46:22 +02:00
Dennis Felsing
30588918c4
Merge pull request #1100 from Jupeyy/master
...
More GUI text positioning fixes
2018-04-04 08:40:22 +02:00
Jupeyy
c7114e734c
more ui text positioning fixes
2018-04-04 02:40:30 +02:00
def
c8c4fd5617
Fix reconnect timer display...
2018-04-03 21:32:21 +02:00
Dennis Felsing
dbc8321c56
Merge pull request #1098 from Jupeyy/master
...
Some text related fixes (color, positining)
2018-04-03 19:11:19 +02:00
def
07460ede9e
cl_control_dummy -> cl_dummy_control
2018-04-03 18:12:27 +02:00
Jupeyy
1a74d8c039
ui fixes: text positining
2018-04-03 17:41:11 +02:00
Dennis Felsing
ed33557a97
Merge pull request #1081 from Jupeyy/master
...
New buffer system and text renderer to support buffering of hud, text and map components, that are displayed ingame
2018-04-03 10:12:09 +02:00
Jupeyy
375b127f4e
style fix
2018-03-21 16:02:11 +01:00
Jupeyy
2cbb8af75b
add window resize event, and fix some ui things
2018-03-21 15:53:29 +01:00
Jupeyy
71a4a20812
team name position fix
2018-03-15 03:59:57 +01:00
清歌
c976e6d017
Provide more controlable command for dummy
...
When g_Config.m_ClControlDummy id 1, we can control dummy by toggle g_Config.m_ClDummyJump or another to 1 or 0.
2018-03-14 20:14:18 +08:00
bors[bot]
c65ffeb4ae
Merge #1082
...
1082: Fix a bug with name bans r=Learath2 a=heinrich5991
Overlong nick names could be used to circumvent name bans.
2018-03-14 02:00:42 +00:00
heinrich5991
d7f6cf2892
Fix some system.c insanity
...
`str_utf8_isspace` now returns true if the passed code point renders as
a space, instead of when not.
Add `str_utf8_trim_right`, use this function and
`str_utf8_skip_whitespaces` in the server.
Add tests for the three functions
2018-03-14 02:27:15 +01:00
Jupeyy
c1a962b870
add ui fixes to work with new text renderer
2018-03-13 21:59:07 +01:00
Jupeyy
0930a3b7de
buffer quads, and use the new backend system (+ fix a bug when
...
rendering)
2018-03-13 21:57:46 +01:00
Jupeyy
790201f751
add buffering for the ingame visible components of the hud
2018-03-13 21:56:37 +01:00
Jupeyy
db48a03898
add text buffering for nameplates and killmessages
2018-03-13 21:55:47 +01:00
Jupeyy
a59d7401b5
add buffering for dmg indicator, map items, particles and players
2018-03-13 21:52:44 +01:00
Jupeyy
59f9d021ce
buffer ingame chat
2018-03-13 21:50:49 +01:00
Jupeyy
62c3074c88
add new text renderer engine to support text buffering, cursors, text
...
marking and less character texture updates
2018-03-13 21:49:07 +01:00
Jupeyy
ced0ea3f82
set the gfx refresh rate limit higher for the console
2018-03-02 03:29:02 +01:00
Dennis Felsing
03792c1d0f
Merge pull request #1047 from Learath2/dd_pr_ctrldelete
...
Add ctrl-delete to chat. Closes #1032
2018-02-22 21:58:51 +01:00
Dennis Felsing
4cebe86ad8
Merge pull request #1049 from Learath2/dd_pr_scoreboardclan
...
A little more space for clan name. Fixes #724
2018-02-22 21:58:10 +01:00
Learath
7d1aaa735a
A little more space for clan name. Fixes #724
2018-02-22 21:17:10 +01:00
Learath
4031e15fc8
Remove extra conditional
...
Stricter scope on temporary var.
2018-02-22 20:48:47 +01:00
Learath
20cac1c2bb
Fix dyncam confusion. Closes #783
...
Remove "vanilla" dyncam toggle.
2018-02-22 20:40:14 +01:00
Learath
1f2e398819
Add ctrl-delete to chat. Closes #1032
2018-02-22 20:11:56 +01:00
Learath2
61f0461d46
Style
2018-02-13 17:15:16 +01:00
Learath2
8cfebaa0b2
Fix #1031
2018-02-13 03:45:43 +01:00
yangfl
1620fc9b0f
Fix typo
2018-02-07 16:10:40 +08:00
def
151da9af97
Remove Emojis
2018-01-25 20:03:18 +01:00
Dennis Felsing
fac054275c
Merge pull request #992 from Jupeyy/master
...
RAM usage reduction for map buffering and foreground layer count fix
2018-01-22 20:44:56 +01:00
Jupeyy
15cc8e2dc8
use type that can hold any pointer size
2018-01-16 10:18:14 +01:00
Jupeyy
99bb1cc7db
add parentheses
2018-01-16 09:41:06 +01:00
Jupeyy
e9a2fc1d6e
reduce RAM allocation for map buffering, and fix forground layer count
2018-01-16 09:35:28 +01:00
def
949bb2d9fc
Fix crash in emoji on map change, clear emojis
2018-01-15 19:08:51 +01:00
def
7ae5f33bdd
fix cl_show_direction (thanks jupeyy)
2018-01-14 20:51:02 +01:00
def
c8d4b605bf
Improved cl_showfps, don't need average/current anymore
2018-01-14 17:21:50 +01:00
def
4682eaff56
Add option to turn off emojis ( fixes #936 ) and add options in settings menu
2018-01-13 10:37:24 +01:00
def
484325f493
Fix nameplates with antiping ( fixes #943 )
2018-01-12 19:24:44 +01:00
def
77a999c0b1
Add cl_showemotes
2018-01-05 20:17:22 +01:00
def
f1af7cff98
Still render chat input even when chat is disabled
2018-01-05 20:11:05 +01:00
def
3025ed35c9
Introduce cl_show_chat_system
...
Set to 0 to disable server messages
2018-01-05 20:10:39 +01:00
Jupeyy
9228e632e9
remove spaces
2017-12-03 11:50:43 +01:00
Jupeyy
e314802c9c
Initialize m_LastLoad in Constructor and reset it when a new map is
...
loaded(%current% can be loaded directly)
2017-12-03 08:01:17 +01:00